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.SectionsProjectiveMorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 3 | |
| 4 | /-! # Preimages -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.Preimages |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The constructed projective morphism pulls the standard charts back to the original nonvanishing opens. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {T S X : Scheme.{u}} {L : X.Modules} {n : ℕ} |
| 17 | |
| 18 | /-- The preimage of the jth standard projective chart is the nonvanishing open of the jth coordinate. -/ |
| 19 | theorem projectiveChartMap_preimage (c : R →+* Γ(T, ⊤)) (v : Fin (n + 1) → Γ(T, ⊤)) |
| 20 | (i : Fin (n + 1)) (hi : v i = 1) (j : Fin (n + 1)) : |
| 21 | Evaluation.projectiveChartMap c v i hi ⁻¹ᵁ Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X j) = |
| 22 | T.basicOpen (v j) := by |
| 23 | let z : Evaluation.projectiveChartRing R n i := HomogeneousLocalization.Away.isLocalizationElem |
| 24 | (MvPolynomial.isHomogeneous_X R i) (MvPolynomial.isHomogeneous_X R j) |
| 25 | have hz : Evaluation.projectiveChartEvaluation c v i hi z = v j := by |
| 26 | simpa only [z, HomogeneousLocalization.Away.isLocalizationElem, pow_one] using |
| 27 | Evaluation.projectiveChartEvaluation_coordinate c v i hi j |
| 28 | have ha : Proj.awayι (Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X i) |
| 29 | (MvPolynomial.isHomogeneous_X R i) Nat.zero_lt_one ⁻¹ᵁ |
| 30 | Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X j) = PrimeSpectrum.basicOpen z := |
| 31 | Proj.awayι_preimage_basicOpen (𝒜 := Projective.ProjectivePresentations.coordinateGrading R n) |
| 32 | (MvPolynomial.isHomogeneous_X R i) Nat.zero_lt_one (MvPolynomial.isHomogeneous_X R j) Nat.zero_lt_one |
| 33 | have hp : Spec.map (CommRingCat.ofHom (Evaluation.projectiveChartEvaluation c v i hi)) ⁻¹ᵁ |
| 34 | PrimeSpectrum.basicOpen z = PrimeSpectrum.basicOpen (Evaluation.projectiveChartEvaluation c v i hi z) := by |
| 35 | ext q |
| 36 | rfl |
| 37 | change T.toSpecΓ ⁻¹ᵁ (Spec.map (CommRingCat.ofHom (Evaluation.projectiveChartEvaluation c v i hi)) ⁻¹ᵁ |
| 38 | (Proj.awayι (Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X i) |
| 39 | (MvPolynomial.isHomogeneous_X R i) Nat.zero_lt_one ⁻¹ᵁ |
| 40 | Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X j))) = _ |
| 41 | rw [ha, hp, hz, Scheme.toSpecΓ_preimage_basicOpen] |
| 42 | |
| 43 | /-- The jth chart pulls back under the ith section chart to the restriction of the jth section's |
| 44 | nonvanishing open. -/ |
| 45 | theorem sectionAbsoluteChart_preimage (f : X ⟶ S) |
| 46 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) (i j : Fin (n + 1)) : |
| 47 | Section.ChartOverlaps.sectionAbsoluteChart f s i ⁻¹ᵁ |
| 48 | Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X j) = |
| 49 | (Ample.LineBundles.sectionNonvanishing (s i)).ι ⁻¹ᵁ Ample.LineBundles.sectionNonvanishing (s j) := by |
| 50 | have hr := Scalar.Nonvanishing.sectionNonvanishing_frameCoordinate |
| 51 | (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing (s i)).ι (s i)) |
| 52 | (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing (s i)).ι (s j)) |
| 53 | have hratio := Frame.Coordinates.sectionRatio_eq_frameCoordinate (s i) (s j) |
| 54 | exact (projectiveChartMap_preimage ((Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ f).appTop.hom |
| 55 | (fun k => Section.Frames.sectionRatio (s i) (s k)) i (Section.Frames.sectionRatio_self (s i)) j).trans |
| 56 | ((congrArg (fun a => (Ample.LineBundles.sectionNonvanishing (s i)).toScheme.basicOpen a) hratio).trans |
| 57 | (hr.symm.trans (Section.Nonvanishing.sectionNonvanishing_pullback (Ample.LineBundles.sectionNonvanishing (s i)).ι (s j)))) |
| 58 | |
| 59 | /-- The global projective morphism has exactly the required standard-chart preimages. -/ |
| 60 | theorem sectionAbsoluteMorphism_preimage (f : X ⟶ S) |
| 61 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 62 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) (j : Fin (n + 1)) : |
| 63 | SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ⁻¹ᵁ |
| 64 | Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X j) = Ample.LineBundles.sectionNonvanishing (s j) := by |
| 65 | ext x |
| 66 | obtain ⟨i, hi⟩ := hs x |
| 67 | have he : (Ample.LineBundles.sectionNonvanishing (s i)).ι ⁻¹ᵁ (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ⁻¹ᵁ |
| 68 | Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X j)) = |
| 69 | (Ample.LineBundles.sectionNonvanishing (s i)).ι ⁻¹ᵁ Ample.LineBundles.sectionNonvanishing (s j) := |
| 70 | (congrArg (fun a => a ⁻¹ᵁ Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X j)) |
| 71 | (SectionsProjectiveMorphism.sectionAbsoluteMorphism_restrict f s hs i)).trans (sectionAbsoluteChart_preimage f s i j) |
| 72 | exact (congrArg (fun U => (⟨x, hi⟩ : (Ample.LineBundles.sectionNonvanishing (s i)).toScheme) ∈ U) he).to_iff |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.Preimages |