lean4-htt/tests/pkg/module/Module/Basic.lean
Sebastian Ullrich 62c6edffef
feat: do not export theorem bodies (#8090)
This PR adjusts the experimental module system to elide theorem bodies
(i.e. proofs) from being imported into other modules.
2025-04-25 20:22:32 +00:00

11 lines
140 B
Text

module
/-! Module docstring -/
/-- A definition. -/
def f := 1
/-- A theorem. -/
theorem t : f = 1 := sorry
theorem trfl : f = 1 := rfl