NF weak partition development: Flypitch4.LanguageExtension.
Language.Lconstants, Language.sum, Language.symbols #
Flypitch construction Lconstants, retained by the first-order soundness and completeness
development.
Equations
- NFChoice.Fol.Language.Lconstants α = { functions := fun (n : ℕ) => Nat.rec α (fun (_n : ℕ) (_ih : Type ?u.1) => PEmpty.{?u.1 + 1}) n, relations := fun (_n : ℕ) => PEmpty.{?u.1 + 1} }
Instances For
Flypitch construction sum, retained by the first-order soundness and completeness
development.
Equations
Instances For
symbols_in_term, symbols_in_formula #
Flypitch construction symbols_in_term, retained by the first-order soundness and
completeness development.
Equations
Instances For
Flypitch construction symbols_in_formula, retained by the first-order soundness and
completeness development.
Equations
- NFChoice.Fol.symbolsInFormula ⊥' = ∅
- NFChoice.Fol.symbolsInFormula (NFChoice.Fol.preformula.equal t₁ t₂) = NFChoice.Fol.symbolsInTerm t₁ ∪ NFChoice.Fol.symbolsInTerm t₂
- NFChoice.Fol.symbolsInFormula (NFChoice.Fol.preformula.rel R) = {Sum.inr ⟨x✝, R⟩}
- NFChoice.Fol.symbolsInFormula (f.apprel t) = NFChoice.Fol.symbolsInFormula f ∪ NFChoice.Fol.symbolsInTerm t
- NFChoice.Fol.symbolsInFormula (f₁.imp f₂) = NFChoice.Fol.symbolsInFormula f₁ ∪ NFChoice.Fol.symbolsInFormula f₂
- NFChoice.Fol.symbolsInFormula f.all = NFChoice.Fol.symbolsInFormula f
Instances For
Lhom — language homomorphism #
Flypitch construction Lhom, retained by the first-order soundness and completeness
development.
The
on_functioncomponent of the corresponding first-order structure.The
on_relationcomponent of the corresponding first-order structure.
Instances For
Notation for the corresponding first-order syntax or interpretation operation.
Equations
- NFChoice.Fol.«term_→ᴸ_» = Lean.ParserDescr.trailingNode `NFChoice.Fol.«term_→ᴸ_» 10 11 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " →ᴸ ") (Lean.ParserDescr.cat `term 11))
Instances For
Flypitch construction comp, retained by the first-order soundness and completeness
development.
Equations
- g.comp f = { onFunction := fun {n : ℕ} => g.onFunction ∘ f.onFunction, onRelation := fun {n : ℕ} => g.onRelation ∘ f.onRelation }
Instances For
Flypitch construction is_injective, retained by the first-order soundness and completeness
development.
- onFunction {n : ℕ} : Function.Injective ϕ.onFunction
- onRelation {n : ℕ} : Function.Injective ϕ.onRelation
Instances For
Flypitch construction has_decidable_range, retained by the first-order soundness and
completeness development.
- onFunction {n : ℕ} : DecidablePred fun (x : L'.functions n) => x ∈ Set.range ϕ.onFunction
The
on_functioncomponent of the corresponding first-order structure. - onRelation {n : ℕ} : DecidablePred fun (x : L'.relations n) => x ∈ Set.range ϕ.onRelation
The
on_relationcomponent of the corresponding first-order structure.
Instances
Flypitch construction on_symbol, retained by the first-order soundness and completeness
development.
Equations
Instances For
Flypitch construction on_term, retained by the first-order soundness and completeness
development.
Equations
- ϕ.onTerm &_k = &_k
- ϕ.onTerm (NFChoice.Fol.preterm.func f) = NFChoice.Fol.preterm.func (ϕ.onFunction f)
- ϕ.onTerm (t₁.app t₂) = (ϕ.onTerm t₁).app (ϕ.onTerm t₂)
Instances For
Flypitch construction on_formula, retained by the first-order soundness and completeness
development.
Equations
- ϕ.onFormula ⊥' = ⊥'
- ϕ.onFormula (NFChoice.Fol.preformula.equal t₁ t₂) = NFChoice.Fol.preformula.equal (ϕ.onTerm t₁) (ϕ.onTerm t₂)
- ϕ.onFormula (NFChoice.Fol.preformula.rel R) = NFChoice.Fol.preformula.rel (ϕ.onRelation R)
- ϕ.onFormula (f.apprel t) = (ϕ.onFormula f).apprel (ϕ.onTerm t)
- ϕ.onFormula (f₁.imp f₂) = (ϕ.onFormula f₁).imp (ϕ.onFormula f₂)
- ϕ.onFormula f.all = (ϕ.onFormula f).all
Instances For
on_bounded_term, on_bounded_formula #
Flypitch construction on_bounded_term, retained by the first-order soundness and
completeness development.
Equations
- ϕ.onBoundedTerm (NFChoice.Fol.bd_var k) = NFChoice.Fol.bd_var k
- ϕ.onBoundedTerm (NFChoice.Fol.bd_func f) = NFChoice.Fol.bd_func (ϕ.onFunction f)
- ϕ.onBoundedTerm (t.bd_app s) = (ϕ.onBoundedTerm t).bd_app (ϕ.onBoundedTerm s)
Instances For
Flypitch construction on_bounded_formula, retained by the first-order soundness and
completeness development.
Equations
- ϕ.onBoundedFormula NFChoice.Fol.bd_falsum = NFChoice.Fol.bd_falsum
- ϕ.onBoundedFormula (NFChoice.Fol.bd_equal t₁ t₂) = NFChoice.Fol.bd_equal (ϕ.onBoundedTerm t₁) (ϕ.onBoundedTerm t₂)
- ϕ.onBoundedFormula (NFChoice.Fol.bd_rel R) = NFChoice.Fol.bd_rel (ϕ.onRelation R)
- ϕ.onBoundedFormula (f.bd_apprel t) = (ϕ.onBoundedFormula f).bd_apprel (ϕ.onBoundedTerm t)
- ϕ.onBoundedFormula (f₁.bd_imp f₂) = (ϕ.onBoundedFormula f₁).bd_imp (ϕ.onBoundedFormula f₂)
- ϕ.onBoundedFormula f.bd_all = (ϕ.onBoundedFormula f).bd_all
Instances For
Functoriality lemmas #
Flypitch construction on_closed_term, retained by the first-order soundness and
completeness development.
Equations
- ϕ.onClosedTerm t = ϕ.onBoundedTerm t
Instances For
Flypitch construction on_sentence, retained by the first-order soundness and completeness
development.
Equations
- ϕ.onSentence f = ϕ.onBoundedFormula f
Instances For
on_prf — Lhom lifts proofs #
Flypitch construction on_prf, retained by the first-order soundness and completeness
development.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Flypitch construction on_sprf, retained by the first-order soundness and completeness
development.
Instances For
reflect_term #
Flypitch construction reflect_term, retained by the first-order soundness and completeness
development.
Equations
- One or more equations did not get rendered due to their size.
Instances For
reflect_formula #
Flypitch construction reflect_formula_aux', retained by the first-order soundness and
completeness development.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Flypitch construction reflect_formula, retained by the first-order soundness and
completeness development.
Equations
- ϕ.reflectFormula m f = ϕ.reflectFormulaAux' f m
Instances For
reflect_prf_gen #
Flypitch construction reflect_prf_gen, retained by the first-order soundness and
completeness development.
Equations
- One or more equations did not get rendered due to their size.
Instances For
filter_symbols #
Flypitch construction filter_symbols, retained by the first-order soundness and
completeness development.
Equations
Instances For
Flypitch construction filter_symbols_Lhom, retained by the first-order soundness and
completeness development.
Equations
- NFChoice.Fol.Lhom.filterSymbolsLhom p = { onFunction := fun {x : ℕ} => Subtype.val, onRelation := fun {x : ℕ} => Subtype.val }
Instances For
Flypitch construction find_term_filter_symbols, retained by the first-order soundness and
completeness development.
Equations
- NFChoice.Fol.Lhom.findTermFilterSymbols p (&k) _h = ⟨&k, ⋯⟩
- NFChoice.Fol.Lhom.findTermFilterSymbols p (NFChoice.Fol.preterm.func f) h = ⟨NFChoice.Fol.preterm.func ⟨f, ⋯⟩, ⋯⟩
- NFChoice.Fol.Lhom.findTermFilterSymbols p (t₁.app t₂) h = ⟨(↑(NFChoice.Fol.Lhom.findTermFilterSymbols p t₁ ⋯)).app ↑(NFChoice.Fol.Lhom.findTermFilterSymbols p t₂ ⋯), ⋯⟩
Instances For
Flypitch construction find_formula_filter_symbols, retained by the first-order soundness
and completeness development.
Equations
- One or more equations did not get rendered due to their size.
- NFChoice.Fol.Lhom.findFormulaFilterSymbols p ⊥' x_3 = ⟨⊥', ⋯⟩
- NFChoice.Fol.Lhom.findFormulaFilterSymbols p (NFChoice.Fol.preformula.rel R) h = ⟨NFChoice.Fol.preformula.rel ⟨R, ⋯⟩, ⋯⟩
- NFChoice.Fol.Lhom.findFormulaFilterSymbols p (f.apprel t) h = ⟨(↑(NFChoice.Fol.Lhom.findFormulaFilterSymbols p f ⋯)).apprel ↑(NFChoice.Fol.Lhom.findTermFilterSymbols p t ⋯), ⋯⟩
- NFChoice.Fol.Lhom.findFormulaFilterSymbols p (f₁.imp f₂) h = ⟨(↑(NFChoice.Fol.Lhom.findFormulaFilterSymbols p f₁ ⋯)).imp ↑(NFChoice.Fol.Lhom.findFormulaFilterSymbols p f₂ ⋯), ⋯⟩
- NFChoice.Fol.Lhom.findFormulaFilterSymbols p f.all h = ⟨(↑(NFChoice.Fol.Lhom.findFormulaFilterSymbols p f h)).all, ⋯⟩
Instances For
generalize_constant #
Flypitch construction generalize_constant, retained by the first-order soundness and
completeness development.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Flypitch construction sgeneralize_constant, retained by the first-order soundness and
completeness development.
Equations
- NFChoice.Fol.Lhom.sgeneralizeConstant c hΓ hf H = id (NFChoice.Fol.Lhom.generalizeConstant c hΓ hf (⋯.mp H))
Instances For
reflect_prf #
Flypitch construction reflect_prf, retained by the first-order soundness and completeness
development.
Equations
- NFChoice.Fol.Lhom.reflectPrf hϕ h = NFChoice.Fol.reflectPrfLift1 (have this := NFChoice.Fol.Lhom.reflectPrfGen hϕ 0 h; ⋯.mp this)
Instances For
Flypitch construction reflect_sprf, retained by the first-order soundness and completeness
development.
Equations
- NFChoice.Fol.Lhom.reflectSprf hϕ h = NFChoice.Fol.Lhom.reflectPrf hϕ (⋯.mpr (⋯.mp h))
Instances For
Injectivity of on_term / on_formula #
reduct — L-structure from L'-structure via ϕ #
Flypitch construction reduct, retained by the first-order soundness and completeness
development.
Equations
Instances For
Notation for the corresponding first-order syntax or interpretation operation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Flypitch construction Theory_induced, retained by the first-order soundness and
completeness development.
Equations
- ϕ.TheoryInduced T = ϕ.onSentence '' T