This commit is contained in:
Leonardo de Moura 2021-08-15 08:11:20 -07:00
parent 9182ebd4c1
commit 4fe65f3200

View file

@ -0,0 +1,7 @@
def foo := @id
def bar := @id
theorem foo_eq {α} (x : α) : foo x = bar x := rfl
example {p : Nat → Prop} {x} (h : x = bar 1) : p x := by
simp [*, ← foo_eq]
show p (foo 1)
admit