Documentation

RadiiPolynomial.TaylorODE.Example_7_7_Dyadic

Numerical Verification for Example 7.7 using Dyadic Rationals #

This file connects the rigorous dyadic interval arithmetic verification to the abstract existence theorem from Example_7_7.lean.

Structure #

  1. Dyadic utilities: invAtPrec for division with precision control
  2. Interval bounds: Dyadic enclosures for √3, ā₀, ā₁, ā₂, and derived quantities
  3. Concrete instantiation: Definition of example_sol and example_A using Rat values
  4. Connection lemmas: Proofs that abstract bounds ≤ dyadic upper bounds
  5. Main theorem: example_7_7_existence applying existence_theorem

Mathematical Setup #

For λ₀ = 1/3, ν = 1/4, N = 2:

We verify p(r₀) < 0 for r₀ ≈ 0.1 using interval arithmetic.

def Dyadic.invAtPrec (x : Dyadic) (prec : ) :

Inverts a dyadic number at a given (maximum) precision. Returns the greatest dyadic with precision ≤ prec that is ≤ 1/x.

Equations
Instances For

    Rational Computation #

    All numerical verification in ℚ, cast to ℝ only for the abstract theorem.

    Precision for dyadic 1/3 approximation

    Equations
    Instances For

      Input values (all ℚ) #

      F(ā) computation #

      A·F(ā) computation #

      Y₀ bound #

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

        DF(ā) and Z₀ bound #

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

            Z₁ bound #

            Z₂ bound #

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

              Radii polynomial #

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

                The radii polynomial is negative

                r₀ is positive

                Connection to Abstract Theorem #

                We connect the rational computation to the abstract ℝ theorem using bounds.

                The weight ν = 1/4 as a PosReal

                Equations
                Instances For

                  The weight as a PosRat for reflection

                  Equations
                  Instances For

                    The matrix as ℚ for reflection

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

                      The approximate inverse matrix

                      Equations
                      Instances For

                        Padded bound constants (simple rationals, slightly larger than computed) #

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

                                Bound verification lemmas #

                                Y₀_bound ≤ Y₀_pad (abstract bound ≤ padded constant)

                                The abstract Y₀_bound involves:

                                • Matrix-vector product A · F(ā)
                                • Cauchy products (convolutions) via lpWeighted wrappers
                                • Weighted sums with ν^n factors

                                The computational verification is complete:

                                • Y₀ is computed exactly in ℚ (native_decide)
                                • Y₀ ≤ Y₀_pad verified by native_decide

                                The bridging (abstract ℝ = computed ℚ) requires either:

                                1. Custom reflection tactic for lpWeighted
                                2. Refactoring abstract defs to be computable on ℚ inputs

                                Mathematically trivial, tedious in Lean due to lpWeighted wrappers.

                                Z₀_bound ≤ Z₀_pad

                                Z₀ = ‖I - A·DF‖_{1,ν} involves finWeightedMatrixNorm (Finset.sup' over columns). Computed exactly in ℚ, verified Z₀ ≤ Z₀_pad by native_decide.

                                Z₂_bound ≤ Z₂_pad

                                Z₂ = 2·max(‖A‖_{1,ν}, 1/(2|ā₀|)) involves finWeightedMatrixNorm. Computed exactly in ℚ, verified Z₂ ≤ Z₂_pad by native_decide.

                                Radii polynomial verification #

                                The abstract radii polynomial is bounded by radiiPoly_pad.

                                p(r) = Z₂r² - (1 - Z₀ - Z₁)r + Y₀

                                Monotonicity: increasing Z₂, Z₀, Z₁, Y₀ increases p(r) for r ≥ 0:

                                • Z₂ ↑ ⟹ Z₂r² ↑ (r² ≥ 0)
                                • Z₀, Z₁ ↑ ⟹ -(1 - Z₀ - Z₁)r ↑ (r ≥ 0)
                                • Y₀ ↑ ⟹ Y₀ ↑

                                Main Existence Theorem #

                                Main Theorem: Existence and uniqueness of Taylor series solution for x² - λ = 0.

                                For λ₀ = 1/3, N = 2, and weight ν = 1/4, there exists a unique sequence ã ∈ ℓ¹_ν within distance r₀ ≈ 0.1 of the approximate solution ā such that F(ã) = ã ⋆ ã - c = 0.