Documentation

MIPRE.Foundations.Introspection.RegisterCoordinates

The concrete coordinate splits for nested CL registers #

def MIPRE.Introspection.ambientSplit {ι : Type u_1} {F : Type u_2} [Fintype ι] [DecidableEq ι] (V : Finset ι) :
(ι → F) ≃ (↥V → F) × (↥Vᶜ → F)

Splitting an ambient assignment into a register and its complement.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def MIPRE.Introspection.coordinateSplit {ι : Type u_1} {F : Type u_2} [DecidableEq ι] (U V : Finset ι) (hUV : U ⊆ V) :
    (↥V → F) ≃ (Fin (Fintype.card ↥U) → F) × (↥(V \ U) → F)

    Split V into the selected coordinates U, enumerated by Fin, and V \ U. This is an actual coordinate restriction and assembly, rather than a cardinality choice.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def MIPRE.Introspection.coordinateInsert {ι : Type u_1} {F : Type u_2} [DecidableEq ι] [Field F] (U : Finset ι) :
      (Fin (Fintype.card ↥U) → F) →ₗ[F] ι → F

      Insert an enumerated vector into its ambient register, setting all other coordinates to zero.

      Equations
      Instances For
        noncomputable def MIPRE.Introspection.coordinateRestrict {ι : Type u_1} {F : Type u_2} [Field F] (U : Finset ι) :
        (ι → F) →ₗ[F] Fin (Fintype.card ↥U) → F

        Restrict the ambient assignment to the enumerated register.

        Equations
        Instances For
          @[simp]
          theorem MIPRE.Introspection.coordinateRestrict_insert {ι : Type u_1} {F : Type u_2} [Fintype ι] [DecidableEq ι] [Field F] (U : Finset ι) (v : Fin (Fintype.card ↥U) → F) :
          theorem MIPRE.Introspection.coordinateInsert_restrict {ι : Type u_1} {F : Type u_2} [Fintype ι] [DecidableEq ι] [Field F] (U : Finset ι) (v : ι → F) :
          noncomputable def MIPRE.Introspection.coordinateLinear {ι : Type u_1} {F : Type u_2} [DecidableEq ι] [Field F] {U : Finset ι} (L : CL.RegLinear F U) :
          (Fin (Fintype.card ↥U) → F) →ₗ[F] Fin (Fintype.card ↥U) → F

          The paper's map on U in the coordinate presentation used by the Pauli library.

          Equations
          Instances For
            theorem MIPRE.Introspection.coordinateLinear_restrict {ι : Type u_1} {F : Type u_2} [Fintype ι] [DecidableEq ι] [Field F] {U : Finset ι} (L : CL.RegLinear F U) (v : ι → F) :

            Restricting the ambient CL linear map commutes with passing to register coordinates.

            theorem MIPRE.Introspection.coordinateInsert_linear {ι : Type u_1} {F : Type u_2} [Fintype ι] [DecidableEq ι] [Field F] {U : Finset ι} (L : CL.RegLinear F U) (v : Fin (Fintype.card ↥U) → F) :

            Reassembling the coordinate result recovers the original CL linear map exactly.