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.Global.PureCover |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ComplementaryAffineCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.AffineCommonCover |
| 4 | |
| 5 | /-! # Point Complement Global Cover -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PointComplementGlobalCover |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The distinguished neighborhood together with the genuine affine |
| 12 | cover of the point complement compares to any original affine cover. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | variable {X Z : Scheme.{u}} [X.IsSeparated] |
| 19 | (f : Z ⟶ X) [IsClosedImmersion f] |
| 20 | (U : X.Opens) (hU : IsAffineOpen U) (hfU : ⊤ ≤ f ⁻¹ᵁ U) |
| 21 | {ι : Type u} [LinearOrder ι] (V : ι → X.Opens) |
| 22 | (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 23 | |
| 24 | abbrev outside := SectionIdealPuncturedCover.outside f.ker |
| 25 | abbrev cover := ComplementaryAffineCover.cover (outside f) U |
| 26 | abbrev CommonIndex := WithBot (ComplementaryAffineCover.Index (outside f)) × ι |
| 27 | instance commonOrder : LinearOrder (CommonIndex (ι := ι) f) := |
| 28 | IsWellOrder.linearOrder WellOrderingRel |
| 29 | abbrev common := Relative.AffineCommonCover.opens (cover f U) V |
| 30 | abbrev left := Relative.AffineCommonCover.left (cover f U) V |
| 31 | abbrev right := Relative.AffineCommonCover.right (cover f U) V |
| 32 | |
| 33 | include hfU in |
| 34 | omit [X.IsSeparated] in |
| 35 | theorem covers : iSup (cover f U) = ⊤ := |
| 36 | ComplementaryAffineCover.cover_top (outside f) U |
| 37 | (SectionIdealPuncturedCover.section_global U f hfU) |
| 38 | |
| 39 | include hU in |
| 40 | omit [X.IsSeparated] [IsClosedImmersion f] in |
| 41 | theorem affine (j : WithBot (ComplementaryAffineCover.Index (outside f))) : |
| 42 | IsAffineOpen (cover f U j) := ComplementaryAffineCover.cover_affine _ U hU j |
| 43 | |
| 44 | include hfU hV in |
| 45 | omit [LinearOrder ι] in |
| 46 | omit [X.IsSeparated] in |
| 47 | theorem common_covers : iSup (common f U V) = ⊤ := by |
| 48 | have h := Relative.AffineCommonCover.covers (cover f U) V ⊤ ⊤ |
| 49 | (by simpa only [top_inf_eq] using covers f U hfU) |
| 50 | (by simpa only [top_inf_eq] using hV) |
| 51 | simpa only [top_inf_eq] using h |
| 52 | |
| 53 | include hU haV in |
| 54 | omit [LinearOrder ι] in |
| 55 | omit [IsClosedImmersion f] in |
| 56 | theorem common_affine (j : CommonIndex (ι := ι) f) : IsAffineOpen (common f U V j) := |
| 57 | Relative.AffineCommonCover.affine _ _ (affine f U hU) haV j |
| 58 | |
| 59 | variable (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 60 | |
| 61 | def iso (q : ℕ) := Additive.OrderedCover.Comparison.iso (cover f U) V (common f U V) |
| 62 | (left f U V) (right f U V) (covers f U hfU) hV (common_covers f U hfU V hV) |
| 63 | (affine f U hU) haV (common_affine f U hU V haV) K q |
| 64 | |
| 65 | variable (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) |
| 66 | |
| 67 | abbrev pure_comparison (q : ℕ) := Global.PureCover.Comparison.comparison |
| 68 | (cover f U) V (common f U V) (left f U V) (right f U V) |
| 69 | (covers f U hfU) hV (common_covers f U hfU V hV) |
| 70 | (affine f U hU) haV (common_affine f U hU V haV) K c hK q |
| 71 | |
| 72 | variable {P T : CochainComplex X.Modules ℕ} |
| 73 | [∀ q, (P.X q).IsQuasicoherent] [∀ q, (T.X q).IsQuasicoherent] |
| 74 | (hP : ∀ q, q ≠ c → P.ExactAt q) (l : K ⟶ T) [QuasiIso l] (a : P ⟶ T) |
| 75 | |
| 76 | abbrev pure_transfer (q : ℕ) := Global.PureCover.Comparison.transfer |
| 77 | (cover f U) V (common f U V) (left f U V) (right f U V) |
| 78 | (covers f U hfU) hV (common_covers f U hfU V hV) |
| 79 | (affine f U hU) haV (common_affine f U hU V haV) P c hP q l a |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PointComplementGlobalCover |