Calculus #
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
- axL {L : Language} {T : Theory L} (Γ : List (SyntacticFormula L)) {k : ℕ} (r : L.Rel k) (v : Fin k → Semiterm L ℕ 0) : Derivation T (Semiformula.rel r v :: Semiformula.nrel r v :: Γ)
- verum {L : Language} {T : Theory L} (Γ : List (SyntacticFormula L)) : Derivation T (⊤ :: Γ)
- or {L : Language} {T : Theory L} {Γ : List (SyntacticFormula L)} {φ ψ : SyntacticFormula L} : Derivation T (φ :: ψ :: Γ) → Derivation T (φ ⋎ ψ :: Γ)
- and {L : Language} {T : Theory L} {Γ : List (SyntacticFormula L)} {φ ψ : SyntacticFormula L} : Derivation T (φ :: Γ) → Derivation T (ψ :: Γ) → Derivation T (φ ⋏ ψ :: Γ)
- all {L : Language} {T : Theory L} {Γ : List (SyntacticSemiformula L 0)} {φ : SyntacticSemiformula L (0 + 1)} : Derivation T (Rewriting.free φ :: Rewriting.shifts Γ) → Derivation T ((∀' φ) :: Γ)
- ex {L : Language} {T : Theory L} {Γ : List (SyntacticFormula L)} {φ : SyntacticSemiformula L (Nat.succ 0)} (t : Semiterm L ℕ 0) : Derivation T (φ/[t] :: Γ) → Derivation T ((∃' φ) :: Γ)
- wk {L : Language} {T : Theory L} {Γ Δ : Sequent L} : Derivation T Δ → Δ ⊆ Γ → Derivation T Γ
- cut {L : Language} {T : Theory L} {Γ : List (SyntacticFormula L)} {φ : SyntacticFormula L} : Derivation T (φ :: Γ) → Derivation T (∼φ :: Γ) → Derivation T Γ
- root {L : Language} {T : Theory L} {φ : SyntacticFormula L} : φ ∈ T → Derivation T [φ]
Instances For
Equations
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.«term⊢ᵀ_» = Lean.ParserDescr.node `LO.FirstOrder.«term⊢ᵀ_» 45 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "⊢ᵀ ") (Lean.ParserDescr.cat `term 45))
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.«term⊢ᵀ!_» = Lean.ParserDescr.node `LO.FirstOrder.«term⊢ᵀ!_» 45 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "⊢ᵀ! ") (Lean.ParserDescr.cat `term 45))
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- (LO.FirstOrder.Derivation.axL Γ r v).length = 0
- (LO.FirstOrder.Derivation.verum Γ).length = 0
- d.or.length = d.length.succ
- (dp.and dq).length = (max dp.length dq.length).succ
- d.all.length = d.length.succ
- (LO.FirstOrder.Derivation.ex t d).length = d.length.succ
- (d.wk a).length = d.length.succ
- (dp.cut dn).length = (max dp.length dn.length).succ
- (LO.FirstOrder.Derivation.root a).length = 0
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- (LO.FirstOrder.Derivation.axL Γ r v).repr = "\\AxiomC{}\n" ++ "\\RightLabel{\\scriptsize(axL)}\n" ++ "\\UnaryInfC{$" ++ reprStr Γ ++ "$}\n\n"
- (LO.FirstOrder.Derivation.verum Γ).repr = "\\AxiomC{}\n" ++ "\\RightLabel{\\scriptsize($\\top$)}\n" ++ "\\UnaryInfC{$" ++ reprStr Γ ++ "$}\n\n"
- d.or.repr = d.repr ++ "\\RightLabel{\\scriptsize($\\lor$)}\n" ++ "\\UnaryInfC{$" ++ reprStr (φ ⋎ ψ :: Γ) ++ "$}\n\n"
- (dp.and dq).repr = dp.repr ++ dq.repr ++ "\\RightLabel{\\scriptsize($\\land$)}\n" ++ "\\BinaryInfC{$" ++ reprStr (φ ⋏ ψ :: Γ) ++ "$}\n\n"
- d.all.repr = d.repr ++ "\\RightLabel{\\scriptsize($\\forall$)}\n" ++ "\\UnaryInfC{$" ++ reprStr ((∀' φ) :: Γ) ++ "$}\n\n"
- (LO.FirstOrder.Derivation.ex t d).repr = d.repr ++ "\\RightLabel{\\scriptsize($\\exists$)}\n" ++ "\\UnaryInfC{$" ++ reprStr ((∃' φ) :: Γ) ++ "$}\n\n"
- (d.wk a).repr = d.repr ++ "\\RightLabel{\\scriptsize(wk)}\n" ++ "\\UnaryInfC{$" ++ reprStr Δ_3 ++ "$}\n\n"
- (dp.cut dn).repr = dp.repr ++ dn.repr ++ "\\RightLabel{\\scriptsize(Cut)}\n" ++ "\\BinaryInfC{$" ++ reprStr Δ ++ "$}\n\n"
- (LO.FirstOrder.Derivation.root a).repr = "\\AxiomC{}\n" ++ "\\RightLabel{\\scriptsize(ROOT)}\n" ++ "\\UnaryInfC{$" ++ reprStr φ ++ ", " ++ reprStr (∼φ) ++ "$}\n\n"
Instances For
Equations
- LO.FirstOrder.Derivation.instReprDerivationSyntacticFormulaTheory = { reprPrec := fun (d : T ⟹ Δ) (x : ℕ) => Std.Format.text (LO.FirstOrder.Derivation.repr d) }
Alias of LO.FirstOrder.Derivation.wk.
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Derivation.axL' r v h hn = (LO.FirstOrder.Derivation.axL Δ r v).wk ⋯
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Derivation.ex' h t d = (LO.FirstOrder.Derivation.ex t d).wk ⋯
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- One or more equations did not get rendered due to their size.
- LO.FirstOrder.Derivation.em hpos hneg = LO.FirstOrder.Derivation.verum' hpos
- LO.FirstOrder.Derivation.em hpos hneg = LO.FirstOrder.Derivation.verum' hneg
- LO.FirstOrder.Derivation.em hpos hneg = LO.FirstOrder.Derivation.axL' R v hpos hneg
- LO.FirstOrder.Derivation.em hpos hneg = LO.FirstOrder.Derivation.axL' R v hneg hpos
- LO.FirstOrder.Derivation.em hpos hneg = ((LO.FirstOrder.Derivation.and (LO.FirstOrder.Derivation.em ⋯ ⋯) (LO.FirstOrder.Derivation.em ⋯ ⋯)).wk ⋯).or.wk ⋯
- LO.FirstOrder.Derivation.em hpos hneg = ((LO.FirstOrder.Derivation.and (LO.FirstOrder.Derivation.em ⋯ ⋯) (LO.FirstOrder.Derivation.em ⋯ ⋯)).wk ⋯).or.wk ⋯
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.
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Derivation.specialize t d = (LO.FirstOrder.Derivation.wk d ⋯).cut (id (LO.FirstOrder.Derivation.ex t (⋯.mpr (LO.Tait.em ⋯ ⋯))))
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- One or more equations did not get rendered due to their size.
- LO.FirstOrder.Derivation.specializes x_5 x✝ = LO.FirstOrder.Derivation.cast x✝ ⋯
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Derivation.allClosureFixitr dp 0 = ⋯.mpr dp
- LO.FirstOrder.Derivation.allClosureFixitr dp m.succ = ⋯.mpr (⋯.mpr (LO.FirstOrder.Derivation.allClosureFixitr dp m)).all
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- One or more equations did not get rendered due to their size.
- d.or.rewrite x✝ = (LO.FirstOrder.Derivation.or (LO.FirstOrder.Derivation.cast (d.rewrite x✝) ⋯)).cast ⋯
- (dp.and dq).rewrite x✝ = (LO.FirstOrder.Derivation.and (LO.FirstOrder.Derivation.cast (dp.rewrite x✝) ⋯) (LO.FirstOrder.Derivation.cast (dq.rewrite x✝) ⋯)).cast ⋯
- (LO.FirstOrder.Derivation.ex t d).rewrite x✝ = (LO.FirstOrder.Derivation.ex ((LO.FirstOrder.Rew.rewrite x✝) t) (LO.FirstOrder.Derivation.cast (d.rewrite x✝) ⋯)).cast ⋯
- (d.wk ss).rewrite x✝ = LO.FirstOrder.Derivation.wk (d.rewrite x✝) ⋯
- (d.cut dn).rewrite x✝ = (LO.FirstOrder.Derivation.cut (LO.FirstOrder.Derivation.cast (d.rewrite x✝) ⋯) (LO.FirstOrder.Derivation.cast (dn.rewrite x✝) ⋯)).cast ⋯
- (LO.FirstOrder.Derivation.root h).rewrite x✝ = (LO.FirstOrder.Derivation.root h).rewrite₁ x✝
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Derivation.map d f = LO.FirstOrder.Derivation.rewrite d fun (x : ℕ) => LO.FirstOrder.Semiterm.fvar (f x)
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- One or more equations did not get rendered due to their size.
- LO.FirstOrder.Derivation.trans F (LO.FirstOrder.Derivation.axL Γ_2 R v) = LO.FirstOrder.Derivation.axL Γ_2 R v
- LO.FirstOrder.Derivation.trans F (LO.FirstOrder.Derivation.verum Γ_2) = LO.FirstOrder.Derivation.verum Γ_2
- LO.FirstOrder.Derivation.trans F d.or = LO.FirstOrder.Derivation.or (LO.FirstOrder.Derivation.trans (fun {f : LO.FirstOrder.SyntacticFormula L} => F) d)
- LO.FirstOrder.Derivation.trans F d.all = LO.FirstOrder.Derivation.all (LO.FirstOrder.Derivation.trans (fun {f : LO.FirstOrder.SyntacticFormula L} => F) d)
- LO.FirstOrder.Derivation.trans F (LO.FirstOrder.Derivation.ex t d) = LO.FirstOrder.Derivation.ex t (LO.FirstOrder.Derivation.trans (fun {f : LO.FirstOrder.SyntacticFormula L} => F) d)
- LO.FirstOrder.Derivation.trans F (d.wk ss) = LO.FirstOrder.Derivation.wk (LO.FirstOrder.Derivation.trans (fun {f : LO.FirstOrder.SyntacticFormula L} => F) d) ss
- LO.FirstOrder.Derivation.trans F (LO.FirstOrder.Derivation.root h) = F h
Instances For
Equations
- One or more equations did not get rendered due to their size.
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Equations
- One or more equations did not get rendered due to their size.
- LO.FirstOrder.Derivation.lMap Φ (LO.FirstOrder.Derivation.verum Δ_2) = LO.FirstOrder.Derivation.verum (List.map (⇑(LO.FirstOrder.Semiformula.lMap Φ)) Δ_2)
- LO.FirstOrder.Derivation.lMap Φ d.or = (LO.FirstOrder.Derivation.or (LO.FirstOrder.Derivation.lMap Φ d)).cast ⋯
- LO.FirstOrder.Derivation.lMap Φ d.all = (LO.FirstOrder.Derivation.all (LO.FirstOrder.Derivation.cast (LO.FirstOrder.Derivation.lMap Φ d) ⋯)).cast ⋯
- LO.FirstOrder.Derivation.lMap Φ (d.wk ss) = LO.FirstOrder.Derivation.wk (LO.FirstOrder.Derivation.lMap Φ d) ⋯
- LO.FirstOrder.Derivation.lMap Φ (LO.FirstOrder.Derivation.root h) = LO.FirstOrder.Derivation.root ⋯
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Derivation.genelalizeByNewver hp hΔ d = LO.FirstOrder.Derivation.all (LO.FirstOrder.Derivation.cast (LO.FirstOrder.Derivation.map d fun (x : ℕ) => if x = m then 0 else x + 1) ⋯)
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
An auxiliary structure to provide systems of provability of sentence.
- thy : Theory L
Imported declaration from the Incompleteness formalization.
Instances For
Equations
- LO.FirstOrder.instEntailmentSentenceAlt = { Prf := fun (T : LO.FirstOrder.Theory.Alt L) (σ : LO.FirstOrder.Sentence L) => T.thy ⊢ ↑σ }
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.«term_⊢!._» = Lean.ParserDescr.trailingNode `LO.FirstOrder.«term_⊢!._» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊢!. ") (Lean.ParserDescr.cat `term 46))
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.«term_⊬._» = Lean.ParserDescr.trailingNode `LO.FirstOrder.«term_⊬._» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊬. ") (Lean.ParserDescr.cat `term 46))
Instances For
Equations
- One or more equations did not get rendered due to their size.