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.HilbertScheme.Presentations.GroupLawMorphismEquation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.FamilyEquationOperations |
| 3 | |
| 4 | /-! # Endomorphism Tuple Equations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.EndomorphismTupleEquations.Core |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Endomorphism tuples are exactly the solutions of a finite list of |
| 11 | actual group-multiplication equations, naturally on every test scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] |
| 18 | variable [Flat A.hom] [IsProper A.hom] [LocallyOfFinitePresentation A.hom] |
| 19 | variable (n : ℕ) |
| 20 | |
| 21 | def endomorphismTupleEquations : List (Endomorphisms.Core.FamilyMorphismEquation (Has.Core.morphismTuples A A n)) := |
| 22 | List.ofFn (fun i : Fin n => (GroupLawMorphismEquation.Core.groupLawMorphismEquation A).comap |
| 23 | (FamilyEquationOperations.Core.tupleProjection (HomFunctor.Hom.morphismFunctor A A) n i)) |
| 24 | |
| 25 | theorem satisfies_endomorphismTupleEquations_iff {T : Over S} |
| 26 | (f : (Has.Core.morphismTuples A A n).obj (.op T)) : |
| 27 | Endomorphisms.Core.SatisfiesEquations (endomorphismTupleEquations A n) f ↔ ∀ i, Endomorphisms.Core.PreservesGroupLaw A (f i) := by |
| 28 | constructor |
| 29 | · intro h i |
| 30 | apply (GroupLawMorphismEquation.Core.groupLawMorphismEquation_iff A (f i)).mp |
| 31 | exact h _ (List.mem_ofFn.mpr ⟨i, rfl⟩) |
| 32 | · intro h r hr |
| 33 | obtain ⟨i, rfl⟩ := List.mem_ofFn.mp hr |
| 34 | exact (GroupLawMorphismEquation.Core.groupLawMorphismEquation_iff A (f i)).mpr (h i) |
| 35 | |
| 36 | def endomorphismTupleSolutions : Endomorphisms.Core.endomorphismTuples A n ⟶ |
| 37 | (Endomorphisms.Core.solutionSubfunctor (endomorphismTupleEquations A n)).toFunctor where |
| 38 | app T := ↾fun f => ⟨(Endomorphisms.Core.forgetGroupLaw A n).app T f, |
| 39 | (satisfies_endomorphismTupleEquations_iff A n _).mpr (fun i => (f i).property)⟩ |
| 40 | naturality _T _U _a := by |
| 41 | ext f |
| 42 | rfl |
| 43 | |
| 44 | def endomorphismTupleEquationEquivalence : Endomorphisms.Core.endomorphismTuples A n ≅ |
| 45 | (Endomorphisms.Core.solutionSubfunctor (endomorphismTupleEquations A n)).toFunctor := by |
| 46 | have : IsIso (endomorphismTupleSolutions A n) := by |
| 47 | apply (NatTrans.isIso_iff_isIso_app _).mpr |
| 48 | intro T |
| 49 | apply (isIso_iff_bijective _).mpr |
| 50 | constructor |
| 51 | · intro f g h |
| 52 | funext i |
| 53 | apply Subtype.ext |
| 54 | exact congrFun (congrArg Subtype.val h) i |
| 55 | · intro f |
| 56 | have hf := (satisfies_endomorphismTupleEquations_iff A n f.val).mp f.property |
| 57 | exact ⟨fun i => ⟨f.val i, hf i⟩, rfl⟩ |
| 58 | exact asIso (endomorphismTupleSolutions A n) |
| 59 | |
| 60 | theorem endomorphismTupleEquationEquivalence_inclusion : |
| 61 | (endomorphismTupleEquationEquivalence A n).hom ≫ |
| 62 | (Endomorphisms.Core.solutionSubfunctor (endomorphismTupleEquations A n)).ι = Endomorphisms.Core.forgetGroupLaw A n := rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.EndomorphismTupleEquations.Core |