The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V04. Order and lattices

Mathlib.Order.PropInstances

20 declarations. Mathlib docs · Source

The order on Prop

Instances on Prop such as DistribLattice, BoundedOrder, LinearOrder.

instance Prop.instDistribLattice E0 #

DistribLattice Prop

Propositions form a distributive lattice.

instance Prop.instBoundedOrder E0 #

BoundedOrder Prop

Propositions form a bounded order.

theorem Prop.bot_eq_false E0 #

⊥ = False

theorem Prop.top_eq_true E0 #

⊤ = True

instance Prop.le_total E0 #

Std.Total fun x1 x2 ↦ x1 ≤ x2

def Prop.linearOrder E1 #

LinearOrder Prop

The order on Prop is a LinearOrder.

This is not an instance since LinearOrder includes decidability instances, which we want to avoid for Prop.

theorem sup_Prop_eq E0 #

(fun x1 x2 ↦ x1 ⊔ x2) = fun x1 x2 ↦ x1 ∨ x2

theorem inf_Prop_eq E0 #

(fun x1 x2 ↦ x1 ⊓ x2) = fun x1 x2 ↦ x1 ∧ x2

theorem Pi.disjoint_iff E0 #

∀ {ι : Type u_1} {α' : ι → Type u_3} [inst : (i : ι) → PartialOrder (α' i)] [inst_1 : (i : ι) → OrderBot (α' i)]
  {f g : (i : ι) → α' i}, Disjoint f g ↔ ∀ (i : ι), Disjoint (f i) (g i)

theorem Pi.codisjoint_iff E0 #

∀ {ι : Type u_1} {α' : ι → Type u_3} [inst : (i : ι) → PartialOrder (α' i)] [inst_1 : (i : ι) → OrderTop (α' i)]
  {f g : (i : ι) → α' i}, Codisjoint f g ↔ ∀ (i : ι), Codisjoint (f i) (g i)

theorem Pi.isCompl_iff E0 #

∀ {ι : Type u_1} {α' : ι → Type u_3} [inst : (i : ι) → PartialOrder (α' i)] [inst_1 : (i : ι) → BoundedOrder (α' i)]
  {f g : (i : ι) → α' i}, IsCompl f g ↔ ∀ (i : ι), IsCompl (f i) (g i)

instance Pi.instSymmTopForallForallProp E0 #

∀ (α : Type u_4), Std.Symm ⊤

instance Pi.instSymmBotForallForallProp E0 #

∀ (α : Type u_4), Std.Symm ⊥

theorem Prop.disjoint_iff E0 #

∀ {P Q : Prop}, Disjoint P Q ↔ ¬(P ∧ Q)

theorem Prop.codisjoint_iff E0 #

∀ {P Q : Prop}, Codisjoint P Q ↔ P ∨ Q

theorem Prop.isCompl_iff E0 #

∀ {P Q : Prop}, IsCompl P Q ↔ ¬(P ↔ Q)

instance Prop.decidablePredBot E0 #

{α : Type u} → DecidablePred ⊥

instance Prop.decidablePredTop E0 #

{α : Type u} → DecidablePred ⊤

instance Prop.decidableRelBot E0 #

{α : Type u} → DecidableRel ⊥

instance Prop.decidableRelTop E0 #

{α : Type u} → DecidableRel ⊤