Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several Issues when trying to use LiquidHaskell: unknown constant e-14 and stack overflow #1762

Open
waivio opened this issue Sep 22, 2020 · 10 comments

Comments

@waivio
Copy link

waivio commented Sep 22, 2020

My whole goal is to verify that some my usage of sqrt could be confirmed to be within the domain of the function like: {-@ sqrt :: {v:Double | 0 <= v} -> Double @-} holds in my library so that I can have confidence that NaN will not happen. I haven't gotten to that part yet and am still trying to enable LiquidHaskell and get it to build with my library.

Issue#1

I'm getting a GHC error for the Safe Haskell Language extension, probably due to the re-export of Base. I worked around this issue by #ifdef'ing {-# LANGUAGE Safe #-} out when Liquid Haskell is being used.

Issue#2

I'm getting a Stack Overflow. I worked around this by disabling derived instances. I also tried the suggested {-@ LIQUID --max-case-expand=0 @-} with no perceived benefit and tried changing the RTS to max out the Stack size, with no effect.

WARNING: (src/Algebra/Geometric/Cl3.hs:146:3-13) Expanding DEFAULT with 11 cases at depth 1
Disable expansion with --max-case-expand=0

stack overflow: use +RTS -K<size> to increase it

Issue#3

I get a crash I believe due to a constant used in my code of 128*eps = 1.4210854715202004e-14, I have not been able to work around this issue.

**** LIQUID: ERROR :1:1-1:1: Error
  crash: SMTLIB2 respSat = Error "line 3826 column 53: unknown constant e-14"

To be fair GHC has had some issues with compiling my library as well. The branch in my repo that generates the unknown constant error is here: https://github.com/waivio/cl3/tree/liquid

Are these known issues? Is what I'm trying to do not supported?

@waivio
Copy link
Author

waivio commented Sep 27, 2020

Changing:

-- | 'tol' currently 128*eps
tol :: Cl3
{-# INLINE tol #-}
tol = R 1.4210854715202004e-14

tol' :: Double
{-# INLINE tol' #-}
tol' = 1.4210854715202004e-14

to:

-- | 'tol' currently 128*eps
tol :: Cl3
{-# INLINE tol #-}
tol = R 0.0

tol' :: Double
{-# INLINE tol' #-}
tol' = 0.0

seemed to work around 'Issue#3'.

'z3' grew to a size of 43GB last I looked, it took a couple of days.

Are there any Options or Pragmas that would be useful in this situation?

@ranjitjhala
Copy link
Member

ranjitjhala commented Sep 28, 2020 via email

@waivio
Copy link
Author

waivio commented Oct 4, 2020

Ok, Will do. It might take awhile until I can get the data because I'm away from my workstation for a month or so.

@NCrashed
Copy link

NCrashed commented Dec 3, 2020

Got the same issue for my playground project https://github.com/NCrashed/asteroids-arena/blob/master/haskell/asteroids/src/Game/Asteroids/World/Timer.hs#L30

I get:

**** LIQUID: ERROR :1:1-1:1: Error
  crash: SMTLIB2 respSat = Error "line 839 column 4586: unknown constant e9" 

smt2 file:

(set-option :auto-config false)
(set-option :model true)
(set-option :model.partial false)

(set-option :smt.mbqi false)

(define-sort Str () Int)
(declare-fun strLen (Str) Int)
(declare-fun subString (Str Int Int) Str)
(declare-fun concatString (Str Str) Str)
(define-sort Elt () Int)
(define-sort LSet () (Array Elt Bool))
(define-fun smt_set_emp () LSet ((as const LSet) false))
(define-fun smt_set_mem ((x Elt) (s LSet)) Bool (select s x))
(define-fun smt_set_add ((s LSet) (x Elt)) LSet (store s x true))
(define-fun smt_set_cup ((s1 LSet) (s2 LSet)) LSet ((_ map or) s1 s2))
(define-fun smt_set_cap ((s1 LSet) (s2 LSet)) LSet ((_ map and) s1 s2))
(define-fun smt_set_com ((s LSet)) LSet ((_ map not) s))
(define-fun smt_set_dif ((s1 LSet) (s2 LSet)) LSet (smt_set_cap s1 (smt_set_com s2)))
(define-fun smt_set_sub ((s1 LSet) (s2 LSet)) Bool (= smt_set_emp (smt_set_dif s1 s2)))
(define-sort Map () (Array Elt Elt))
(define-fun smt_map_sel ((m Map) (k Elt)) Elt (select m k))
(define-fun smt_map_sto ((m Map) (k Elt) (v Elt)) Map (store m k v))
(define-fun smt_map_cup ((m1 Map) (m2 Map)) Map ((_ map (+ (Elt Elt) Elt)) m1 m2))
(define-fun smt_map_def ((v Elt)) Map ((as const (Map)) v))
(define-fun bool_to_int ((b Bool)) Int (ite b 1 0))
(define-fun Z3_OP_MUL ((x Int) (y Int)) Int (* x y))
(define-fun Z3_OP_DIV ((x Int) (y Int)) Int (div x y))
(declare-fun GHC.Show.showParen () Int)
(declare-fun GHC.Base.id () Int)
(declare-fun GHC.Types.Word64Rep () Int)
(declare-fun cast_as_int () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3 () Int)
(declare-fun GHC.Base.$62$$62$$61$ () Int)
(declare-fun lq_tmp$36$x$35$$35$1233 () Int)
(declare-fun GHC.Types.Int16Rep () Int)
(declare-fun GHC.Real.$36$fIntegralInteger () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826522$35$$35$d8z0$35$$35$k_$35$$35$1796 () Real)
(declare-fun lq_anf$36$$35$$35$7205759403792826524$35$$35$d8z2 () Int)
(declare-fun GHC.Real.rem () Int)
(declare-fun GHC.List.init () Int)
(declare-fun System.Clock.$36$fShowTimeSpec () Int)
(declare-fun addrLen () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1796 () Int)
(declare-fun Game.Asteroids.World.Timer.timerDelta () Int)
(declare-fun Game.Asteroids.World.Timer.Timer () Int)
(declare-fun Control.Monad.IO.Class.$36$p1MonadIO () Int)
(declare-fun papp5 () Int)
(declare-fun GHC.List.iterate () Int)
(declare-fun x_Tuple21 () Int)
(declare-fun GHC.Types.$36$tcFloat () Int)
(declare-fun lq_tmp$36$x$35$$35$1309 () Int)
(declare-fun GHC.Classes.$61$$61$ () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4$35$$35$k_$35$$35$2022 () Int)
(declare-fun GHC.Types.C$35$ () Int)
(declare-fun GHC.List.drop () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826249$35$$35$d8uB () Int)
(declare-fun lq_karg$36$VV$35$$35$1159$35$$35$k_$35$$35$1160 () Int)
(declare-fun GHC.Int.I64$35$ () Int)
(declare-fun Language.Haskell.TH.Syntax.DataInstD () Int)
(declare-fun VV$35$$35$F$35$$35$18 () Real)
(declare-fun fix$36$$36$krep_a7LB () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1$35$$35$k_$35$$35$2022 () Int)
(declare-fun lq_tmp$36$x$35$$35$2112 () Int)
(declare-fun lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1774 () Int)
(declare-fun fix$36$$36$dMonadIO_a7Js () Int)
(declare-fun Data.Foldable.length () Int)
(declare-fun x_Tuple33 () Int)
(declare-fun lq_tmp$36$x$35$$35$1247 () Int)
(declare-fun GHC.Types.LT () Int)
(declare-fun Game.Asteroids.World.Timer.$36$WTimer () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ$35$$35$k_$35$$35$1771 () Int)
(declare-fun Apecs.Util.EntityCounter () Int)
(declare-fun GHC.List.replicate () Int)
(declare-fun Language.Haskell.TH.Syntax.InfixD () Int)
(declare-fun GHC.List.zipWith () Int)
(declare-fun Language.Haskell.TH.Syntax.DataD () Int)
(declare-fun GHC.Classes.$62$$61$ () Int)
(declare-fun fix$36$$36$cshow$35$$35$a7Kv () Int)
(declare-fun lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 () Int)
(declare-fun lq_tmp$36$x$35$$35$2106 () Int)
(declare-fun GHC.Types.F$35$ () Int)
(declare-fun lq_karg$36$VV$35$$35$1667$35$$35$k_$35$$35$1668 () Int)
(declare-fun GHC.Types.Int32Rep () Int)
(declare-fun t1$35$$35$a7GV () Int)
(declare-fun GHC.Num.fromInteger () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826256$35$$35$d8uI () Int)
(declare-fun System.Clock.Realtime () Int)
(declare-fun lit$36$Timer () Str)
(declare-fun papp3 () Int)
(declare-fun VV$35$$35$F$35$$35$15 () Real)
(declare-fun Data.Typeable.Internal.TrTyCon () Int)
(declare-fun GHC.List.span () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826234$35$$35$d8um () Int)
(declare-fun lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1746 () Int)
(declare-fun fix$36$$36$dExplSet_a7L4 () Int)
(declare-fun GHC.Classes.$62$ () Int)
(declare-fun VV$35$$35$F$35$$35$37 () Int)
(declare-fun lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 () Int)
(declare-fun GHC.Types.False () Bool)
(declare-fun GHC.List.scanr1 () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ () Int)
(declare-fun t2$35$$35$a7GU () Int)
(declare-fun GHC.Types.DoubleRep () Int)
(declare-fun Game.Asteroids.World.Timer.getDelta () Int)
(declare-fun GHC.Types.$58$ () Int)
(declare-fun fix$36$$36$dMonadIO_a7JI () Int)
(declare-fun fix$36$$36$dHas_a7Jt () Int)
(declare-fun GHC.Real.div () Int)
(declare-fun GHC.List.scanl () Int)
(declare-fun GHC.Types.krep$36$$42$ () Int)
(declare-fun fix$36$$36$d$40$$37$$44$$37$$41$_a7Lu () Int)
(declare-fun GHC.Types.UnliftedRep () Int)
(declare-fun System.Clock.TimeSpec () Int)
(declare-fun GHC.Tuple.$40$$44$$44$$41$ () Int)
(declare-fun papp4 () Int)
(declare-fun GHC.Types.Module () Int)
(declare-fun GHC.List.zip () Int)
(declare-fun GHC.Show.showCommaSpace () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826514$35$$35$d8yS () Int)
(declare-fun lq_karg$36$t2$35$$35$a7GU$35$$35$k_$35$$35$2080 () Int)
(declare-fun GHC.Tuple.$40$$41$ () Int)
(declare-fun fix$36$$36$dFunctor_a7L7 () Int)
(declare-fun GHC.Types.I$35$ () Int)
(declare-fun lq_tmp$36$x$35$$35$1157 () Int)
(declare-fun fix$36$$36$cshowsPrec$35$$35$a7K3 () Int)
(declare-fun System.Clock.ProcessCPUTime () Int)
(declare-fun lit$36$$39$Timer () Str)
(declare-fun GHC.Base.$36$p1Monad () Int)
(declare-fun GHC.CString.unpackCString$35$ () Int)
(declare-fun GHC.Types.KindRepFun () Int)
(declare-fun lq_tmp$36$x$35$$35$2072 () Int)
(declare-fun GHC.Classes.C$58$$40$$37$$44$$37$$41$ () Int)
(declare-fun Data.Typeable.Internal.TrFun () Int)
(declare-fun lit$36$timerOld$32$$61$$32$ () Str)
(declare-fun GHC.Float.$36$fNumFloat () Int)
(declare-fun GHC.Types.KindRepTYPE () Int)
(declare-fun System.Clock.ThreadCPUTime () Int)
(declare-fun GHC.List.dropWhile () Int)
(declare-fun Data.Typeable.Internal.SomeTypeRep () Int)
(declare-fun Data.Typeable.Internal.C$58$Typeable () Int)
(declare-fun System.Clock.diffTimeSpec () Int)
(declare-fun lit$36$Game.Asteroids.World.Timer () Str)
(declare-fun Game.Asteroids.World.Timer.$36$tc$39$Timer () Int)
(declare-fun autolen () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826253$35$$35$d8uF () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826171$35$$35$d8tl () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1774 () Int)
(declare-fun fix$36$$36$dMonadIO_a7JT () Int)
(declare-fun Data.Proxy.Proxy () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD () Int)
(declare-fun lit$36$$125$ () Str)
(declare-fun GHC.Integer.Type.$36$WJn$35$ () Int)
(declare-fun GHC.Real.$94$ () Int)
(declare-fun head () Int)
(declare-fun System.Clock.MonotonicCoarse () Int)
(declare-fun GHC.Real.mod () Int)
(declare-fun lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1676 () Int)
(declare-fun GHC.Types.TupleRep () Int)
(declare-fun Apecs.Util.global () Int)
(declare-fun Language.Haskell.TH.Syntax.PatSynSigD () Int)
(declare-fun fix$36$$36$dApplicative_a7L6 () Int)
(declare-fun Game.Asteroids.World.Timer.timerOld () Int)
(declare-fun GHC.Types.$36$WKindRepTYPE () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826519$35$$35$d8yX () Int)
(declare-fun GHC.Real.divMod () Int)
(declare-fun lq_karg$36$VV$35$$35$2079$35$$35$k_$35$$35$2080 () Int)
(declare-fun VV$35$$35$F$35$$35$36 () Int)
(declare-fun GHC.Types.IntRep () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826513$35$$35$d8yR () Int)
(declare-fun Game.Asteroids.World.Timer.$36$trModule () Int)
(declare-fun GHC.Show.showsPrec () Int)
(declare-fun GHC.Integer.Type.Jn$35$ () Int)
(declare-fun GHC.Show.$36$dmshowList () Int)
(declare-fun GHC.Classes.compare () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826530$35$$35$d8z8 () Int)
(declare-fun fix$36$$36$d$40$$37$$44$$37$$41$_a7L3 () Int)
(declare-fun t2$35$$35$a7GT () Int)
(declare-fun Apecs.Stores.$36$fExplGetmUnique () Int)
(declare-fun Data.Typeable.Internal.$36$WSomeTypeRep () Int)
(declare-fun ds_d8pg () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826517$35$$35$d8yV () Real)
(declare-fun System.Clock.RealtimeCoarse () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826524$35$$35$d8z2$35$$35$k_$35$$35$2080 () Int)
(declare-fun Apecs.Core.$36$fMonadIOSystemT () Int)
(declare-fun fix$36$$36$dFunctor_a7Jw () Int)
(declare-fun GHC.Types.AddrRep () Int)
(declare-fun papp2 () Int)
(declare-fun fix$36$$36$dExplGet_a7L1 () Int)
(declare-fun VV$35$$35$F$35$$35$14 () Real)
(declare-fun Apecs.System.set () Int)
(declare-fun GHC.Base.fmap () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826242$35$$35$d8uu () Str)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3$35$$35$k_$35$$35$2080 () Int)
(declare-fun Language.Haskell.TH.Syntax.ClosedTypeFamilyD () Int)
(declare-fun GHC.Real.toInteger () Int)
(declare-fun GHC.Real.quotRem () Int)
(declare-fun GHC.Types.SumRep () Int)
(declare-fun lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1796 () Int)
(declare-fun GHC.Stack.Types.EmptyCallStack () Int)
(declare-fun Language.Haskell.TH.Syntax.TySynD () Int)
(declare-fun GHC.List.reverse () Int)
(declare-fun GHC.Integer.Type.$36$WJp$35$ () Int)
(declare-fun lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1746 () Int)
(declare-fun lq_tmp$36$x$35$$35$1213 () Int)
(declare-fun GHC.Types.Word8Rep () Int)
(declare-fun GHC.List.filter () Int)
(declare-fun Language.Haskell.TH.Syntax.TySynInstD () Int)
(declare-fun fromJust () Int)
(declare-fun GHC.Types.KindRepTyConApp () Int)
(declare-fun System.Clock.getTime () Int)
(declare-fun System.Clock.$36$WTimeSpec () Int)
(declare-fun GHC.List.cycle () Int)
(declare-fun GHC.List.$33$$33$ () Int)
(declare-fun fix$36$$36$dTypeable_a7Li () Int)
(declare-fun GHC.List.tail () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ$35$$35$k_$35$$35$1796 () Int)
(declare-fun lit$36$asteroids$45$0.1.0.0$45$inplace () Str)
(declare-fun GHC.Types.WordRep () Int)
(declare-fun papp7 () Int)
(declare-fun GHC.Classes.$47$$61$ () Int)
(declare-fun Data.Typeable.Internal.mkTrCon () Int)
(declare-fun lit$36$Timer$32$$123$ () Str)
(declare-fun GHC.List.break () Int)
(declare-fun Data.Typeable.Internal.$36$WTrTyCon () Int)
(declare-fun GHC.Types.True () Bool)
(declare-fun fix$36$$36$dMonadIO_a7Je () Int)
(declare-fun fix$36$$36$krep_a7LD () Int)
(declare-fun lq_tmp$36$x$35$$35$2114 () Int)
(declare-fun GHC.Types.$91$$93$ () Int)
(declare-fun lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1749 () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826247$35$$35$d8uz () Int)
(declare-fun GHC.List.splitAt () Int)
(declare-fun Apecs.System.modify () Int)
(declare-fun Language.Haskell.TH.Syntax.DefaultSigD () Int)
(declare-fun System.Clock.Monotonic () Int)
(declare-fun GHC.Base.$43$$43$ () Int)
(declare-fun GHC.Show.$36$dmshow () Int)
(declare-fun GHC.Real.$58$$37$ () Int)
(declare-fun Apecs.Core.C$58$Component () Int)
(declare-fun GHC.Tuple.$40$$44$$41$ () Int)
(declare-fun GHC.Real.quot () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux () Int)
(declare-fun GHC.Real.$47$ () Int)
(declare-fun fix$36$$36$dMonad_a7JN () Int)
(declare-fun Language.Haskell.TH.Syntax.ValD () Int)
(declare-fun Language.Haskell.TH.Syntax.Name () Int)
(declare-fun GHC.Classes.$38$$38$ () Int)
(declare-fun VV$35$$35$F$35$$35$2 () Int)
(declare-fun ds_d8rJ () Real)
(declare-fun fix$36$$36$d$126$_a7Lw () Int)
(declare-fun lq_karg$36$VV$35$$35$1748$35$$35$k_$35$$35$1749 () Int)
(declare-fun lq_karg$36$VV$35$$35$1670$35$$35$k_$35$$35$1671 () Int)
(declare-fun fix$36$$36$krep_a7LA () Int)
(declare-fun lq_tmp$36$x$35$$35$1323 () Int)
(declare-fun GHC.Types.GT () Int)
(declare-fun GHC.Classes.C$58$IP () Int)
(declare-fun VV$35$$35$F$35$$35$20 () Int)
(declare-fun GHC.Classes.$124$$124$ () Int)
(declare-fun lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1676 () Int)
(declare-fun GHC.Base.$36$p1Applicative () Int)
(declare-fun Data.Typeable.Internal.TrApp () Int)
(declare-fun Data.Either.Left () Int)
(declare-fun GHC.List.last () Int)
(declare-fun GHC.Classes.$36$fOrdInt () Int)
(declare-fun VV$35$$35$F$35$$35$39 () Int)
(declare-fun Apecs.Core.Entity () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826528$35$$35$d8z6 () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826237$35$$35$d8up () Int)
(declare-fun lq_karg$36$VV$35$$35$1770$35$$35$k_$35$$35$1771 () Int)
(declare-fun GHC.Integer.Type.S$35$ () Int)
(declare-fun GHC.List.scanl1 () Int)
(declare-fun Data.Either.Right () Int)
(declare-fun GHC.Types.Word32Rep () Int)
(declare-fun Data.Typeable.Internal.$36$WTrApp () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826240$35$$35$d8us () Str)
(declare-fun Apecs.System.get () Int)
(declare-fun lit$36$timerDelta$32$$61$$32$ () Str)
(declare-fun fix$36$$36$d$40$$37$$44$$37$$41$_a7Lg () Int)
(declare-fun Apecs.Stores.$36$fExplSetmUnique () Int)
(declare-fun t1$35$$35$a7GS () Int)
(declare-fun fix$36$$36$dHas_a7Jf () Int)
(declare-fun GHC.Num.$45$ () Int)
(declare-fun len () Int)
(declare-fun papp6 () Int)
(declare-fun VV$35$$35$F$35$$35$9 () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4$35$$35$k_$35$$35$2080 () Int)
(declare-fun GHC.Base.. () Int)
(declare-fun lq_tmp$36$x$35$$35$1199 () Int)
(declare-fun VV$35$$35$F$35$$35$10 () Int)
(declare-fun x_Tuple22 () Int)
(declare-fun Control.Monad.IO.Class.liftIO () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw () Int)
(declare-fun Game.Asteroids.World.Timer.$36$tcTimer () Int)
(declare-fun Language.Haskell.TH.Syntax.PragmaD () Int)
(declare-fun lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1796 () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1$35$$35$k_$35$$35$2080 () Int)
(declare-fun fix$36$$36$krep_a7Lz () Int)
(declare-fun Language.Haskell.TH.Syntax.Q () Int)
(declare-fun Language.Haskell.TH.Syntax.SigD () Int)
(declare-fun lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1771 () Int)
(declare-fun ds_d8n0 () Real)
(declare-fun GHC.Types.KindRepTypeLitS () Int)
(declare-fun fix$36$$36$dExplGet_a7Lh () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826252$35$$35$d8uE () Int)
(declare-fun GHC.Real.$36$W$58$$37$ () Int)
(declare-fun VV$35$$35$F$35$$35$40 () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ$35$$35$k_$35$$35$1774 () Int)
(declare-fun GHC.Real.fromRational () Int)
(declare-fun isJust () Int)
(declare-fun Language.Haskell.TH.Syntax.FunD () Int)
(declare-fun lq_karg$36$VV$35$$35$1773$35$$35$k_$35$$35$1774 () Real)
(declare-fun VV$35$$35$F$35$$35$4 () Int)
(declare-fun GHC.List.takeWhile () Int)
(declare-fun GHC.Types.TrNameD () Int)
(declare-fun Apecs.Core.C$58$ExplInit () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826248$35$$35$d8uA () Str)
(declare-fun GHC.Types.KindRepVar () Int)
(declare-fun lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1749 () Int)
(declare-fun GHC.Types.KindRepTypeLitD () Int)
(declare-fun Game.Asteroids.World.Timer.$36$fShowTimer () Int)
(declare-fun fix$36$$36$dTypeable_a7L2 () Int)
(declare-fun Apecs.Core.$36$fMonadSystemT () Int)
(declare-fun x_Tuple31 () Int)
(declare-fun GHC.Integer.Type.Jp$35$ () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826518$35$$35$d8yW () Int)
(declare-fun VV$35$$35$F$35$$35$38 () Int)
(declare-fun GHC.IO.Exception.IOError () Int)
(declare-fun System.Clock.MonotonicRaw () Int)
(declare-fun GHC.List.take () Int)
(declare-fun GHC.Stack.Types.PushCallStack () Int)
(declare-fun lq_tmp$36$x$35$$35$1407 () Int)
(declare-fun GHC.Float.$36$fShowFloat () Int)
(declare-fun Data.Typeable.Internal.TrType () Int)
(declare-fun GHC.Classes.$60$$61$ () Int)
(declare-fun GHC.Types.TrNameS () Int)
(declare-fun lq_karg$36$t2$35$$35$a7GU$35$$35$k_$35$$35$2022 () Int)
(declare-fun GHC.Enum.C$58$Bounded () Int)
(declare-fun Language.Haskell.TH.Syntax.OpenTypeFamilyD () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1771 () Int)
(declare-fun GHC.Base.map () Int)
(declare-fun GHC.Show.C$58$Show () Int)
(declare-fun GHC.Base.$36$ () Int)
(declare-fun papp1 () Int)
(declare-fun GHC.Classes.max () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826255$35$$35$d8uH () Int)
(declare-fun fix$36$$36$dExplSet_a7Lv () Int)
(declare-fun GHC.Types.FloatRep () Int)
(declare-fun VV$35$$35$F$35$$35$17 () Int)
(declare-fun Language.Haskell.TH.Syntax.KiSigD () Int)
(declare-fun GHC.Classes.$60$ () Int)
(declare-fun tail () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826235$35$$35$d8un () Int)
(declare-fun VV$35$$35$F$35$$35$35 () Int)
(declare-fun fix$36$$36$cp1Component$35$$35$a7KL () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4 () Int)
(declare-fun GHC.Types.VecRep () Int)
(declare-fun fix$36$$36$d$40$$37$$44$$37$$41$_a7L0 () Int)
(declare-fun GHC.Types.Eq$35$ () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826527$35$$35$d8z5 () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826239$35$$35$d8ur () Int)
(declare-fun GHC.Types.TyCon () Int)
(declare-fun GHC.Stack.Types.FreezeCallStack () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826522$35$$35$d8z0 () Real)
(declare-fun lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1 () Int)
(declare-fun GHC.Num.$42$ () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826524$35$$35$d8z2$35$$35$k_$35$$35$2022 () Int)
(declare-fun lq_tmp$36$x$35$$35$1665 () Int)
(declare-fun lq_tmp$36$x$35$$35$1423 () Int)
(declare-fun GHC.Types.Int8Rep () Int)
(declare-fun Language.Haskell.TH.Syntax.NewtypeD () Int)
(declare-fun GHC.Real.recip () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3$35$$35$k_$35$$35$2022 () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826246$35$$35$d8uy () Int)
(declare-fun lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1774 () Int)
(declare-fun fix$36$$36$dHas_a7JJ () Int)
(declare-fun GHC.Maybe.Nothing () Int)
(declare-fun Language.Haskell.TH.Syntax.NewtypeInstD () Int)
(declare-fun lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1671 () Int)
(declare-fun Apecs.Stores.Unique () Int)
(declare-fun lq_tmp$36$x$35$$35$1739 () Int)
(declare-fun GHC.Types.EQ () Int)
(declare-fun Apecs.Core.$36$fFunctorSystemT () Int)
(declare-fun lq_tmp$36$x$35$$35$1764 () Int)
(declare-fun GHC.List.scanr () Int)
(declare-fun lq_karg$36$VV$35$$35$1351$35$$35$k_$35$$35$1352 () Int)
(declare-fun System.Clock.Boottime () Int)
(declare-fun GHC.Num.negate () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1749 () Int)
(declare-fun lq_karg$36$VV$35$$35$1795$35$$35$k_$35$$35$1796 () Real)
(declare-fun GHC.Real.fromIntegral () Int)
(declare-fun lq_karg$36$VV$35$$35$1675$35$$35$k_$35$$35$1676 () Real)
(declare-fun GHC.Maybe.Just () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826254$35$$35$d8uG () Str)
(declare-fun lq_karg$36$VV$35$$35$1745$35$$35$k_$35$$35$1746 () Int)
(declare-fun Language.Haskell.TH.Syntax.ImplicitParamBindD () Int)
(declare-fun GHC.Classes.min () Int)
(declare-fun Language.Haskell.TH.Syntax.StandaloneDerivD () Int)
(declare-fun fix$36$$36$dMonad_a7Lj () Int)
(declare-fun GHC.List.head () Int)
(declare-fun VV$35$$35$F$35$$35$19 () Int)
(declare-fun GHC.Types.LiftedRep () Int)
(declare-fun Language.Haskell.TH.Syntax.PatSynD () Int)
(declare-fun lq_karg$36$VV$35$$35$2021$35$$35$k_$35$$35$2022 () Int)
(declare-fun System.Clock.$36$tcTimeSpec () Int)
(declare-fun lq_tmp$36$x$35$$35$1877 () Int)
(declare-fun lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1771 () Int)
(declare-fun GHC.Types.$36$WKindRepVar () Int)
(declare-fun fix$36$$36$krep_a7LC () Int)
(declare-fun Game.Asteroids.World.Timer.initTimer () Int)
(declare-fun lq_tmp$36$x$35$$35$2113 () Int)
(declare-fun Language.Haskell.TH.Syntax.InstanceD () Int)
(declare-fun VV$35$$35$F$35$$35$22 () Real)
(declare-fun lq_anf$36$$35$$35$7205759403792826250$35$$35$d8uC () Int)
(declare-fun Data.Typeable.Internal.$36$WTrType () Int)
(declare-fun x_Tuple32 () Int)
(declare-fun Game.Asteroids.World.Timer.deltaTime () Int)
(declare-fun lq_karg$36$VV$35$$35$1255$35$$35$k_$35$$35$1256 () Int)
(declare-fun lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 () Int)
(declare-fun System.Clock.toNanoSecs () Int)
(declare-fun fix$36$$36$dMonad_a7L5 () Int)
(declare-fun GHC.Types.Int64Rep () Int)
(declare-fun GHC.List.repeat () Int)
(declare-fun fix$36$$36$cshowList$35$$35$a7KB () Int)
(declare-fun lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1746 () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826241$35$$35$d8ut () Int)
(declare-fun GHC.Classes.not () Int)
(declare-fun lq_tmp$36$x$35$$35$1861 () Int)
(declare-fun Language.Haskell.TH.Syntax.ClassD () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826516$35$$35$d8yU () Int)
(declare-fun GHC.Show.showString () Int)
(declare-fun GHC.Num.$43$ () Int)
(declare-fun Data.Tuple.fst () Int)
(declare-fun GHC.Types.KindRepApp () Int)
(declare-fun GHC.Types.Word16Rep () Int)
(declare-fun GHC.Float.$36$fFractionalFloat () Int)
(declare-fun Language.Haskell.TH.Syntax.DataFamilyD () Int)
(declare-fun GHC.Err.error () Int)
(declare-fun snd () Int)
(declare-fun fst () Int)
(declare-fun Game.Asteroids.World.Timer.$36$fComponentTimer () Int)
(declare-fun Game.Asteroids.World.Timer.setDelta () Int)
(declare-fun Language.Haskell.TH.Syntax.ForeignD () Int)
(declare-fun Data.Tuple.snd () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792826243$35$$35$d8uv () Int)
(declare-fun Language.Haskell.TH.Syntax.RoleAnnotD () Int)
(declare-fun apply$35$$35$21 (Int (_ BitVec 32)) Bool)
(declare-fun apply$35$$35$16 (Int Str) Bool)
(declare-fun apply$35$$35$8 (Int Bool) Str)
(declare-fun apply$35$$35$19 (Int Str) (_ BitVec 32))
(declare-fun apply$35$$35$12 (Int Real) Real)
(declare-fun apply$35$$35$24 (Int (_ BitVec 32)) (_ BitVec 32))
(declare-fun apply$35$$35$0 (Int Int) Int)
(declare-fun apply$35$$35$7 (Int Bool) Real)
(declare-fun apply$35$$35$15 (Int Str) Int)
(declare-fun apply$35$$35$1 (Int Int) Bool)
(declare-fun apply$35$$35$13 (Int Real) Str)
(declare-fun apply$35$$35$14 (Int Real) (_ BitVec 32))
(declare-fun apply$35$$35$22 (Int (_ BitVec 32)) Real)
(declare-fun apply$35$$35$9 (Int Bool) (_ BitVec 32))
(declare-fun apply$35$$35$2 (Int Int) Real)
(declare-fun apply$35$$35$10 (Int Real) Int)
(declare-fun apply$35$$35$23 (Int (_ BitVec 32)) Str)
(declare-fun apply$35$$35$18 (Int Str) Str)
(declare-fun apply$35$$35$6 (Int Bool) Bool)
(declare-fun apply$35$$35$11 (Int Real) Bool)
(declare-fun apply$35$$35$3 (Int Int) Str)
(declare-fun apply$35$$35$20 (Int (_ BitVec 32)) Int)
(declare-fun apply$35$$35$4 (Int Int) (_ BitVec 32))
(declare-fun apply$35$$35$5 (Int Bool) Int)
(declare-fun apply$35$$35$17 (Int Str) Real)
(declare-fun coerce$35$$35$21 ((_ BitVec 32)) Bool)
(declare-fun coerce$35$$35$16 (Str) Bool)
(declare-fun coerce$35$$35$8 (Bool) Str)
(declare-fun coerce$35$$35$19 (Str) (_ BitVec 32))
(declare-fun coerce$35$$35$12 (Real) Real)
(declare-fun coerce$35$$35$24 ((_ BitVec 32)) (_ BitVec 32))
(declare-fun coerce$35$$35$0 (Int) Int)
(declare-fun coerce$35$$35$7 (Bool) Real)
(declare-fun coerce$35$$35$15 (Str) Int)
(declare-fun coerce$35$$35$1 (Int) Bool)
(declare-fun coerce$35$$35$13 (Real) Str)
(declare-fun coerce$35$$35$14 (Real) (_ BitVec 32))
(declare-fun coerce$35$$35$22 ((_ BitVec 32)) Real)
(declare-fun coerce$35$$35$9 (Bool) (_ BitVec 32))
(declare-fun coerce$35$$35$2 (Int) Real)
(declare-fun coerce$35$$35$10 (Real) Int)
(declare-fun coerce$35$$35$23 ((_ BitVec 32)) Str)
(declare-fun coerce$35$$35$18 (Str) Str)
(declare-fun coerce$35$$35$6 (Bool) Bool)
(declare-fun coerce$35$$35$11 (Real) Bool)
(declare-fun coerce$35$$35$3 (Int) Str)
(declare-fun coerce$35$$35$20 ((_ BitVec 32)) Int)
(declare-fun coerce$35$$35$4 (Int) (_ BitVec 32))
(declare-fun coerce$35$$35$5 (Bool) Int)
(declare-fun coerce$35$$35$17 (Str) Real)
(declare-fun smt_lambda$35$$35$21 ((_ BitVec 32) Bool) Int)
(declare-fun smt_lambda$35$$35$16 (Str Bool) Int)
(declare-fun smt_lambda$35$$35$8 (Bool Str) Int)
(declare-fun smt_lambda$35$$35$19 (Str (_ BitVec 32)) Int)
(declare-fun smt_lambda$35$$35$12 (Real Real) Int)
(declare-fun smt_lambda$35$$35$24 ((_ BitVec 32) (_ BitVec 32)) Int)
(declare-fun smt_lambda$35$$35$0 (Int Int) Int)
(declare-fun smt_lambda$35$$35$7 (Bool Real) Int)
(declare-fun smt_lambda$35$$35$15 (Str Int) Int)
(declare-fun smt_lambda$35$$35$1 (Int Bool) Int)
(declare-fun smt_lambda$35$$35$13 (Real Str) Int)
(declare-fun smt_lambda$35$$35$14 (Real (_ BitVec 32)) Int)
(declare-fun smt_lambda$35$$35$22 ((_ BitVec 32) Real) Int)
(declare-fun smt_lambda$35$$35$9 (Bool (_ BitVec 32)) Int)
(declare-fun smt_lambda$35$$35$2 (Int Real) Int)
(declare-fun smt_lambda$35$$35$10 (Real Int) Int)
(declare-fun smt_lambda$35$$35$23 ((_ BitVec 32) Str) Int)
(declare-fun smt_lambda$35$$35$18 (Str Str) Int)
(declare-fun smt_lambda$35$$35$6 (Bool Bool) Int)
(declare-fun smt_lambda$35$$35$11 (Real Bool) Int)
(declare-fun smt_lambda$35$$35$3 (Int Str) Int)
(declare-fun smt_lambda$35$$35$20 ((_ BitVec 32) Int) Int)
(declare-fun smt_lambda$35$$35$4 (Int (_ BitVec 32)) Int)
(declare-fun smt_lambda$35$$35$5 (Bool Int) Int)
(declare-fun smt_lambda$35$$35$17 (Str Real) Int)
(declare-fun lam_arg$35$$35$1$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$2$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$3$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$4$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$5$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$6$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$7$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$1$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$2$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$3$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$4$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$5$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$6$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$7$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$1$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$2$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$3$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$4$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$5$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$6$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$7$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$1$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$2$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$3$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$4$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$5$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$6$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$7$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$1$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$2$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$3$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$4$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$5$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$6$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$7$35$$35$5 () Bool)
(assert (distinct GHC.Types.Word16Rep GHC.Types.Int64Rep GHC.Types.LiftedRep GHC.Types.Int8Rep GHC.Types.FloatRep GHC.Types.Word32Rep GHC.Types.WordRep GHC.Types.Word8Rep GHC.Types.AddrRep GHC.Types.IntRep GHC.Types.UnliftedRep GHC.Types.DoubleRep GHC.Types.Int32Rep GHC.Types.Int16Rep GHC.Types.Word64Rep))

(assert (distinct System.Clock.Boottime System.Clock.MonotonicRaw System.Clock.Monotonic System.Clock.RealtimeCoarse System.Clock.MonotonicCoarse System.Clock.ThreadCPUTime System.Clock.ProcessCPUTime System.Clock.Realtime))





(assert (distinct lit$36$timerDelta$32$$61$$32$ lit$36$Timer$32$$123$ lit$36$asteroids$45$0.1.0.0$45$inplace lit$36$$125$ lit$36$Game.Asteroids.World.Timer lit$36$timerOld$32$$61$$32$ lit$36$$39$Timer lit$36$Timer))


(assert (distinct GHC.Types.True GHC.Types.False))


(assert (distinct GHC.Types.EQ GHC.Types.GT GHC.Types.LT))
(assert (= (strLen lit$36$Timer) 5))
(assert (= (strLen lit$36$$39$Timer) 6))
(assert (= (strLen lit$36$timerOld$32$$61$$32$) 11))
(assert (= (strLen lit$36$Game.Asteroids.World.Timer) 26))
(assert (= (strLen lit$36$$125$) 1))
(assert (= (strLen lit$36$asteroids$45$0.1.0.0$45$inplace) 25))
(assert (= (strLen lit$36$Timer$32$$123$) 7))
(assert (= (strLen lit$36$timerDelta$32$$61$$32$) 13))
(push 1)
(assert (and (not GHC.Types.False) GHC.Types.True (= lq_anf$36$$35$$35$7205759403792826240$35$$35$d8us lit$36$asteroids$45$0.1.0.0$45$inplace) (= lq_anf$36$$35$$35$7205759403792826242$35$$35$d8uu lit$36$Game.Asteroids.World.Timer)))
(push 1)
(assert (not (= 0 1)))
(check-sat)
; SMT Says: Sat
(pop 1)
(pop 1)
(push 1)
(assert (and (and (exists ((VV$35$$35$1221 Int) (lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 Int)) (and (and (= VV$35$$35$1221 fix$36$$36$krep_a7LA) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 fix$36$$36$krep_a7LA)) (exists ((VV$35$$35$F$35$$35$38 Int) (lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0)) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 VV$35$$35$F$35$$35$38))))) (exists ((lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 Int) (VV$35$$35$1187 Int)) (and (and (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 fix$36$$36$krep_a7LC) (= VV$35$$35$1187 fix$36$$36$krep_a7LC)) (exists ((VV$35$$35$F$35$$35$39 Int) (lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0)) (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 VV$35$$35$F$35$$35$39)))))) (= lq_anf$36$$35$$35$7205759403792826246$35$$35$d8uy 3385785361408911694) (= lq_anf$36$$35$$35$7205759403792826247$35$$35$d8uz 11657749333822727879) (not GHC.Types.False) (= lq_anf$36$$35$$35$7205759403792826248$35$$35$d8uA lit$36$Timer) (= lq_anf$36$$35$$35$7205759403792826250$35$$35$d8uC 0) GHC.Types.True))
(push 1)
(assert (not (<= VV$35$$35$F$35$$35$37 System.Clock.$36$tcTimeSpec)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (<= VV$35$$35$F$35$$35$37 GHC.Types.$36$tcFloat)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= 0 1)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (>= VV$35$$35$F$35$$35$37 System.Clock.$36$tcTimeSpec)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (>= VV$35$$35$F$35$$35$37 GHC.Types.$36$tcFloat)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (not (= VV$35$$35$F$35$$35$37 System.Clock.$36$tcTimeSpec))))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (not (= VV$35$$35$F$35$$35$37 GHC.Types.$36$tcFloat))))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (> VV$35$$35$F$35$$35$37 System.Clock.$36$tcTimeSpec)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (> VV$35$$35$F$35$$35$37 GHC.Types.$36$tcFloat)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (< VV$35$$35$F$35$$35$37 System.Clock.$36$tcTimeSpec)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (< VV$35$$35$F$35$$35$37 GHC.Types.$36$tcFloat)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= VV$35$$35$F$35$$35$37 System.Clock.$36$tcTimeSpec)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= VV$35$$35$F$35$$35$37 GHC.Types.$36$tcFloat)))
(check-sat)
; SMT Says: Sat
(pop 1)
(pop 1)
(push 1)
(assert (and (and (exists ((VV$35$$35$1221 Int) (lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 Int)) (and (and (= VV$35$$35$1221 fix$36$$36$krep_a7LA) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 fix$36$$36$krep_a7LA)) (exists ((VV$35$$35$F$35$$35$38 Int) (lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0)) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 VV$35$$35$F$35$$35$38))))) (exists ((lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 Int) (VV$35$$35$1297 Int)) (and (and (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 fix$36$$36$krep_a7LD) (= VV$35$$35$1297 fix$36$$36$krep_a7LD)) (exists ((VV$35$$35$F$35$$35$36 Int) (lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0)) (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 VV$35$$35$F$35$$35$36))))) (exists ((lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 Int) (VV$35$$35$1187 Int)) (and (and (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 fix$36$$36$krep_a7LC) (= VV$35$$35$1187 fix$36$$36$krep_a7LC)) (exists ((VV$35$$35$F$35$$35$39 Int) (lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0)) (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 VV$35$$35$F$35$$35$39)))))) (= lq_anf$36$$35$$35$7205759403792826256$35$$35$d8uI 0) (not GHC.Types.False) GHC.Types.True (= lq_anf$36$$35$$35$7205759403792826252$35$$35$d8uE 3123559515967272813) (= lq_anf$36$$35$$35$7205759403792826253$35$$35$d8uF 7131929288397100978) (= lq_anf$36$$35$$35$7205759403792826254$35$$35$d8uG lit$36$$39$Timer)))
(push 1)
(assert (not (<= VV$35$$35$F$35$$35$35 System.Clock.$36$tcTimeSpec)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (<= VV$35$$35$F$35$$35$35 GHC.Types.$36$tcFloat)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= 0 1)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (>= VV$35$$35$F$35$$35$35 System.Clock.$36$tcTimeSpec)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (>= VV$35$$35$F$35$$35$35 GHC.Types.$36$tcFloat)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (not (= VV$35$$35$F$35$$35$35 System.Clock.$36$tcTimeSpec))))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (not (= VV$35$$35$F$35$$35$35 GHC.Types.$36$tcFloat))))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (> VV$35$$35$F$35$$35$35 System.Clock.$36$tcTimeSpec)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (> VV$35$$35$F$35$$35$35 GHC.Types.$36$tcFloat)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (< VV$35$$35$F$35$$35$35 System.Clock.$36$tcTimeSpec)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (< VV$35$$35$F$35$$35$35 GHC.Types.$36$tcFloat)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= VV$35$$35$F$35$$35$35 System.Clock.$36$tcTimeSpec)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= VV$35$$35$F$35$$35$35 GHC.Types.$36$tcFloat)))
(check-sat)
; SMT Says: Sat
(pop 1)
(pop 1)
(push 1)
(assert (and (and (exists ((lq_karg$36$t2$35$$35$a7GU$35$$35$k_$35$$35$2080 Int) (lq_karg$36$VV$35$$35$2079$35$$35$k_$35$$35$2080 Int) (lq_karg$36$lq_anf$36$$35$$35$7205759403792826524$35$$35$d8z2$35$$35$k_$35$$35$2080 Int) (lq_karg$36$lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3$35$$35$k_$35$$35$2080 Int) (lq_karg$36$lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4$35$$35$k_$35$$35$2080 Int) (lq_karg$36$lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1$35$$35$k_$35$$35$2080 Int)) (and (and (= lq_karg$36$t2$35$$35$a7GU$35$$35$k_$35$$35$2080 t2$35$$35$a7GU) (= lq_karg$36$VV$35$$35$2079$35$$35$k_$35$$35$2080 VV$35$$35$F$35$$35$2) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826524$35$$35$d8z2$35$$35$k_$35$$35$2080 lq_anf$36$$35$$35$7205759403792826524$35$$35$d8z2) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3$35$$35$k_$35$$35$2080 lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4$35$$35$k_$35$$35$2080 lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1$35$$35$k_$35$$35$2080 lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1)) (exists ((VV$35$$35$F$35$$35$4 Int)) (and (and (= lq_karg$36$t2$35$$35$a7GU$35$$35$k_$35$$35$2080 t2$35$$35$a7GU) (= lq_karg$36$VV$35$$35$2079$35$$35$k_$35$$35$2080 VV$35$$35$F$35$$35$4) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826524$35$$35$d8z2$35$$35$k_$35$$35$2080 lq_anf$36$$35$$35$7205759403792826524$35$$35$d8z2) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3$35$$35$k_$35$$35$2080 lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4$35$$35$k_$35$$35$2080 lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1$35$$35$k_$35$$35$2080 lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1)))))) (exists ((VV$35$$35$1221 Int) (lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 Int)) (and (and (= VV$35$$35$1221 fix$36$$36$krep_a7LA) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 fix$36$$36$krep_a7LA)) (exists ((VV$35$$35$F$35$$35$38 Int) (lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0)) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 VV$35$$35$F$35$$35$38))))) (exists ((lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 Int) (VV$35$$35$1297 Int)) (and (and (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 fix$36$$36$krep_a7LD) (= VV$35$$35$1297 fix$36$$36$krep_a7LD)) (exists ((VV$35$$35$F$35$$35$36 Int) (lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0)) (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 VV$35$$35$F$35$$35$36))))) (exists ((lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 Int) (VV$35$$35$1187 Int)) (and (and (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 fix$36$$36$krep_a7LC) (= VV$35$$35$1187 fix$36$$36$krep_a7LC)) (exists ((VV$35$$35$F$35$$35$39 Int) (lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0)) (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 VV$35$$35$F$35$$35$39)))))) (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1) 0)) (not GHC.Types.False) GHC.Types.True (= lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3 fix$36$$36$d$40$$37$$44$$37$$41$_a7L0) (= lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4 fix$36$$36$d$40$$37$$44$$37$$41$_a7L3)))
(push 1)
(assert (not (= 0 1)))
(check-sat)
; SMT Says: Sat
(pop 1)
(pop 1)
(push 1)
(assert (and (and (exists ((VV$35$$35$1221 Int) (lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 Int)) (and (and (= VV$35$$35$1221 fix$36$$36$krep_a7LA) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 fix$36$$36$krep_a7LA)) (exists ((VV$35$$35$F$35$$35$38 Int) (lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0)) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 VV$35$$35$F$35$$35$38))))) (exists ((lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 Int) (VV$35$$35$1297 Int)) (and (and (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 fix$36$$36$krep_a7LD) (= VV$35$$35$1297 fix$36$$36$krep_a7LD)) (exists ((VV$35$$35$F$35$$35$36 Int) (lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0)) (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 VV$35$$35$F$35$$35$36))))) (exists ((lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 Int) (VV$35$$35$1187 Int)) (and (and (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 fix$36$$36$krep_a7LC) (= VV$35$$35$1187 fix$36$$36$krep_a7LC)) (exists ((VV$35$$35$F$35$$35$39 Int) (lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0)) (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 VV$35$$35$F$35$$35$39)))))) (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1) 0)) (not GHC.Types.False) GHC.Types.True (= lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3 fix$36$$36$d$40$$37$$44$$37$$41$_a7L0) (= lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4 fix$36$$36$d$40$$37$$44$$37$$41$_a7L3) (= lq_anf$36$$35$$35$7205759403792826528$35$$35$d8z6 ds_d8pg) (= VV$35$$35$F$35$$35$9 t1$35$$35$a7GV) (= lq_anf$36$$35$$35$7205759403792826528$35$$35$d8z6 ds_d8pg) (and (= lq_anf$36$$35$$35$7205759403792826528$35$$35$d8z6 ds_d8pg) (= lq_anf$36$$35$$35$7205759403792826528$35$$35$d8z6 (apply$35$$35$10 (apply$35$$35$0 Game.Asteroids.World.Timer.Timer t1$35$$35$a7GV) ds_d8rJ)))))
(push 1)
(assert (not (<= VV$35$$35$F$35$$35$9 t2$35$$35$a7GU)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= 0 1)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (>= VV$35$$35$F$35$$35$9 t2$35$$35$a7GU)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (not (= VV$35$$35$F$35$$35$9 t2$35$$35$a7GU))))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (> VV$35$$35$F$35$$35$9 t2$35$$35$a7GU)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (< VV$35$$35$F$35$$35$9 t2$35$$35$a7GU)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= VV$35$$35$F$35$$35$9 t2$35$$35$a7GU)))
(check-sat)
; SMT Says: Sat
(pop 1)
(pop 1)
(push 1)
(assert (and (and (exists ((VV$35$$35$1221 Int) (lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 Int)) (and (and (= VV$35$$35$1221 fix$36$$36$krep_a7LA) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 fix$36$$36$krep_a7LA)) (exists ((VV$35$$35$F$35$$35$38 Int) (lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0)) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 VV$35$$35$F$35$$35$38))))) (exists ((lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 Int) (VV$35$$35$1297 Int)) (and (and (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 fix$36$$36$krep_a7LD) (= VV$35$$35$1297 fix$36$$36$krep_a7LD)) (exists ((VV$35$$35$F$35$$35$36 Int) (lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0)) (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 VV$35$$35$F$35$$35$36))))) (exists ((lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 Int) (VV$35$$35$1187 Int)) (and (and (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 fix$36$$36$krep_a7LC) (= VV$35$$35$1187 fix$36$$36$krep_a7LC)) (exists ((VV$35$$35$F$35$$35$39 Int) (lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0)) (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 VV$35$$35$F$35$$35$39)))))) (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826523$35$$35$d8z1) 0)) (not GHC.Types.False) GHC.Types.True (= lq_anf$36$$35$$35$7205759403792826525$35$$35$d8z3 fix$36$$36$d$40$$37$$44$$37$$41$_a7L0) (= lq_anf$36$$35$$35$7205759403792826526$35$$35$d8z4 fix$36$$36$d$40$$37$$44$$37$$41$_a7L3) (= lq_anf$36$$35$$35$7205759403792826528$35$$35$d8z6 ds_d8pg) (= lq_anf$36$$35$$35$7205759403792826528$35$$35$d8z6 ds_d8pg) (= VV$35$$35$F$35$$35$10 t2$35$$35$a7GU) (and (= lq_anf$36$$35$$35$7205759403792826528$35$$35$d8z6 ds_d8pg) (= lq_anf$36$$35$$35$7205759403792826528$35$$35$d8z6 (apply$35$$35$10 (apply$35$$35$0 Game.Asteroids.World.Timer.Timer t1$35$$35$a7GV) ds_d8rJ)))))
(push 1)
(assert (not (= 0 1)))
(check-sat)
; SMT Says: Sat
(pop 1)
(pop 1)
(push 1)
(assert (and (and (exists ((VV$35$$35$1221 Int) (lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 Int)) (and (and (= VV$35$$35$1221 fix$36$$36$krep_a7LA) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 fix$36$$36$krep_a7LA)) (exists ((VV$35$$35$F$35$$35$38 Int) (lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0)) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 VV$35$$35$F$35$$35$38))))) (exists ((lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 Int) (VV$35$$35$1297 Int)) (and (and (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 fix$36$$36$krep_a7LD) (= VV$35$$35$1297 fix$36$$36$krep_a7LD)) (exists ((VV$35$$35$F$35$$35$36 Int) (lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0)) (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 VV$35$$35$F$35$$35$36))))) (exists ((lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 Int) (VV$35$$35$1187 Int)) (and (and (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 fix$36$$36$krep_a7LC) (= VV$35$$35$1187 fix$36$$36$krep_a7LC)) (exists ((VV$35$$35$F$35$$35$39 Int) (lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0)) (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 VV$35$$35$F$35$$35$39))))) (exists ((lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1746 Int) (lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1746 Int) (lq_tmp$36$x$35$$35$1747 Int) (lq_karg$36$VV$35$$35$1745$35$$35$k_$35$$35$1746 Int) (lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1746 Int)) (and (and (= lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1746 t2$35$$35$a7GT) (= lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1746 t1$35$$35$a7GS) (= lq_tmp$36$x$35$$35$1747 lq_tmp$36$x$35$$35$1739) (= lq_karg$36$VV$35$$35$1745$35$$35$k_$35$$35$1746 lq_tmp$36$x$35$$35$1739) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1746 lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY)) (exists ((VV$35$$35$F$35$$35$19 Int)) (and (= VV$35$$35$F$35$$35$19 lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY) (and (= lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1746 t2$35$$35$a7GT) (= lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1746 t1$35$$35$a7GS) (= lq_karg$36$VV$35$$35$1745$35$$35$k_$35$$35$1746 VV$35$$35$F$35$$35$19) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1746 lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY))))))) (not GHC.Types.False) GHC.Types.True))
(push 1)
(assert (not (= 0 1)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (<= VV$35$$35$F$35$$35$20 Apecs.Util.global)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= VV$35$$35$F$35$$35$20 1)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (< VV$35$$35$F$35$$35$20 0)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (> VV$35$$35$F$35$$35$20 0)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (>= VV$35$$35$F$35$$35$20 Apecs.Util.global)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (>= VV$35$$35$F$35$$35$20 0)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (not (= VV$35$$35$F$35$$35$20 Apecs.Util.global))))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (> VV$35$$35$F$35$$35$20 Apecs.Util.global)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (not (= VV$35$$35$F$35$$35$20 0))))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (<= VV$35$$35$F$35$$35$20 0)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (< VV$35$$35$F$35$$35$20 Apecs.Util.global)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= VV$35$$35$F$35$$35$20 Apecs.Util.global)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= VV$35$$35$F$35$$35$20 0)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= VV$35$$35$F$35$$35$20 Apecs.Util.global)))
(check-sat)
; SMT Says: Sat
(pop 1)
(pop 1)
(push 1)
(assert (and (and (exists ((VV$35$$35$1221 Int) (lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 Int)) (and (and (= VV$35$$35$1221 fix$36$$36$krep_a7LA) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 fix$36$$36$krep_a7LA)) (exists ((VV$35$$35$F$35$$35$38 Int) (lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0)) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 VV$35$$35$F$35$$35$38))))) (exists ((lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 Int) (VV$35$$35$1297 Int)) (and (and (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 fix$36$$36$krep_a7LD) (= VV$35$$35$1297 fix$36$$36$krep_a7LD)) (exists ((VV$35$$35$F$35$$35$36 Int) (lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0)) (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 VV$35$$35$F$35$$35$36))))) (exists ((lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 Int) (VV$35$$35$1187 Int)) (and (and (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 fix$36$$36$krep_a7LC) (= VV$35$$35$1187 fix$36$$36$krep_a7LC)) (exists ((VV$35$$35$F$35$$35$39 Int) (lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0)) (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 VV$35$$35$F$35$$35$39))))) (exists ((lq_tmp$36$x$35$$35$1772 Int) (lq_karg$36$lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ$35$$35$k_$35$$35$1771 Int) (lq_karg$36$VV$35$$35$1770$35$$35$k_$35$$35$1771 Int) (lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1771 Int) (lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1771 Int) (lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1771 Int)) (and (and (= lq_tmp$36$x$35$$35$1772 lq_tmp$36$x$35$$35$1764) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ$35$$35$k_$35$$35$1771 lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ) (= lq_karg$36$VV$35$$35$1770$35$$35$k_$35$$35$1771 lq_tmp$36$x$35$$35$1764) (= lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1771 t1$35$$35$a7GS) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1771 lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY) (= lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1771 t2$35$$35$a7GT)) (exists ((VV$35$$35$F$35$$35$17 Int)) (and (= VV$35$$35$F$35$$35$17 lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ) (and (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ$35$$35$k_$35$$35$1771 lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ) (= lq_karg$36$VV$35$$35$1770$35$$35$k_$35$$35$1771 VV$35$$35$F$35$$35$17) (= lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1771 t1$35$$35$a7GS) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1771 lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY) (= lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1771 t2$35$$35$a7GT))))))) (= VV$35$$35$F$35$$35$18 lq_tmp$36$x$35$$35$1764) (not GHC.Types.False) GHC.Types.True))
(push 1)
(assert (not (= 0 1)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (< VV$35$$35$F$35$$35$18 0)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (> VV$35$$35$F$35$$35$18 0)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (>= VV$35$$35$F$35$$35$18 0)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (not (= VV$35$$35$F$35$$35$18 0))))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (<= VV$35$$35$F$35$$35$18 0)))
(check-sat)
; SMT Says: Sat
(pop 1)
(push 1)
(assert (not (= VV$35$$35$F$35$$35$18 0)))
(check-sat)
; SMT Says: Sat
(pop 1)
(pop 1)
(push 1)
(assert (and (and (exists ((VV$35$$35$1221 Int) (lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 Int)) (and (and (= VV$35$$35$1221 fix$36$$36$krep_a7LA) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 fix$36$$36$krep_a7LA)) (exists ((VV$35$$35$F$35$$35$38 Int) (lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826245$35$$35$d8ux) 0)) (= lq_karg$36$VV$35$$35$1221$35$$35$k_$35$$35$1222 VV$35$$35$F$35$$35$38))))) (exists ((VV$35$$35$1675 Real) (lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1676 Int) (lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1676 Int) (lq_karg$36$VV$35$$35$1675$35$$35$k_$35$$35$1676 Real)) (and (and (= VV$35$$35$1675 ds_d8n0) (= lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1676 t2$35$$35$a7GT) (= lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1676 t1$35$$35$a7GS) (= lq_karg$36$VV$35$$35$1675$35$$35$k_$35$$35$1676 ds_d8n0)) (exists ((lq_anf$36$$35$$35$7205759403792826518$35$$35$d8yW Int) (lq_anf$36$$35$$35$7205759403792826519$35$$35$d8yX Int) (lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY Int) (lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ Int) (lq_anf$36$$35$$35$7205759403792826522$35$$35$d8z0 Real) (VV$35$$35$F$35$$35$15 Real)) (and (exists ((lq_karg$36$lq_anf$36$$35$$35$7205759403792826522$35$$35$d8z0$35$$35$k_$35$$35$1796 Real) (lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1796 Int) (lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1796 Int) (lq_karg$36$lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ$35$$35$k_$35$$35$1796 Int) (lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1796 Int) (lq_karg$36$VV$35$$35$1795$35$$35$k_$35$$35$1796 Real)) (and (and (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826522$35$$35$d8z0$35$$35$k_$35$$35$1796 lq_anf$36$$35$$35$7205759403792826522$35$$35$d8z0) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1796 lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY) (= lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1796 t1$35$$35$a7GS) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ$35$$35$k_$35$$35$1796 lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ) (= lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1796 t2$35$$35$a7GT) (= lq_karg$36$VV$35$$35$1795$35$$35$k_$35$$35$1796 VV$35$$35$F$35$$35$15)) (exists ((VV$35$$35$F$35$$35$14 Real)) (and (= VV$35$$35$F$35$$35$14 lq_anf$36$$35$$35$7205759403792826522$35$$35$d8z0) (and (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826522$35$$35$d8z0$35$$35$k_$35$$35$1796 lq_anf$36$$35$$35$7205759403792826522$35$$35$d8z0) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY$35$$35$k_$35$$35$1796 lq_anf$36$$35$$35$7205759403792826520$35$$35$d8yY) (= lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1796 t1$35$$35$a7GS) (= lq_karg$36$lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ$35$$35$k_$35$$35$1796 lq_anf$36$$35$$35$7205759403792826521$35$$35$d8yZ) (= lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1796 t2$35$$35$a7GT) (= lq_karg$36$VV$35$$35$1795$35$$35$k_$35$$35$1796 VV$35$$35$F$35$$35$14)))))) (and (= lq_karg$36$t2$35$$35$a7GT$35$$35$k_$35$$35$1676 t2$35$$35$a7GT) (= lq_karg$36$t1$35$$35$a7GS$35$$35$k_$35$$35$1676 t1$35$$35$a7GS) (= lq_karg$36$VV$35$$35$1675$35$$35$k_$35$$35$1676 VV$35$$35$F$35$$35$15)))))) (exists ((lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 Int) (VV$35$$35$1297 Int)) (and (and (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 fix$36$$36$krep_a7LD) (= VV$35$$35$1297 fix$36$$36$krep_a7LD)) (exists ((VV$35$$35$F$35$$35$36 Int) (lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826251$35$$35$d8uD) 0)) (= lq_karg$36$VV$35$$35$1297$35$$35$k_$35$$35$1298 VV$35$$35$F$35$$35$36))))) (exists ((lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 Int) (VV$35$$35$1187 Int)) (and (and (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 fix$36$$36$krep_a7LC) (= VV$35$$35$1187 fix$36$$36$krep_a7LC)) (exists ((VV$35$$35$F$35$$35$39 Int) (lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw Int)) (and (and (= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0) (>= (apply$35$$35$0 (as len Int) lq_anf$36$$35$$35$7205759403792826244$35$$35$d8uw) 0)) (= lq_karg$36$VV$35$$35$1187$35$$35$k_$35$$35$1188 VV$35$$35$F$35$$35$39)))))) (not GHC.Types.False) (= lq_anf$36$$35$$35$7205759403792826517$35$$35$d8yV 1.00000e9) GHC.Types.True (and (= VV$35$$35$F$35$$35$22 1.00000e9) (= VV$35$$35$F$35$$35$22 lq_anf$36$$35$$35$7205759403792826517$35$$35$d8yV))))
(push 1)
(assert (not (not (= VV$35$$35$F$35$$35$22 0))))
(check-sat)
; SMT Says: Error "line 839 column 4586: unknown constant e9"
(pop 1)
(pop 1)

@NCrashed
Copy link

NCrashed commented Dec 3, 2020

Perhaps, this is due http://hackage.haskell.org/package/clock-0.8/docs/src/System.Clock.html#toNanoSecs as it uses constant s2ns = 10^9.

NCrashed added a commit to NCrashed/liquid-test that referenced this issue Dec 3, 2020
@NCrashed
Copy link

NCrashed commented Dec 3, 2020

Minimal example (from https://github.com/NCrashed/liquid-test/blob/master/src/Liquid/Test/Assert.hs#L5)

spooky :: Float
spooky = 1 / 1000000000

Got:

**** LIQUID: ERROR :1:1-1:1: Error
  crash: SMTLIB2 respSat = Error "line 286 column 150: unknown constant e9" 

smt2:

(set-option :auto-config false)
(set-option :model true)
(set-option :model.partial false)

(set-option :smt.mbqi false)

(define-sort Str () Int)
(declare-fun strLen (Str) Int)
(declare-fun subString (Str Int Int) Str)
(declare-fun concatString (Str Str) Str)
(define-sort Elt () Int)
(define-sort LSet () (Array Elt Bool))
(define-fun smt_set_emp () LSet ((as const LSet) false))
(define-fun smt_set_mem ((x Elt) (s LSet)) Bool (select s x))
(define-fun smt_set_add ((s LSet) (x Elt)) LSet (store s x true))
(define-fun smt_set_cup ((s1 LSet) (s2 LSet)) LSet ((_ map or) s1 s2))
(define-fun smt_set_cap ((s1 LSet) (s2 LSet)) LSet ((_ map and) s1 s2))
(define-fun smt_set_com ((s LSet)) LSet ((_ map not) s))
(define-fun smt_set_dif ((s1 LSet) (s2 LSet)) LSet (smt_set_cap s1 (smt_set_com s2)))
(define-fun smt_set_sub ((s1 LSet) (s2 LSet)) Bool (= smt_set_emp (smt_set_dif s1 s2)))
(define-sort Map () (Array Elt Elt))
(define-fun smt_map_sel ((m Map) (k Elt)) Elt (select m k))
(define-fun smt_map_sto ((m Map) (k Elt) (v Elt)) Map (store m k v))
(define-fun smt_map_cup ((m1 Map) (m2 Map)) Map ((_ map (+ (Elt Elt) Elt)) m1 m2))
(define-fun smt_map_def ((v Elt)) Map ((as const (Map)) v))
(define-fun bool_to_int ((b Bool)) Int (ite b 1 0))
(define-fun Z3_OP_MUL ((x Int) (y Int)) Int (* x y))
(define-fun Z3_OP_DIV ((x Int) (y Int)) Int (div x y))
(declare-fun GHC.Base.id () Int)
(declare-fun cast_as_int () Int)
(declare-fun GHC.Real.rem () Int)
(declare-fun GHC.List.init () Int)
(declare-fun addrLen () Int)
(declare-fun papp5 () Int)
(declare-fun GHC.List.iterate () Int)
(declare-fun x_Tuple21 () Int)
(declare-fun GHC.Classes.$61$$61$ () Int)
(declare-fun GHC.Types.C$35$ () Int)
(declare-fun GHC.List.drop () Int)
(declare-fun Data.Foldable.length () Int)
(declare-fun x_Tuple33 () Int)
(declare-fun GHC.Types.LT () Int)
(declare-fun GHC.List.replicate () Int)
(declare-fun GHC.List.zipWith () Int)
(declare-fun GHC.Classes.$62$$61$ () Int)
(declare-fun GHC.Types.F$35$ () Int)
(declare-fun GHC.Num.fromInteger () Int)
(declare-fun papp3 () Int)
(declare-fun GHC.List.span () Int)
(declare-fun GHC.Classes.$62$ () Int)
(declare-fun GHC.Types.False () Bool)
(declare-fun GHC.List.scanr1 () Int)
(declare-fun GHC.Types.$58$ () Int)
(declare-fun GHC.Real.div () Int)
(declare-fun GHC.List.scanl () Int)
(declare-fun GHC.Tuple.$40$$44$$44$$41$ () Int)
(declare-fun papp4 () Int)
(declare-fun GHC.Types.Module () Int)
(declare-fun GHC.List.zip () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792802825$35$$35$d2oN () Int)
(declare-fun GHC.Tuple.$40$$41$ () Int)
(declare-fun GHC.Types.I$35$ () Int)
(declare-fun GHC.List.dropWhile () Int)
(declare-fun autolen () Int)
(declare-fun GHC.Integer.Type.$36$WJn$35$ () Int)
(declare-fun GHC.Real.$94$ () Int)
(declare-fun head () Int)
(declare-fun GHC.Real.mod () Int)
(declare-fun GHC.Real.divMod () Int)
(declare-fun GHC.Integer.Type.Jn$35$ () Int)
(declare-fun GHC.Classes.compare () Int)
(declare-fun papp2 () Int)
(declare-fun GHC.Real.toInteger () Int)
(declare-fun GHC.Real.quotRem () Int)
(declare-fun GHC.Stack.Types.EmptyCallStack () Int)
(declare-fun GHC.List.reverse () Int)
(declare-fun GHC.Integer.Type.$36$WJp$35$ () Int)
(declare-fun Liquid.Test.Assert.$36$trModule () Int)
(declare-fun GHC.List.filter () Int)
(declare-fun fromJust () Int)
(declare-fun GHC.List.cycle () Int)
(declare-fun GHC.List.$33$$33$ () Int)
(declare-fun GHC.List.tail () Int)
(declare-fun papp7 () Int)
(declare-fun GHC.Classes.$47$$61$ () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792802827$35$$35$d2oP () Real)
(declare-fun GHC.List.break () Int)
(declare-fun GHC.Types.True () Bool)
(declare-fun GHC.Types.$91$$93$ () Int)
(declare-fun GHC.List.splitAt () Int)
(declare-fun GHC.Base.$43$$43$ () Int)
(declare-fun GHC.Real.$58$$37$ () Int)
(declare-fun GHC.Tuple.$40$$44$$41$ () Int)
(declare-fun GHC.Real.quot () Int)
(declare-fun GHC.Real.$47$ () Int)
(declare-fun lq_karg$36$VV$35$$35$374$35$$35$k_$35$$35$375 () Int)
(declare-fun GHC.Classes.$38$$38$ () Int)
(declare-fun VV$35$$35$F$35$$35$2 () Real)
(declare-fun GHC.Types.GT () Int)
(declare-fun GHC.Classes.C$58$IP () Int)
(declare-fun GHC.Classes.$124$$124$ () Int)
(declare-fun Data.Either.Left () Int)
(declare-fun GHC.List.last () Int)
(declare-fun GHC.Integer.Type.S$35$ () Int)
(declare-fun GHC.List.scanl1 () Int)
(declare-fun Data.Either.Right () Int)
(declare-fun GHC.Num.$45$ () Int)
(declare-fun len () Int)
(declare-fun papp6 () Int)
(declare-fun GHC.Base.. () Int)
(declare-fun x_Tuple22 () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792802822$35$$35$d2oK () Str)
(declare-fun lq_anf$36$$35$$35$7205759403792802826$35$$35$d2oO () Real)
(declare-fun lq_anf$36$$35$$35$7205759403792802824$35$$35$d2oM () Str)
(declare-fun GHC.Real.$36$W$58$$37$ () Int)
(declare-fun GHC.Real.fromRational () Int)
(declare-fun isJust () Int)
(declare-fun GHC.List.takeWhile () Int)
(declare-fun GHC.Types.TrNameD () Int)
(declare-fun x_Tuple31 () Int)
(declare-fun GHC.Integer.Type.Jp$35$ () Int)
(declare-fun lit$36$liquidhaskell$45$test$45$0.1.0.0$45$inplace () Str)
(declare-fun GHC.IO.Exception.IOError () Int)
(declare-fun GHC.List.take () Int)
(declare-fun GHC.Stack.Types.PushCallStack () Int)
(declare-fun lit$36$Liquid.Test.Assert () Str)
(declare-fun GHC.Classes.$60$$61$ () Int)
(declare-fun GHC.Types.TrNameS () Int)
(declare-fun GHC.Enum.C$58$Bounded () Int)
(declare-fun GHC.Base.map () Int)
(declare-fun VV$35$$35$F$35$$35$3 () Int)
(declare-fun GHC.Base.$36$ () Int)
(declare-fun papp1 () Int)
(declare-fun GHC.Classes.max () Int)
(declare-fun GHC.Classes.$60$ () Int)
(declare-fun tail () Int)
(declare-fun GHC.Stack.Types.FreezeCallStack () Int)
(declare-fun GHC.Num.$42$ () Int)
(declare-fun GHC.Real.recip () Int)
(declare-fun GHC.Maybe.Nothing () Int)
(declare-fun GHC.Types.EQ () Int)
(declare-fun GHC.List.scanr () Int)
(declare-fun GHC.Num.negate () Int)
(declare-fun GHC.Real.fromIntegral () Int)
(declare-fun GHC.Maybe.Just () Int)
(declare-fun GHC.Classes.min () Int)
(declare-fun GHC.List.head () Int)
(declare-fun x_Tuple32 () Int)
(declare-fun GHC.List.repeat () Int)
(declare-fun GHC.Classes.not () Int)
(declare-fun GHC.Num.$43$ () Int)
(declare-fun Data.Tuple.fst () Int)
(declare-fun GHC.Float.$36$fFractionalFloat () Int)
(declare-fun GHC.Err.error () Int)
(declare-fun snd () Int)
(declare-fun fst () Int)
(declare-fun Data.Tuple.snd () Int)
(declare-fun lq_anf$36$$35$$35$7205759403792802823$35$$35$d2oL () Int)
(declare-fun apply$35$$35$21 (Int (_ BitVec 32)) Bool)
(declare-fun apply$35$$35$16 (Int Str) Bool)
(declare-fun apply$35$$35$8 (Int Bool) Str)
(declare-fun apply$35$$35$19 (Int Str) (_ BitVec 32))
(declare-fun apply$35$$35$12 (Int Real) Real)
(declare-fun apply$35$$35$24 (Int (_ BitVec 32)) (_ BitVec 32))
(declare-fun apply$35$$35$0 (Int Int) Int)
(declare-fun apply$35$$35$7 (Int Bool) Real)
(declare-fun apply$35$$35$15 (Int Str) Int)
(declare-fun apply$35$$35$1 (Int Int) Bool)
(declare-fun apply$35$$35$13 (Int Real) Str)
(declare-fun apply$35$$35$14 (Int Real) (_ BitVec 32))
(declare-fun apply$35$$35$22 (Int (_ BitVec 32)) Real)
(declare-fun apply$35$$35$9 (Int Bool) (_ BitVec 32))
(declare-fun apply$35$$35$2 (Int Int) Real)
(declare-fun apply$35$$35$10 (Int Real) Int)
(declare-fun apply$35$$35$23 (Int (_ BitVec 32)) Str)
(declare-fun apply$35$$35$18 (Int Str) Str)
(declare-fun apply$35$$35$6 (Int Bool) Bool)
(declare-fun apply$35$$35$11 (Int Real) Bool)
(declare-fun apply$35$$35$3 (Int Int) Str)
(declare-fun apply$35$$35$20 (Int (_ BitVec 32)) Int)
(declare-fun apply$35$$35$4 (Int Int) (_ BitVec 32))
(declare-fun apply$35$$35$5 (Int Bool) Int)
(declare-fun apply$35$$35$17 (Int Str) Real)
(declare-fun coerce$35$$35$21 ((_ BitVec 32)) Bool)
(declare-fun coerce$35$$35$16 (Str) Bool)
(declare-fun coerce$35$$35$8 (Bool) Str)
(declare-fun coerce$35$$35$19 (Str) (_ BitVec 32))
(declare-fun coerce$35$$35$12 (Real) Real)
(declare-fun coerce$35$$35$24 ((_ BitVec 32)) (_ BitVec 32))
(declare-fun coerce$35$$35$0 (Int) Int)
(declare-fun coerce$35$$35$7 (Bool) Real)
(declare-fun coerce$35$$35$15 (Str) Int)
(declare-fun coerce$35$$35$1 (Int) Bool)
(declare-fun coerce$35$$35$13 (Real) Str)
(declare-fun coerce$35$$35$14 (Real) (_ BitVec 32))
(declare-fun coerce$35$$35$22 ((_ BitVec 32)) Real)
(declare-fun coerce$35$$35$9 (Bool) (_ BitVec 32))
(declare-fun coerce$35$$35$2 (Int) Real)
(declare-fun coerce$35$$35$10 (Real) Int)
(declare-fun coerce$35$$35$23 ((_ BitVec 32)) Str)
(declare-fun coerce$35$$35$18 (Str) Str)
(declare-fun coerce$35$$35$6 (Bool) Bool)
(declare-fun coerce$35$$35$11 (Real) Bool)
(declare-fun coerce$35$$35$3 (Int) Str)
(declare-fun coerce$35$$35$20 ((_ BitVec 32)) Int)
(declare-fun coerce$35$$35$4 (Int) (_ BitVec 32))
(declare-fun coerce$35$$35$5 (Bool) Int)
(declare-fun coerce$35$$35$17 (Str) Real)
(declare-fun smt_lambda$35$$35$21 ((_ BitVec 32) Bool) Int)
(declare-fun smt_lambda$35$$35$16 (Str Bool) Int)
(declare-fun smt_lambda$35$$35$8 (Bool Str) Int)
(declare-fun smt_lambda$35$$35$19 (Str (_ BitVec 32)) Int)
(declare-fun smt_lambda$35$$35$12 (Real Real) Int)
(declare-fun smt_lambda$35$$35$24 ((_ BitVec 32) (_ BitVec 32)) Int)
(declare-fun smt_lambda$35$$35$0 (Int Int) Int)
(declare-fun smt_lambda$35$$35$7 (Bool Real) Int)
(declare-fun smt_lambda$35$$35$15 (Str Int) Int)
(declare-fun smt_lambda$35$$35$1 (Int Bool) Int)
(declare-fun smt_lambda$35$$35$13 (Real Str) Int)
(declare-fun smt_lambda$35$$35$14 (Real (_ BitVec 32)) Int)
(declare-fun smt_lambda$35$$35$22 ((_ BitVec 32) Real) Int)
(declare-fun smt_lambda$35$$35$9 (Bool (_ BitVec 32)) Int)
(declare-fun smt_lambda$35$$35$2 (Int Real) Int)
(declare-fun smt_lambda$35$$35$10 (Real Int) Int)
(declare-fun smt_lambda$35$$35$23 ((_ BitVec 32) Str) Int)
(declare-fun smt_lambda$35$$35$18 (Str Str) Int)
(declare-fun smt_lambda$35$$35$6 (Bool Bool) Int)
(declare-fun smt_lambda$35$$35$11 (Real Bool) Int)
(declare-fun smt_lambda$35$$35$3 (Int Str) Int)
(declare-fun smt_lambda$35$$35$20 ((_ BitVec 32) Int) Int)
(declare-fun smt_lambda$35$$35$4 (Int (_ BitVec 32)) Int)
(declare-fun smt_lambda$35$$35$5 (Bool Int) Int)
(declare-fun smt_lambda$35$$35$17 (Str Real) Int)
(declare-fun lam_arg$35$$35$1$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$2$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$3$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$4$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$5$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$6$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$7$35$$35$0 () Int)
(declare-fun lam_arg$35$$35$1$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$2$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$3$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$4$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$5$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$6$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$7$35$$35$15 () Str)
(declare-fun lam_arg$35$$35$1$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$2$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$3$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$4$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$5$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$6$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$7$35$$35$10 () Real)
(declare-fun lam_arg$35$$35$1$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$2$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$3$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$4$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$5$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$6$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$7$35$$35$20 () (_ BitVec 32))
(declare-fun lam_arg$35$$35$1$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$2$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$3$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$4$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$5$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$6$35$$35$5 () Bool)
(declare-fun lam_arg$35$$35$7$35$$35$5 () Bool)

(assert (distinct lit$36$Liquid.Test.Assert lit$36$liquidhaskell$45$test$45$0.1.0.0$45$inplace))

(assert (distinct GHC.Types.True GHC.Types.False))

(assert (distinct GHC.Types.EQ GHC.Types.GT GHC.Types.LT))
(assert (= (strLen lit$36$liquidhaskell$45$test$45$0.1.0.0$45$inplace) 34))
(assert (= (strLen lit$36$Liquid.Test.Assert) 18))
(push 1)
(assert (and GHC.Types.True (= lq_anf$36$$35$$35$7205759403792802822$35$$35$d2oK lit$36$liquidhaskell$45$test$45$0.1.0.0$45$inplace) (= lq_anf$36$$35$$35$7205759403792802824$35$$35$d2oM lit$36$Liquid.Test.Assert) (not GHC.Types.False)))
(push 1)
(assert (not (= 0 1)))
(check-sat)
; SMT Says: Sat
(pop 1)
(pop 1)
(push 1)
(assert (and GHC.Types.True (= lq_anf$36$$35$$35$7205759403792802826$35$$35$d2oO 1.00000) (= lq_anf$36$$35$$35$7205759403792802827$35$$35$d2oP 1.00000e9) (and (= VV$35$$35$F$35$$35$2 1.00000e9) (= VV$35$$35$F$35$$35$2 lq_anf$36$$35$$35$7205759403792802827$35$$35$d2oP)) (not GHC.Types.False)))
(push 1)
(assert (not (not (= VV$35$$35$F$35$$35$2 0))))
(check-sat)
; SMT Says: Error "line 286 column 150: unknown constant e9"
(pop 1)
(pop 1)

@ranjitjhala
Copy link
Member

ranjitjhala commented Dec 3, 2020 via email

@waivio
Copy link
Author

waivio commented Jan 29, 2021

I was able to get Liquid Haskell to successfully analyze my project. In addition to what was stated above. I had to remove the Storable Instance via CPP and use the following ghc-options: -fplugin=LiquidHaskell -fplugin-opt=LiquidHaskell:--fast -fplugin-opt=LiquidHaskell:--max-case-expand=0 -fplugin-opt=LiquidHaskell:--no-termination

@ranjitjhala
Copy link
Member

ranjitjhala commented Jan 29, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants