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.NumberTheory.PadicHodge.IntegralComparison.Projective.FixedCoefficientPointFraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.SectionEvaluation |
| 3 | |
| 4 | /-! # Coefficient Weight -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientWeight |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The weight in the original finite projective point fraction is the |
| 11 | literal value of the coefficient at the source section, lifted by the |
| 12 | base algebra map. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 19 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | variable {Y X : Scheme.{u}} (f : Y ⟶ X) [IsFinite f] |
| 23 | (i : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) [IsClosedImmersion i] |
| 24 | (s₀ : Spec (CommRingCat.of R) ⟶ Y) [IsClosedImmersion (s₀ ≫ f)] |
| 25 | (hbase : (s₀ ≫ f) ≫ (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) |
| 26 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 27 | (hcontains : ⊤ ≤ ((s₀ ≫ f) ≫ i) ⁻¹ᵁ U) |
| 28 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 29 | (t : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 30 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t = |
| 31 | ((s₀ ≫ f) ≫ i).ker.ideal ⟨U,hU⟩) |
| 32 | local instance sectionAlgebra : Algebra R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) := |
| 33 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R |
| 34 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) U |
| 35 | local instance coefficient_qc : (Cech.StructurePullbackUnit.coefficients f i).IsQuasicoherent := |
| 36 | Finite.MapPureTrace.coefficients_quasicoherent f i |
| 37 | local instance coefficient_finite : (Cech.StructurePullbackUnit.coefficients f i).IsFiniteType := |
| 38 | Finite.MapPureTrace.coefficients_finiteType f i |
| 39 | |
| 40 | omit [IsNoetherianRing R] [IsFinite f] in |
| 41 | theorem value (x : Finite.FlatCoefficientSections.coefficientRing f i U) : |
| 42 | Projective.FixedCoefficientPointFraction.scalar i (s₀ ≫ f) hbase |
| 43 | (Cech.StructurePullbackUnit.coefficients f i) (Cech.SectionCoefficientUnit.sheafMap s₀ f i) |
| 44 | U hU hcontains s t hst (Finite.FlatCoefficientSections.coefficientRing f i U) (Finite.FlatCoefficientSections.chartIso f i U hU) x = |
| 45 | algebraMap R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 46 | ((Scheme.ΓSpecIso (CommRingCat.of R)).hom |
| 47 | (s₀.appLE (f ⁻¹ᵁ (i ⁻¹ᵁ U)) ⊤ hcontains x)) := by |
| 48 | have hz : ((s₀ ≫ f) ≫ i) ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = 𝟙 _ := |
| 49 | (Category.assoc _ _ _).trans hbase |
| 50 | exact congrArg (algebraMap R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 51 | (FiniteCoefficient.SectionEvaluation.evaluation R |
| 52 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) s₀ f i hz U hU hcontains s t hst x) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientWeight |