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.Principal.ModuleHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.SupportedSurvivor |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.ConcentrationForget |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.Fraction |
| 5 | |
| 6 | /-! # Supported Survivor -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SupportedSurvivor |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original closed survivor controls the support concentration |
| 13 | on the entire native principal diagram. Positive parameter intersections |
| 14 | vanish by the genuine closed support, rather than a supplied zero-row premise. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 21 | variable {Z Y : Scheme.{u}} (f : Z ⟶ Y) [IsClosedImmersion f] |
| 22 | (N : Z.Modules) (S : Y.Modules) (e : S ≅ (Scheme.Modules.pushforward f).obj N) |
| 23 | (U : Y.Opens) (hU : IsAffineOpen U) |
| 24 | |
| 25 | include e in |
| 26 | theorem sections_zero (r : SectionPresheaf.Index U) |
| 27 | (hr : SectionPresheaf.openSubset U r ≤ SectionIdealPuncturedCover.outside f.ker) : |
| 28 | IsZero ((SectionPresheaf.modules U hU S).obj (op r)) := by |
| 29 | have hempty : f ⁻¹ᵁ SectionPresheaf.openSubset U r = ⊥ := |
| 30 | le_antisymm ((f.preimage_mono hr).trans (Closed.SupportedSurvivor.preimage_outside f).le) bot_le |
| 31 | let : Subsingleton Γ(Z, f ⁻¹ᵁ SectionPresheaf.openSubset U r) := by rw [hempty]; infer_instance |
| 32 | have hk : RingHom.ker (f.app (SectionPresheaf.openSubset U r)).hom = ⊤ := by |
| 33 | apply Ideal.eq_top_of_isUnit_mem _ (x := 1) _ isUnit_one |
| 34 | change f.app _ 1 = 0 |
| 35 | exact Subsingleton.elim _ _ |
| 36 | have hz := (Projective.ComplementAdjunction.directImage_sections_zero f N (SectionPresheaf.openSubset U r) hk).of_iso |
| 37 | ((Affine.ModuleExactSections.sections (SectionPresheaf.openSubset U r)).mapIso e) |
| 38 | apply ModuleCat.isZero_iff_subsingleton.mpr |
| 39 | change Subsingleton Γ(S, SectionPresheaf.openSubset U r) |
| 40 | exact ModuleCat.isZero_iff_subsingleton.mp hz |
| 41 | |
| 42 | variable {ι : Type u} [LinearOrder ι] (W : ι → SectionPresheaf.Index U) |
| 43 | (hW : ∀ i, SectionPresheaf.openSubset U (W i) ≤ SectionIdealPuncturedCover.outside f.ker) |
| 44 | |
| 45 | include e hW in |
| 46 | theorem intersection_zero (q : ℕ) (hq : 0 < q) (a : AugmentedOrdered.Cech.Index ι q) : |
| 47 | IsZero ((SectionPresheaf.modules U hU S).obj (op ((AugmentedOrdered.Cech.formal W q).obj a))) := by |
| 48 | let j : Fin q := ⟨0, hq⟩ |
| 49 | let p : (AugmentedOrdered.Cech.formal W q).obj a ⟶ W (a.val j) := Pi.π _ j |
| 50 | exact sections_zero f N S e U hU _ ((SectionPresheaf.arrow U hU p).le.trans (hW (a.val j))) |
| 51 | |
| 52 | variable (K : CochainComplex Y.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 53 | (c : ℕ) (eK : K.homology c ≅ (Scheme.Modules.pushforward f).obj N) |
| 54 | |
| 55 | abbrev complex := ((ModuleFunctor.functor U hU).mapHomologicalComplex (.up ℕ)).obj K |
| 56 | |
| 57 | include N eK hW in |
| 58 | theorem homology_zero (q : ℕ) (hq : 0 < q) (a : AugmentedOrdered.Cech.Index ι q) : |
| 59 | IsZero (((complex U hU K).homology c).obj (op ((AugmentedOrdered.Cech.formal W q).obj a))) := |
| 60 | (intersection_zero f N (K.homology c) eK U hU W hW q hq a).of_iso |
| 61 | ((ModuleHomology.complexIso U hU K c).app (op ((AugmentedOrdered.Cech.formal W q).obj a))) |
| 62 | |
| 63 | include N eK hW in |
| 64 | theorem terms_zero (p q : ℕ) (hq : 0 < q) (a : AugmentedOrdered.Cech.Index ι q) : |
| 65 | IsZero ((((single _ (.up ℕ) c).obj ((complex U hU K).homology c)).X p).obj |
| 66 | (op ((AugmentedOrdered.Cech.formal W q).obj a))) := by |
| 67 | let E := (CategoryTheory.evaluation (SectionPresheaf.Index U)ᵒᵖ |
| 68 | (ModuleCat Γ(Y, U))).obj (op ((AugmentedOrdered.Cech.formal W q).obj a)) |
| 69 | by_cases hp : p = c |
| 70 | · subst p |
| 71 | exact (homology_zero f N U hU W hW K c eK q hq a).of_iso |
| 72 | (E.mapIso (singleObjXSelf (.up ℕ) c ((complex U hU K).homology c))) |
| 73 | · exact E.map_isZero (isZero_single_obj_X (.up ℕ) c ((complex U hU K).homology c) p hp) |
| 74 | |
| 75 | variable (hK : ∀ q, q ≠ c → K.ExactAt q) |
| 76 | |
| 77 | abbrev concentration := AugmentedCech.Concentration.iso W (complex U hU K) c |
| 78 | (fun q hq => ModuleHomology.exactAt U hU K q (hK q hq)) |
| 79 | |
| 80 | abbrev lift_normalization := Supported.ConcentrationForget.lift_normalization W (complex U hU K) c |
| 81 | (fun q hq => ModuleHomology.exactAt U hU K q (hK q hq)) |
| 82 | (terms_zero f N U hU W hW K c eK) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SupportedSurvivor |