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.AbelianModuli.HilbertConstruction.Relative.UniversalPointedFieldDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MonoidalProductComparisonUnit |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PointedMultiplicationUnit |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.SchemeProducts |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.PointedMorphisms |
| 7 | |
| 8 | /-! # Universal Pointed Homomorphism -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.UniversalPointedHomomorphism |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Every pointed map between arbitrary base changes of fixed projectively presented Noetherian abelian families is a group homomorphism. The group-law equations are compared by the universal pointed-map field detector. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | universe u |
| 18 | |
| 19 | theorem relativeUniversalPointedMap_isMonHom |
| 20 | {S : Scheme.{u}} [IsNoetherian S] {g h : ℕ} |
| 21 | (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 22 | (PA : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (PB : Projective.ProjectivePresentations.ProjectivePresentation B.scheme) |
| 23 | (T : Over S) (f : (A.pullback T.hom).scheme ⟶ (B.pullback T.hom).scheme) |
| 24 | (hf : η[(A.pullback T.hom).scheme] ≫ f = η[(B.pullback T.hom).scheme]) : IsMonHom f := by |
| 25 | refine ⟨hf, ?_⟩ |
| 26 | let F := Over.pullback T.hom |
| 27 | let C := (A.pullback T.hom).scheme |
| 28 | let D := (B.pullback T.hom).scheme |
| 29 | let e := Functor.Monoidal.μIso F A.scheme A.scheme |
| 30 | let a : ((A.product A).pullback T.hom).scheme ⟶ D := e.inv ≫ μ[C] ≫ f |
| 31 | let b : ((A.product A).pullback T.hom).scheme ⟶ D := e.inv ≫ (f ⊗ₘ f) ≫ μ[D] |
| 32 | obtain ⟨h₁, h₂⟩ := PointedMultiplicationUnit.pointedMultiplicationComposites_preserve_unit f hf |
| 33 | have he := MonoidalProductComparisonUnit.monoidalProductComparison_inv_preserves_unit F A.scheme A.scheme |
| 34 | have ha : η[((A.product A).pullback T.hom).scheme] ≫ a = η[D] := by |
| 35 | change η[F.obj (A.scheme ⊗ A.scheme)] ≫ (e.inv ≫ (μ[C] ≫ f)) = η[D] |
| 36 | rw [← Category.assoc, he] |
| 37 | exact h₁ |
| 38 | have hb : η[((A.product A).pullback T.hom).scheme] ≫ b = η[D] := by |
| 39 | change η[F.obj (A.scheme ⊗ A.scheme)] ≫ (e.inv ≫ ((f ⊗ₘ f) ≫ μ[D])) = η[D] |
| 40 | rw [← Category.assoc, he] |
| 41 | exact h₂ |
| 42 | have hab : a = b := by |
| 43 | let Q := (PA.product PA).product PB |
| 44 | refine @UniversalPointedFieldDetection.relativeUniversalPointedMap_eq_of_fieldPullbacks S _ (g + g) h Q.dimension |
| 45 | (A.product A) B Q.embedding Q.closedImmersion T a b ha hb ?_ |
| 46 | intro K _ s |
| 47 | have hs : η[((A.pullback T.hom).pullback s).scheme] ≫ (Over.pullback s).map f = |
| 48 | η[((B.pullback T.hom).pullback s).scheme] := |
| 49 | (MappedMonoidHomEquations.mappedMonoidHom_one_iff (Over.pullback s) f).mpr (congrArg (Over.pullback s).map hf) |
| 50 | have hm : IsMonHom ((Over.pullback s).map f) := |
| 51 | Smooth.PointedMorphisms.abelianPointedMorphism_isMonHom ((A.pullback T.hom).pullback s) |
| 52 | ((B.pullback T.hom).pullback s) ((Over.pullback s).map f) hs |
| 53 | have hmul := (MappedMonoidHomEquations.mappedMonoidHom_mul_iff (Over.pullback s) f).mp hm.mul_hom |
| 54 | change (Over.pullback s).map (e.inv ≫ (μ[C] ≫ f)) = |
| 55 | (Over.pullback s).map (e.inv ≫ ((f ⊗ₘ f) ≫ μ[D])) |
| 56 | rw [Functor.map_comp, Functor.map_comp] |
| 57 | exact congrArg (fun k => (Over.pullback s).map e.inv ≫ k) hmul |
| 58 | exact (cancel_epi e.inv).mp hab |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.UniversalPointedHomomorphism |