* fix: `withCollectingNewGoalsFrom` do not collect old goals * fix: update occurs check * test: fix test `run/492.lean` * docs: add docstring to `elabTermWithHoles` * test: `refineFiltersOldMVars` * test: fix `expected.out` name * test: fix `expected.out` filename and line numbers * docs: use long ascii dash instead of em dash Co-authored-by: Scott Morrison <scott@tqft.net> * docs: fix long line, mention lean4#2502 * docs: a couple more long lines * test: fix line numbers --------- Co-authored-by: Scott Morrison <scott@tqft.net>
18 lines
372 B
Text
18 lines
372 B
Text
example : ∃ n : Nat, n = n := by
|
|
refine ⟨?n, ?h⟩
|
|
case h => exact Eq.refl 3
|
|
|
|
example : ∃ n : Nat, n = n := by
|
|
refine ⟨?n, ?h⟩
|
|
case h => exact rfl
|
|
case n => exact 3
|
|
|
|
example : ∃ n : Nat, n = n := by
|
|
refine ⟨?n, by rfl⟩
|
|
case n => exact 3
|
|
|
|
example : ∃ n : Nat, n = n := by
|
|
refine ⟨?n, ?h⟩
|
|
case h =>
|
|
refine rfl
|
|
case n => exact 3
|