Documentation

ECA.BlockCode

Sliding block codes conserved by a step of a quiescent radius-one rule #

A sliding block code of window L reads the cells i to i + L - 1 through a local rule g that sends the zero window to zero. A step of a quiescent rule f leaves the code unchanged exactly where g takes the same value on the step's image of the window's middle and on the middle itself, a finite identity over the L + 2 cells a step reads, so it is decided at each table.

noncomputable def ECA.FiniteConfiguration.blockCode (L : ℕ) (g : (Fin L → ZMod 2) → ZMod 2) (hg : g 0 = 0) (s : FiniteConfiguration) :

The sliding block code of window L with local rule g, g sending the zero window to zero: the cell i of the image is g of the cells i to i + L - 1.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem ECA.FiniteConfiguration.blockCode_apply (L : ℕ) (g : (Fin L → ZMod 2) → ZMod 2) (hg : g 0 = 0) (s : FiniteConfiguration) (i : ℤ) :
    (blockCode L g hg s) i = g fun (k : Fin L) => s (i + ↑↑k)

    The sliding block code's local rule, a window of L cells.

    theorem ECA.LocalRule.blockCode_finRule_carry (f : LocalRule) (hq : f 0 0 0 = 0) {L : ℕ} (g h : (Fin L → ZMod 2) → ZMod 2) (hg : g 0 = 0) (hh : h 0 = 0) (hloc : ∀ (u : Fin (L + 2) → ZMod 2), (h fun (k : Fin L) => f (u ⟨↑k, ⋯⟩) (u ⟨↑k + 1, ⋯⟩) (u ⟨↑k + 2, ⋯⟩)) = g fun (k : Fin L) => u ⟨↑k + 1, ⋯⟩) (s : FiniteConfiguration) :

    The criterion with two local rules: a step of a quiescent rule carries the sliding block code of h to the sliding block code of g when h of the step's image of any window of L + 2 cells equals g of the window's middle L cells.

    theorem ECA.LocalRule.blockCode_finRule (f : LocalRule) (hq : f 0 0 0 = 0) {L : ℕ} (g : (Fin L → ZMod 2) → ZMod 2) (hg : g 0 = 0) (hloc : ∀ (u : Fin (L + 2) → ZMod 2), (g fun (k : Fin L) => f (u ⟨↑k, ⋯⟩) (u ⟨↑k + 1, ⋯⟩) (u ⟨↑k + 2, ⋯⟩)) = g fun (k : Fin L) => u ⟨↑k + 1, ⋯⟩) (s : FiniteConfiguration) :

    The criterion: a step of a quiescent rule conserves a sliding block code when its local rule takes the same value on the step's image of every window of L + 2 cells (the L cells the image reads) and on the window's middle L cells.

    Rule 50.

    Equations
    Instances For

      Rule 178.

      Equations
      Instances For

        Rule 206.

        Equations
        Instances For

          Rule 216.

          Equations
          Instances For

            Rule 220.

            Equations
            Instances For
              theorem ECA.hq50 :
              f50 0 0 0 = 0

              Rule 50 is quiescent.

              theorem ECA.hq178 :
              f178 0 0 0 = 0

              Rule 178 is quiescent.

              theorem ECA.hq206 :
              f206 0 0 0 = 0

              Rule 206 is quiescent.

              theorem ECA.hq216 :
              f216 0 0 0 = 0

              Rule 216 is quiescent.

              theorem ECA.hq220 :
              f220 0 0 0 = 0

              Rule 220 is quiescent.

              def ECA.codeF206 :
              (Fin 2 → ZMod 2) → ZMod 2

              The local rule of the code marking the pattern 10: a window of two cells.

              Equations
              Instances For
                def ECA.codeF220 :
                (Fin 2 → ZMod 2) → ZMod 2

                The local rule of the code marking the pattern 01: a window of two cells.

                Equations
                Instances For
                  def ECA.codeF202 :
                  (Fin 3 → ZMod 2) → ZMod 2

                  The local rule of the code marking the pattern 110: a window of three cells.

                  Equations
                  Instances For
                    def ECA.codeF216 :
                    (Fin 3 → ZMod 2) → ZMod 2

                    The local rule of the code marking the pattern 011: a window of three cells.

                    Equations
                    Instances For
                      def ECA.codeF50 :
                      (Fin 6 → ZMod 2) → ZMod 2

                      The local rule of the code marking the patterns 100110 and 011001: a window of six cells.

                      Equations
                      Instances For
                        def ECA.codeF178 :
                        (Fin 6 → ZMod 2) → ZMod 2

                        The local rule of the code at table 178: the same two patterns as at table 50.

                        Equations
                        Instances For

                          The code of table 206 sends the zero window to zero.

                          The code of table 220 sends the zero window to zero.

                          The code of table 202 sends the zero window to zero.

                          The code of table 216 sends the zero window to zero.

                          The code of table 50 sends the zero window to zero.

                          The code of table 178 sends the zero window to zero.

                          def ECA.code100110 :
                          (Fin 6 → ZMod 2) → ZMod 2

                          The local rule of the code marking the pattern 100110: a window of six cells.

                          Equations
                          Instances For
                            def ECA.code011001 :
                            (Fin 6 → ZMod 2) → ZMod 2

                            The local rule of the code marking the pattern 011001: a window of six cells.

                            Equations
                            Instances For

                              The code of the pattern 100110 sends the zero window to zero.

                              The code of the pattern 011001 sends the zero window to zero.

                              The pair of phases of the zero state is the zero pair.

                              The reading of a translate is the pair of translates.

                              A step of table 50 swaps the two phases of the slip: the code marking 100110 of the image is the code marking 011001 of the state, and conversely.

                              A step of table 178 swaps the two phases of the slip: the code marking 100110 of the image is the code marking 011001 of the state, and conversely.

                              A nonzero pair of phases is not its own swap: no cell carries both marks, so the two readings agree only where both are zero.

                              The growing part of rule 50 under the support diameter is the nonzero states ([RuleSpace] §2 Proposition 2.13(i) at rule 50, whose endpoint moves are exact, one cell at each side: 001 and 100 both give 1).

                              The growing part of rule 178 under the support diameter is the nonzero states ([RuleSpace] §2 Proposition 2.13(i) at rule 178, whose endpoint moves are exact, one cell at each side: 001 and 100 both give 1).

                              The growing part of rule 206 under the support diameter is the nonzero states: the left end of a nonzero state moves out one cell a step (001 gives 1) and the right end stays (100 gives 0, 010 and 110 give 1), so the diameter grows by one a step.

                              The growing part of rule 220 under the support diameter is the nonzero states, the mirror of rule 206: the right end moves out one cell a step (100 gives 1) and the left end stays (001 gives 0, 010 and 011 give 1).

                              theorem ECA.LocalRule.iterate_finRule_pair {f : LocalRule} {hq : f 0 0 0 = 0} (h1 : f 0 1 1 = 1) (h2 : f 1 1 1 = 1) (h3 : f 1 1 0 = 1) {s : FiniteConfiguration} {i : ℤ} (h0 : s i = 1) (h0' : s (i + 1) = 1) (k : ℕ) :
                              ((f.finRule hq)^[k] s) i = 1 ∧ ((f.finRule hq)^[k] s) (i + 1) = 1

                              Two adjacent set cells stay set along the orbit of a quiescent rule whose local rule gives 1 at 011, 111 and 110.

                              theorem ECA.LocalRule.mem_growingPart_of_leftTap_pair {f : LocalRule} {hq : f 0 0 0 = 0} (h0 : f 0 0 1 = 1) (h1 : f 0 1 1 = 1) (h2 : f 1 1 1 = 1) (h3 : f 1 1 0 = 1) {s : FiniteConfiguration} {i : ℤ} (hi : s i = 1) (hi' : s (i + 1) = 1) :

                              A state with two adjacent set cells is in the growing part when the left end moves out one cell a step and the pair persists: the diameter is at least the distance from the moving end to the pair.

                              theorem ECA.LocalRule.mem_growingPart_of_rightTap_pair {f : LocalRule} {hq : f 0 0 0 = 0} (h0 : f 1 0 0 = 1) (h1 : f 0 1 1 = 1) (h2 : f 1 1 1 = 1) (h3 : f 1 1 0 = 1) {s : FiniteConfiguration} {i : ℤ} (hi : s i = 1) (hi' : s (i + 1) = 1) :

                              A state with two adjacent set cells is in the growing part, the mirror: the right end moves out one cell a step.

                              A state with two adjacent set cells is in the growing part of rule 202 under the support diameter: two adjacent 1s never change (011, 110 and 111 give 1) and the left end of the support moves out one cell a step (001 gives 1), so the diameter is unbounded along the orbit. The growing part is not the nonzero states at this table: a single 1 moves one cell a step and does not grow (010 gives 0).

                              A state with two adjacent set cells is in the growing part of rule 216 under the support diameter, the mirror of rule 202: two adjacent 1s never change and the right end of the support moves out one cell a step (100 gives 1).

                              theorem ECA.mem_growingPart_f202_of_pair_nonvacuous :
                              ∃ (s : FiniteConfiguration) (i : ℤ), s i = 1 ∧ s (i + 1) = 1

                              The pair lemma's hypotheses are jointly satisfiable, at table 202: the state 11 has a set cell at 0 and at 1.

                              theorem ECA.LocalRule.blockCode_finRule_nonvacuous :
                              f206 0 0 0 = 0 ∧ codeF206 0 = 0 ∧ (∀ (u : Fin (2 + 2) → ZMod 2), (codeF206 fun (k : Fin 2) => f206 (u ⟨↑k, ⋯⟩) (u ⟨↑k + 1, ⋯⟩) (u ⟨↑k + 2, ⋯⟩)) = codeF206 fun (k : Fin 2) => u ⟨↑k + 1, ⋯⟩) ∧ ∃ (s : FiniteConfiguration), FiniteConfiguration.blockCode 2 codeF206 codeF206_zero s ≠ 0

                              The criterion's hypotheses are jointly satisfiable, at table 206 with the code of the pattern 10: the table is quiescent, its local rule sends the zero window to zero, the finite identity holds at every window, and the code of a lone set cell is not zero.

                              theorem ECA.LocalRule.blockCode_finRule_carry_nonvacuous :
                              f50 0 0 0 = 0 ∧ code100110 0 = 0 ∧ code011001 0 = 0 ∧ (∀ (u : Fin (6 + 2) → ZMod 2), (code011001 fun (k : Fin 6) => f50 (u ⟨↑k, ⋯⟩) (u ⟨↑k + 1, ⋯⟩) (u ⟨↑k + 2, ⋯⟩)) = code100110 fun (k : Fin 6) => u ⟨↑k + 1, ⋯⟩) ∧ ∃ (s : FiniteConfiguration), FiniteConfiguration.blockCode 6 code100110 code100110_zero s ≠ 0

                              The two-rule criterion's hypotheses are jointly satisfiable, at table 50 with g the code of the pattern 100110 and h the code of 011001: the table is quiescent, both local rules send the zero window to zero, the finite identity holds at every window, and the code of 100110 reads a state at which it is not zero.