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.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DegreeTwoFixedScalars |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.QuaternionNormUniversality |
| 3 | import OAI.Geometry.ComplexBall.Archimedean |
| 4 | |
| 5 | /-! # Degree Two Exclusion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Degree two is incompatible with the reference datum's anisotropy. |
| 12 | The original imaginary scalar supplies the quadratic generator, and the |
| 13 | proved rational norm theorem supplies an isotropic vector with last |
| 14 | coordinate one in the original diagonal Hermitian space. -/ |
| 15 | |
| 16 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 17 | [NumberField.IsCMField E] |
| 18 | |
| 19 | theorem Datum.RankThreePELDatum.not_degree_two {s : ℕ} (P : Datum.RankThreePELDatum E s) |
| 20 | (hP : P.IsAdmissible) (hdegree : Module.finrank ℚ E = 2) : False := by |
| 21 | let δ := P.imaginaryScalar |
| 22 | have hδ0 : δ ≠ 0 := hP.2.2.2.2.2.2.1 |
| 23 | have hδ : NumberField.IsCMField.complexConj E δ = -δ := hP.2.2.2.2.2.2.2.1 |
| 24 | have hδsq : NumberField.IsCMField.complexConj E (δ^2) = δ^2 := by |
| 25 | rw [map_pow, hδ, neg_sq] |
| 26 | have hδneg : (P.μ (δ^2)).re < 0 := by |
| 27 | have he := Geometry.ComplexBall.Archimedean.ArithmeticQuotient.imaginary_embedding_im_sq δ hδ P.μ |
| 28 | change (P.μ δ).im^2 = -(P.μ (δ^2)).re at he |
| 29 | have hp := sq_pos_of_ne_zero (Geometry.ComplexBall.Archimedean.ArithmeticQuotient.imaginary_embedding_im_ne_zero δ hδ hδ0 P.μ) |
| 30 | linarith |
| 31 | obtain ⟨r, hr, hrE⟩ := DegreeTwoFixedScalars.cmNegativeFixedScalar_isNegativeRational_of_degree_two |
| 32 | hdegree (δ^2) hδsq P.μ hδneg |
| 33 | obtain ⟨b, hb, hbE⟩ := P.rational_negative_b_of_degree_two hP hdegree |
| 34 | obtain ⟨x₁, x₂, y₁, y₂, hn⟩ := |
| 35 | QuaternionNormUniversality.PositiveQuaternionNorm.exists_weighted_four_squares (-r) (-b) |
| 36 | (neg_pos.mpr hr) (neg_pos.mpr hb) |
| 37 | let f := algebraMap ℚ E |
| 38 | have hnorm (x y : ℚ) : |
| 39 | (f x + δ * f y) * NumberField.IsCMField.complexConj E (f x + δ * f y) = |
| 40 | f (x^2 - r * y^2) := by |
| 41 | have hx : NumberField.IsCMField.complexConj E (f x) = f x := |
| 42 | (NumberField.IsCMField.complexConj E).toRingHom.map_rat_algebraMap x |
| 43 | have hy : NumberField.IsCMField.complexConj E (f y) = f y := |
| 44 | (NumberField.IsCMField.complexConj E).toRingHom.map_rat_algebraMap y |
| 45 | calc |
| 46 | _ = (f x)^2 - δ^2 * (f y)^2 := by |
| 47 | rw [map_add, map_mul, hx, hy, hδ] |
| 48 | ring |
| 49 | _ = f (x^2 - r * y^2) := by |
| 50 | rw [← hrE] |
| 51 | simp only [map_sub, map_pow, map_mul, f] |
| 52 | let v : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E := ![f x₁ + δ * f y₁, f x₂ + δ * f y₂, 1] |
| 53 | have hv : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian P.b v v = 0 := by |
| 54 | have he : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian P.b v v = |
| 55 | (f x₁ + δ * f y₁) * NumberField.IsCMField.complexConj E (f x₁ + δ * f y₁) + |
| 56 | (f x₂ + δ * f y₂) * NumberField.IsCMField.complexConj E (f x₂ + δ * f y₂) + |
| 57 | P.b := by |
| 58 | simp [NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian, v, Fin.sum_univ_three] |
| 59 | rw [he, hnorm, hnorm, ← hbE] |
| 60 | change f (x₁^2 - r * y₁^2) + f (x₂^2 - r * y₂^2) + f b = 0 |
| 61 | rw [← map_add, ← map_add] |
| 62 | have hn' : (x₁^2 - r * y₁^2) + (x₂^2 - r * y₂^2) + b = 0 := by |
| 63 | nlinarith [hn] |
| 64 | rw [hn', map_zero] |
| 65 | have hz := hP.2.2.2.2.2.1 v hv |
| 66 | have hlast := congrFun hz (2 : Fin 3) |
| 67 | change (1 : E) = 0 at hlast |
| 68 | exact one_ne_zero hlast |
| 69 | |
| 70 | theorem Datum.RankThreePELDatum.one_lt_of_admissible {s : ℕ} (P : Datum.RankThreePELDatum E s) |
| 71 | (hP : P.IsAdmissible) (hdegree : Module.finrank ℚ E = 2 * s) : 1 < s := by |
| 72 | have hs : 0 < s := (Nat.zero_le P.distinguished.val).trans_lt P.distinguished.isLt |
| 73 | by_contra hle |
| 74 | have hs1 : s = 1 := by omega |
| 75 | exact P.not_degree_two hP (by simpa only [hs1, mul_one] using hdegree) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |