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.Hilbert.IntersectionPointNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.NoetherianAffineEquivalences |
| 3 | |
| 4 | /-! # Intersection Family Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.IntersectionFamilyIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The two universal families on an actual stable Hilbert |
| 11 | intersection are isomorphic as schemes over that intersection. |
| 12 | The isomorphism has the canonical formula on every Noetherian affine test. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | private def hilbertPointOver {S : Scheme.{u}} (T : Over S) {C : CommRingCat.{u}} |
| 18 | (f : Spec C ⟶ T.left) : Over.mk (f ≫ T.hom) ⟶ T := |
| 19 | Over.homMk f rfl |
| 20 | |
| 21 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 22 | variable {n m : ℕ} (i : Fin m) (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 23 | variable (D : ℕ) (P : Polynomial ℚ) |
| 24 | variable (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 25 | variable (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 26 | |
| 27 | def hilbertIntersectionFamilyTestEquiv : |
| 28 | Relative.NoetherianAffineEquivalences.RelativeNoetherianAffineTestEquiv |
| 29 | (Intrinsic.FamilyTestPoints.nativeFamilyOver (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) |
| 30 | (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 31 | (IntersectionUniversalFamilies.hilbertIntersectionLeftFamily R i j k D P hP hD)) |
| 32 | (Intrinsic.FamilyTestPoints.nativeFamilyOver (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) |
| 33 | (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 34 | (IntersectionUniversalFamilies.hilbertIntersectionRightFamily R i j k D P hP hD)) where |
| 35 | app := by |
| 36 | intro C _ f |
| 37 | exact IntersectionPointNaturality.hilbertIntersectionTestPointEquiv R i j k D P hP hD C (hilbertPointOver (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) f) |
| 38 | naturality := by |
| 39 | intro C A _ _ f g b x |
| 40 | refine Affine.OverHomInduction.affineOverHom_ring_induction f (fun g b => |
| 41 | IntersectionPointNaturality.hilbertIntersectionTestPointEquiv R i j k D P hP hD A (hilbertPointOver (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) g) (b ≫ x) = |
| 42 | b ≫ IntersectionPointNaturality.hilbertIntersectionTestPointEquiv R i j k D P hP hD C (hilbertPointOver (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) f) x) ?_ g b |
| 43 | intro φ |
| 44 | let T := Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P |
| 45 | let a : Over.mk (f ≫ T.hom) ⟶ T := Over.homMk f rfl |
| 46 | let c : Over.mk ((Spec.map (CommRingCat.ofHom φ) ≫ f) ≫ T.hom) ⟶ Over.mk (f ≫ T.hom) := |
| 47 | Over.homMk (Spec.map (CommRingCat.ofHom φ)) (Category.assoc _ _ _).symm |
| 48 | exact IntersectionPointNaturality.hilbertIntersectionTestPointEquiv_natural R i j k D P hP hD C A a |
| 49 | ((Spec.map (CommRingCat.ofHom φ) ≫ f) ≫ T.hom) c x |
| 50 | |
| 51 | def hilbertIntersectionFamilyIso : |
| 52 | Intrinsic.FamilyTestPoints.nativeFamilyOver (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) |
| 53 | (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 54 | (IntersectionUniversalFamilies.hilbertIntersectionLeftFamily R i j k D P hP hD) ≅ |
| 55 | Intrinsic.FamilyTestPoints.nativeFamilyOver (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) |
| 56 | (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 57 | (IntersectionUniversalFamilies.hilbertIntersectionRightFamily R i j k D P hP hD) := |
| 58 | (hilbertIntersectionFamilyTestEquiv R i j k D P hP hD).toIso |
| 59 | |
| 60 | theorem hilbertIntersectionFamilyIso_on_affine (C : CommRingCat.{u}) [IsNoetherianRing C] |
| 61 | (f : Spec C ⟶ (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P).left) |
| 62 | (x : Over.mk f ⟶ Intrinsic.FamilyTestPoints.nativeFamilyOver (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) |
| 63 | (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 64 | (IntersectionUniversalFamilies.hilbertIntersectionLeftFamily R i j k D P hP hD)) : |
| 65 | x ≫ (hilbertIntersectionFamilyIso R i j k D P hP hD).hom = |
| 66 | IntersectionPointNaturality.hilbertIntersectionTestPointEquiv R i j k D P hP hD C (hilbertPointOver (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) f) x := |
| 67 | (hilbertIntersectionFamilyTestEquiv R i j k D P hP hD).toIso_on_affine C f x |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.IntersectionFamilyIso |