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.ThetaCycle.CMGlobalFrames |
| 2 | |
| 3 | /-! # One Frames -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Multiplicity.OneFrames.Quadratic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual rational and local AdelicSplitting frames for one CM multiplicity line. |
| 10 | The skew coefficient retains the sign and factor two required by the |
| 11 | native rational trace pairing. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CMGlobalFrames.CM |
| 15 | |
| 16 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsCMField E] |
| 17 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) |
| 18 | (b : E) (hb : IsCMField.complexConj E b = b) (hb0 : b ≠ 0) |
| 19 | (a : E) (ha : IsCMField.complexConj E a = a) (ha0 : a ≠ 0) |
| 20 | |
| 21 | def singleRealCoefficient : Fin 1 → maximalRealSubfield E := |
| 22 | fun _ => ⟨a, (IsCMField.complexConj_eq_self_iff E a).mp ha⟩ |
| 23 | |
| 24 | include ha0 in |
| 25 | theorem singleRealCoefficient_ne_zero (i : Fin 1) : singleRealCoefficient E a ha i ≠ 0 := by |
| 26 | intro h |
| 27 | exact ha0 (congrArg (fun x : maximalRealSubfield E => (x : E)) h) |
| 28 | |
| 29 | def singleSkewUnit : |
| 30 | (Matrix (Fin 1) (Fin 1) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (maximalRealSubfield E) (ThetaCycle.QuadraticModel.CM.cmQuadraticParameter E δ hδ)))ˣ := |
| 31 | ThetaCycle.DiagonalFrame.CM.diagonalSkewUnit _ (ThetaCycle.QuadraticModel.CM.cm_quadratic_parameter_ne_zero E δ hδ hδ0) |
| 32 | (singleRealCoefficient E a ha) (singleRealCoefficient_ne_zero E a ha ha0) |
| 33 | |
| 34 | theorem singleSkewUnit_conjTranspose : |
| 35 | (singleSkewUnit E δ hδ hδ0 a ha ha0).val.conjTranspose = |
| 36 | -(singleSkewUnit E δ hδ hδ0 a ha ha0).val := |
| 37 | ThetaCycle.DiagonalFrame.CM.diagonal_skew_conjugateTranspose _ _ |
| 38 | |
| 39 | def singleGlobalFrames : |
| 40 | RepresentationTheory.Weil.AdelicSplitting.Assembly.Construction.GlobalFrames (maximalRealSubfield E) (ThetaCycle.QuadraticModel.CM.cmQuadraticParameter E δ hδ) 3 1 |
| 41 | (ThetaCycle.CMGlobalFrames.CM.cmHermitianUnit E δ hδ b hb hb0) (singleSkewUnit E δ hδ hδ0 a ha ha0) := |
| 42 | ThetaCycle.GlobalFrames.CM.diagonalGlobalFrames _ _ (ThetaCycle.QuadraticModel.CM.cm_quadratic_parameter_ne_zero E δ hδ hδ0) |
| 43 | (ThetaCycle.UnitaryFrame.CM.realHermitianCoefficients E b hb) (ThetaCycle.CMGlobalFrames.CM.real_hermitian_coefficients_ne_zero E b hb hb0) |
| 44 | (singleRealCoefficient E a ha) (singleRealCoefficient_ne_zero E a ha ha0) |
| 45 | |
| 46 | theorem singleSkewUnit_evaluation (i j : Fin 1) : |
| 47 | ThetaCycle.QuadraticModel.CM.cmQuadraticEquiv E δ hδ hδ0 ((singleSkewUnit E δ hδ hδ0 a ha ha0).val i j) = |
| 48 | (Matrix.diagonal (fun _ : Fin 1 => -2 * δ * a)) i j := by |
| 49 | have hij : i = j := Subsingleton.elim _ _ |
| 50 | subst j |
| 51 | simp only [singleSkewUnit, ThetaCycle.DiagonalFrame.CM.diagonalSkewUnit, ThetaCycle.DiagonalFrame.CM.diagonalMatrixUnit, Matrix.diagonal_apply_eq] |
| 52 | change ThetaCycle.QuadraticModel.CM.cmQuadraticEquiv E δ hδ hδ0 |
| 53 | (⟨0, -2 * singleRealCoefficient E a ha i⟩ : |
| 54 | RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (maximalRealSubfield E) (ThetaCycle.QuadraticModel.CM.cmQuadraticParameter E δ hδ)) = -2 * δ * a |
| 55 | change ThetaCycle.QuadraticModel.CM.cmQuadraticMap E δ hδ _ = -2 * δ * a |
| 56 | rw [ThetaCycle.QuadraticModel.CM.cm_quadratic_map_apply] |
| 57 | change (0 : E) + (-2 * a) * δ = -2 * δ * a |
| 58 | ring |
| 59 | |
| 60 | theorem singleGlobalFrames_compatible |
| 61 | (v : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Places (maximalRealSubfield E)) |
| 62 | (x : RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (ThetaCycle.QuadraticModel.CM.cmQuadraticParameter E δ hδ) 3 1) |
| 63 | (i : Fin (3 * 1) ⊕ Fin (3 * 1)) : |
| 64 | ((singleGlobalFrames E δ hδ hδ0 b hb hb0 a ha ha0).localFrame v).coordinates |
| 65 | (fun j => RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.rationalQuadraticLocal (maximalRealSubfield E) (ThetaCycle.QuadraticModel.CM.cmQuadraticParameter E δ hδ) v (x j)) i = |
| 66 | RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar (maximalRealSubfield E) v |
| 67 | ((singleGlobalFrames E δ hδ hδ0 b hb hb0 a ha ha0).rational.coordinates x i) := |
| 68 | (singleGlobalFrames E δ hδ hδ0 b hb hb0 a ha ha0).coordinates_compatible v x i |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Multiplicity.OneFrames.Quadratic |