e4579b93e4
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>
8 lines
248 B
Text
8 lines
248 B
Text
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
|