lean2/tests/lean/induct.lean.expected.out
Leonardo de Moura e4579b93e4 fix(library/elaborator): try first projection before imitation in the higher-order unifier
Projections build more general solutions. This commit also adds a test that demonstrates the issue. Before this commit, the elaborator would produce the "constant" predicate (fun x, a + b = b + a).

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-06 13:35:05 -08:00

8 lines
248 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Set: pp::colors
Set: pp::unicode
Imported 'macros'
Imported 'tactic'
Using: Nat
induct.lean:7:0: error: invalid tactic command, unexpected end of file
Proof state:
a : , b : , n : , iH : a + n = n + a ⊢ a + (n + 1) = n + 1 + a