Documentation

Linglib.Theories.Semantics.Dynamic.PLA.DynamicTy2

@[reducible, inline]

PLA assignment merges variable and pronoun assignments via sum type.

  • .inl i accesses variable i
  • .inr i accesses pronoun i
Equations
Instances For

    Variable dref: projection at.inl i

    Equations
    Instances For

      Pronoun dref: projection at.inr i

      Equations
      Instances For

        Convert merged assignment to PLAPoss.

        Equations
        Instances For

          Functional update for merged assignments (only affects variables)

          Equations
          Instances For

            Translate a PLA formula to a Dynamic Ty2 condition.

            This captures when a merged assignment satisfies the formula. Note: PLA existentials check for EXISTENCE of a witness, but don't actually extend the assignment (eliminative semantics).

            Equations
            Instances For

              Translate a PLA formula to a Dynamic Ty2 DRS.

              PLA updates are eliminative (they only filter, never extend assignments). This means every PLA formula translates to a TEST in Dynamic Ty2.

              Equations
              Instances For
                theorem Semantics.Dynamic.PLA.formulaToDRS_atom {E : Type u_1} [Nonempty E] (M : Model E) (name : String) (ts : List Term) :
                formulaToDRS M (Formula.atom name ts) = [fun (g : MergedAssignment E) => M.interp name (List.map (evalTerm g) ts) = true]

                Atom translation: predicate applied to evaluated terms

                Negation translation: test of negated condition

                theorem Semantics.Dynamic.PLA.formulaToDRS_conj {E : Type u_1} [Nonempty E] (M : Model E) (φ ψ : Formula) :

                Conjunction translation: test of conjoined conditions

                theorem Semantics.Dynamic.PLA.formulaToDRS_exists {E : Type u_1} [Nonempty E] (M : Model E) (x : VarIdx) (φ : Formula) :
                formulaToDRS M (Formula.exists_ x φ) = [fun (g : MergedAssignment E) => ∃ (e : E), formulaToCondition M φ (extend g x e)]

                Existential translation: test for existence of witness

                Split a merged assignment into variable and witness components

                Equations
                Instances For

                  Term evaluation agrees with PLA semantics

                  extend and Assignment.update align on the variable component

                  theorem Semantics.Dynamic.PLA.extend_snd_eq {E : Type u_1} [Nonempty E] (g : MergedAssignment E) (x : VarIdx) (e : E) :

                  extend doesn't affect the pronoun component

                  Formula condition agrees with PLA satisfaction

                  PLA formula semantics corresponds to Dynamic Ty2 DRS.

                  A merged assignment g satisfies the DRS iff the split assignment satisfies the original PLA formula.