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.CMExtraction.InitialReference |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PreprimeComparison |
| 3 | |
| 4 | /-! # Initial Test -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.InitialTest.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Starting from the source ball, choose the active-first reference and |
| 11 | one normalized theta test before every level and prime choice. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PreprimeComparison.Multiplicity |
| 16 | |
| 17 | attribute [local instance] Intrinsic.Multiplicity.nativePlaceDecidableEq Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 18 | |
| 19 | theorem exists_initial_retained_test |
| 20 | (E : IntermediateField ℚ ℂ) |
| 21 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 22 | (B : HeckeCycles.GeometricSource.CM.BallDatum E) (places : HeckeCycles.GeometricSource.CM.Places E) (hCongruenceLevel : HeckeCycles.ReferenceDatum.CM.CongruenceLevelInput E places.count) |
| 23 | (hAdelicTheta : RepresentationTheory.Theta.Adelic.Data.CompleteStatement) |
| 24 | (dref : Fin places.count → Bool) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 25 | {MpR MpF MpA : Type} [Group MpR] [Group MpF] [Group MpA] |
| 26 | (W : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.WeilData (Fin places.count × Fin 3) MpR MpF MpA) : |
| 27 | ∃ (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E places.count) |
| 28 | (hP : P.IsAdmissible) (hμ : P.μ = E.val.toRingHom), |
| 29 | P.b = B.b ∧ P.distinguished.val = 0 ∧ |
| 30 | (∀ i, P.embeddings i = HeckeCycles.ReferenceDatum.CM.embeddings E places (InitialPlaceNumbering.Intrinsic.initialPlacePermutation E places i)) ∧ |
| 31 | P.compactSigns = dref ∘ InitialPlaceNumbering.Intrinsic.initialPlacePermutation E places ∧ |
| 32 | Nonempty (PreprimeCalibration.Intrinsic.RetainedPreprimeData E P hP hμ v hv W) := by |
| 33 | obtain ⟨P, hP, hμ, hb, hz, he, hd⟩ := InitialReference.Intrinsic.initial_reference_with_active_zero E B places hCongruenceLevel dref |
| 34 | exact ⟨P, hP, hμ, hb, hz, he, hd, PreprimeComparison.Intrinsic.exists_retained_preprime_data E P hP hμ v hv W |
| 35 | (InitialReference.Intrinsic.source_places_at_least_two E B places) hAdelicTheta⟩ |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.InitialTest.Intrinsic |