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.FixedFamilyEquations |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.Parameter |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntrinsicPointedDescent |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationBaseChange |
| 5 | |
| 6 | /-! # Equation Base Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.EquationBaseChange |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual projective presentations and fixed equation loci under |
| 13 | arbitrary parameter base change. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | def e34ProjectivePresentationBaseChange {S T : Scheme} {X : Over S} |
| 20 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) (f : T ⟶ S) : |
| 21 | HilbertScheme.Presentations.Has.Core.ProjectivePresentation ((Over.pullback f).obj X) := |
| 22 | Parameter.e34ProjectivePresentationOfNative ((Parameter.nativeProjectivePresentationOfPresentations B).baseChange f) |
| 23 | |
| 24 | theorem fixed_relative_equation_iff_pullback {S : Scheme} {X Y : Over S} |
| 25 | (T : Over S) (l r : X ⟶ Y) : |
| 26 | (prod.snd : T ⨯ X ⟶ X) ≫ l = (prod.snd : T ⨯ X ⟶ X) ≫ r ↔ |
| 27 | (Over.pullback T.hom).map l = (Over.pullback T.hom).map r := by |
| 28 | rw [← IntrinsicPointedDescent.PointedLiftParameters.nativeHomEquiv_map X Y T l, |
| 29 | ← IntrinsicPointedDescent.PointedLiftParameters.nativeHomEquiv_map X Y T r] |
| 30 | exact (IntrinsicPointedDescent.PointedLiftParameters.nativeHomEquiv X Y T).injective.eq_iff |
| 31 | |
| 32 | theorem exists_e34_fixed_pullback_equation_locus |
| 33 | {S : Scheme.{0}} [IsLocallyNoetherian S] (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 34 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 35 | (hPresentations : Hilbert.EndomorphismEquationsInput.{0}) (BA : HilbertScheme.Presentations.Has.Core.ProjectivePresentation A) |
| 36 | {X Y : Over S} [Flat X.hom] [IsProper X.hom] [LocallyOfFinitePresentation X.hom] |
| 37 | [IsSeparated Y.hom] {m : ℕ} (l r : Fin m → (X ⟶ Y)) : |
| 38 | ∃ Z : Over S, IsClosedImmersion Z.hom ∧ |
| 39 | (∀ i, (Over.pullback Z.hom).map (l i) = (Over.pullback Z.hom).map (r i)) ∧ |
| 40 | ∀ T : Over S, |
| 41 | (∀ i, (Over.pullback T.hom).map (l i) = (Over.pullback T.hom).map (r i)) ↔ |
| 42 | ∃! _f : T ⟶ Z, True := by |
| 43 | obtain ⟨Z, hZ, hU, hclass⟩ := FixedFamilyEquations.exists_e34_fixed_relative_equation_locus A hPresentations BA l r |
| 44 | have heq (T : Over S) := forall_congr' (fun i => fixed_relative_equation_iff_pullback T (l i) (r i)) |
| 45 | exact ⟨Z, hZ, (heq Z).mp hU, fun T => (heq T).symm.trans (hclass T)⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.EquationBaseChange |