Certified Trigonometric Envelopes and Phase Reduction
Abstract
Reusable certified-numerics infrastructure for the L2b layer of the G-c certificate: sharp trigonometric envelopes, exact golden floors, algorithmic phase reduction, and coordinatewise finite-sum bounds.
This is the L2b infrastructure layer preregistered in addendum thirty-four. It proves no numerical assertion about the candidate zero, and it makes no claim about the Riemann hypothesis.
Theorem 1.1 (Sharp any-order cosine envelope).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.abs_cos_sub_partial_le (✓ std3). ∎
Source. Repository-derived.
Commentary.
For every order n and every real x with absolute value at most one, the cosine Taylor error is bounded by the absolute value of the next term. This is the sharp alternating-series remainder, obtained from coefficient antitonicity and Mathlib’s alternating-series error theorem.
Theorem 1.2 (Sharp any-order sine envelope).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.abs_sin_sub_partial_le (✓ std3). ∎
Source. Repository-derived.
Commentary.
The analogous sharp next-term bound holds at every order for sine. The proof handles nonnegative x by the alternating series and transports the result across the odd symmetry of sine.
Theorem 1.3 (An enclosed phase has an exact periodic representative).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.exists_reduced_phase (✓ std3). ∎
Source. Repository-derived.
Commentary.
This generic bridge consumes an already certified exact-pi residual bound and produces the reduced representative. The rational decision theorem below computes the index and supplies that bound.
Theorem 1.4 (The rational pi approximation has certified error).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.abs_pi_sub_piApprox_lt (✓ std3). ∎
Source. Repository-derived.
Commentary.
The rational value 314159265358979323846 divided by 10 to the twentieth is within 10 to the minus nineteenth of pi. The proof uses Mathlib’s pinned twenty-decimal lower and upper bounds for pi.
Theorem 1.5 (A rational interval computes a two-pi phase index).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.exists_reduced_phase_of_rat (✓ std3). ∎
Source. Repository-derived.
Commentary.
The computable phaseIndex is the rational floor of a divided by twice piApprox plus one half. A decidable rational residual certificate, together with the size bound on a, absorbs the approximation error and produces an exact representative of absolute value at most one.
Theorem 1.6 (A rational interval computes a sign-changing pi phase index).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.exists_reduced_phase_pi_of_rat (✓ std3). ∎
Source. Repository-derived.
Commentary.
The companion phaseIndexPi uses rational nearest-integer arithmetic at period pi. It covers phases such as the golden germ’s first mode, whose reduced representative differs by three pi, and records the exact cosine and sine sign factors.
Theorem 1.7 (Real-coordinate interval accumulation).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.sum_re_le_of_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
Lower and upper bounds are accumulated term by term with Finset.sum_le_sum. This atom-required bridge supports the L2c finite certificate and does not require positive summands.
Theorem 1.8 (Imaginary-coordinate interval accumulation).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.sum_im_le_of_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
The same atom-required mixed-sign finite-sum enclosure is available independently in the imaginary coordinate for the L2c consumer.
Theorem 1.9 (Coordinate bounds imply an additive complex norm bound).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.norm_le_of_re_im_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
This named bind-only companion connects coordinate intervals to Mathlib’s complex norm inequality. Its directed consumer is the L2c theorem g60_center_norm_lt.
Theorem 1.10 (The first sixty-one golden floors are exact).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.o5Beta_floor_table (✓ std3). ∎
Source. Repository-derived.
Commentary.
The displayed table is exactly floor((v+1) phi) for every v from zero through sixty. Each entry follows from the rational enclosure 1.618033 < phi < 1.618034, derived from the defining square root.
Theorem 1.11 (The golden exponent has its table-driven affine form).
Proof. Machine-checked in Lean as D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.o5Beta_eq_affine (✓ std3). ∎
Source. Repository-derived.
Commentary.
On the certified range, the exact floor table converts the frozen golden exponent into an affine expression. The proof connects to the independently frozen closed form through floor plus fractional part, so the table definition is not a tautological carrier.
References
- Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.abs_cos_sub_partial_le - Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.abs_pi_sub_piApprox_lt - Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.abs_sin_sub_partial_le - Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.exists_reduced_phase - Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.exists_reduced_phase_of_rat - Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.exists_reduced_phase_pi_of_rat - Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.norm_le_of_re_im_bounds - Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.o5Beta_eq_affine - Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.o5Beta_floor_table - Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.sum_im_le_of_bounds - Truth anchor:
D5/S3/Analytic/Certified/TrigEnvelopePhaseReduction.sum_re_le_of_bounds