Lattices.Distributive.Small¶
Level-fixed Distributive Lattice¶
This is the Lattices.Distributive.Small module of the agda-lattices library.
Specializes Lattices.Distributive to the common case where
the universe level of both the carrier and the equivalence is 0ℓ (i.e., Set-valued
carriers with propositional or set-truncated equivalence), mirroring the veneers of
Lattice, CommutativeMonoid, etc.
DistributiveLattice : Type (suc 0ℓ) DistributiveLattice = Polymorphic.DistributiveLattice 0ℓ 0ℓ eqsToDistributiveLattice : (A : Type 0ℓ) (_∧'_ _∨'_ : A → A → A) → (∀ a b c → (a ∧' b) ∧' c ≡ a ∧' (b ∧' c)) → (∀ a b → a ∧' b ≡ b ∧' a) → (∀ a → a ∧' a ≡ a) → (∀ a b c → (a ∨' b) ∨' c ≡ a ∨' (b ∨' c)) → (∀ a b → a ∨' b ≡ b ∨' a) → (∀ a → a ∨' a ≡ a) → (∀ a b → a ∧' (a ∨' b) ≡ a) → (∀ a b → (a ∧' b) ∨' a ≡ a) → (∀ a b c → a ∧' (b ∨' c) ≡ (a ∧' b) ∨' (a ∧' c)) → (∀ a b c → a ∨' (b ∧' c) ≡ (a ∨' b) ∧' (a ∨' c)) → DistributiveLattice eqsToDistributiveLattice = Polymorphic.eqsToDistributiveLattice