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.StableHilbert.PolarizationOverlapCriterion |
| 2 | |
| 3 | /-! # Polarization Transition Bases -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationTransitionBases |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Native bases and equations for the original polarization transition pullbacks. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | private theorem pullback_left_equation |
| 14 | {C : Type*} [Category* C] {X Y Z T : C} |
| 15 | (f : X ⟶ Z) (g : Y ⟶ Z) [HasPullback f g] (x : T ⟶ pullback f g) : |
| 16 | (x ≫ pullback.fst f g) ≫ f = (x ≫ pullback.snd f g) ≫ g := |
| 17 | (Category.assoc _ _ _).trans ((congrArg (fun a => x ≫ a) |
| 18 | (pullback.condition (f := f) (g := g))).trans (Category.assoc _ _ _).symm) |
| 19 | |
| 20 | private theorem pullback_right_equation |
| 21 | {C : Type*} [Category* C] {X Y X' Z Z' T : C} |
| 22 | (f : X ⟶ Z) (g : Y ⟶ Z) (f' : X' ⟶ Z') (g' : Y ⟶ Z') |
| 23 | [HasPullback f g] [HasPullback f' g'] |
| 24 | (e : pullback f g ⟶ pullback f' g') |
| 25 | (he : e ≫ pullback.snd f' g' = pullback.snd f g) |
| 26 | (x : T ⟶ pullback f g) : |
| 27 | (x ≫ (e ≫ pullback.fst f' g')) ≫ f' = (x ≫ pullback.snd f g) ≫ g' := by |
| 28 | rw [Category.assoc, Category.assoc, pullback.condition, |
| 29 | ← Category.assoc e, he] |
| 30 | simp only [Category.assoc] |
| 31 | |
| 32 | private theorem overPullback_locallyNoetherian_of_finiteType |
| 33 | {S : Scheme} {X Y Z : Over S} (f : X ⟶ Z) (g : Y ⟶ Z) |
| 34 | [LocallyOfFiniteType f.left] [IsLocallyNoetherian Y.left] : |
| 35 | IsLocallyNoetherian (pullback f g).left := by |
| 36 | let : LocallyOfFiniteType ((Over.forget S).map f) := inferInstanceAs (LocallyOfFiniteType f.left) |
| 37 | let : LocallyOfFiniteType (pullback.snd f g).left := |
| 38 | MorphismProperty.of_isPullback (P := @LocallyOfFiniteType) |
| 39 | ((IsPullback.of_hasPullback f g).map (Over.forget S)) inferInstance |
| 40 | exact LocallyOfFiniteType.isLocallyNoetherian (pullback.snd f g).left |
| 41 | |
| 42 | namespace StableHilbertPolarizationTransition |
| 43 | variable (R : Type) [CommRing R] [IsNoetherianRing R] {n m : ℕ} |
| 44 | (i : Fin m) (D : ℕ) (H : Polynomial ℚ) |
| 45 | (hH : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{0} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{0} n D H) H) |
| 46 | (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{0} n H ≤ D) |
| 47 | (g : ℕ) (Hm Hi : Polynomial ℚ) (N : ℕ) [NeZero N] |
| 48 | (labels : Fin m ≃ Multiplicative (Fin (2 * g) → ZMod N)) |
| 49 | (qR : Spec (.of R) ⟶ Spec (.of ℚ)) |
| 50 | (d : ℕ) (hd : 0 < d) (δ : Fin g → ℕ) (hδ : ∀ k, 0 < δ k) |
| 51 | (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) |
| 52 | |
| 53 | local notation "ij" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.LevelMonomorphism.StableHilbertLevel.toHilbertChart R i j D H hH g Hm Hi N labels |
| 54 | local notation "ik" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.LevelMonomorphism.StableHilbertLevel.toHilbertChart R i k D H hH g Hm Hi N labels |
| 55 | local notation "lj" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D H hH hD |
| 56 | local notation "lk" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.IntersectionMaps.stableHilbertIntersectionRightMap R i j k D H hH hD |
| 57 | def leftBaseMap : pullback ij lj ⟶ |
| 58 | LevelParameter.StableHilbertLevel.parameter R i j D H hH g Hm Hi N labels := |
| 59 | pullback.fst ij lj |
| 60 | |
| 61 | local notation "uL" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationTransitionBases.StableHilbertPolarizationTransition.leftBaseMap R i D H hH hD g Hm Hi N labels j k |
| 62 | def rightBaseMap : pullback ij lj ⟶ |
| 63 | LevelParameter.StableHilbertLevel.parameter R i k D H hH g Hm Hi N labels := |
| 64 | LevelTransitions.StableHilbertFullLevelTransition.forward R i D H hH hD g Hm Hi N labels j k ≫ |
| 65 | pullback.fst ik lk |
| 66 | |
| 67 | local notation "uR" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationTransitionBases.StableHilbertPolarizationTransition.rightBaseMap R i D H hH hD g Hm Hi N labels j k |
| 68 | local notation "b₀" => pullback.snd ij lj |
| 69 | local notation "O" => pullback ij lj |
| 70 | local notation "pj" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationParameter.StableHilbertPolarization.inclusion R i j D H hH g Hm Hi N labels qR d hd δ hδ |
| 71 | local notation "pk" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationParameter.StableHilbertPolarization.inclusion R i k D H hH g Hm Hi N labels qR d hd δ hδ |
| 72 | |
| 73 | def leftParameter : Over (Spec (.of R)) := pullback pj uL |
| 74 | |
| 75 | def rightParameter : Over (Spec (.of R)) := pullback pk uR |
| 76 | |
| 77 | theorem left_equation {T : Over (Spec (.of R))} (x : T ⟶ O) : |
| 78 | (x ≫ uL) ≫ ij = (x ≫ b₀) ≫ lj := |
| 79 | pullback_left_equation ij lj x |
| 80 | |
| 81 | theorem right_equation {T : Over (Spec (.of R))} (x : T ⟶ O) : |
| 82 | (x ≫ uR) ≫ ik = (x ≫ b₀) ≫ lk := |
| 83 | pullback_right_equation ij lj ik lk |
| 84 | (LevelTransitions.StableHilbertFullLevelTransition.forward R i D H hH hD g Hm Hi N labels j k) |
| 85 | (LevelTransitions.StableHilbertFullLevelTransition.forward_base R i D H hH hD g Hm Hi N labels j k) x |
| 86 | |
| 87 | instance leftParameter_locallyNoetherian : |
| 88 | IsLocallyNoetherian (leftParameter R i D H hH hD g Hm Hi N labels qR d hd δ hδ j k).left := by |
| 89 | let : IsLocallyNoetherian (O).left := |
| 90 | LevelTransitions.StableHilbertFullLevelTransition.leftParameter_locallyNoetherian R i D H hH hD g Hm Hi N labels j k |
| 91 | exact overPullback_locallyNoetherian_of_finiteType pj uL |
| 92 | |
| 93 | instance rightParameter_locallyNoetherian : |
| 94 | IsLocallyNoetherian (rightParameter R i D H hH hD g Hm Hi N labels qR d hd δ hδ j k).left := by |
| 95 | let : IsLocallyNoetherian (O).left := |
| 96 | LevelTransitions.StableHilbertFullLevelTransition.leftParameter_locallyNoetherian R i D H hH hD g Hm Hi N labels j k |
| 97 | exact overPullback_locallyNoetherian_of_finiteType pk uR |
| 98 | |
| 99 | end StableHilbertPolarizationTransition |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationTransitionBases |