Clean up Lattice.lean's namespaces

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2026-06-24 13:30:27 -05:00
parent f23705a93e
commit 7fb9d9aa19

View File

@@ -61,12 +61,11 @@ class FiniteHeightLattice (α : Type*) [Lattice α] extends Bot α, Top α where
longestChain : PointedLTSeries α height
chains_bounded : BoundedChains α height
namespace FixedHeight
namespace FiniteHeightLattice
variable {α : Type*} [Lattice α] {h : }
variable (α : Type*) [Lattice α] [FiniteHeightLattice α]
theorem bot_le [FiniteHeightLattice α] : (a : α), a := by
intro a
theorem bot_le (a : α) : ( : α) a := by
by_cases heq : a =
· exact inf_eq_left.mp heq
· exfalso
@@ -78,14 +77,6 @@ theorem bot_le [FiniteHeightLattice α] : ∀ (a : α), ⊥ ≤ a := by
rw [RelSeries.cons_length, lc.length_series] at hbound
omega
end FixedHeight
namespace FiniteHeightLattice
variable (α : Type*) [Lattice α] [FiniteHeightLattice α]
theorem bot_le (a : α) : ( : α) a := FixedHeight.bot_le a
end FiniteHeightLattice
end Spa