Documentation

MIPRE.Foundations.CL.DetypingProgBits

Contiguous graph and content encodings for detyping #

The abstract sum of graph and content registers is numbered with the graph first. Vector encodings are consequently ordinary concatenations of bit lists.

@[reducible, inline]
Equations
Instances For
    theorem MIPRE.CL.Detyping.toBits_append {m n : ℕ} (x : Fin m → 𝔽₂) (y : Fin n → 𝔽₂) :

    Numbering the sum registers is exactly concatenation of their bit strings.

    The graph parser reads exactly the graph part of every well-formed vector.

    The content parser reads exactly the independent content part.

    noncomputable def MIPRE.CL.Detyping.numbered {T : Type u_1} [Fintype T] [DecidableEq T] {s ℓ : ℕ} (E : T → T → Prop) [DecidableRel E] (w : Player) (P : T → CLFun 𝔽₂ (Fin s) ℓ) :
    CLFun 𝔽₂ (Fin (graphDim T + s)) (ℓ + 2)

    The actual numbered detyped CL presentation used by the machine interface.

    Equations
    Instances For
      theorem MIPRE.CL.Detyping.numbered_exactlyOn {T : Type u_1} [Fintype T] [DecidableEq T] {s ℓ : ℕ} (E : T → T → Prop) [DecidableRel E] (w : Player) (P : T → CLFun 𝔽₂ (Fin s) ℓ) (hP : ∀ (t : T), (P t).ExactlyOn Finset.univ) (hℓ : 0 < ℓ) :