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