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.ProjectivePoint.CohomologyMap |
| 2 | |
| 3 | /-! # Local -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Local.SectionClass |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual local point transfer, after principal concentration and |
| 10 | the genuine survivor adjunction, recovers the original global pure class. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.HomologicalComplex |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | private theorem replaceLastTwo {D : Type*} [Category D] |
| 16 | {A B C E F : D} {f : A ⟶ F} {a : A ⟶ B} {b : B ⟶ C} |
| 17 | {c c' : C ⟶ E} {d d' : E ⟶ F} |
| 18 | (hc : c' = c) (hd : d' = d) (h : f = a ≫ b ≫ c ≫ d) : |
| 19 | f = (a ≫ b) ≫ (c' ≫ d') := CohomologyMap.LocalSectionClass.replace_middle_last h hc hd |
| 20 | |
| 21 | universe u |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 23 | GlobalTransferRecovery |
| 24 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 25 | [IsArtinianRing R] [IsLocalRing R] {n : ℕ} |
| 26 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 27 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 28 | variable {X : Scheme.{u}} [X.IsSeparated] |
| 29 | (i : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) [IsClosedImmersion i] |
| 30 | [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 31 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 32 | (s₀ : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion s₀] |
| 33 | (hbase : s₀ ≫ (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 34 | (M : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Modules) |
| 35 | [M.IsQuasicoherent] [M.IsFiniteType] (v : M ⟶ Survivor.coefficient i s₀) |
| 36 | (d : ℕ) (hM : ∀ q, q ≠ d → (GlobalTransferRecovery.coefficientDual B M).ExactAt q) |
| 37 | (N : X.Modules) [N.IsQuasicoherent] |
| 38 | (e : (GlobalTransferRecovery.coefficientDual B M).homology d ≅ (Scheme.Modules.pushforward i).obj N) |
| 39 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 40 | (hcontains : ⊤ ≤ (s₀ ≫ i) ⁻¹ᵁ U) |
| 41 | {c b : ℕ} (a : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 42 | (t : Fin b → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 43 | (ha : Ideal.span (Set.range a) = i.ker.ideal ⟨U, hU⟩) |
| 44 | (hat : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) a t = |
| 45 | (s₀ ≫ i).ker.ideal ⟨U, hU⟩) |
| 46 | (eM : Projective.TopTracePairing.coefficientRing R ≃ₗ[Projective.TopTracePairing.coefficientRing R] ProjectiveTower.UnitTrace.cohomology M 0) |
| 47 | (g : ℕ) (hg : g+d=n+1) |
| 48 | local notation "π" => OAI.AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)) |
| 49 | local notation "V" => OAI.AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := Fin (n+2)) |
| 50 | local notation "haV" => OAI.AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R) (σ := Fin (n+2)) |
| 51 | local notation "hV" => OAI.AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := Fin (n+2)) |
| 52 | |
| 53 | omit [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 54 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 55 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] in |
| 56 | abbrev localOutputComparison := by |
| 57 | letI : ∀ q : ℕ, ((GlobalTransferRecovery.coefficientDual B M).X q).IsQuasicoherent := |
| 58 | LocalSectionData.Class.coefficient_quasicoherent (B := B) (hB := hB) (M := M) |
| 59 | have h := PrincipalPoint.ShiftedMap.comparison π i s₀ U hU hcontains a t ha |
| 60 | ((KoszulPoint.Ideal.append _ a t).symm.trans hat) |
| 61 | V hV haV (GlobalTransferRecovery.coefficientDual B M) d hM N e g (n+1) hg.symm |
| 62 | have hc' := ConcentrationHom.LocalSectionClass.concentration_hom (B := B) (hB := hB) (M := M) |
| 63 | (d := d) (hM := hM) (g := g) (hg := hg) |
| 64 | have result := replaceLastTwo hc' (CohomologyMap.LocalSectionClass.cohomologyMap_coordinates (n := n) g e.hom) h |
| 65 | exact result |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Local.SectionClass |