Supporting results for pointwise provable equality.
Formulas of intuitionistic first-order logic #
This file defines the formulas of first-order logic.
φ : Semiformulaᵢ L ξ n is a (semi-)formula of language L with bounded variables of Fin n
and free variables of ξ.
The quantification is represented by de Bruijn index.
Intuitionistic first-order formulas with separate bound and free variables.
- falsum {L : Language} {ξ : Type u_1} {n : ℕ} : Semiformulaᵢ L ξ n
- rel {L : Language} {ξ : Type u_1} {n arity : ℕ} : L.Rel arity → (Fin arity → Semiterm L ξ n) → Semiformulaᵢ L ξ n
- and {L : Language} {ξ : Type u_1} {n : ℕ} : Semiformulaᵢ L ξ n → Semiformulaᵢ L ξ n → Semiformulaᵢ L ξ n
- or {L : Language} {ξ : Type u_1} {n : ℕ} : Semiformulaᵢ L ξ n → Semiformulaᵢ L ξ n → Semiformulaᵢ L ξ n
- imp {L : Language} {ξ : Type u_1} {n : ℕ} : Semiformulaᵢ L ξ n → Semiformulaᵢ L ξ n → Semiformulaᵢ L ξ n
- all {L : Language} {ξ : Type u_1} {n : ℕ} : Semiformulaᵢ L ξ (n + 1) → Semiformulaᵢ L ξ n
- exs {L : Language} {ξ : Type u_1} {n : ℕ} : Semiformulaᵢ L ξ (n + 1) → Semiformulaᵢ L ξ n
Instances For
The Formulaᵢ construction in FFL.FirstOrder.
Equations
Instances For
The Sentenceᵢ construction in FFL.FirstOrder.
Equations
Instances For
The Semisentenceᵢ construction in FFL.FirstOrder.
Equations
Instances For
The Semipropositionᵢ construction in FFL.FirstOrder.
Equations
Instances For
The Propositionᵢ construction in FFL.FirstOrder.
Equations
Instances For
The neg construction in FFL.FirstOrder.Semiformulaᵢ.
Instances For
The verum construction in FFL.FirstOrder.Semiformulaᵢ.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
The to Str construction in FFL.FirstOrder.Semiformulaᵢ.
Equations
- One or more equations did not get rendered due to their size.
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.falsum.toStr = "\\bot"
- (PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.rel r a).toStr = "{" ++ toString r ++ "}"
- (φ.and ψ).toStr = "\\left(" ++ φ.toStr ++ " \\land " ++ ψ.toStr ++ "\\right)"
- (φ.or ψ).toStr = "\\left(" ++ φ.toStr ++ " \\lor " ++ ψ.toStr ++ "\\right)"
- (φ.imp ψ).toStr = "\\left(" ++ φ.toStr ++ " \\to " ++ ψ.toStr ++ "\\right)"
- φ.all.toStr = "(\\forall x_{" ++ toString x✝ ++ "}) " ++ φ.toStr
- φ.exs.toStr = "(\\exists x_{" ++ toString x✝ ++ "}) " ++ φ.toStr
Instances For
Equations
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.instRepr = { reprPrec := fun (t : PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ L ξ n) (x : ℕ) => Std.Format.text t.toStr }
The complexity construction in FFL.FirstOrder.Semiformulaᵢ.
Equations
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.falsum.complexity = 0
- (PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.rel a a_1).complexity = 0
- (φ.and ψ).complexity = max φ.complexity ψ.complexity + 1
- (φ.or ψ).complexity = max φ.complexity ψ.complexity + 1
- (φ.imp ψ).complexity = max φ.complexity ψ.complexity + 1
- φ.all.complexity = φ.complexity + 1
- φ.exs.complexity = φ.complexity + 1
Instances For
The cases' construction in FFL.FirstOrder.Semiformulaᵢ.
Equations
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.cases' hRel hFalsum hAnd hOr hImp hAll hExs (PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.rel r v) = hRel r v
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.cases' hRel hFalsum hAnd hOr hImp hAll hExs PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.falsum = hFalsum
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.cases' hRel hFalsum hAnd hOr hImp hAll hExs (φ.and ψ) = hAnd φ ψ
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.cases' hRel hFalsum hAnd hOr hImp hAll hExs (φ.or ψ) = hOr φ ψ
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.cases' hRel hFalsum hAnd hOr hImp hAll hExs (φ.imp ψ) = hImp φ ψ
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.cases' hRel hFalsum hAnd hOr hImp hAll hExs φ.all = hAll φ
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.cases' hRel hFalsum hAnd hOr hImp hAll hExs φ.exs = hExs φ
Instances For
The rec' construction in FFL.FirstOrder.Semiformulaᵢ.
Equations
- One or more equations did not get rendered due to their size.
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.rec' hRel hFalsum hAnd hOr hImp hAll hExs (PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.rel r v) = hRel r v
- PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.rec' hRel hFalsum hAnd hOr hImp hAll hExs PointwiseComposition.FFL.FirstOrder.Semiformulaᵢ.falsum = hFalsum
Instances For
The has Dec Eq construction in FFL.FirstOrder.Semiformulaᵢ.
Equations
- One or more equations did not get rendered due to their size.
Instances For
(Weak) Negative formula #
Data and laws for Is Negative in FFL.FirstOrder.Semiformulaᵢ.
- falsum {L : Language} {ξ : Type u_2} {n : ℕ} : ⊥.IsNegative
- and {L : Language} {ξ : Type u_2} {n : ℕ} {φ ψ : Semiformulaᵢ L ξ n} : φ.IsNegative → ψ.IsNegative → (φ ⋏ ψ).IsNegative
- imply {L : Language} {ξ : Type u_2} {n : ℕ} {φ ψ : Semiformulaᵢ L ξ n} : ψ.IsNegative → (φ ⇒ₗ ψ).IsNegative
- all {L : Language} {ξ : Type u_2} {n : ℕ} {φ : Semiformulaᵢ L ξ (n + 1)} : φ.IsNegative → (∀¹ φ).IsNegative