Documentation

Complexity.Computability.Circuit.Boolean.Iteration.CounterChart.Decode

Decoding sparse interval coordinates, including intervals crossing phase zero #

Main definitions #

Main results #

References #

Additive inverse of the initial phase modulo the cycle length.

Instances For

    Distance from the interval start, modulo its cycle length.

    Instances For

      The decoded distance is exactly the numerical offset within a containing interval.

      On a matching cycle, the decoded distance really reaches the requested state.

      noncomputable def Cslib.Circuits.Boolean.Iteration.CounterIntervalChart.decodedRow {n R : ℕ} {f : BitVec n → BitVec n} (chart : CounterIntervalChart f R) (j : Fin R) (p : BitVec (chartWidth n)) :

      Recover the word by adding the phase distance to the interval start.

      Instances For
        noncomputable def Cslib.Circuits.Boolean.Iteration.CounterIntervalChart.decodeFlag {n R : ℕ} {f : BitVec n → BitVec n} (chart : CounterIntervalChart f R) (j : Fin R) (rep : BitVec n) (p : BitVec (chartWidth n)) :

        Test the representative and whether the phase distance lies in the interval.

        Instances For
          noncomputable def Cslib.Circuits.Boolean.Iteration.CounterIntervalChart.decode {n R : ℕ} {f : BitVec n → BitVec n} (chart : CounterIntervalChart f R) (rep : BitVec n) (p : BitVec (chartWidth n)) :

          Select a matching interval and return its decoded word.

          Instances For