more advanced addition world

This commit is contained in:
Kevin Buzzard
2023-10-02 18:59:47 +01:00
parent 3ffa370ade
commit 4e1330bb99
12 changed files with 286 additions and 103 deletions

View File

@@ -20,3 +20,9 @@ example (A B C : Prop) (ha : A) (f : A → B) (g : B → C) : C := by
apply f at ha
apply g at ha
exact ha
-- failing test
example (h1 : x, Nat.succ x = 4 x = 3) (a : Nat) (h : Nat.succ a = 4) : a = 3 := by
-- apply h1 at h -- fails
replace h := h1 _ h -- works
exact h