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.GlobalFrames |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.UnitaryFrame |
| 3 | |
| 4 | /-! # CM Global Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CMGlobalFrames.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ThetaCycle: native adelic frame data from the actual CM ball and multiplicity coefficients. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 14 | |
| 15 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [NumberField.IsCMField K] |
| 16 | |
| 17 | theorem real_hermitian_coefficients_ne_zero (β : K) |
| 18 | (hβ : NumberField.IsCMField.complexConj K β = β) (hβ0 : β ≠ 0) : |
| 19 | ∀ j, UnitaryFrame.CM.realHermitianCoefficients K β hβ j ≠ 0 := by |
| 20 | intro j |
| 21 | by_cases hj : j = 2 |
| 22 | · simp only [UnitaryFrame.CM.realHermitianCoefficients, hj, ite_true] |
| 23 | intro hzero |
| 24 | exact hβ0 (congrArg (fun x : NumberField.maximalRealSubfield K => (x : K)) hzero) |
| 25 | · simp [UnitaryFrame.CM.realHermitianCoefficients, hj] |
| 26 | |
| 27 | theorem real_multiplicity_coefficients_ne_zero (a : Fin 2 → K) |
| 28 | (ha : ∀ i, NumberField.IsCMField.complexConj K (a i) = a i) (ha0 : ∀ i, a i ≠ 0) : |
| 29 | ∀ i, UnitaryFrame.CM.realMultiplicityCoefficients K a ha i ≠ 0 := by |
| 30 | intro i hzero |
| 31 | exact ha0 i (congrArg (fun x : NumberField.maximalRealSubfield K => (x : K)) hzero) |
| 32 | |
| 33 | variable (δ : K) (hδ : NumberField.IsCMField.complexConj K δ = -δ) (hδ0 : δ ≠ 0) |
| 34 | |
| 35 | def cmHermitianUnit (β : K) |
| 36 | (hβ : NumberField.IsCMField.complexConj K β = β) (hβ0 : β ≠ 0) : |
| 37 | (Matrix (Fin 3) (Fin 3) |
| 38 | (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (NumberField.maximalRealSubfield K) |
| 39 | (QuadraticModel.CM.cmQuadraticParameter K δ hδ)))ˣ := |
| 40 | DiagonalFrame.CM.diagonalHermitianUnit _ (UnitaryFrame.CM.realHermitianCoefficients K β hβ) |
| 41 | (real_hermitian_coefficients_ne_zero K β hβ hβ0) |
| 42 | |
| 43 | def cmSkewUnit (a : Fin 2 → K) |
| 44 | (ha : ∀ i, NumberField.IsCMField.complexConj K (a i) = a i) (ha0 : ∀ i, a i ≠ 0) : |
| 45 | (Matrix (Fin 2) (Fin 2) |
| 46 | (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (NumberField.maximalRealSubfield K) |
| 47 | (QuadraticModel.CM.cmQuadraticParameter K δ hδ)))ˣ := |
| 48 | DiagonalFrame.CM.diagonalSkewUnit _ (QuadraticModel.CM.cm_quadratic_parameter_ne_zero K δ hδ hδ0) |
| 49 | (UnitaryFrame.CM.realMultiplicityCoefficients K a ha) (real_multiplicity_coefficients_ne_zero K a ha ha0) |
| 50 | |
| 51 | theorem cm_hermitian_unit_val (β : K) |
| 52 | (hβ : NumberField.IsCMField.complexConj K β = β) (hβ0 : β ≠ 0) : |
| 53 | (cmHermitianUnit K δ hδ β hβ hβ0).val = QuadraticTensor.CM.quadraticHermitianMatrix K δ hδ hδ0 β := |
| 54 | (UnitaryFrame.CM.quadratic_hermitian_matrix_real K δ hδ hδ0 β hβ).symm |
| 55 | |
| 56 | theorem cm_skew_unit_val (a : Fin 2 → K) |
| 57 | (ha : ∀ i, NumberField.IsCMField.complexConj K (a i) = a i) (ha0 : ∀ i, a i ≠ 0) : |
| 58 | (cmSkewUnit K δ hδ hδ0 a ha ha0).val = QuadraticTensor.CM.quadraticSkewMatrix K δ hδ hδ0 a := |
| 59 | (UnitaryFrame.CM.quadratic_skew_matrix_real K δ hδ hδ0 a ha).symm |
| 60 | |
| 61 | /-- The required compatible frames are constructed over the actual maximal |
| 62 | real subfield, including every split and nonsplit completion. -/ |
| 63 | def cmGlobalFrames (β : K) |
| 64 | (hβ : NumberField.IsCMField.complexConj K β = β) (hβ0 : β ≠ 0) |
| 65 | (a : Fin 2 → K) (ha : ∀ i, NumberField.IsCMField.complexConj K (a i) = a i) |
| 66 | (ha0 : ∀ i, a i ≠ 0) : |
| 67 | RepresentationTheory.Weil.AdelicSplitting.Assembly.Construction.GlobalFrames (NumberField.maximalRealSubfield K) |
| 68 | (QuadraticModel.CM.cmQuadraticParameter K δ hδ) 3 2 |
| 69 | (cmHermitianUnit K δ hδ β hβ hβ0) (cmSkewUnit K δ hδ hδ0 a ha ha0) := |
| 70 | GlobalFrames.CM.diagonalGlobalFrames _ _ (QuadraticModel.CM.cm_quadratic_parameter_ne_zero K δ hδ hδ0) |
| 71 | (UnitaryFrame.CM.realHermitianCoefficients K β hβ) (real_hermitian_coefficients_ne_zero K β hβ hβ0) |
| 72 | (UnitaryFrame.CM.realMultiplicityCoefficients K a ha) (real_multiplicity_coefficients_ne_zero K a ha ha0) |
| 73 | |
| 74 | def lagrangianGlobalFrames [IsGalois ℚ K] {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 75 | {d : Fin 2 → Fin places.count → Bool} (P : Lagrangians.CM.LagrangianPair K B places d) : |
| 76 | RepresentationTheory.Weil.AdelicSplitting.Assembly.Construction.GlobalFrames (NumberField.maximalRealSubfield K) |
| 77 | (QuadraticModel.CM.cmQuadraticParameter K P.delta P.delta_imaginary) 3 2 |
| 78 | (cmHermitianUnit K P.delta P.delta_imaginary B.b B.conjugate_b |
| 79 | (fun hb => (ne_of_lt B.negative) (by simp [hb]))) |
| 80 | (cmSkewUnit K P.delta P.delta_imaginary P.delta_ne_zero P.a |
| 81 | (fun i => (P.a_sign i).2.1) (fun i => (P.a_sign i).1)) := |
| 82 | cmGlobalFrames K P.delta P.delta_imaginary P.delta_ne_zero B.b B.conjugate_b |
| 83 | (fun hb => (ne_of_lt B.negative) (by simp [hb])) P.a |
| 84 | (fun i => (P.a_sign i).2.1) (fun i => (P.a_sign i).1) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CMGlobalFrames.CM |