Documentation

LeanPool.Koethe.Pencil

Pencils, periodic masks and mortality #

The shared vocabulary of the mortality argument: a pencil is a matrix of homogeneous linear forms in three letters, affine in one central parameter whose coefficient is supported in the distinguished root row; its evaluation at letter vectors, its lift along three elements of an algebra, forward word products and windows of a letter sequence. A periodic mask fixes nonzero letters at some residues and leaves the others free. MaskMortality is the matrix-mortality property proved in LeanPool.Koethe.Mortality.MaskMortality, and UniversalMortalSequence is the target of the construction in LeanPool.Koethe.MaskSequence.Universal.

@[reducible, inline]
abbrev KoetheCounterexample.Triple (k : Type u_1) :
Type u_1

A letter: a vector of three coefficients, one for each generator.

Equations
Instances For
    structure KoetheCounterexample.Pencil (k : Type u_1) [Field k] (d : ) :
    Type u_1

    A homogeneous three-letter pencil, affine in one central parameter, whose parameter coefficient is supported in the distinguished row.

    • scalar : Fin 3Matrix (Fin (d + 1)) (Fin (d + 1)) k

      The coefficient matrix of each letter in the parameter-free part.

    • linear : Fin 3Matrix (Fin (d + 1)) (Fin (d + 1)) k

      The coefficient matrix of each letter multiplying the central parameter.

    • linear_off_root (i : Fin 3) (row col : Fin (d + 1)) : row 0self.linear i row col = 0
    Instances For
      theorem KoetheCounterexample.Pencil.ext {k : Type u_1} [Field k] {d : } {P Q : Pencil k d} (hc : P.scalar = Q.scalar) (hl : P.linear = Q.linear) :
      P = Q
      theorem KoetheCounterexample.Pencil.ext_iff {k : Type u_1} [Field k] {d : } {P Q : Pencil k d} :
      noncomputable def KoetheCounterexample.Pencil.eval {k : Type u_1} [Field k] {d : } (P : Pencil k d) (v : Triple k) :
      Matrix (Fin (d + 1)) (Fin (d + 1)) (Polynomial k)

      Evaluation at a constant letter vector.

      Equations
      Instances For
        noncomputable def KoetheCounterexample.Pencil.lift {k : Type u_1} [Field k] {d : } {R : Type u_2} [Ring R] [Algebra k R] (P : Pencil k d) (a : Fin 3R) :
        Matrix (Fin (d + 1)) (Fin (d + 1)) (Polynomial R)

        Evaluation at three elements of an arbitrary algebra.

        Equations
        Instances For
          noncomputable def KoetheCounterexample.Pencil.wordProd {k : Type u_1} [Field k] {d : } (P : Pencil k d) (w : List (Triple k)) :
          Matrix (Fin (d + 1)) (Fin (d + 1)) (Polynomial k)

          Forward chronological multiplication. This is the transfer convention for backward shifts (a_i u)(n) = v_n(i) u(n+1).

          Equations
          Instances For
            @[simp]
            theorem KoetheCounterexample.Pencil.wordProd_nil {k : Type u_1} [Field k] {d : } (P : Pencil k d) :
            @[simp]
            theorem KoetheCounterexample.Pencil.wordProd_append {k : Type u_1} [Field k] {d : } (P : Pencil k d) (u w : List (Triple k)) :
            P.wordProd (u ++ w) = P.wordProd u * P.wordProd w
            noncomputable def KoetheCounterexample.Pencil.window {k : Type u_1} [Field k] {d : } (P : Pencil k d) (v : Triple k) (start len : ) :
            Matrix (Fin (d + 1)) (Fin (d + 1)) (Polynomial k)

            The forward product of the pencil along len consecutive letters of v from start.

            Equations
            Instances For
              structure KoetheCounterexample.PeriodicMask (k : Type u_1) [Field k] :
              Type u_1

              A finite periodic collection of assigned nonzero letter vectors. Unassigned occurrences of a residue remain independent choices.

              • period :

                The period of the mask.

              • period_pos : 0 < self.period

                The period is positive.

              • value : Fin self.periodOption (Triple k)

                The letter assigned at each residue, or none if the residue is free.

              • nonzero (i : Fin self.period) (v : Triple k) : self.value i = some vv 0

                Every assigned letter is nonzero.

              Instances For

                The assignment of the mask at a site, read off its residue.

                Equations
                Instances For
                  noncomputable def KoetheCounterexample.PeriodicMask.holes {k : Type u_1} [Field k] (M : PeriodicMask k) :

                  The number of free residues in one period.

                  Equations
                  Instances For
                    noncomputable def KoetheCounterexample.PeriodicMask.assigned {k : Type u_1} [Field k] (M : PeriodicMask k) :

                    The number of assigned residues in one period.

                    Equations
                    Instances For

                      A word agrees with the mask at every assigned position it covers.

                      Equations
                      Instances For

                        A sequence agrees with the mask at every assigned site.

                        Equations
                        Instances For

                          The algebraic matrix-mortality property needed by the mask construction.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            A nonvanishing edge sequence killing every one-row pencil on uniformly bounded windows. Nil bounds are permitted to depend on the pencil.

                            Equations
                            Instances For