Logic Symbols #
This file defines structure that has logical connectives $\top, \bot, \land, \lor, \to, \lnot$ and their homomorphisms.
Main Definitions #
LO.LogicalConnectiveis defined so thatLO.LogicalConnective Fis a type that has logical connectives $\top, \bot, \land, \lor, \to, \lnot$.LO.LogicalConnective.Homis defined so thatf : F →ˡᶜ Gis a homomorphism fromFtoG, i.e., a function that preserves logical connectives.
Alias of LO.TildeInvolutive.neg_involutive.
Equations
- LO.Tilde.invol = { toFun := LO.Tilde.tilde, inj' := ⋯ }
Instances For
Instances For
A defined logical connective for "iff", defined from the logical connectives 🡒 and ⋏.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A class for a type F which contains homomorphisms (for logical connectives) from α to β.
Instances
Equations
- LO.LogicalConnective.HomClass.instCoeFunForall F α β = { coe := DFunLike.coe }
- toTr : α → β
Instances For
A structure for homomorphisms (for logical connectives) from α to β.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- LO.LogicalConnective.Hom.instFunLike = { coe := LO.LogicalConnective.Hom.toTr, coe_injective := ⋯ }
Equations
- LO.LogicalConnective.Hom.id = { toTr := id, map_top' := ⋯, map_bot' := ⋯, map_neg' := ⋯, map_imply' := ⋯, map_and' := ⋯, map_or' := ⋯ }
Instances For
Equations
Instances For
Instances
Instances
Homomorphisms commute with k-ary conjunctions.
Homomorphisms commute with k-ary disjunctions.
Equations
- Matrix.conj x_2 = ⊤
- Matrix.conj v = v 0 ⋏ Matrix.conj (Matrix.vecTail v)
Instances For
Equations
- Matrix.disj x_2 = ⊥
- Matrix.disj v = v 0 ⋎ Matrix.disj (Matrix.vecTail v)
Instances For
Homomorphisms commute with k-ary conjunctions (vector version).
Homomorphisms commute with k-ary disjunctions (vector version).
The conjunction of a list of members of type α.
Equations
- List.«term⋀_» = Lean.ParserDescr.node `List.«term⋀_» 80 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "⋀") (Lean.ParserDescr.cat `term 80))
Instances For
The disjunction of a list of members of type α.
Equations
- List.«term⋁_» = Lean.ParserDescr.node `List.«term⋁_» 80 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "⋁") (Lean.ParserDescr.cat `term 80))
Instances For
Variadic de Morgan's law for lists of elements of type α.
Variadic de Morgan's law for lists of elements of type α.
Variadic de Morgan's law for lists of elements of type α.
Variadic de Morgan's law for lists of elements of type α.
Equations
- Finset.instTilde = { tilde := fun (l : Finset α) => Finset.map LO.Tilde.invol l }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.