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.Intrinsic.FamilyLocalPoints |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.IntersectionFamilyIso |
| 3 | |
| 4 | /-! # Intersection Affine Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.IntersectionAffineComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The global intersection-family isomorphism pulls back to the actual |
| 11 | affine chart transport. The comparison tracks arbitrary local-family points. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 17 | variable {n m : ℕ} (i : Fin m) |
| 18 | variable (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 19 | variable (D : ℕ) (P : Polynomial ℚ) |
| 20 | variable (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D |
| 21 | (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 22 | variable (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 23 | variable (C : CommRingCat.{u}) [IsNoetherianRing C] |
| 24 | variable {f : Spec C ⟶ Spec (.of R)} |
| 25 | variable (a : Over.mk f ⟶ |
| 26 | Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 27 | |
| 28 | theorem hilbertIntersectionAffineTransport_familyMap : |
| 29 | HilbertScheme.Presentations.Hilbert.Functor.familyMap (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) a |
| 30 | (IntersectionUniversalFamilies.hilbertIntersectionLeftFamily R i j k D P hP hD).val ≫ |
| 31 | (IntersectionFamilyIso.hilbertIntersectionFamilyIso R i j k D P hP hD).hom.left = |
| 32 | (IntersectionUniversalFamilies.hilbertIntersectionAffineTransport R i j k D P hP hD C a).hom.left ≫ |
| 33 | HilbertScheme.Presentations.Hilbert.Functor.familyMap (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) a |
| 34 | (IntersectionUniversalFamilies.hilbertIntersectionRightFamily R i j k D P hP hD).val := by |
| 35 | let X : Over (Spec (.of R)) := HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n |
| 36 | let T : Over (Spec (.of R)) := Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P |
| 37 | let F : HilbertScheme.Presentations.Hilbert.Functor.Family X T := IntersectionUniversalFamilies.hilbertIntersectionLeftFamily R i j k D P hP hD |
| 38 | let G : HilbertScheme.Presentations.Hilbert.Functor.Family X T := IntersectionUniversalFamilies.hilbertIntersectionRightFamily R i j k D P hP hD |
| 39 | let FA : HilbertScheme.Presentations.Hilbert.Functor.Family X (Over.mk f) := HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a F |
| 40 | let E0 : Intrinsic.FamilyTestPoints.nativeFamilyOver X T F ≅ Intrinsic.FamilyTestPoints.nativeFamilyOver X T G := |
| 41 | IntersectionFamilyIso.hilbertIntersectionFamilyIso R i j k D P hP hD |
| 42 | let eA : Intrinsic.FamilyTestPoints.nativeFamilyOver X (Over.mk f) FA ≅ |
| 43 | Intrinsic.FamilyTestPoints.nativeFamilyOver X (Over.mk f) (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily X a G) := |
| 44 | IntersectionUniversalFamilies.hilbertIntersectionAffineTransport R i j k D P hP hD C a |
| 45 | change HilbertScheme.Presentations.Hilbert.Functor.familyMap X a F.val ≫ E0.hom.left = |
| 46 | eA.hom.left ≫ HilbertScheme.Presentations.Hilbert.Functor.familyMap X a G.val |
| 47 | have : IsLocallyNoetherian (Over.mk f).left := |
| 48 | inferInstanceAs (IsLocallyNoetherian (Spec C)) |
| 49 | have hnoeth : IsLocallyNoetherian (Intrinsic.FamilyTestPoints.nativeFamilyOver X (Over.mk f) FA).left := |
| 50 | IntersectionUniversalFamilies.nativeFamilyOver_locallyNoetherian X (Over.mk f) FA |
| 51 | apply @Noetherian.AffineTestMorphisms.schemeHom_ext_noetherianAffines |
| 52 | (Intrinsic.FamilyTestPoints.nativeFamilyOver X (Over.mk f) FA).left (Intrinsic.FamilyTestPoints.nativeFamilyOver X T G).left hnoeth |
| 53 | intro A _ x |
| 54 | let r : Spec A ⟶ Spec C := x ≫ (Intrinsic.FamilyTestPoints.nativeFamilyOver X (Over.mk f) FA).hom |
| 55 | let t : Spec A ⟶ T.left := r ≫ a.left |
| 56 | let g : Spec A ⟶ Spec (.of R) := t ≫ T.hom |
| 57 | let b : Over.mk g ⟶ Over.mk f := Over.homMk r (by |
| 58 | change r ≫ f = (r ≫ a.left) ≫ T.hom |
| 59 | have ha : a.left ≫ T.hom = f := a.w |
| 60 | exact (congrArg (fun q => r ≫ q) ha.symm).trans (Category.assoc _ _ _).symm) |
| 61 | let p : Over.mk t ⟶ Intrinsic.FamilyTestPoints.nativeFamilyOver X T F := |
| 62 | Over.homMk (x ≫ HilbertScheme.Presentations.Hilbert.Functor.familyMap X a F.val) (by |
| 63 | change (x ≫ HilbertScheme.Presentations.Hilbert.Functor.familyMap X a F.val) ≫ |
| 64 | HilbertScheme.Presentations.Hilbert.Functor.familyProjection X F.val = |
| 65 | (x ≫ HilbertScheme.Presentations.Hilbert.Functor.familyProjection X FA.val) ≫ a.left |
| 66 | exact (Category.assoc _ _ _).trans |
| 67 | ((congrArg (fun q => x ≫ q) (HilbertScheme.Presentations.Hilbert.Functor.family_isPullback X a F.val).w.symm).trans |
| 68 | (Category.assoc _ _ _).symm)) |
| 69 | let eB := IntersectionUniversalFamilies.hilbertIntersectionAffineTransport R i j k D P hP hD A (b ≫ a) |
| 70 | let EA := Intrinsic.AffineTransportNaturality.affineNativeAmbientTransport n f |
| 71 | (StableProjectiveTransport.rawStableIntersectionProjectiveIso R i j k |
| 72 | (a ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D P)) |
| 73 | let EB := Intrinsic.AffineTransportNaturality.affineNativeAmbientTransport n g |
| 74 | (StableProjectiveTransport.rawStableIntersectionProjectiveIso R i j k |
| 75 | ((b ≫ a) ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D P)) |
| 76 | have hglobal : |
| 77 | p.left ≫ E0.hom.left = |
| 78 | (Intrinsic.FamilyTestPoints.nativeFamilyTestPointTransport X (b ≫ a) F G eB p).left := by |
| 79 | have h := congrArg Over.Hom.left |
| 80 | (IntersectionFamilyIso.hilbertIntersectionFamilyIso_on_affine R i j k D P hP hD A t p) |
| 81 | exact h |
| 82 | have hE : EB ≫ HilbertScheme.Presentations.Hilbert.Functor.ambientMap X b = HilbertScheme.Presentations.Hilbert.Functor.ambientMap X b ≫ EA := by |
| 83 | simpa only [EA, EB, Category.assoc] using |
| 84 | AmbientTransportOverNaturality.rawStableNativeAmbientTransport_natural R i j k |
| 85 | (a ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D P) g b |
| 86 | have hlocal : |
| 87 | (Intrinsic.FamilyTestPoints.nativeFamilyTestPointTransport X (b ≫ a) F G eB p).left = |
| 88 | x ≫ eA.hom.left ≫ HilbertScheme.Presentations.Hilbert.Functor.familyMap X a G.val := |
| 89 | Intrinsic.FamilyLocalPoints.nativeFamilyTestPointTransport_from_local X a b F G eA eB EA EB |
| 90 | (IntersectionUniversalFamilies.hilbertIntersectionAffineTransport_ambient R i j k D P hP hD C a) |
| 91 | (IntersectionUniversalFamilies.hilbertIntersectionAffineTransport_ambient R i j k D P hP hD A (b ≫ a)) |
| 92 | hE x (by rfl) p rfl |
| 93 | exact (Category.assoc x (HilbertScheme.Presentations.Hilbert.Functor.familyMap X a F.val) E0.hom.left).symm.trans |
| 94 | (hglobal.trans hlocal) |
| 95 | |
| 96 | theorem hilbertIntersectionFamilyIso_pullback_affine : |
| 97 | Intrinsic.FamilyPullbackPoints.nativeFamilyIsoPullback |
| 98 | (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) a |
| 99 | (IntersectionUniversalFamilies.hilbertIntersectionLeftFamily R i j k D P hP hD) |
| 100 | (IntersectionUniversalFamilies.hilbertIntersectionRightFamily R i j k D P hP hD) |
| 101 | (IntersectionFamilyIso.hilbertIntersectionFamilyIso R i j k D P hP hD) = |
| 102 | IntersectionUniversalFamilies.hilbertIntersectionAffineTransport R i j k D P hP hD C a := by |
| 103 | apply Intrinsic.FamilyPullbackPoints.nativeFamilyIsoPullback_eq_of_familyMap |
| 104 | exact hilbertIntersectionAffineTransport_familyMap R i j k D P hP hD C a |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.IntersectionAffineComparison |