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.AbelianModuli.ReferenceFamily.Reference.GeometricLieRank |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.Objects |
| 3 | |
| 4 | /-! # Prescribed Ranks -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every constructed reference algebraic fiber satisfies the literal |
| 11 | PEL Lie-signature condition on every algebraically closed test field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 16 | [NumberField.IsCMField E] {s : ℕ} {P : Datum.RankThreePELDatum E s} |
| 17 | {z : P.domain} {F : Fiber.ReferenceAnalyticFiber P z} {hP : P.IsAdmissible} |
| 18 | (M : AlgebraicModel.ReferenceAlgebraicModel F hP) |
| 19 | {K : Type} [Field K] [NumberField K] |
| 20 | (iota : E →+* K) (κ : K →+* ℂ) (he : κ.comp iota = P.μ) |
| 21 | |
| 22 | include he in |
| 23 | omit [NumberField K] in |
| 24 | theorem AlgebraicModel.ReferenceAlgebraicModel.hasPrescribedLieRanks : PEL.Objects.HasPrescribedLieRanks P iota |
| 25 | (Over.mk (Spec.map (CommRingCat.ofHom κ))) M.abelianScheme M.integralAction := by |
| 26 | intro k _ _ j p hp σ |
| 27 | let j' : ℂ →+* k := (Spec.preimage p).hom |
| 28 | have hj' : Spec.map (CommRingCat.ofHom j') = p := Spec.map_preimage p |
| 29 | have hc : j'.comp κ = j := by |
| 30 | have hs : Spec.map (CommRingCat.ofHom (j'.comp κ)) = Spec.map (CommRingCat.ofHom j) := by |
| 31 | change Spec.map (CommRingCat.ofHom κ ≫ CommRingCat.ofHom j') = _ |
| 32 | rw [Spec.map_comp, hj'] |
| 33 | exact hp |
| 34 | exact congrArg CommRingCat.Hom.hom (Spec.map_injective hs) |
| 35 | let : Algebra ℂ k := j'.toAlgebra |
| 36 | have hr := M.hasGeometricLieRank k σ |
| 37 | have hbase : RepresentationTheory.Theta.Geometric.LieFieldTests.fieldBaseMap ℂ k = p := hj' |
| 38 | rw [hbase] at hr |
| 39 | have hchar : AlgebraicModel.ReferenceAlgebraicModel.geometricCharacter k (P.μ.comp σ.toRingHom) = |
| 40 | (j.comp iota).comp (σ.toRingHom.comp (algebraMap (NumberField.RingOfIntegers E) E)) := by |
| 41 | apply RingHom.ext |
| 42 | intro a |
| 43 | change j' (P.μ (σ (a : E))) = j (iota (σ (a : E))) |
| 44 | exact (congrArg j' (congrArg (fun f : E →+* ℂ => f (σ (a : E))) he.symm)).trans |
| 45 | (congrArg (fun f : K →+* k => f (iota (σ (a : E)))) hc) |
| 46 | rw [hchar] at hr |
| 47 | exact hr |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference |