Documentation

Strata.DL.Imperative.CmdTraceWF

Semantic well-formedness of captured events #

Each event captures the factory and store at the moment it is emitted. EventArg.SemanticWF records that the captured store holds only values and that the captured factory's evaluator respects free-variable store agreement. Event.semanticWF and Trace.semanticWF lift it to events and traces.

These definitions depend on the evaluator conditions in Strata.DL.Imperative.CmdSemantics, which itself imports Strata.DL.Imperative.CmdTrace, so they live here rather than beside EventArg.

Semantic evidence carried by an event-argument snapshot.

Instances For

    Semantic evidence carried by an event snapshot.

    Equations
    Instances For

      Every event snapshot in a trace is semantically well formed.

      Equations
      Instances For
        theorem Imperative.Trace.semanticWF_append {P : PureExpr} [HasVal P] [HasFvars P] {first second : Trace P} (hfirst : first.semanticWF) (hsecond : second.semanticWF) :
        (first ++ second).semanticWF

        Semantic snapshot evidence composes across trace concatenation.