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.EvenGraphEvaluationRetraction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.FramedGraphSections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Uniform.PolynomialTwistingSections |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SourceBundleFramedEvaluation |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.PolynomialEvaluationComparison |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ConfigurationEvaluation |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.RowLinearEquivalence |
| 8 | |
| 9 | /-! # Torsion Evaluation Cokernel -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.TorsionEvaluationCokernel |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Over a noetherian local ring, the polynomial evaluation map of a |
| 16 | normalized high-torsion configuration has projective cokernel. The |
| 17 | proof constructs its factorization through actual graph-power sections, |
| 18 | including the unit changes between polynomial and fiber coordinates. -/ |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | open scoped Classical |
| 21 | universe u |
| 22 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 23 | variable {g N n r : ℕ} {δ : Fin g → ℕ} [NeZero n] {P : Polynomial ℚ} |
| 24 | |
| 25 | theorem localAuxiliaryTorsionEvaluation_projective_cokernel |
| 26 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of R))) |
| 27 | (I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal R r P) |
| 28 | (e : A.abelian.scheme ≅ HilbertConstruction.Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal) |
| 29 | (eL : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I.ideal 1).pullback e.hom.left).sheaf ≅ |
| 30 | (A.graphBundle.tensorPower (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).sheaf) |
| 31 | (hg : 0 < g) (hδ : ∀ j, 0 < δ j) (hN : 3 ≤ N) |
| 32 | (hunit : IsUnit (N : Γ(Spec (.of R), ⊤))) |
| 33 | (level : A.abelian.FullLevel n) (D : ℕ) (hD : 0 < D) |
| 34 | (hdegree : HilbertScheme.Presentations.RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} r P ≤ D) |
| 35 | (hlarge : Bounded.GraphTorsionSectionDetection.boundedGraphTorsionDegree g δ D < n ^ 2) |
| 36 | (w : Multiplicative (Fin (2 * g) → ZMod n) → Fin (r + 1) → R) |
| 37 | (i : Multiplicative (Fin (2 * g) → ZMod n) → Fin (r + 1)) (hi : ∀ c, w c (i c) = 1) |
| 38 | (hw : ∀ c, (A.abelian.fullLevelGlobalSection level c ≫ e.hom.left) ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 39 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of R) R (w c) (i c) (hi c)) : |
| 40 | Module.Projective R ((Multiplicative (Fin (2 * g) → ZMod n) → R) ⧸ |
| 41 | (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation w D).range) := by |
| 42 | have : IsNoetherianRing Γ(Spec (.of R), ⊤) := isNoetherianRing_of_ringEquiv R |
| 43 | (Scheme.ΓSpecIso (.of R)).commRingCatIsoToRingEquiv.symm |
| 44 | let t := Graph.EmbeddingNumerics.graphSquareSectionRank g δ * D |
| 45 | have ht : 0 < t := Nat.mul_pos (Graph.EmbeddingNumerics.graphSquareSectionRank_pos g δ hδ) hD |
| 46 | have htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ t := by |
| 47 | simpa only [t, Nat.mul_one] using |
| 48 | Nat.mul_le_mul_left (Graph.EmbeddingNumerics.graphSquareSectionRank g δ) (Nat.succ_le_of_lt hD) |
| 49 | have hbound : EvenGraphTorsionBound.evenGraphTorsionDegree g δ t < n ^ 2 := |
| 50 | (Bounded.GraphTorsionSectionDetection.evenGraphTorsionDegree_mono g δ |
| 51 | (Nat.mul_le_mul_left (Graph.EmbeddingNumerics.graphSquareSectionRank g δ) (Nat.le_max_right 1 D))).trans_lt hlarge |
| 52 | let L := ProjectiveTwisting.Bundle.projectiveTwistingBundle I.ideal D |
| 53 | let M := A.graphBundle.tensorPower (2 * t) |
| 54 | let H : (L.pullback e.hom.left).sheaf ≅ M.sheaf := Affine.EmbeddedTorsionDetection.embeddedGraphTwistingPowerIsoOverRing A I.ideal e eL D |
| 55 | let x := A.abelian.fullLevelGlobalSection level |
| 56 | let y := fun c => x c ≫ e.hom.left |
| 57 | have hy (c : Multiplicative (Fin (2 * g) → ZMod n)) : |
| 58 | y c ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I.ideal) = 𝟙 _ := by |
| 59 | change (x c ≫ e.hom.left) ≫ (HilbertConstruction.Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal).hom = _ |
| 60 | rw [Category.assoc, e.hom.w] |
| 61 | exact A.abelian.fullLevelGlobalSection_comp level c |
| 62 | let fI := fun c => SpectrumLineBundleFrames.localSpectrumLineBundleIso (L.pullback (y c)) |
| 63 | let fG := fun c => SourceBundleFramedEvaluation.sourceBundleSectionFrame L M (x c) e.hom.left H (fI c) |
| 64 | obtain ⟨B₀⟩ := A.local_exists_completeFramedEvenGraphSections hN hunit level t ht |
| 65 | let B : A.CompleteFramedEvenGraphSections level t := { B₀ with frames := fG } |
| 66 | let F := A.fullLevelAffineEvenGraphEvaluation level t B.frames |
| 67 | obtain ⟨q, hq⟩ := A.completeFramedEvenGraphEvaluation_leftInverse hg hδ hN hunit |
| 68 | level t ht htlarge hbound B |
| 69 | let E := IsoSchemeSectionEquiv.sourceBundleIsoSchemeSectionEquiv e L.sheaf H |
| 70 | let C := E.toLinearMap.comp (SaturatedPolynomialSectionMap.homogeneousPolynomialTwistingSectionMap I.ideal D) |
| 71 | have hC : Function.Surjective C := E.surjective.comp |
| 72 | (Uniform.PolynomialTwistingSections.homogeneousPolynomialTwistingSectionMap_surjective_uniform I.ideal P I.hilbert D hdegree) |
| 73 | have hrow (c : Multiplicative (Fin (2 * g) → ZMod n)) (p : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R r D) : |
| 74 | F (C p) c = Framed.PolynomialEvaluationComparison.framedHomogeneousPolynomialEvaluation I.ideal D (y c) (hy c) (fI c) p := by |
| 75 | have h := LinearMap.congr_fun (SourceBundleFramedEvaluation.affineFramedSectionEvaluation_sourceBundleIso e L M (x c) |
| 76 | (A.abelian.fullLevelGlobalSection_comp level c) H (fI c) (hy c)) |
| 77 | (SaturatedPolynomialSectionMap.homogeneousPolynomialTwistingSectionMap I.ideal D p) |
| 78 | exact h |
| 79 | choose a ha using fun c : Multiplicative (Fin (2 * g) → ZMod n) => |
| 80 | Framed.PolynomialEvaluationComparison.framedPolynomialEvaluation_eq_unit_mul I.ideal D (y c) (hy c) (fI c) hD (w c) (i c) (hi c) (hw c) |
| 81 | let u := Unit.RowLinearEquivalence.unitRowLinearEquiv a |
| 82 | have hfactor : F.comp C = u.toLinearMap.comp (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation w D) := by |
| 83 | apply LinearMap.ext |
| 84 | intro p |
| 85 | funext c |
| 86 | change F (C p) c = (a c : R) * MvPolynomial.eval₂Hom (algebraMap R R) (w c) p.val |
| 87 | rw [hrow] |
| 88 | exact ha c p |
| 89 | have heval : Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation w D = u.symm.toLinearMap.comp (F.comp C) := by |
| 90 | apply LinearMap.ext |
| 91 | intro p |
| 92 | have h := LinearMap.congr_fun hfactor p |
| 93 | change F (C p) = u (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation w D p) at h |
| 94 | change Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation w D p = u.symm (F (C p)) |
| 95 | rw [h, u.symm_apply_apply] |
| 96 | rw [heval] |
| 97 | exact Unit.RowLinearEquivalence.projective_cokernel_of_rescaled_split_factorization u.symm F q hq C hC |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.TorsionEvaluationCokernel |