Lean / Reader
Lean reader

BealSecondDescent.lean

37 lines3 declarationsno sorryimports Mathlib.Tactic.Ring Mathlib.Data.ZMod.Basic
  1. import Mathlib.Tactic.Ring
  2. import Mathlib.Data.ZMod.Basic
  3. /-!
  4. # Round 13: second descent on the cubics of the unit case
  5. * `disc_F`: the binary cubic `F = f u³ + 3e u²v + 3fC uv² + eC v³` has discriminant `-108·C·(e² - Cf²)²`, i.e.
  6. `-108 C` for a unit `e + f√C` of norm `±1`. With the classical formula for the Jacobian of `F(u,v) = λw³`
  7. (`y² = x³ + 16·disc(F)·λ²`), the cubics `F = ±C^{r'} w³` are 3-coverings of `E_{-27 C^r}`, `r = 2r' + 1`.
  8. * `norm_alpha`: the descent map `(x, y) ↦ y - √D` lands in elements of norm `x³`.
  9. * `root_rule`: for `C ≡ 2 (mod 3)`, the condition `φ(C^r) = -1` (`C^r ≡ 5, 7 mod 9`) of the root-number formula
  10. reads `C ≡ 2 (mod 9)` for `r = 5` and `C ≡ 5 (mod 9)` for `r = 1`.
  11. -/
  12. namespace BealSecondDescent
  13. /-- Discriminant of `a x³ + b x² y + c x y² + d y³` with `a = f`, `b = 3e`, `c = 3fC`, `d = eC`. -/
  14. theorem disc_F (e f C : ℤ) :
  15. (3 * e) ^ 2 * (3 * f * C) ^ 2 - 4 * f * (3 * f * C) ^ 3 - 4 * (3 * e) ^ 3 * (e * C)
  16. - 27 * f ^ 2 * (e * C) ^ 2 + 18 * f * (3 * e) * (3 * f * C) * (e * C)
  17. = -108 * C * (e ^ 2 - C * f ^ 2) ^ 2 := by
  18. ring
  19. /-- `N(y - √D) = y² - D = x³` on `y² = x³ + D`. -/
  20. theorem norm_alpha (x y D : ℤ) (h : y ^ 2 = x ^ 3 + D) : y ^ 2 - D = x ^ 3 := by
  21. rw [h]; ring
  22. /-- The root-number condition modulo 9 for `C ≡ 2 (mod 3)`. -/
  23. theorem root_rule : ∀ C : ZMod 9, (C = 2 ∨ C = 5 ∨ C = 8) →
  24. (((C ^ 5 = 5 ∨ C ^ 5 = 7) ↔ C = 2) ∧ ((C = 5 ∨ C = 7) ↔ C = 5)) := by
  25. decide
  26. end BealSecondDescent
  27. #print axioms BealSecondDescent.disc_F
  28. #print axioms BealSecondDescent.root_rule