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.Presentations.Hilbert |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.EndomorphismEquationBridge |
| 3 | |
| 4 | /-! # Endomorphism Bridge -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The corrected Presentations endomorphism functor agrees naturally, on every test |
| 11 | scheme, with the actual endomorphism ring of the pulled-back abelian scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | variable {S : Scheme} {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 16 | |
| 17 | theorem e34_preservesGroupLaw_iff {T : Over S} (f : T ⨯ A.scheme ⟶ A.scheme) : |
| 18 | HilbertScheme.Presentations.Endomorphisms.Core.PreservesGroupLaw A.scheme f ↔ Group.HomEquations.GroupHomEquations.RespectsGroup A.scheme f := by |
| 19 | constructor |
| 20 | · intro h |
| 21 | exact Group.HomEvaluationCriterion.GroupHomEquations.respectsGroup_of_evaluation A.scheme f |
| 22 | (fun U t => (h U t).1) (fun U t => (h U t).2) |
| 23 | · intro h U t |
| 24 | exact ⟨Group.HomEvaluation.GroupHomEquations.eval_one A.scheme f h t, |
| 25 | Group.HomEvaluation.GroupHomEquations.eval_mul A.scheme f h t⟩ |
| 26 | |
| 27 | def e34EndomorphismEquiv (T : Over S) : |
| 28 | Finite.Actions.GroupEndRing (A.pullback T.hom) ≃ |
| 29 | (HilbertScheme.Presentations.Endomorphisms.Core.endomorphismSubfunctor A.scheme).toFunctor.obj (op T) where |
| 30 | toFun r := ⟨EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A T (r.hom (A.pullback T.hom)), |
| 31 | (e34_preservesGroupLaw_iff A _).mpr (EndomorphismEquationBridge.EndomorphismFamilies.relativeHom_group_equations A T r)⟩ |
| 32 | invFun f := EndomorphismEquationBridge.EndomorphismFamilies.groupEndOfFamily A T f.val ((e34_preservesGroupLaw_iff A f.val).mp f.property) |
| 33 | left_inv r := by |
| 34 | apply EndomorphismHom.EndomorphismFamilies.homInclusion_injective A T |
| 35 | exact EndomorphismEquationBridge.EndomorphismFamilies.groupEndOfFamily_spec A T _ _ |
| 36 | right_inv f := Subtype.ext (EndomorphismEquationBridge.EndomorphismFamilies.groupEndOfFamily_spec A T _ _) |
| 37 | |
| 38 | def e34EndomorphismFunctorIso : |
| 39 | (EndomorphismFamiliesId.EndomorphismFamilies.endomorphismFunctor A ⋙ forget RingCat) ≅ |
| 40 | (HilbertScheme.Presentations.Endomorphisms.Core.endomorphismSubfunctor A.scheme).toFunctor := |
| 41 | NatIso.ofComponents (fun T => (e34EndomorphismEquiv A T.unop).toIso) (by |
| 42 | intro T U f |
| 43 | apply ConcreteCategory.hom_ext |
| 44 | intro r |
| 45 | apply Subtype.ext |
| 46 | exact EndomorphismHom.EndomorphismFamilies.relativeHom_restrict A f.unop r) |
| 47 | |
| 48 | def e34TupleProjection (n : ℕ) (i : Fin n) : |
| 49 | HilbertScheme.Presentations.Endomorphisms.Core.endomorphismTuples A.scheme n ⟶ |
| 50 | (HilbertScheme.Presentations.Endomorphisms.Core.endomorphismSubfunctor A.scheme).toFunctor where |
| 51 | app _ := ↾fun f => f i |
| 52 | naturality _ _ _ := rfl |
| 53 | |
| 54 | def e34PrimitiveEndomorphism : |
| 55 | HilbertScheme.Presentations.Endomorphisms.Core.endomorphismTuples A.scheme 1 ⟶ |
| 56 | (EndomorphismFamiliesId.EndomorphismFamilies.endomorphismFunctor A ⋙ forget RingCat) := |
| 57 | e34TupleProjection A 1 0 ≫ (e34EndomorphismFunctorIso A).inv |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies |