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.ProjectiveRefinement.DualIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.PointQuotientSquare |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SectionClass |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AdjunctionGlobal |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveSerre |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.SupportedSurvivor |
| 7 | |
| 8 | /-! # Survivor -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The survivor of the original fixed point resolution is the |
| 15 | direct image of the point's genuine degree-zero form sheaf. The |
| 16 | coefficient change uses the actual common negative resolution. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | universe u |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 26 | |
| 27 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 28 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 29 | |
| 30 | def pointModel (R : Type u) [CommRing R] : Over (Spec (CommRingCat.of R)) := Over.mk (𝟙 _) |
| 31 | |
| 32 | instance point_smooth : SmoothOfRelativeDimension 0 (pointModel R).hom := by |
| 33 | change SmoothOfRelativeDimension 0 (𝟙 (Spec (CommRingCat.of R))) |
| 34 | infer_instance |
| 35 | |
| 36 | instance point_proper : IsProper (pointModel R).hom := by |
| 37 | change IsProper (𝟙 (Spec (CommRingCat.of R))) |
| 38 | infer_instance |
| 39 | |
| 40 | variable {X : Scheme.{u}} (i : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) |
| 41 | [IsClosedImmersion i] (s : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion s] |
| 42 | (hs : s ≫ (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n + 2 ≤ B) |
| 43 | |
| 44 | def pointEmbedding : pointModel R ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1) := |
| 45 | Over.homMk (s ≫ i) (by |
| 46 | change (s ≫ i) ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = 𝟙 _ |
| 47 | simpa only [Category.assoc] using hs) |
| 48 | |
| 49 | instance point_embedding_closed : IsClosedImmersion (pointEmbedding i s hs).left := |
| 50 | inferInstanceAs (IsClosedImmersion (s ≫ i)) |
| 51 | |
| 52 | abbrev coefficient := Projective.SectionClass.point i s |
| 53 | abbrev chart (R : Type u) : Fin (n+2) := |
| 54 | let _ := R |
| 55 | NegativeTwistResidueNaturality.topChart.{u} (n+1) (Fintype.card_fin (n+2)) |
| 56 | |
| 57 | local instance coefficient_qc : (coefficient i s).IsQuasicoherent := |
| 58 | Finite.MapPureTrace.coefficients_quasicoherent s i |
| 59 | local instance coefficient_finite : (coefficient i s).IsFiniteType := |
| 60 | Finite.MapPureTrace.coefficients_finiteType s i |
| 61 | |
| 62 | abbrev complex := Projective.NegativeResolution.complex (coefficient i s) (chart (R := R)) B |
| 63 | abbrev dual := (ProjectiveRefinement.DualMap.dualFunctor (R := R) (chart (R := R)) (n+2)).obj |
| 64 | (op (complex i s B)) |
| 65 | abbrev survivor := (dual i s B).homology (n+1) |
| 66 | |
| 67 | def closedIso (q : ℕ) : (dual i s B).homology q ≅ |
| 68 | ((ProjectiveRefinement.DualMap.dualFunctor (R := R) (chart (R := R)) (n+2)).obj |
| 69 | (op (Projective.NegativeResolution.complex |
| 70 | (Projective.ClosedImmersionPurity.directImage (s ≫ i)) (chart (R := R)) B))).homology q := |
| 71 | ProjectiveRefinement.DualIso.iso |
| 72 | (Projective.ClosedImmersionPurity.directImage (s ≫ i)) (coefficient i s) |
| 73 | (chart (R := R)) B (n+2) hB (Closed.PointQuotientSquare.pointIso s i).symm q |
| 74 | |
| 75 | abbrev forms := GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R (pointModel R) 0 |
| 76 | |
| 77 | def adjunctionIso : survivor i s B ≅ (Scheme.Modules.pushforward (s ≫ i)).obj (forms (R := R)) := by |
| 78 | letI : Smooth (pointModel R).hom := SmoothOfRelativeDimension.smooth 0 _ |
| 79 | exact closedIso i s B hB (n+1) ≪≫ |
| 80 | Projective.AdjunctionGlobal.iso (pointModel R) (pointEmbedding i s hs) 0 |
| 81 | (chart (R := R)) B hB (Nat.zero_le _) |
| 82 | |
| 83 | include hs hB in |
| 84 | theorem exactAt (q : ℕ) (hq : q ≠ n+1) : (dual i s B).ExactAt q := by |
| 85 | let : SmoothOfRelativeDimension 0 ((s ≫ i) ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := by |
| 86 | have he : (s ≫ i) ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = 𝟙 _ := by simpa only [Category.assoc] using hs |
| 87 | rw [he] |
| 88 | infer_instance |
| 89 | have h := IntegralComparison.Smooth.ProjectiveSerre.exactAt (s ≫ i) B n (Fintype.card_fin (n+2)) hB 0 q |
| 90 | (by simpa only [Nat.sub_zero] using hq) |
| 91 | apply (HomologicalComplex.exactAt_iff_isZero_homology _ _).mpr |
| 92 | apply (closedIso i s B hB q).isZero_iff.mpr |
| 93 | exact (HomologicalComplex.exactAt_iff_isZero_homology _ _).mp h |
| 94 | |
| 95 | abbrev sections_zero := Closed.SupportedSurvivor.sections_zero (s ≫ i) |
| 96 | (forms (R := R)) (survivor i s B) (adjunctionIso i s hs B hB) |
| 97 | |
| 98 | abbrev terms_zero (c q : ℕ) := Closed.SupportedSurvivor.terms_zero (s ≫ i) |
| 99 | (forms (R := R)) (survivor i s B) (adjunctionIso i s hs B hB) c q |
| 100 | |
| 101 | abbrev lift (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) := |
| 102 | Closed.SupportedSurvivor.lift (s ≫ i) (forms (R := R)) (survivor i s B) |
| 103 | (adjunctionIso i s hs B hB) U (n+1) |
| 104 | |
| 105 | abbrev homology_extension (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) |
| 106 | (hU : ⊤ ≤ (s ≫ i) ⁻¹ᵁ U) (q : ℕ) := |
| 107 | Closed.SupportedSurvivor.homology_extension (s ≫ i) (forms (R := R)) (survivor i s B) |
| 108 | (adjunctionIso i s hs B hB) U hU (n+1) q |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor |