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>
6 lines
115 B
Text
6 lines
115 B
Text
import macros
|
|
import tactic
|
|
using Nat
|
|
|
|
theorem add_comm2 (a b : Nat) : a + b = b + a
|
|
:= induction_on b (by skip) _
|