test: mathport issue https://github.com/dselsam/mathport/issues/18
This commit is contained in:
parent
9182ebd4c1
commit
4fe65f3200
1 changed files with 7 additions and 0 deletions
7
tests/lean/run/mathport18.lean
Normal file
7
tests/lean/run/mathport18.lean
Normal 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
|
||||
Loading…
Add table
Reference in a new issue