Files
lean4/tests/server_interactive/Diff.lean
Garmelon a3cb39eac9 chore: migrate more tests to new test suite (#12809)
This PR migrates most remaining tests to the new test suite. It also
completes the migration of directories like `tests/lean/run`, meaning
that PRs trying to add tests to those old directories will now fail.
2026-03-06 16:52:01 +00:00

36 lines
621 B
Lean4
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
def hello : (x : Nat) (h : x = x) True := by
intro x
--^ goals
intro
--^ goals
trivial
def hello2 : (x : Nat) (h : x = x) True := by
intros
--^ goals
trivial
theorem qqww (x y : Nat) (f : (α x = y)) (h : y = x) : True := by
rw [h] at f
--^ goals
trivial
theorem qqww2 (x y : Nat) (f : (α x = y)) (h : y = x) : True := by
rw [h] at f
--^ goals
trivial
theorem adsf : (True True) := by
apply And.intro
--^ goals
trivial
--^ goals
trivial
--^ goals
theorem comm (x y z : Nat) (h : y = x) : (x + z) = (z + y) := by
rw [Nat.add_comm, h]
--^ goals