Documentation

Linglib.Core.Order.DeMorganAlgebra.Basic

De Morgan and Kleene algebras: instances #

OrderDual, Prod, and Pi instances for LatticeWithInvolution, DeMorganAlgebra, and Order.KleeneAlgebra, plus the involution bundled as an order isomorphism α ≃o αᵒᵈ — the Defs/Basic split mathlib uses for BooleanAlgebra (cf. OrderIso.compl there, which this generalizes past complementation).

OrderDual #

@[instance_reducible]
Equations
  • One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
@[instance_reducible]
Equations

Prod #

@[instance_reducible]
Equations
  • One or more equations did not get rendered due to their size.
@[instance_reducible]
instance instDeMorganAlgebraProd {α : Type u_1} {β : Type u_2} [DeMorganAlgebra α] [DeMorganAlgebra β] :
DeMorganAlgebra (α × β)
Equations
@[instance_reducible]
instance instKleeneAlgebraProd {α : Type u_1} {β : Type u_2} [Order.KleeneAlgebra α] [Order.KleeneAlgebra β] :
Equations

Pi #

@[instance_reducible]
instance instLatticeWithInvolutionForall {ι : Type u_3} {π : ιType u_4} [(i : ι) → LatticeWithInvolution (π i)] :
LatticeWithInvolution ((i : ι) → π i)
Equations
  • One or more equations did not get rendered due to their size.
@[instance_reducible]
instance instDeMorganAlgebraForall {ι : Type u_3} {π : ιType u_4} [(i : ι) → DeMorganAlgebra (π i)] :
DeMorganAlgebra ((i : ι) → π i)
Equations
@[instance_reducible]
instance instKleeneAlgebraForall {ι : Type u_3} {π : ιType u_4} [(i : ι) → Order.KleeneAlgebra (π i)] :
Order.KleeneAlgebra ((i : ι) → π i)
Equations

The involution as an order isomorphism #

def LatticeWithInvolution.complOrderIso (α : Type u_3) [LatticeWithInvolution α] :
α ≃o αᵒᵈ

The involution bundled as an order isomorphism onto the order dual — the generalization of mathlib's OrderIso.compl from BooleanAlgebra to any LatticeWithInvolution.

Equations
Instances For