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.AbelianScheme.IsogenyQuotient.LinearHyperplaneAvoidance |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LinearSectionCombinations |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.Preimages |
| 4 | |
| 5 | /-! # Section Hyperplane Preimage -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SectionHyperplanePreimage.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pullback of an actual linear hyperplane under the morphism defined |
| 12 | by sections is the nonvanishing open of their linear combination. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped BigOperators |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.Preimages |
| 18 | |
| 19 | universe u |
| 20 | variable {R : Type u} [CommRing R] {T S X : Scheme.{u}} {M : X.Modules} {n : ℕ} |
| 21 | |
| 22 | theorem projectiveChartMap_preimage_linear (a : R →+* Γ(T, ⊤)) |
| 23 | (v : Fin (n + 1) → Γ(T, ⊤)) (i : Fin (n + 1)) (hi : v i = 1) |
| 24 | (c : Fin (n + 1) → R) : |
| 25 | AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartMap a v i hi ⁻¹ᵁ |
| 26 | Proj.basicOpen (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading R n) (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial c) = |
| 27 | T.basicOpen (∑ j, a (c j) * v j) := by |
| 28 | let z : AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartRing R n i := HomogeneousLocalization.Away.isLocalizationElem |
| 29 | (MvPolynomial.isHomogeneous_X R i) (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial_homogeneous c) |
| 30 | have hz : AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartEvaluation a v i hi z = ∑ j, a (c j) * v j := by |
| 31 | have he := AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartEvaluation_mk a v i hi 1 (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial c) |
| 32 | (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial_homogeneous c) |
| 33 | simpa only [z, HomogeneousLocalization.Away.isLocalizationElem, pow_one] using |
| 34 | he.trans (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial_eval a v c) |
| 35 | have ha : Proj.awayι (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X i) |
| 36 | (MvPolynomial.isHomogeneous_X R i) Nat.zero_lt_one ⁻¹ᵁ |
| 37 | Proj.basicOpen (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading R n) (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial c) = |
| 38 | PrimeSpectrum.basicOpen z := |
| 39 | Proj.awayι_preimage_basicOpen (𝒜 := AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading R n) |
| 40 | (MvPolynomial.isHomogeneous_X R i) Nat.zero_lt_one |
| 41 | (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial_homogeneous c) Nat.zero_lt_one |
| 42 | have hp : Spec.map (CommRingCat.ofHom (AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartEvaluation a v i hi)) ⁻¹ᵁ |
| 43 | PrimeSpectrum.basicOpen z = PrimeSpectrum.basicOpen (AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartEvaluation a v i hi z) := by |
| 44 | ext q |
| 45 | rfl |
| 46 | change T.toSpecΓ ⁻¹ᵁ (Spec.map (CommRingCat.ofHom (AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartEvaluation a v i hi)) ⁻¹ᵁ |
| 47 | (Proj.awayι (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading R n) (MvPolynomial.X i) |
| 48 | (MvPolynomial.isHomogeneous_X R i) Nat.zero_lt_one ⁻¹ᵁ |
| 49 | Proj.basicOpen (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading R n) (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial c))) = _ |
| 50 | rw [ha, hp, hz, Scheme.toSpecΓ_preimage_basicOpen] |
| 51 | |
| 52 | theorem sectionAbsoluteChart_preimage_linear (f : X ⟶ S) |
| 53 | (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M)) (i : Fin (n + 1)) |
| 54 | (c : Fin (n + 1) → Γ(S, ⊤)) : |
| 55 | AbelianModuli.HilbertConstruction.Section.ChartOverlaps.sectionAbsoluteChart f s i ⁻¹ᵁ |
| 56 | Proj.basicOpen (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial c) = |
| 57 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).ι ⁻¹ᵁ |
| 58 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (LinearSectionCombinations.Construction.sectionCombination s (fun j => f.appTop (c j))) := by |
| 59 | let j := (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).ι |
| 60 | let e := AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection j (s i) |
| 61 | have hc : AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate e |
| 62 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection j (LinearSectionCombinations.Construction.sectionCombination s (fun k => f.appTop (c k)))) = |
| 63 | ∑ k, (j ≫ f).appTop (c k) * AbelianModuli.HilbertConstruction.Section.Frames.sectionRatio (s i) (s k) := by |
| 64 | rw [LinearSectionCombinations.Construction.pullbackSection_combination, LinearSectionCombinations.Construction.frameCoordinate_sectionCombination] |
| 65 | apply Finset.sum_congr rfl |
| 66 | intro k _ |
| 67 | rw [AbelianModuli.HilbertConstruction.Frame.Coordinates.sectionRatio_eq_frameCoordinate] |
| 68 | rfl |
| 69 | exact (projectiveChartMap_preimage_linear (j ≫ f).appTop.hom |
| 70 | (fun k => AbelianModuli.HilbertConstruction.Section.Frames.sectionRatio (s i) (s k)) i (AbelianModuli.HilbertConstruction.Section.Frames.sectionRatio_self (s i)) c).trans |
| 71 | ((congrArg (fun a => (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).toScheme.basicOpen a) hc.symm).trans |
| 72 | ((AbelianModuli.HilbertConstruction.Scalar.Nonvanishing.sectionNonvanishing_frameCoordinate e _).symm.trans |
| 73 | (AbelianModuli.HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback j _))) |
| 74 | |
| 75 | theorem sectionAbsoluteMorphism_preimage_linear (f : X ⟶ S) |
| 76 | (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M)) |
| 77 | (hs : ∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 78 | (c : Fin (n + 1) → Γ(S, ⊤)) : |
| 79 | AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ⁻¹ᵁ |
| 80 | Proj.basicOpen (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial c) = |
| 81 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (LinearSectionCombinations.Construction.sectionCombination s (fun j => f.appTop (c j))) := by |
| 82 | ext x |
| 83 | obtain ⟨i, hi⟩ := hs x |
| 84 | have he : (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).ι ⁻¹ᵁ (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ⁻¹ᵁ |
| 85 | Proj.basicOpen (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial c)) = |
| 86 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).ι ⁻¹ᵁ |
| 87 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (LinearSectionCombinations.Construction.sectionCombination s (fun j => f.appTop (c j))) := |
| 88 | (congrArg (fun a => a ⁻¹ᵁ |
| 89 | Proj.basicOpen (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial c)) |
| 90 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism_restrict f s hs i)).trans |
| 91 | (sectionAbsoluteChart_preimage_linear f s i c) |
| 92 | exact (congrArg (fun U => (⟨x, hi⟩ : (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).toScheme) ∈ U) he).to_iff |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SectionHyperplanePreimage.Construction |