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.Uniform.GraphPowerEmbedding |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CanonicalGraph.PowerIntersectionData |
| 3 | |
| 4 | /-! # Graph Intersection Data -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The uniform complete graph-power embedding supplies its actual |
| 11 | affine charts, generating section ratios, and Euler coefficient equal |
| 12 | to the prescribed section rank depending only on dimension and type. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | def Uniform.GraphIntersectionData.graphTorsionHyperplaneDegree (g : ℕ) (δ : Fin g → ℕ) : ℕ := |
| 19 | Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ * g.factorial |
| 20 | |
| 21 | variable {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 22 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 23 | variable (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) |
| 24 | |
| 25 | theorem PolarizationData.PolarizedAbelianWithFullLevel.uniformGraphPowerSections_ratios_generate : |
| 26 | Section.ProjectivePresentation.SectionRatiosGenerate A.abelian.scheme.hom (A.uniformGraphPowerSections hg hδ hN hNk) := by |
| 27 | have : CompactSpace A.abelian.scheme.left := QuasiCompact.compactSpace_of_compactSpace A.abelian.scheme.hom |
| 28 | have : A.abelian.scheme.left.IsSeparated := ⟨by |
| 29 | rw [← terminal.comp_from A.abelian.scheme.hom]; infer_instance⟩ |
| 30 | apply Power.FactorizationBasisEmbedding.sectionBasisFamily_ratios_generate A.abelian.scheme.hom |
| 31 | (A.graphBundle.tensorPower (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ)) |
| 32 | (A.uniformGraphPowerSectionBasis hg hδ hN hNk) |
| 33 | intro m hm |
| 34 | simpa only [Graph.EmbeddingNumerics.graphUniformEmbeddingDegree, Nat.add_comm 1 m] using |
| 35 | A.graphBundle_uniform_power_consecutive_sections_factor hg hδ hN hNk m hm |
| 36 | |
| 37 | theorem PolarizationData.PolarizedAbelianWithFullLevel.uniformGraphPowerSections_affine (i : Fin (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ - 1 + 1)) : |
| 38 | IsAffineOpen (Ample.LineBundles.sectionNonvanishing (A.uniformGraphPowerSections hg hδ hN hNk i)) := by |
| 39 | let p := A.abelian.scheme.hom |
| 40 | let s := A.uniformGraphPowerSections hg hδ hN hNk |
| 41 | let hs := A.uniformGraphPowerSections_cover hg hδ hN hNk |
| 42 | let a := SectionsProjectiveMorphism.sectionAbsoluteMorphism p s hs |
| 43 | let q := pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(Spec (.of K), ⊤) |
| 44 | (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ - 1)).hom (Spec (.of K)).toSpecΓ |
| 45 | have : IsIso q := inferInstance |
| 46 | have he : (SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs).left ≫ q = a := pullback.lift_fst _ _ _ |
| 47 | have : IsFinite (SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs).left := |
| 48 | A.uniformGraphPower_sectionMap_isFinite hg hδ hN hNk |
| 49 | have : IsFinite q := inferInstance |
| 50 | have : IsFinite a := he ▸ (MorphismProperty.comp_mem (@IsFinite) |
| 51 | (SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs).left q inferInstance inferInstance) |
| 52 | have h := (StandardProjectiveCharts.standardProjectiveChart_isAffine Γ(Spec (.of K), ⊤) |
| 53 | (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ - 1) i).preimage a |
| 54 | erw [ProjectiveChart.Preimages.sectionAbsoluteMorphism_preimage] at h |
| 55 | exact h |
| 56 | |
| 57 | include hg hδ hN hNk in |
| 58 | theorem PolarizationData.PolarizedAbelianWithFullLevel.uniformGraphPower_euler_eq_sectionRank : |
| 59 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom |
| 60 | (A.graphBundle.tensorPower (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ)).sheaf = |
| 61 | (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ : ℤ) := by |
| 62 | have hunit : IsUnit (N : Γ(Spec (.of K), ⊤)) := by |
| 63 | simpa only [map_natCast] using |
| 64 | (isUnit_iff_ne_zero.mpr hNk).map (Coefficient.ModulePresheaf.schemeCoefficientMap (𝟙 (Spec (.of K)))) |
| 65 | rw [A.graphBundle_positivePower_euler_eq_sections hN hunit |
| 66 | (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree_pos g δ hδ)] |
| 67 | exact congrArg (fun n : ℕ => (n : ℤ)) |
| 68 | (A.graphBundle_positivePower_sections_finrank_normalized hg hN hNk |
| 69 | (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree_pos g δ hδ)) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |