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.InitialPlaceNumbering |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PELDatum |
| 3 | |
| 4 | /-! # Initial Reference -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.InitialReference.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construct an admissible PEL reference with the source's active pair |
| 11 | numbered zero. This choice precedes the retained test, level, and prime. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 15 | |
| 16 | variable (E : IntermediateField ℚ ℂ) |
| 17 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 18 | |
| 19 | omit [IsGalois ℚ E] in |
| 20 | theorem source_places_at_least_two (B : HeckeCycles.GeometricSource.CM.BallDatum E) (places : HeckeCycles.GeometricSource.CM.Places E) : |
| 21 | 2 ≤ places.count := by |
| 22 | by_contra hcount |
| 23 | obtain ⟨τ, hτ, hc⟩ := B.other_place |
| 24 | obtain ⟨⟨i, b⟩, hi⟩ := places.complete.2 τ |
| 25 | have he : i = places.distinguished := Fin.ext (by |
| 26 | have hi := i.isLt |
| 27 | have hd := places.distinguished.isLt |
| 28 | omega) |
| 29 | subst i |
| 30 | cases b with |
| 31 | | false => |
| 32 | simp only [Bool.false_eq_true, ite_false, places.identity] at hi |
| 33 | exact hτ hi.symm |
| 34 | | true => |
| 35 | simp only [ite_true, places.identity, mul_one] at hi |
| 36 | exact hc hi.symm |
| 37 | |
| 38 | theorem initial_reference_with_active_zero |
| 39 | (B : HeckeCycles.GeometricSource.CM.BallDatum E) (places : HeckeCycles.GeometricSource.CM.Places E) (hCongruenceLevel : HeckeCycles.ReferenceDatum.CM.CongruenceLevelInput E places.count) |
| 40 | (dref : Fin places.count → Bool) : |
| 41 | ∃ P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E places.count, |
| 42 | P.IsAdmissible ∧ P.μ = E.val.toRingHom ∧ P.b = B.b ∧ |
| 43 | P.distinguished.val = 0 ∧ |
| 44 | (∀ i, P.embeddings i = HeckeCycles.ReferenceDatum.CM.embeddings E places (InitialPlaceNumbering.Intrinsic.initialPlacePermutation E places i)) ∧ |
| 45 | P.compactSigns = dref ∘ InitialPlaceNumbering.Intrinsic.initialPlacePermutation E places := by |
| 46 | obtain ⟨P, hP, hb, hemb, ha, hd⟩ := HeckeCycles.PELDatum.CM.admissible_reference_datum E B |
| 47 | (InitialPlaceNumbering.Intrinsic.activeFirstPlaces E places) hCongruenceLevel (dref ∘ InitialPlaceNumbering.Intrinsic.initialPlacePermutation E places) |
| 48 | refine ⟨P, hP, ?_, hb, ?_, ?_, hd⟩ |
| 49 | · change (P.embeddings P.distinguished).toRingHom = E.val.toRingHom |
| 50 | rw [hemb, ha, HeckeCycles.ReferenceDatum.CM.embeddings_distinguished] |
| 51 | · rw [ha] |
| 52 | exact InitialPlaceNumbering.Intrinsic.activeFirstPlaces_active E places |
| 53 | · intro i |
| 54 | rw [hemb] |
| 55 | rfl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.InitialReference.Intrinsic |