Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Uni.Alpha

Letters and tapes of the universal program #

Defines the alphabet Uni.Sy M K, tape names Uni.Tp K, channel type Uni.Zc K, record letter injections (Uni.be, Uni.ol), and the star-over-letters combinator Tape.Runs.wordstar.

From VP ≠ VNP over every field [Ant26], module Nc.Uni.Alpha.

Main definitions #

Main results #

theorem Cslib.Circuits.Arithmetic.Separation.Tape.Runs.wordstar {F : Type u_1} {Z : Type u_2} {Γ : Type u_3} {κ : Type u_4} [CommRing F] [Fintype Z] [DecidableEq Z] [Finite Γ] [Fintype κ] (zs : Finset Z) (hz : zs.Nonempty) (f : κ → Γ) :
Runs (Fintype.card κ * (2 * zs.card + 1) + 1) (fun (l : List κ) => on zs (List.map f l)) fun (x : List κ) => 1

Write an arbitrary word over κ on every channel of zs, using dimension card κ * (2 * zs.card + 1) + 1.

Letters of the universal tape program: bits, word separator, modes, record kinds, 4-bit columns, rotation mark, record end dot, lookup flag, and block separator bar.

  • bit {M K : Type} (x : Bool) : Sy M K

    a binary digit

  • semi {M K : Type} : Sy M K

    end of a binary word

  • md {M K : Type} (m : M) : Sy M K

    pointer-machine mode

  • kd {M K : Type} (k : K) : Sy M K

    record kind

  • col {M K : Type} (c : Fin 4 → Bool) : Sy M K

    a 4-bit column slice of a record

  • mark {M K : Type} : Sy M K

    rotation mark inside a record

  • dot {M K : Type} : Sy M K

    end of a record

  • flag {M K : Type} (f : Bool) : Sy M K

    flag (false: table entry, true: lookup)

  • bar {M K : Type} : Sy M K

    end of a pass/block

Instances For
    @[instance_reducible]
    def Cslib.Circuits.Arithmetic.Separation.Uni.instDecidableEqSy.decEq {M✝ K✝ : Type} [DecidableEq M✝] [DecidableEq K✝] (x✝ x✝¹ : Sy M✝ K✝) :
    Decidable (x✝ = x✝¹)
    @[instance_reducible]
    instance Cslib.Circuits.Arithmetic.Separation.Uni.instFintypeSy {M✝ K✝ : Type} [Fintype M✝] [Fintype K✝] :
    Fintype (Sy M✝ K✝)
    @[reducible, inline]

    Alphabet of record key letters (K or 4-bit column).

    Embed a record letter into Sy M K.

    Embed a record letter or the rotation mark (none) into Sy M K.

    Tape names of the universal program: five registers, mode, counter pair, fresh addresses, lookups, sorted list, radix buckets, and comparison copies.

    • rg {K : Type} (i : Fin 5) : Tp K

      register tape i

    • md {K : Type} : Tp K

      mode tape

    • cp {K : Type} : Tp K

      counter tape

    • fr {K : Type} : Tp K

      fresh address tape

    • lk {K : Type} : Tp K

      lookup tape

    • ls {K : Type} : Tp K

      main list tape

    • bk {K : Type} (b : Bl K) : Tp K

      radix bucket tape for letter b

    • cm {K : Type} (k : Bool) : Tp K

      comparison copy tape k

    Instances For
      @[instance_reducible]
      @[reducible, inline]

      Channels of the universal program (tape sides plus one input channel Unit).