Documentation

SE.Transformation.Effect.Model

State Model #

A state model interprets Transformation operators over abstract transformation configurations. A state is a configuration: it may contain referents, representations, components, relations, containment, bindings, lineage, evidence, and standing. No concrete configuration representation is assumed.

A model supplies:

step op s t is the intrinsic effect of one application of op. It does not include incidental changes, which belong to separate operator steps or compound transformations.

A model must satisfy two laws.

Two generic results follow.

Only the sufficient direction of breakage follows from the laws. The converse is a property of the maximal model for relations defined exactly by dimension agreement.

A state model: configurations, per-dimension agreement, and atomic operator steps.

Instances For

    Agreement on every dimension in D suffices for the relation P.

    Equations
    Instances For

      The relation P requires agreement on the dimension d: whenever P holds, the configurations agree on d.

      Equations
      Instances For
        theorem SE.Transformation.StateModel.step_preserves {M : StateModel} {D : List Dimension} {P : M.State → M.State → Prop} {op : OperatorCode} {s t : M.State} (hP : M.AgreementSuffices D P) (hD : ∀ (d : Dimension), d ∈ D → ¬d ∈ footprint op) (h : M.step op s t) :
        P s t

        Frame-based preservation: if agreement on D suffices for P and the footprint of op avoids D, a step of op preserves P.

        theorem SE.Transformation.StateModel.step_breaks {M : StateModel} {P : M.State → M.State → Prop} {op : OperatorCode} {s t : M.State} {C : List Dimension} (hC : C ∈ requirements op) (hP : ∀ (d : Dimension), d ∈ C → M.AgreementRequired d P) (h : M.step op s t) :
        ¬P s t

        Required-change breakage: if some required clause C of op has the property that P requires agreement on every dimension in C, then every step of op breaks P.

        The maximal model. A step of op may change any dimensions inside the footprint, and must change at least one dimension in every required clause. It satisfies the two laws and assumes nothing further.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Satisfiability: every operator has an admissible step in the maximal model, so the frame law and the clause requirements are consistent.

          Agreement on exactly the dimensions in S, in the maximal model.

          Equations
          Instances For

            Model-specific completeness. In the maximal model, every step of op breaks agreement on S exactly when S contains some required clause of op.

            This shows that the clause condition of StateModel.step_breaks is tight for relations defined exactly by dimension agreement. It is a property of the maximal model, not a consequence of the two laws.