Grace/Cumulus/Geometry/Construction/Descent.g17
Imports
Grace.Cumulus.Algebra.Field.CubicConjugation · Grace.Cumulus.Geometry.Construction.Tower
Declarations
- cubic.tower_descent_all theorem derivation
- cubic.tower_descent theorem derivation
- cubic.constructible_root_rational theorem derivation
Source
1-- Descent of a cubic root through a quadratic tower: a rational cubic with2-- a root in a tower field has a rational root, so a constructible root3-- forces a rational one.4-- Part of Cumulus, the Grace17 mathematics library.5-- Copyright (c) 2026 Grant Passmore.6-- Released under the Apache License 2.0. See LICENSE in the repository root.7-- Authors: Grant Passmore89module Grace.Cumulus.Geometry.Construction.Descent10import Grace.Cumulus.Algebra.Field.CubicConjugation11import Grace.Cumulus.Geometry.Construction.Tower1213-- Descent through a tower1415-- Induction on ds with cubic.root_descends at each level, the root16-- quantified inside the conclusion so that the descended root feeds the17-- induction hypothesis; the coefficients lie in every tower field by18-- towerField.rationals.19theorem cubic.tower_descent_all (ds : List(ℝ)) (a b c : Real)20 requires tower : QuadraticTower(ds)21 requires aIn : a ∈ rationalReals22 requires bIn : b ∈ rationalReals23 requires cIn : c ∈ rationalReals24 shows ∀ r ∈ towerField(ds),25 cubic(a, b, c, (r:R)) = 0 → (∃ s ∈ rationalReals, cubic(a, b, c, s) = 0)26proof27 induction ds28 | List.nil =>29 intros tower r rIn root30 rw towerField.nil at rIn31 exact ⟨r, rIn, root⟩32 | List.cons(d, tail) using ih =>33 intros tower r rIn root34 have below := QuadraticTower.tail with tower35 obtain ⟨dIn, dNonneg⟩ := QuadraticTower.head with tower36 have field := towerField.subfield with below37 have rationals := towerField.rationals with below38 have aUp := rationals with a, aIn39 have bUp := rationals with b, bIn40 have cUp := rationals with c, cIn41 rw towerField.cons at rIn42 have bounded := adjoinSqrt.subset_reals at towerField(tail), d43 have rReal := bounded with r, rIn44 obtain ⟨s, sIn, sRoot⟩ := cubic.root_descends45 with field, dIn, dNonneg, aUp, bUp, cUp, rIn, root46 have inner := ih with below47 exact inner with s, sIn, sRoot4849theorem cubic.tower_descent (ds : List(ℝ)) (a b c r : Real)50 requires tower : QuadraticTower(ds)51 requires aIn : a ∈ rationalReals52 requires bIn : b ∈ rationalReals53 requires cIn : c ∈ rationalReals54 requires rIn : r ∈ towerField(ds)55 requires root : cubic(a, b, c, r) = 056 shows ∃ s ∈ rationalReals, cubic(a, b, c, s) = 057proof58 have all := cubic.tower_descent_all with tower, aIn, bIn, cIn59 exact all with r, rIn, root6061-- The constructible case6263theorem cubic.constructible_root_rational (a b c r : Real)64 requires aIn : a ∈ rationalReals65 requires bIn : b ∈ rationalReals66 requires cIn : c ∈ rationalReals67 requires rC : Constructible(r)68 requires root : cubic(a, b, c, r) = 069 shows ∃ s ∈ rationalReals, cubic(a, b, c, s) = 070proof71 obtain ⟨ds, dsList, tower, rIn⟩ := Constructible.in_tower with rC72 exact cubic.tower_descent with tower, aIn, bIn, cIn, rIn, root73