MatchingLogic.EntryIII.LocalTheory #
@[instance_reducible]
noncomputable def
MatchingLogic.instDecidableEqPatternLocalTheory
{S : Signature}
{Var : Type}
:
DecidableEq (Pattern S Var)
Local decidable equality used for finite local theories.
Equations
Instances For
theorem
MatchingLogic.Provable.imp_refl
{S : Signature}
{Var : Type}
[DecidableEq Var]
(Gamma : Set (Pattern S Var))
(phi : Pattern S Var)
:
Reflexivity of implication.
Definition 67: finite-premise local derivability #
def
MatchingLogic.LocProvable
{S : Signature}
{Var : Type}
[DecidableEq Var]
(Gamma : Set (Pattern S Var))
(phi : Pattern S Var)
:
Γ ⊢loc φ: a finite list of premises from Γ has a theorem implication to
φ. Lists, rather than finite sets, are the pinned representation of the
finite conjunction and make its bracketing explicit.
Equations
- MatchingLogic.LocProvable Gamma phi = ∃ (l : List (MatchingLogic.Pattern S Var)), (∀ delta ∈ l, delta ∈ Gamma) ∧ MatchingLogic.Provable ∅ ((MatchingLogic.conj l).imp phi)
Instances For
def
MatchingLogic.LocConsistent
{S : Signature}
{Var : Type}
[DecidableEq Var]
(Gamma : Set (Pattern S Var))
:
Definition 68: local consistency.
Equations
Instances For
def
MatchingLogic.IsMCS
{S : Signature}
{Var : Type}
[DecidableEq Var]
(Gamma : Set (Pattern S Var))
:
Definition 68: a locally consistent set with no locally consistent strict extension.
Equations
- MatchingLogic.IsMCS Gamma = (MatchingLogic.LocConsistent Gamma ∧ ∀ {Delta : Set (MatchingLogic.Pattern S Var)}, Gamma ⊂ Delta → ¬MatchingLogic.LocConsistent Delta)
Instances For
theorem
MatchingLogic.LocProvable.mono
{S : Signature}
{Var : Type}
[DecidableEq Var]
{Gamma Delta : Set (Pattern S Var)}
{phi : Pattern S Var}
(hGD : Gamma ⊆ Delta)
(h : LocProvable Gamma phi)
:
LocProvable Delta phi
theorem
MatchingLogic.LocProvable.of_mem
{S : Signature}
{Var : Type}
[DecidableEq Var]
{Gamma : Set (Pattern S Var)}
{phi : Pattern S Var}
(h : phi ∈ Gamma)
:
LocProvable Gamma phi
theorem
MatchingLogic.LocProvable.of_provable
{S : Signature}
{Var : Type}
[DecidableEq Var]
{Gamma : Set (Pattern S Var)}
{phi : Pattern S Var}
(h : Provable ∅ phi)
:
LocProvable Gamma phi
theorem
MatchingLogic.LocProvable.mp
{S : Signature}
{Var : Type}
[DecidableEq Var]
{Gamma : Set (Pattern S Var)}
{phi psi : Pattern S Var}
(hphi : LocProvable Gamma phi)
(himp : LocProvable Gamma (phi.imp psi))
:
LocProvable Gamma psi
theorem
MatchingLogic.LocProvable.and_intro
{S : Signature}
{Var : Type}
[DecidableEq Var]
{Gamma : Set (Pattern S Var)}
{phi psi : Pattern S Var}
(hphi : LocProvable Gamma phi)
(hpsi : LocProvable Gamma psi)
:
LocProvable Gamma (phi.and psi)
theorem
MatchingLogic.LocProvable.deduction_insert
{S : Signature}
{Var : Type}
[DecidableEq Var]
{Gamma : Set (Pattern S Var)}
{phi psi : Pattern S Var}
(h : LocProvable (insert phi Gamma) psi)
:
LocProvable Gamma (phi.imp psi)
A single added local premise can be discharged inside the finite-premise definition. This is propositional only; it does not use the global deduction theorem, which would be unsound for unrestricted quantifier generalisation.
Proposition 69: maximal-consistent-set closure #
theorem
MatchingLogic.IsMCS.mem_iff_locProvable
{S : Signature}
{Var : Type}
[DecidableEq Var]
{Gamma : Set (Pattern S Var)}
{phi : Pattern S Var}
(hM : IsMCS Gamma)
:
Proposition 69(1): membership is exactly local derivability.