Documentation

BSeries.Algebra.ComputableRatFunc

A computable field of rational functions #

CRatFunc K is the fraction field of the computable polynomial ring CPoly K, realised as a quotient of numerator/denominator pairs by the cross-multiplication relation. All field operations and equality are computable, so identities of rational functions in a generic parameter X can be verified by native_decide.

Sums and products reduce their result by an unverified polynomial gcd whose defining equations are checked by a decidable guard (CRatFunc.reducePair), so the reduction requires no gcd correctness theory while keeping intermediate degrees small.

This is the engine behind the symbolic verification of the parametric EES(2,5;x) and EES(2,7;x) order conditions (arXiv:2507.21006, Section 8; arXiv:2509.20599, Theorems E.1–E.2): instantiating a family at x := X : CRatFunc proves its order conditions at the generic parameter, i.e. as identities of rational functions.

@[reducible, inline]
abbrev BSeries.PreRatFunc (K : Type u) [Field K] [DecidableEq K] :

Fraction representatives: a numerator and a nonzero denominator.

Equations
Instances For
    @[implicit_reducible]

    The cross-multiplication equivalence on fraction representatives.

    Equations
    @[reducible]
    def BSeries.CRatFunc (K : Type u) [Field K] [DecidableEq K] :

    The computable field of rational functions over K.

    Equations
    Instances For
      def BSeries.CRatFunc.mk {K : Type u} [Field K] [DecidableEq K] (p q : CPoly K) (hq : q 0) :

      Build a rational function from a raw representative pair.

      Equations
      Instances For
        theorem BSeries.CRatFunc.mk_eq_mk {K : Type u} [Field K] [DecidableEq K] {p₁ q₁ p₂ q₂ : CPoly K} {h₁ : q₁ 0} {h₂ : q₂ 0} :
        mk p₁ q₁ h₁ = mk p₂ q₂ h₂ p₁ * q₂ = p₂ * q₁
        @[implicit_reducible]
        Equations
        @[implicit_reducible]
        Equations
        @[implicit_reducible]
        Equations

        Reduction by a runtime-checked gcd #

        Cancel the (unverified) gcd of numerator and denominator; the guard checks the defining equations of the division, so the result represents the same fraction with no gcd correctness theory required.

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

          Arithmetic #

          Raw sum of representatives.

          Equations
          Instances For

            Raw product of representatives.

            Equations
            Instances For

              Raw negation of a representative.

              Equations
              Instances For
                @[implicit_reducible]
                Equations
                • One or more equations did not get rendered due to their size.
                @[implicit_reducible]
                Equations
                • One or more equations did not get rendered due to their size.
                @[implicit_reducible]
                Equations
                theorem BSeries.CRatFunc.mk_eq_zero {K : Type u} [Field K] [DecidableEq K] {p q : CPoly K} {hq : q 0} :
                mk p q hq = 0 p = 0

                A fraction is zero iff its numerator is zero.

                @[implicit_reducible]
                Equations
                • One or more equations did not get rendered due to their size.
                theorem BSeries.CRatFunc.inv_mk {K : Type u} [Field K] [DecidableEq K] {p q : CPoly K} (hq : q 0) (hp : p 0) :
                (mk p q hq)⁻¹ = mk q p hp
                @[implicit_reducible]

                The field structure: all axioms are cross-multiplication identities in the computable polynomial domain CPoly K.

                Equations

                The generic parameter.

                Equations
                Instances For
                  def BSeries.CRatFunc.C {K : Type u} [Field K] [DecidableEq K] (c : K) :

                  Embed a constant.

                  Equations
                  Instances For

                    The embedding of polynomials, as a ring homomorphism.

                    Equations
                    Instances For