Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.NumberTheory.Quaternion.Arithmetic.QuadraticNewton |
| 2 | |
| 3 | /-! # Local Square Root -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.LocalSquareRoot |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Quadratic Hensel lifting in a complete ultrametric field, proved |
| 10 | by a contraction on a closed ball. -/ |
| 11 | |
| 12 | open scoped Classical NNReal |
| 13 | open Set |
| 14 | |
| 15 | variable {K : Type*} [NormedField K] [IsUltrametricDist K] [CompleteSpace K] |
| 16 | |
| 17 | theorem exists_local_square_root (a c : K) (ha : ‖a‖ = 1) (h2 : ‖(2 : K)‖ = 1) |
| 18 | (herr : ‖a ^ 2 - c‖ < 1) : ∃ x : K, x ^ 2 = c ∧ ‖x - a‖ ≤ ‖a ^ 2 - c‖ := by |
| 19 | let S : Set K := {x | ‖x - a‖ ≤ ‖a ^ 2 - c‖} |
| 20 | have hS : IsClosed S := isClosed_le (continuous_norm.comp (continuous_id.sub continuous_const)) |
| 21 | continuous_const |
| 22 | let : CompleteSpace S := hS.isComplete.completeSpace_coe |
| 23 | have haS : a ∈ S := by |
| 24 | change ‖a - a‖ ≤ ‖a ^ 2 - c‖ |
| 25 | simpa only [sub_self, norm_zero] using norm_nonneg (a ^ 2 - c) |
| 26 | let : Nonempty S := ⟨⟨a, haS⟩⟩ |
| 27 | let T : S → S := fun x => ⟨QuadraticNewton.quadraticNewton a c x.val, |
| 28 | QuadraticNewton.quadraticNewton_maps_ball a c ha h2 herr x.property⟩ |
| 29 | let r : ℝ≥0 := ⟨‖a ^ 2 - c‖, norm_nonneg _⟩ |
| 30 | have hT : ContractingWith r T := by |
| 31 | refine ⟨?_, LipschitzWith.of_dist_le_mul (fun x y => ?_)⟩ |
| 32 | · exact herr |
| 33 | · change dist (QuadraticNewton.quadraticNewton a c x.val) (QuadraticNewton.quadraticNewton a c y.val) ≤ |
| 34 | ‖a ^ 2 - c‖ * dist x.val y.val |
| 35 | rw [dist_eq_norm, dist_eq_norm] |
| 36 | exact QuadraticNewton.quadraticNewton_norm_difference a c ha h2 x.property y.property |
| 37 | let x := ContractingWith.fixedPoint T hT |
| 38 | have hfixed : T x = x := hT.fixedPoint_isFixedPt |
| 39 | have heq : x.val - (x.val ^ 2 - c) / (2 * a) = x.val := congrArg Subtype.val hfixed |
| 40 | have ha₀ : a ≠ 0 := by intro h; simp [h] at ha |
| 41 | have h2₀ : (2 : K) ≠ 0 := by intro h; simp [h] at h2 |
| 42 | have hzero : (x.val ^ 2 - c) / (2 * a) = 0 := sub_eq_self.mp heq |
| 43 | have hnum : x.val ^ 2 - c = 0 := (div_eq_zero_iff).mp hzero |>.resolve_right (mul_ne_zero h2₀ ha₀) |
| 44 | exact ⟨x.val, sub_eq_zero.mp hnum, x.property⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.Quaternion.Arithmetic.LocalSquareRoot |