lean4-htt/tests/lean/defInst.lean.expected.out
Leonardo de Moura 5707cab7bf feat: improve #eval command
Now, if it fails to synthesize the TC instance, it applies `whnf` and
tries again.
2022-03-12 19:55:15 -08:00

12 lines
275 B
Text

[4, 5, 6]
defInst.lean:8:26-8:32: error: failed to synthesize instance
BEq Foo
fun x y => sorryAx (?m x y) : (x y : Foo) → ?m x y
[4, 5, 6]
fun x y => x == y : Foo → Foo → Bool
[("hello", "hello")]
false
true
true
def instMMonad : Monad M :=
ReaderT.instMonadReaderT