Issue was reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Change.20in.20pattern.20matching.3B.20expected.20behaviour.3F/near/259059096 fixes #742
9 lines
283 B
Text
9 lines
283 B
Text
example : Int → Nat
|
|
| (_ : Nat) => 0
|
|
| Int.negSucc n => 0
|
|
|
|
protected theorem Int.add_comm : ∀ a b : Int, a + b = b + a
|
|
| (n : Nat), (m : Nat) => sorry
|
|
| (_ : Nat), Int.negSucc _ => rfl
|
|
| Int.negSucc _, (_ : Nat) => rfl
|
|
| Int.negSucc _, Int.negSucc _ => sorry
|