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.EndomorphismBridge |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.Parameter |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.RepresentedSubfunctor |
| 4 | |
| 5 | /-! # Bounded Endomorphism Tuples -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.BoundedEndomorphismTuples |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The full Presentations input constructs bounded tuples of actual group |
| 12 | endomorphisms, with their universal maps and exact arbitrary-test classifier. -/ |
| 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 Opposite |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies |
| 19 | variable {S : Scheme.{0}} {g n : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 20 | |
| 21 | def e34GroupEndTuple (T : Over S) (r : Fin n → Finite.Actions.GroupEndRing (A.pullback T.hom)) : |
| 22 | (HilbertScheme.Presentations.Endomorphisms.Core.endomorphismTuples A.scheme n).obj (op T) := fun i => EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A T (r i) |
| 23 | |
| 24 | theorem e34GroupEndTuple_injective (T : Over S) : Function.Injective (e34GroupEndTuple A (n := n) T) := by |
| 25 | intro r q h |
| 26 | funext i |
| 27 | exact (EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A T).injective (congrFun h i) |
| 28 | |
| 29 | theorem e34GroupEndTuple_natural {T U : Over S} (f : T ⟶ U) |
| 30 | (r : Fin n → Finite.Actions.GroupEndRing (A.pullback U.hom)) : |
| 31 | (HilbertScheme.Presentations.Endomorphisms.Core.endomorphismTuples A.scheme n).map f.op (e34GroupEndTuple A U r) = |
| 32 | e34GroupEndTuple A T (fun i => EndomorphismFamiliesId.EndomorphismFamilies.restrict A f (r i)) := by |
| 33 | funext i |
| 34 | apply Subtype.ext |
| 35 | exact (EndomorphismHom.EndomorphismFamilies.relativeHom_restrict A f (r i)).symm |
| 36 | |
| 37 | theorem exists_e34_bounded_endomorphism_tuples [IsLocallyNoetherian S] |
| 38 | (hPresentations : Hilbert.EndomorphismEquationsInput.{0}) (BA : HilbertScheme.Presentations.Has.Core.ProjectivePresentation A.scheme) |
| 39 | (P : Fin n → Polynomial ℚ) : |
| 40 | ∃ (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (A.scheme ⨯ A.scheme)) (Z : Over S), |
| 41 | HilbertScheme.Presentations.Segre.Open.Core.IsSegrePresentation BA BA B ∧ LocallyOfFiniteType Z.hom ∧ QuasiCompact Z.hom ∧ |
| 42 | IsSeparated Z.hom ∧ ∃ rZ : Fin n → Finite.Actions.GroupEndRing (A.pullback Z.hom), |
| 43 | ∀ (T : Over S) (r : Fin n → Finite.Actions.GroupEndRing (A.pullback T.hom)), |
| 44 | HilbertScheme.Presentations.Has.Core.HasGraphPolynomials A.scheme A.scheme n B P |
| 45 | ((HilbertScheme.Presentations.Endomorphisms.Core.forgetGroupLaw A.scheme n).app (op T) (e34GroupEndTuple A T r)) ↔ |
| 46 | ∃! f : T ⟶ Z, ∀ i, EndomorphismFamiliesId.EndomorphismFamilies.restrict A f (rZ i) = r i := by |
| 47 | obtain ⟨B, L, hB, ⟨M⟩⟩ := hPresentations A.scheme BA n P [] |
| 48 | obtain ⟨hft, hqc, hsep⟩ := Parameter.e34SolutionScheme_finiteType_separated A.scheme M |
| 49 | let F := HilbertScheme.Presentations.Endomorphisms.Core.endomorphismTuples A.scheme n |
| 50 | let Z := M.solutionScheme |
| 51 | let u := RepresentedSubfunctor.representedSubfunctorUniversal F M.solutionLocus Z M.solutionEquivalence |
| 52 | let rZ (i : Fin n) := (EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A Z).symm (u i) |
| 53 | have hu : e34GroupEndTuple A Z rZ = u := by |
| 54 | funext i |
| 55 | exact (EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A Z).apply_symm_apply (u i) |
| 56 | refine ⟨B, Z, hB, hft, hqc, hsep, rZ, fun T r => ?_⟩ |
| 57 | have hm : e34GroupEndTuple A T r ∈ M.solutionLocus.obj (op T) ↔ |
| 58 | HilbertScheme.Presentations.Has.Core.HasGraphPolynomials A.scheme A.scheme n B P |
| 59 | ((HilbertScheme.Presentations.Endomorphisms.Core.forgetGroupLaw A.scheme n).app (op T) (e34GroupEndTuple A T r)) := by |
| 60 | rw [M.solution_mem] |
| 61 | simp only [HilbertScheme.Presentations.Endomorphisms.Core.SatisfiesEquations, List.not_mem_nil, IsEmpty.forall_iff, implies_true, and_true] |
| 62 | rw [← hm, RepresentedSubfunctor.representedSubfunctorUniversal_classifies F M.solutionLocus Z M.solutionEquivalence] |
| 63 | have hf (f : T ⟶ Z) : F.map f.op u = e34GroupEndTuple A T r ↔ |
| 64 | ∀ i, EndomorphismFamiliesId.EndomorphismFamilies.restrict A f (rZ i) = r i := by |
| 65 | rw [← hu, e34GroupEndTuple_natural] |
| 66 | exact ⟨fun h i => congrFun (e34GroupEndTuple_injective A T h) i, |
| 67 | fun h => congrArg (e34GroupEndTuple A T) (funext h)⟩ |
| 68 | constructor |
| 69 | · rintro ⟨f, h, he⟩ |
| 70 | exact ⟨f, (hf f).mp h, fun k hk => he k ((hf k).mpr hk)⟩ |
| 71 | · rintro ⟨f, h, he⟩ |
| 72 | exact ⟨f, (hf f).mpr h, fun k hk => he k ((hf k).mp hk)⟩ |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.BoundedEndomorphismTuples |