Documentation

LeanPool.MatchingLogic.Necessity

MatchingLogic.Necessity #

@[reducible, inline]

One unary symbol.

Equations
Instances For
    @[reducible, inline]

    Carrier {0,1,2}; the symbol sends 1 to 0 and everything else nowhere. Since 0 ∈ σ_M(1), the backward step of Definition 2 runs from the output to the argument: 0 ⇝ 1. So backward closure of {0} would force 1 ∈ {0}.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      @[reducible, inline]

      The set {0}, which is not backward closed.

      Equations
      Instances For

        The countermodel is stated for an arbitrary variable type, then instantiated both at Unit and at . The instance is the paper's setting, where the element variables are countably infinite, so this refutes the hypothesis-free statement in the paper's own domain and not merely in a degenerate one.

        def MatchingLogic.Necessity.psi {Var : Type} (x : Var) :

        σ(x) for a chosen variable x.

        Equations
        Instances For
          def MatchingLogic.Necessity.rho {Var : Type} :
          VarFin 3

          Both valuations send every variable outside C, so they satisfy AgreeOn.

          Equations
          Instances For
            def MatchingLogic.Necessity.rho' {Var : Type} :
            VarFin 3

            The second constant valuation used by the agreement counterexample.

            Equations
            Instances For
              theorem MatchingLogic.Necessity.locality_needs_backwardClosed {Var : Type} [DecidableEq Var] (x : Var) :
              ¬∀ (ψ : Pattern S Var) (ρ ρ' : VarFin 3), AgreeOn C ρ ρ'M.denote ρ ψ C = M.denote ρ' ψ C

              The hypothesis of Lemma 9 cannot be dropped, for any variable type that has at least one variable. Without backward closure the conclusion fails, on a three-element model.

              theorem MatchingLogic.Necessity.locality_needs_backwardClosed_nat :
              ¬∀ (ψ : Pattern S ) (ρ ρ' : Fin 3), AgreeOn C ρ ρ'M.denote ρ ψ C = M.denote ρ' ψ C

              The paper's setting: countably infinite element variables.