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.Stable.AffineIntersection |
| 2 | |
| 3 | /-! # Intersection Base Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.IntersectionBaseMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every affine test over a coefficient spectrum comes from an |
| 10 | actual coefficient algebra. Transport through the resulting Over |
| 11 | isomorphism removes the chosen-algebra presentation from the Hilbert |
| 12 | intersection comparison. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u v |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | theorem uniqueLift_precomp_iso_iff {𝒞 : Type u} [Category.{v} 𝒞] |
| 19 | {U T X M : 𝒞} (e : U ≅ T) (j : X ⟶ M) [Mono j] (x : T ⟶ M) : |
| 20 | (∃! a : T ⟶ X, a ≫ j = x) ↔ (∃! a : U ⟶ X, a ≫ j = e.hom ≫ x) := by |
| 21 | constructor |
| 22 | · rintro ⟨a, ha, _⟩ |
| 23 | have H : (e.hom ≫ a) ≫ j = e.hom ≫ x := by rw [Category.assoc, ha] |
| 24 | exact ⟨e.hom ≫ a, H, fun b hb => (cancel_mono j).mp (hb.trans H.symm)⟩ |
| 25 | · rintro ⟨a, ha, _⟩ |
| 26 | have H : (e.inv ≫ a) ≫ j = x := by rw [Category.assoc, ha, e.inv_hom_id_assoc] |
| 27 | exact ⟨e.inv ≫ a, H, fun b hb => (cancel_mono j).mp (hb.trans H.symm)⟩ |
| 28 | |
| 29 | @[instance_reducible] |
| 30 | def affineOverCoefficientAlgebra (R C : Type u) [CommRing R] [CommRing C] |
| 31 | (f : Spec (.of C) ⟶ Spec (.of R)) : Algebra R C := |
| 32 | (Spec.preimage f).hom.toAlgebra |
| 33 | |
| 34 | def affineOverCoefficientIso (R C : Type u) [CommRing R] [CommRing C] |
| 35 | (f : Spec (.of C) ⟶ Spec (.of R)) : |
| 36 | letI := affineOverCoefficientAlgebra R C f |
| 37 | Over.mk f ≅ HilbertScheme.Presentations.Relative.AffinePoints.relativeAffineScheme (.of R) C := by |
| 38 | letI := affineOverCoefficientAlgebra R C f |
| 39 | refine Over.isoMk (Iso.refl _) ?_ |
| 40 | change (𝟙 (Spec (.of C))) ≫ Spec.map (Spec.preimage f) = f |
| 41 | rw [Category.id_comp, Spec.map_preimage] |
| 42 | |
| 43 | variable (R C : Type u) [CommRing R] [IsNoetherianRing R] [CommRing C] [IsNoetherianRing C] |
| 44 | variable {n m : ℕ} (i : Fin m) (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 45 | variable (D : ℕ) (P : Polynomial ℚ) |
| 46 | variable (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 47 | variable (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 48 | variable (f : Spec (.of C) ⟶ Spec (.of R)) |
| 49 | variable (y : Over.mk f ⟶ |
| 50 | Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankLocus R i (j.intersection k) D (Stable.ConfigurationLocus.configurationHilbertRank D P)) |
| 51 | |
| 52 | include hP hD |
| 53 | |
| 54 | theorem affineHilbertIntersection_left_iff : |
| 55 | (∃! a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P, |
| 56 | a ≫ Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P = |
| 57 | y ≫ Stable.RankIntersectionMaps.stableRankIntersectionLeftMap R i j k D (Stable.ConfigurationLocus.configurationHilbertRank D P)) ↔ |
| 58 | (∃! a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P, |
| 59 | a ≫ Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i (j.intersection k) D P = y) := by |
| 60 | let := affineOverCoefficientAlgebra R C f |
| 61 | let e := affineOverCoefficientIso R C f |
| 62 | have : Mono (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P) := Over.mono_of_mono_left _ |
| 63 | have : Mono (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i (j.intersection k) D P) := Over.mono_of_mono_left _ |
| 64 | rw [uniqueLift_precomp_iso_iff e.symm, uniqueLift_precomp_iso_iff e.symm] |
| 65 | simpa only [Category.assoc, Iso.symm_hom] using Stable.AffineIntersection.stableAffineHilbertIntersection_left_iff R i j k D P hP hD (e.inv ≫ y) |
| 66 | |
| 67 | theorem affineHilbertIntersection_right_iff : |
| 68 | (∃! a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D P, |
| 69 | a ≫ Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i k D P = |
| 70 | y ≫ Stable.RankIntersectionMaps.stableRankIntersectionRightMap R i j k D (Stable.ConfigurationLocus.configurationHilbertRank D P)) ↔ |
| 71 | (∃! a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P, |
| 72 | a ≫ Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i (j.intersection k) D P = y) := by |
| 73 | let := affineOverCoefficientAlgebra R C f |
| 74 | let e := affineOverCoefficientIso R C f |
| 75 | have : Mono (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i k D P) := Over.mono_of_mono_left _ |
| 76 | have : Mono (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i (j.intersection k) D P) := Over.mono_of_mono_left _ |
| 77 | rw [uniqueLift_precomp_iso_iff e.symm, uniqueLift_precomp_iso_iff e.symm] |
| 78 | simpa only [Category.assoc, Iso.symm_hom] using Stable.AffineIntersection.stableAffineHilbertIntersection_right_iff R i j k D P hP hD (e.inv ≫ y) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.IntersectionBaseMaps |