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.RelativeAffinePoint |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.EmbeddedBaseChange |
| 3 | |
| 4 | /-! # Relative Affine Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The affine parameter points of a smooth relative Hilbert family are natural for every affine test map. -/ |
| 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 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.smoothAffinePoint_coefficients {R A : CommRingCat.{u}} (x : Spec R ⟶ T.left) (φ : R ⟶ A) : |
| 21 | Spec.map φ ≫ (F.smoothAffinePoint hN hflat x).left = |
| 22 | (F.smoothAffinePoint hN hflat (Spec.map φ ≫ x)).left := by |
| 23 | let a : Over.mk ((Spec.map φ ≫ x) ≫ T.hom) ⟶ |
| 24 | Truncated.GeneratedParameters.truncatedGeneratedParameters S n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N := |
| 25 | Over.homMk (Spec.map φ ≫ (F.smoothAffinePoint hN hflat x).left) (by |
| 26 | exact (Category.assoc _ _ _).trans |
| 27 | ((congrArg (fun k : Spec R ⟶ S => Spec.map φ ≫ k) (F.smoothAffinePoint hN hflat x).w).trans |
| 28 | (Category.assoc _ _ _).symm)) |
| 29 | have : Smooth (F.affineFamily (Spec.map φ ≫ x)).val.scheme.hom := F.affineFamily_smooth _ |
| 30 | have ha : Generated.PullbackAffineCharts.generatedPullbackFamilyAtAffinePoint a.left hflat = (F.affineFamily (Spec.map φ ≫ x)).val := by |
| 31 | change Generated.PullbackAffineCharts.generatedPullbackFamilyAtAffinePoint (Spec.map φ ≫ (F.smoothAffinePoint hN hflat x).left) hflat = _ |
| 32 | rw [Generated.EmbeddedBaseChange.generatedPullbackFamilyAtAffinePoint_baseChange, F.smoothAffinePoint_pullback hN hflat x] |
| 33 | exact (F.family.affineProjectivePullback_coefficient x φ).symm |
| 34 | exact congrArg Over.Hom.left (SmoothHilbert.AffineUniqueness.smoothHilbertAffinePoint_unique |
| 35 | (F.affineFamily (Spec.map φ ≫ x)) hN hflat ((Spec.map φ ≫ x) ≫ T.hom) |
| 36 | a (F.smoothAffinePoint hN hflat (Spec.map φ ≫ x)) ha (F.smoothAffinePoint_pullback hN hflat _)) |
| 37 | |
| 38 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.smoothAffinePoint_natural {R A : CommRingCat.{u}} (x : Spec R ⟶ T.left) (a : Spec A ⟶ Spec R) : |
| 39 | a ≫ (F.smoothAffinePoint hN hflat x).left = (F.smoothAffinePoint hN hflat (a ≫ x)).left := by |
| 40 | let φ : R ⟶ A := (Spec.fullyFaithful.preimage a).unop |
| 41 | have he : Spec.map φ = a := Spec.fullyFaithful.map_preimage a |
| 42 | rw [← he] |
| 43 | exact F.smoothAffinePoint_coefficients hN hflat x φ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |