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.ActionPoints |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.Freeness |
| 3 | |
| 4 | /-! # Joint Monicity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.JointMonicity.IntegralAuxiliaryAction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The auxiliary relation is jointly monic on every scheme, including |
| 11 | nonreduced tests. Its labels are detected at residue-field points, where |
| 12 | the established reduced-family rigidity applies. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 17 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 18 | {iotaO : NumberField.RingOfIntegers E →+* R} {X : Over (Spec (.of R))} |
| 19 | [IsReduced X.left] (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 20 | |
| 21 | theorem jointlyMono (hrigid : U.PrescribedRigid) : |
| 22 | JointlyMono₂ (ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L) (ActionSpace.IntegralAuxiliaryAction.target U hU) where |
| 23 | right_cancellation {T} f g hs ht := by |
| 24 | apply prod.hom_ext |
| 25 | · exact hs |
| 26 | · apply (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of R)) _ T).injective |
| 27 | apply LocallyConstant.ext |
| 28 | intro x |
| 29 | let k := T.left.residueField x |
| 30 | let b := T.left.fromSpecResidueField x |
| 31 | let W : Over (Spec (.of R)) := Over.mk (b ≫ T.hom) |
| 32 | let p : W ⟶ T := Over.homMk b rfl |
| 33 | have : IsReduced W.left := inferInstanceAs (IsReduced (Spec (.of k))) |
| 34 | have hsp : (p ≫ f) ≫ ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L = (p ≫ g) ≫ ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L := by |
| 35 | simpa only [Category.assoc] using congrArg (fun a => p ≫ a) hs |
| 36 | have htp : (p ≫ f) ≫ ActionSpace.IntegralAuxiliaryAction.target U hU = (p ≫ g) ≫ ActionSpace.IntegralAuxiliaryAction.target U hU := by |
| 37 | simpa only [Category.assoc] using congrArg (fun a => p ≫ a) ht |
| 38 | have hf := ActionSpace.IntegralAuxiliaryAction.target_points U hU W (p ≫ f) |
| 39 | rw [hsp] at hf |
| 40 | have he : ActionSpace.IntegralAuxiliaryAction.labels X (3 * s) L W (p ≫ f) = ActionSpace.IntegralAuxiliaryAction.labels X (3 * s) L W (p ≫ g) := |
| 41 | U.auxiliaryRelabelAt_injective hU hrigid ((p ≫ g) ≫ ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L) |
| 42 | (hf.symm.trans (htp.trans (ActionSpace.IntegralAuxiliaryAction.target_points U hU W (p ≫ g)))) |
| 43 | rw [ActionPoints.IntegralAuxiliaryAction.labels_comp, ActionPoints.IntegralAuxiliaryAction.labels_comp] at he |
| 44 | have hv := congrArg (fun c => c (IsLocalRing.closedPoint k)) he |
| 45 | change ActionSpace.IntegralAuxiliaryAction.labels X (3 * s) L T f (p.left (IsLocalRing.closedPoint k)) = |
| 46 | ActionSpace.IntegralAuxiliaryAction.labels X (3 * s) L T g (p.left (IsLocalRing.closedPoint k)) at hv |
| 47 | have hp : p.left (IsLocalRing.closedPoint k) = x := T.left.fromSpecResidueField_apply x _ |
| 48 | rw [hp] at hv |
| 49 | exact hv |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.JointMonicity.IntegralAuxiliaryAction |