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.PELModuli.IntegralModel.IntegralAuxiliary.Freeness |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAdded.ScalarChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure.AutomorphismDescent |
| 4 | |
| 5 | /-! # Rigidity Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralPrescribed.RigidityBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A uniform arithmetic rigidity coefficient becomes prescribed-level |
| 12 | rigidity of the actual base-changed two-level family once it is a unit. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {E R R' : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | [CommRing R] [CommRing R'] {s L N : ℕ} |
| 20 | {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {iotaO : NumberField.RingOfIntegers E →+* R} |
| 21 | {X : Over (Spec (.of R))} |
| 22 | |
| 23 | theorem integralAddedPEL_prescribedRigid_baseChange_of_away |
| 24 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (r : R) |
| 25 | (hrigid : ∀ (T : Over X.left) [IsReduced T.left] |
| 26 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (U.forgetAuxiliary.data.polarized.pullback T.hom) |
| 27 | (U.forgetAuxiliary.data.polarized.pullback T.hom)), |
| 28 | (∀ x : T.left, r ∉ (X.hom (T.hom x)).asIdeal) → |
| 29 | e.abelian.hom = 𝟙 (U.forgetAuxiliary.data.polarized.abelian.pullback T.hom).scheme) |
| 30 | (φ : R →+* R') (hr : IsUnit (φ r)) : (U.baseChange φ).PrescribedRigid := by |
| 31 | intro T _ f e |
| 32 | let b := Spec.map (CommRingCat.ofHom φ) |
| 33 | let q := pullback.fst X.hom b |
| 34 | let t := f.left ≫ q |
| 35 | have : IsReduced (Over.mk t).left := inferInstanceAs (IsReduced T.left) |
| 36 | apply AbelianModuli.ReferenceFamily.Pure.AutomorphismDescent.pure_abelian_eq_id_via e |
| 37 | (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp U.forgetAuxiliary.data.polarized q f.left) |
| 38 | intro a |
| 39 | apply hrigid (Over.mk t) a |
| 40 | intro x hx |
| 41 | have hb : t ≫ X.hom = T.hom ≫ b := by |
| 42 | change (f.left ≫ pullback.fst X.hom b) ≫ X.hom = _ |
| 43 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 44 | exact congrArg (fun a => a ≫ b) f.w |
| 45 | have hp : X.hom (t x) = b (T.hom x) := congrArg (fun a : T.left ⟶ Spec (.of R) => a x) hb |
| 46 | have hx' : φ r ∈ (T.hom x).asIdeal := |
| 47 | (congrArg (fun z : Spec (.of R) => r ∈ z.asIdeal) hp).mp hx |
| 48 | exact (T.hom x).isPrime.ne_top ((T.hom x).asIdeal.eq_top_of_isUnit_mem hx' hr) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralPrescribed.RigidityBaseChange |