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.HodgeConjecture.HeckeCycles.Source.ScalarDeterminant |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ScalarTheta |
| 3 | |
| 4 | /-! # Scalar Weights -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ScalarWeights.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The source scalar determinant has its prescribed active exponent |
| 11 | and all compact-place sign exponents, in the original ordered places. -/ |
| 12 | |
| 13 | open scoped Classical BigOperators |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ScalarDeterminant.CM |
| 16 | |
| 17 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 18 | (places : GeometricSource.CM.Places E) (d : Gal(E/ℚ) → Bool) (r : Eˣ) |
| 19 | (hr : (r : E) * ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (r : E) = 1) |
| 20 | |
| 21 | include hr in |
| 22 | theorem conjugate_embedding (τ : Gal(E/ℚ)) : |
| 23 | (((ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) (r : E) : E) : ℂ) = ((τ (r : E) : E) : ℂ)⁻¹ := by |
| 24 | rw [(ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_commute E τ).eq] |
| 25 | change ((τ (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (r : E)) : E) : ℂ) = _ |
| 26 | rw [ScalarTheta.CM.conjugate_eq_inverse E r hr, map_inv₀, IntermediateField.coe_inv] |
| 27 | |
| 28 | include hr in |
| 29 | theorem active_product : (∏ j : Fin 3, ScalarDeterminant.CM.weight E places d r (places.distinguished, j)) = (r : ℂ)⁻¹ := by |
| 30 | have hn : (r : ℂ) ≠ 0 := (map_ne_zero E.val.toRingHom).mpr (Units.ne_zero r) |
| 31 | have h0 : ScalarDeterminant.CM.weight E places d r (places.distinguished, 0) = (r : ℂ) := by |
| 32 | simp [ScalarDeterminant.CM.weight, places.identity] |
| 33 | have hj (j : Fin 3) (hj : j ≠ 0) : ScalarDeterminant.CM.weight E places d r (places.distinguished, j) = |
| 34 | (((ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative places.distinguished) (r : E) : E) : ℂ) := by |
| 35 | simp [ScalarDeterminant.CM.weight, hj] |
| 36 | rw [Fin.prod_univ_three, h0, hj 1 (by decide), hj 2 (by decide), |
| 37 | conjugate_embedding E r hr, places.identity, AlgEquiv.one_apply] |
| 38 | field_simp |
| 39 | |
| 40 | include hr in |
| 41 | theorem compact_product (i : Fin places.count) (hi : i ≠ places.distinguished) : |
| 42 | (∏ j : Fin 3, ScalarDeterminant.CM.weight E places d r (i, j)) = |
| 43 | ((places.representative i (r : E) : E) : ℂ) ^ (-3 * ComplexMultiplication.SignSwitch.CM.signValue (d (places.representative i))) := by |
| 44 | simp only [ScalarDeterminant.CM.weight, ite_eq_right hi] |
| 45 | cases d (places.representative i) |
| 46 | · change (∏ _j : Fin 3, ((places.representative i (r : E) : E) : ℂ)) = |
| 47 | ((places.representative i (r : E) : E) : ℂ) ^ (3 : ℤ) |
| 48 | simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin, zpow_ofNat] |
| 49 | · change (∏ _j : Fin 3, (((ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative i) (r : E) : E) : ℂ)) = |
| 50 | ((places.representative i (r : E) : E) : ℂ) ^ (-3 : ℤ) |
| 51 | rw [conjugate_embedding E r hr] |
| 52 | simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin, zpow_neg, zpow_ofNat, inv_pow] |
| 53 | |
| 54 | include hr in |
| 55 | theorem product : |
| 56 | (∏ p, ScalarDeterminant.CM.weight E places d r p) = (r : ℂ)⁻¹ * |
| 57 | ∏ i ∈ Finset.univ.erase places.distinguished, |
| 58 | ((places.representative i (r : E) : E) : ℂ) ^ (-3 * ComplexMultiplication.SignSwitch.CM.signValue (d (places.representative i))) := by |
| 59 | rw [Fintype.prod_prod_type] |
| 60 | rw [← Finset.mul_prod_erase Finset.univ (fun i => ∏ j : Fin 3, ScalarDeterminant.CM.weight E places d r (i, j)) |
| 61 | (Finset.mem_univ places.distinguished), active_product E places d r hr] |
| 62 | congr 1 |
| 63 | apply Finset.prod_congr rfl |
| 64 | intro i hi |
| 65 | exact compact_product E places d r hr i (Finset.mem_erase.mp hi).1 |
| 66 | |
| 67 | variable {places d} {B : GeometricSource.CM.BallDatum E} (L : GeometricSource.CM.LinePeriod E B places d) |
| 68 | |
| 69 | theorem halfDet_square (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : |
| 70 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.halfDet (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks |
| 71 | (NormOneScalar.CM.scalar E L.coordinates r hr)) (L.period z) ^ 2 = |
| 72 | (r : ℂ)⁻¹ * ∏ i ∈ Finset.univ.erase places.distinguished, |
| 73 | ((places.representative i (r : E) : E) : ℂ) ^ (-3 * ComplexMultiplication.SignSwitch.CM.signValue (d (places.representative i))) := |
| 74 | (ScalarDeterminant.CM.halfDet_square E r L hr z hz).trans (product E places d r hr) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ScalarWeights.CM |