Documentation

MIPRE.Foundations.CL.DetypingDeciderRoute

The executable detyping decision router #

This is an explicit ambient adaptation of types.tex's detyped decider. Canonical field encodings and question dimensions are checked first. An outer answer cutoff is enforced globally, as required by the ambient verifier budget. Within that cutoff nonedge views accept, and edge views use the source typed answer cutoff before invoking the typed decider. No uniform graph compilation or absolute source-model timeout bound is claimed here.

Thus malformed graph patterns in binary questions accept within the outer cutoff, while noncanonical raw data encodings reject. The latter convention has no effect on the finite games, whose fields are binary strings.

noncomputable def MIPRE.CL.Detyping.DeciderProgram.selectedEdge {T : Type u_1} [Fintype T] [DecidableEq T] (E : T → T → Prop) [DecidableRel E] (x y : Graph.Coord T → 𝔽₂) :
Option (T × T)

Recognize a genuine ordered edge from the complete graph-view patterns.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def MIPRE.CL.Detyping.DeciderProgram.edgeData {T : Type u_1} [Fintype T] [DecidableEq T] [Cost.SizedEncoding T] (E : T → T → Prop) [DecidableRel E] (x y : Graph.Coord T → 𝔽₂) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      The finite graph recognition table is an actual ambient program.

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

        A raw input context after the dimension and cutoff routines have returned.

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

                  The typed decider is called using the seven-field input convention from the source.

                  Equations
                  Instances For

                    The precise routing rule, including every malformed-input branch.

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

                      All routing and format checks are concrete polynomial-time ambient computations.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        theorem MIPRE.CL.Detyping.DeciderProgram.route_preserves {T : Type u_1} [Fintype T] [DecidableEq T] [Cost.SizedEncoding T] (E : T → T → Prop) [DecidableRel E] (c payload : Cost.Data) (h : (route E).toFun c = (true, payload)) :
                        ∃ (d : Cost.Data) (ctx : Cost.Data), payload = ((Cost.encode (indexReader.toFun c)).cons d).cons ctx

                        Successful routing preserves the normalized original index on all raw input trees.

                        An arbitrary typed output is accepted exactly when it is the canonical Boolean true.

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