Basic properties of lattices #
This file contains some basic results, alternative constructors and instances for (semi)lattices.
For the definitions, see Mathlib.Order.Defs.Lattice.
Main declarations #
SemilatticeSup.mk': an alternative constructor forSemilatticeSupvia proofs that⊔is commutative, associative and idempotent.SemilatticeSup.mk': an alternative constructor forSemilatticeInfvia proofs that⊓is commutative, associative and idempotent.Lattice.mk': an alternative constructor forLatticevia proofs that⊔and⊓are commutative, associative and satisfy a pair of "absorption laws".
TODO #
- Alternative constructors for distributive lattices from the other distributive properties
Tags #
semilattice, lattice
Semilattices #
A type with a commutative, associative and idempotent binary sup operation has the structure of a
join-semilattice.
The partial order is defined so that a ≤ b unfolds to a ⊔ b = b; cf. sup_eq_right.
Instances For
A type with a commutative, associative and idempotent binary inf operation has the structure of a
meet-semilattice.
The partial order is defined so that a ≤ b unfolds to b ⊓ a = a; cf. inf_eq_right.
Instances For
Lattices #
The partial orders from SemilatticeSup_mk' and SemilatticeInf_mk' agree
if sup and inf satisfy the lattice absorption laws sup_inf_self (a ⊔ a ⊓ b = a)
and inf_sup_self (a ⊓ (a ⊔ b) = a).
A type with a pair of commutative and associative binary operations which satisfy two absorption laws relating the two operations has the structure of a lattice.
The partial order is defined so that a ≤ b unfolds to a ⊔ b = b; cf. sup_eq_right.
Instances For
Lattices derived from linear orders #
A lattice with total order is a linear order.
See note [reducible non-instances].
Instances For
Dual order #
Function lattices #
Monotone functions and lattices #
Pointwise supremum of two monotone functions is a monotone function.
Pointwise infimum of two monotone functions is a monotone function.
Pointwise maximum of two monotone functions is a monotone function.
Pointwise minimum of two monotone functions is a monotone function.
Pointwise supremum of two monotone functions is a monotone function.
Pointwise infimum of two monotone functions is a monotone function.
Pointwise maximum of two monotone functions is a monotone function.
Pointwise minimum of two monotone functions is a monotone function.
Pointwise supremum of two antitone functions is an antitone function.
Pointwise infimum of two antitone functions is an antitone function.
Pointwise maximum of two antitone functions is an antitone function.
Pointwise minimum of two antitone functions is an antitone function.
Pointwise supremum of two antitone functions is an antitone function.
Pointwise infimum of two antitone functions is an antitone function.
Pointwise maximum of two antitone functions is an antitone function.
Pointwise minimum of two antitone functions is an antitone function.
Products of (semi-)lattices #
Subtypes of (semi-)lattices #
A subtype forms a ⊔-semilattice if ⊔ preserves the property.
See note [reducible non-instances].
Instances For
A subtype forms a ⊓-semilattice if ⊓ preserves the property.
See note [reducible non-instances].
Instances For
A subtype forms a lattice if ⊔ and ⊓ preserve the property.
See note [reducible non-instances].
Instances For
A type endowed with ⊔ is a SemilatticeSup, if it admits an injective map that
preserves ⊔ to a SemilatticeSup.
See note [reducible non-instances].
Instances For
A type endowed with ⊓ is a SemilatticeInf, if it admits an injective map that
preserves ⊓ to a SemilatticeInf.
See note [reducible non-instances].
Instances For
A type endowed with ⊔ and ⊓ is a Lattice, if it admits an injective map that
preserves ⊔ and ⊓ to a Lattice.
See note [reducible non-instances].
Instances For
A type endowed with ⊔ and ⊓ is a DistribLattice, if it admits an injective map that
preserves ⊔ and ⊓ to a DistribLattice.
See note [reducible non-instances].
Instances For
A subtype forms a distributive lattice if ⊔ and ⊓ preserve the property.
See note [reducible non-instances].
Instances For
Transfer LinearOrder across an Equiv.
Instances For
Transfer SemilatticeSup across an Equiv.
Instances For
Transfer SemilatticeInf across an Equiv.
Instances For
Transfer DistribLattice across an Equiv.
Instances For
Alias of the reverse direction of pairwise_iff_lt.
Alias of the reverse direction of pairwise_iff_gt.