lean4-htt/tests/lean/run/inaccessibleAnnotDefEqIssue.lean
Joe Hendrix 06e21faecd
chore: upstream Std.Data.Int.Init modules (#3364)
This is pretty big PR that upstreams all of Std.Data.Int.Init in one go.

So far lemmas have seen minimal changes needed to adapt to Lean core
environment.

---------

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
2024-02-16 03:58:23 +00:00

9 lines
284 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