Documentation

HexResultant.SubresultantMinor

@[reducible, inline]
abbrev Hex.SubresultantMinor.Square (R : Type u) (n : Nat) :

A proof-only square coefficient family.

Equations
Instances For
    def Hex.SubresultantMinor.skipIndex {n : Nat} (j : Fin (n + 1)) (k : Fin n) :
    Fin (n + 1)

    Embed an index while skipping one position.

    Equations
    Instances For
      def Hex.SubresultantMinor.deleteFirst {R : Type u} {n : Nat} (M : Square R (n + 1)) (j : Fin (n + 1)) :
      Square R n

      Remove the first row and one selected column.

      Equations
      Instances For
        def Hex.SubresultantMinor.sign {R : Type u} [Zero R] [One R] [Sub R] (j : Nat) :
        R

        The alternating sign in a first-row Laplace expansion.

        Equations
        Instances For
          def Hex.SubresultantMinor.det {R : Type u} [Zero R] [One R] [Add R] [Sub R] [Mul R] {n : Nat} :
          Square R nR

          Local proof-only determinant, defined by first-row Laplace expansion. Its factorial recursion is not an executable resultant algorithm.

          Equations
          Instances For
            @[simp]
            theorem Hex.SubresultantMinor.det_zero {R : Type u} [Zero R] [One R] [Add R] [Sub R] [Mul R] (M : Square R 0) :
            det M = 1

            The empty local determinant is one.

            The coefficient embedding commutes with the local determinant.

            Read a coefficient at an integer index, returning zero below index zero.

            Equations
            Instances For

              A nonnegative integer-indexed lookup is the ordinary natural-indexed coefficient lookup. This explicit Int.ofNat form is useful for rewriting matrix indices before coercions have been normalized.

              @[simp]

              Coercion notation for the nonnegative integer-indexed coefficient law.

              Integer-indexed coefficient lookup distributes over polynomial addition.

              Default formal degree: zero and nonzero constants both have degree zero.

              Equations
              Instances For
                def Hex.DensePoly.Subresultant.coeffMatrixAt {R : Type u} [Zero R] [DecidableEq R] (df dg J l : Nat) (f g : DensePoly R) :
                SubresultantMinor.Square R (df - J + (dg - J))

                Scalar coefficient matrix at explicit formal degrees. Keeping the degree parameters separate makes coefficient embeddings definitionally dimension-preserving.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def Hex.DensePoly.Subresultant.coeffMinorAt {R : Type u} [Zero R] [DecidableEq R] [One R] [Add R] [Sub R] [Mul R] (df dg J l : Nat) (f g : DensePoly R) :
                  R

                  One scalar coefficient minor at explicit formal degrees.

                  Equations
                  Instances For
                    def Hex.DensePoly.Subresultant.coeffMinor {R : Type u} [Zero R] [DecidableEq R] [One R] [Add R] [Sub R] [Mul R] (J l : Nat) (f g : DensePoly R) :
                    R

                    One scalar coefficient minor of the J-th generalized subresultant.

                    Equations
                    Instances For
                      def Hex.DensePoly.Subresultant.poly {R : Type u} [Zero R] [DecidableEq R] [One R] [Add R] [Sub R] [Mul R] (J : Nat) (f g : DensePoly R) :

                      Generalized Sylvester subresultant, assembled coefficientwise from scalar minors. Its degree is at most J.

                      Equations
                      Instances For
                        @[simp]
                        theorem Hex.DensePoly.Subresultant.coeff_poly {R : Type u} [Zero R] [DecidableEq R] [One R] [Add R] [Sub R] [Mul R] (J : Nat) (f g : DensePoly R) (l : Nat) :
                        (poly J f g).coeff l = if l < J + 1 then coeffMinor J l f g else Zero.zero

                        Coefficient l of the generalized subresultant is the corresponding scalar minor up to index J, and zero above.

                        theorem Hex.DensePoly.Subresultant.poly_size_le {R : Type u} [Zero R] [DecidableEq R] [One R] [Add R] [Sub R] [Mul R] (J : Nat) (f g : DensePoly R) :
                        (poly J f g).size J + 1

                        The coefficient construction stores no terms above subresultant index J.

                        @[simp]

                        Integer-indexed coefficient lookup commutes with the fraction embedding.

                        @[simp]

                        The fraction embedding preserves the default formal degree.

                        A coefficient minor at fixed formal degrees is preserved by the fraction embedding.

                        Every generalized subresultant coefficient is preserved by the fraction embedding.

                        Generalized Sylvester subresultants commute with the polynomial coefficient embedding. In particular, every coefficient of the fraction construction has an explicit base-ring image witness.

                        Coefficients of mapped generalized subresultants lie in the coefficient embedding image.