sbv-14.0: SBVTestSuite/TestSuite/CompileTests/PCase/PCase40.stderr
PCase40.hs:(19,15)-(25,9): Splicing expression
ghc-internal:GHC.Internal.TH.Quote.quoteExp
pCase
" e of\n\
\ Zero -> e .== e =: qed\n\
\ Num k -> sNum k .== sNum k =: e .== e =: qed\n\
\ Var s -> sVar s .== sVar s =: e .== e =: qed\n\
\ Add (Add (Add (Num _) b) c) _ -> sAdd b (sAdd c c) .== e =: qed\n\
\ Let nm a b -> sLet nm a b .== sLet nm a b =: e .== e =: qed\n\
\ "
======>
cases
[(isZero e ==> (e .== e =: qed)),
(isNum e
==> (let k = getNum_1 e in (sNum k) .== sNum k =: e .== e =: qed)),
(isVar e
==> (let s = getVar_1 e in (sVar s) .== sVar s =: e .== e =: qed)),
((.&&)
(isAdd e)
((.&&)
(isAdd (getAdd_1 e))
((.&&)
(isAdd (getAdd_1 (getAdd_1 e)))
(isNum (getAdd_1 (getAdd_1 (getAdd_1 e))))))
==>
(let
c = getAdd_2 (getAdd_1 e)
b = getAdd_2 (getAdd_1 (getAdd_1 e))
in (sAdd b (sAdd c c)) .== e =: qed)),
(isLet e
==>
(let
nm = getLet_1 e
a = getLet_2 e
b = getLet_3 e
in (sLet nm a b) .== sLet nm a b =: e .== e =: qed))]