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.Smooth.RelativeAffineNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TestGluingRecognition |
| 3 | |
| 4 | /-! # Relative Classifying Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth relative Hilbert families have actual global classifying maps over arbitrary test schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {T : Over S} {n B N : ℕ} {P : Polynomial ℚ} |
| 17 | variable (F : RelativeProjective.Families.RelativeProjectiveHilbertFamily T.left n P) [Smooth F.family.scheme.hom] |
| 18 | variable (hN : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) (hflat : Truncated.FinitePersistence.truncatedFlatnessBound n N ≤ B) |
| 19 | |
| 20 | def RelativeProjective.Families.RelativeProjectiveHilbertFamily.smoothAffineMapData : Affine.TestGluing.AffineTestMapData T.left |
| 21 | (Truncated.GeneratedParameters.truncatedGeneratedParameters S n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N).left where |
| 22 | map x := (F.smoothAffinePoint hN hflat x).left |
| 23 | naturality := F.smoothAffinePoint_natural hN hflat |
| 24 | |
| 25 | def RelativeProjective.Families.RelativeProjectiveHilbertFamily.smoothClassifyingMap : T ⟶ Truncated.GeneratedParameters.truncatedGeneratedParameters S n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N := |
| 26 | Over.homMk (F.smoothAffineMapData hN hflat).glue (by |
| 27 | apply T.left.affineOpenCover.openCover.hom_ext |
| 28 | intro i |
| 29 | have he : T.left.affineOpenCover.f i ≫ (F.smoothAffineMapData hN hflat).glue = |
| 30 | (F.smoothAffinePoint hN hflat (T.left.affineOpenCover.f i)).left := |
| 31 | (F.smoothAffineMapData hN hflat).glue_chart i |
| 32 | exact (Category.assoc _ _ _).symm.trans |
| 33 | ((congrArg (fun a => a ≫ (Truncated.GeneratedParameters.truncatedGeneratedParameters S n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N).hom) he).trans |
| 34 | (F.smoothAffinePoint hN hflat (T.left.affineOpenCover.f i)).w)) |
| 35 | |
| 36 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.smoothClassifyingMap_affine {R : CommRingCat.{u}} (x : Spec R ⟶ T.left) : |
| 37 | x ≫ (F.smoothClassifyingMap hN hflat).left = (F.smoothAffinePoint hN hflat x).left := |
| 38 | (F.smoothAffineMapData hN hflat).glue_affine x |
| 39 | |
| 40 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.smoothClassifyingMap_pullback {R : CommRingCat.{u}} (x : Spec R ⟶ T.left) : |
| 41 | Generated.PullbackAffineCharts.generatedPullbackFamilyAtAffinePoint (x ≫ (F.smoothClassifyingMap hN hflat).left) hflat = |
| 42 | (F.affineFamily x).val := by |
| 43 | rw [F.smoothClassifyingMap_affine hN hflat] |
| 44 | exact F.smoothAffinePoint_pullback hN hflat x |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |