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.ConcreteApproximationIntrinsicArithmetic |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CoefficientSourceFrame |
| 3 | |
| 4 | /-! # Concrete Line Lagrangian Pair -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ConcreteLineLagrangianPair.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Each actual rational approximation gives a Lagrangian pair with |
| 11 | its original trace scalar and its actual two multiplicity norms. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 15 | |
| 16 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [NumberField.IsCMField K] [IsGalois ℚ K] |
| 17 | {v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)} {Nbase : ℕ} |
| 18 | (D : PeriodTotal.CM.FourPeriodSetup K v Nbase) {ε : ℝ} |
| 19 | (A : PeriodTotal.CM.RationalPeriodApproximation K v D.ball D.places D.pair ε) |
| 20 | (hid : ∀ i, (v i).val 1 = true) |
| 21 | |
| 22 | include hid |
| 23 | |
| 24 | theorem exists_actual_approximation_lagrangian_pair : |
| 25 | ∃ Q : Lagrangians.CM.LagrangianPair K D.ball D.places |
| 26 | (fun j τ => FourSplittings.CM.newThetaSigns K v j (D.places.representative τ)), |
| 27 | Q.delta = D.pair.delta ∧ Q.a = ConcreteApproximationIntrinsicArithmetic.CM.approximationNativeCoefficients K D A ∧ |
| 28 | ∀ j, (A.periods j).coordinates.a = Q.a j ∧ (A.periods j).coordinates.delta = Q.delta := by |
| 29 | have hμ := ConcreteApproximationIntrinsicArithmetic.CM.approximation_native_active_signs K D hid |
| 30 | have hs : ∀ j τ, if τ = D.places.distinguished ∨ FourSplittings.CM.newThetaSigns K v j (D.places.representative τ) = true |
| 31 | then (HeckeCycles.ReferenceDatum.CM.embeddings K D.places τ (D.pair.delta * ConcreteApproximationIntrinsicArithmetic.CM.approximationNativeCoefficients K D A j)).im < 0 |
| 32 | else 0 < (HeckeCycles.ReferenceDatum.CM.embeddings K D.places τ (D.pair.delta * ConcreteApproximationIntrinsicArithmetic.CM.approximationNativeCoefficients K D A j)).im := by |
| 33 | intro j τ |
| 34 | by_cases he : τ = D.places.distinguished |
| 35 | · subst τ |
| 36 | simpa only [hμ, or_true, ite_true] using ConcreteApproximationIntrinsicArithmetic.CM.approximation_native_coefficient_signs K D A j D.places.distinguished |
| 37 | · simpa only [he, false_or] using ConcreteApproximationIntrinsicArithmetic.CM.approximation_native_coefficient_signs K D A j τ |
| 38 | have h := CoefficientPeriods.CM.exists_lagrangian_pair_with_coefficients K D.ball D.places |
| 39 | (fun j τ => FourSplittings.CM.newThetaSigns K v j (D.places.representative τ)) D.pair.delta |
| 40 | (ConcreteApproximationIntrinsicArithmetic.CM.approximationNativeCoefficients K D A) D.pair.delta_ne_zero D.pair.delta_imaginary |
| 41 | (ConcreteApproximationIntrinsicArithmetic.CM.approximation_native_coefficients_nonzero K D A) (ConcreteApproximationIntrinsicArithmetic.CM.approximation_native_coefficients_fixed K D A) hs |
| 42 | refine ⟨h.choose, h.choose_spec.1, h.choose_spec.2, ?_⟩ |
| 43 | intro j |
| 44 | exact ⟨(A.coefficients j).1.trans (congrFun h.choose_spec.2 j).symm, |
| 45 | (A.coefficients j).2.trans h.choose_spec.1.symm⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ConcreteLineLagrangianPair.CM |