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.ProjectiveCoefficient.HomGlobal |
| 2 | |
| 3 | /-! # Hom Evaluation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomEvaluation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual global coefficient adjunction is normalized by every |
| 10 | local coefficient section, not only by the coefficient unit. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomLocal |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 21 | attribute [local instance] HomLocal.scalar_terms |
| 22 | attribute [local instance] HomLocal.coefficient_terms |
| 23 | variable (X : Over (Spec (CommRingCat.of R))) {Y : Scheme.{u}} |
| 24 | (f : Y ⟶ X.left) [IsFinite f] [Flat f] |
| 25 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R n) [IsClosedImmersion i.left] |
| 26 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 27 | (j : Fin (n+1)) (B : ℕ) (hB : n+1 ≤ B) (hg : g ≤ n) |
| 28 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) |
| 29 | (k : Fin (n+1)) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 30 | |
| 31 | abbrev evaluation (z : Γ(HomLocal.sourceSheaf X f i g j B, U)) (x : Γ(HomLocal.coefficient X f i, U)) := by |
| 32 | letI : (HomLocal.coefficient X f i).IsQuasicoherent := Finite.MapPureTrace.coefficients_quasicoherent f i.left |
| 33 | letI : (HomLocal.canonical (R := R) j).IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 34 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j (n+1)) |
| 35 | letI := HomLocal.formScalar X i g U |
| 36 | letI := HomLocal.formTower X i g U |
| 37 | letI (q : ℕ) := HomLocal.scalar_dual_terms X i j B hB q |
| 38 | letI (q : ℕ) := HomLocal.coefficient_dual_terms X f i j B hB q |
| 39 | letI := HomLocal.coefficient_finite X f i U hU |
| 40 | letI := HomLocal.coefficient_projective X f i U hU |
| 41 | letI (q : ℕ) := HomLocal.scalar_projective X i j B U hU k hUk q |
| 42 | letI (q : ℕ) := HomLocal.coefficient_term_projective X f i j B U hU k hUk q |
| 43 | have hl := Affine.IntrinsicCoefficientHom.evaluation U hU (HomLocal.canonical j) |
| 44 | (HomLocal.scalarComplex X i j B) (HomLocal.coefficientComplex X f i j B) (HomLocal.scalar X i) (HomLocal.coefficient X f i) |
| 45 | (Projective.NegativeResolution.augmentation (HomLocal.scalar X i) j B) |
| 46 | (Projective.NegativeResolution.augmentation (HomLocal.coefficient X f i) j B) |
| 47 | (Finite.FlatCoefficientSections.quotientRing i.left U) (i.left.app_surjective U hU) (Finite.FlatCoefficientSections.coefficientRing f i.left U) |
| 48 | (FiniteCoefficient.RestrictionNormalization.scalarChartIso i.left U hU) |
| 49 | (Finite.FlatCoefficientSections.chartIso f i.left U hU) (n-g) (HomLocal.formSheaf X i g) |
| 50 | (HomLocal.scalarAdjunction X i g j B hB hg) z x |
| 51 | have hglobal := HomGlobal.iso_app X f i g j B hB hg U hU ⟨k,hUk⟩ z |
| 52 | have hsection : (HomGlobal.chosenSectionIso X f i g j B hB hg |
| 53 | U hU ⟨k,hUk⟩).hom z = (HomLocal.sectionIso X f i g j B hB hg U hU k hUk).hom z := rfl |
| 54 | exact (congrArg (fun y => ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen (HomLocal.coefficient X f i) |
| 55 | (HomLocal.formSheaf X i g) U y x) (hglobal.trans hsection)).trans hl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomEvaluation |