lean4-htt/tests/pkg/misc/Misc/Foo.lean
Sebastian Ullrich e28569f2a1
perf: minimize exported codegen data (#9356)
To be documented
2025-07-22 09:05:49 +00:00

16 lines
234 B
Text

import Lean
open Lean Meta
def foo := 42
local infix:50 " ≺ " => LE.le
#check 1 ≺ 2
local macro "my_refl" : tactic =>
`(tactic| rfl)
def f (x y : Nat) (_h : x = y := by my_refl) := x
theorem simple : 10 = 10 := by decide