Documentation

LeanPool.MarkoffModP.BGS.Markoff.Core.SemiringFunctor

The Markoff surface on commutative semirings #

The usual polynomial presentation by subtraction only makes sense over rings. For strong approximation from natural-number solutions, the equation itself is the more fundamental definition:

x₁² + x₂² + x₃² = 3 * x₁ * x₂ * x₃.

This file defines that solution type over every commutative semiring and its covariant map along semiring homomorphisms. It also records the canonical reduction from ℕ to ZMod p and compares the semiring definition with the existing ring-level MarkoffSurface.

The Markoff surface, functorially evaluated on commutative semirings.

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

    Strong approximation at modulus p: every Markoff solution modulo p is the reduction of a natural-number solution.

    Equations
    Instances For

      A point satisfies the Markoff equation over a commutative semiring.

      Equations
      Instances For
        @[reducible, inline]

        Markoff solutions over a commutative semiring.

        Equations
        Instances For
          @[reducible, inline]

          A concise name for the semiring-valued solution type of the Markoff equation.

          Equations
          Instances For
            def BGS.Markoff.semiringPointMap {R : Type u} {S : Type v} [CommSemiring R] [CommSemiring S] (f : R →+* S) (x : Point R) :

            Apply a semiring homomorphism coordinatewise to a point of affine three-space.

            Equations
            Instances For
              @[simp]
              theorem BGS.Markoff.semiringPointMap_x1 {R : Type u} {S : Type v} [CommSemiring R] [CommSemiring S] (f : R →+* S) (x : Point R) :
              @[simp]
              theorem BGS.Markoff.semiringPointMap_x2 {R : Type u} {S : Type v} [CommSemiring R] [CommSemiring S] (f : R →+* S) (x : Point R) :
              @[simp]
              theorem BGS.Markoff.semiringPointMap_x3 {R : Type u} {S : Type v} [CommSemiring R] [CommSemiring S] (f : R →+* S) (x : Point R) :

              Map a Markoff solution along a homomorphism of commutative semirings.

              Equations
              Instances For
                @[simp]
                theorem BGS.Markoff.SemiringMarkoffSurface.map_x1 {R : Type u} {S : Type v} [CommSemiring R] [CommSemiring S] (f : R →+* S) (x : SemiringMarkoffSurface R) :
                (↑(map f x)).x1 = f (↑x).x1
                @[simp]
                theorem BGS.Markoff.SemiringMarkoffSurface.map_x2 {R : Type u} {S : Type v} [CommSemiring R] [CommSemiring S] (f : R →+* S) (x : SemiringMarkoffSurface R) :
                (↑(map f x)).x2 = f (↑x).x2
                @[simp]
                theorem BGS.Markoff.SemiringMarkoffSurface.map_x3 {R : Type u} {S : Type v} [CommSemiring R] [CommSemiring S] (f : R →+* S) (x : SemiringMarkoffSurface R) :
                (↑(map f x)).x3 = f (↑x).x3
                @[simp]
                theorem BGS.Markoff.SemiringMarkoffSurface.map_comp {R : Type u} {S : Type v} {T : Type w} [CommSemiring R] [CommSemiring S] [CommSemiring T] (g : S →+* T) (f : R →+* S) (x : SemiringMarkoffSurface R) :
                map (g.comp f) x = map g (map f x)

                The covariant functor of Markoff solutions on commutative semirings.

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

                  The public triple presentation of Markoff agrees with the structured presentation used internally by the dynamical development.

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

                    The origin as a Markoff solution over a commutative semiring.

                    Equations
                    Instances For

                      The distinguished positive Markoff solution (1, 1, 1).

                      Equations
                      Instances For

                        Coordinatewise reduction of natural-number Markoff solutions modulo p.

                        Equations
                        Instances For

                          The public functor formulation of strong approximation agrees with the structured reduction map used internally.

                          Over a commutative ring, the equation-based semiring surface agrees with the existing zero-locus definition using markoffPolynomial.

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

                            The distinguished solution (1, 1, 1) on the existing ring-level Markoff surface.

                            Equations
                            Instances For
                              @[simp]
                              theorem BGS.Markoff.surfaceRoot_coe (R : Type u) [CommRing R] :
                              ↑(surfaceRoot R) = { x1 := 1, x2 := 1, x3 := 1 }