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.Relative.AdditiveCechRefinementConcentration |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeSupportedClass |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechRefinement |
| 4 | |
| 5 | /-! # Supported Pure Class -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.SupportedPureClass |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A globally supported survivor has a canonical class in every affine |
| 12 | relative cover of its pure complex. All refinements carry this class forward. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 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 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.AdditiveCechRefinementConcentration OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleAdditiveSections |
| 19 | variable {X Z : Scheme.{u}} [X.IsSeparated] (U : X.Opens) (hU : IsAffineOpen U) |
| 20 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 21 | (V : ι → X.Opens) (hV : ∀ i, IsAffineOpen (V i)) |
| 22 | |
| 23 | abbrev sheafCoefficients (S : X.Modules) (c : ℕ) := |
| 24 | RelativeCech.SupportedCoordinates.underlying AddCommGrpCat.{u} X (Principal.SingleAdditiveSections.sheafSingle S c) |
| 25 | |
| 26 | abbrev singleIso (S : X.Modules) (c q : ℕ) := |
| 27 | homologyMapIso (HomologicalComplex₂.total.mapIso |
| 28 | (((RelativeCech.Total.localFunctor U V).mapHomologicalComplex (.up ℕ)).mapIso |
| 29 | (Principal.RelativeSupportedClass.singleCoefficientIso S c)) (.up ℕ)) q |
| 30 | |
| 31 | variable (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 32 | (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) |
| 33 | (f : Z ⟶ X) [IsClosedImmersion f] (N : Z.Modules) |
| 34 | (e : K.homology c ≅ (Scheme.Modules.pushforward f).obj N) |
| 35 | (hVO : ∀ i, V i ≤ SectionIdealPuncturedCover.outside f.ker) |
| 36 | |
| 37 | abbrev survivorIso (q : ℕ) := AdditiveCechConcentration.iso U hU V hV K c hK q ≪≫ singleIso U V (K.homology c) c q |
| 38 | |
| 39 | abbrev sheafLift (q : ℕ) := |
| 40 | homologyMap (RelativeCech.SupportedRecovery.localLift AddCommGrpCat.{u} X U V |
| 41 | (SectionIdealPuncturedCover.outside f.ker) (Principal.SingleAdditiveSections.sheafSingle (K.homology c) c) |
| 42 | (Closed.SupportedSurvivor.terms_zero f N (K.homology c) e c) hVO) q |
| 43 | |
| 44 | def lift (q : ℕ) := sheafLift U V K c f N e hVO q ≫ (survivorIso U hU V hV K c hK q).inv |
| 45 | |
| 46 | @[reassoc] |
| 47 | theorem normalization (q : ℕ) : lift U hU V hV K c hK f N e hVO q ≫ |
| 48 | (survivorIso U hU V hV K c hK q).hom = sheafLift U V K c f N e hVO q := by |
| 49 | dsimp only [lift] |
| 50 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 51 | |
| 52 | variable (W : κ → X.Opens) (hW : ∀ i, IsAffineOpen (W i)) |
| 53 | (r : FormalCoproduct.mk κ W ⟶ FormalCoproduct.mk ι V) |
| 54 | (hWO : ∀ i, W i ≤ SectionIdealPuncturedCover.outside f.ker) |
| 55 | |
| 56 | theorem survivor_refinement (q : ℕ) : |
| 57 | (survivorIso U hU V hV K c hK q).hom ≫ |
| 58 | RelativeCech.Refinement.homology U V W r (sheafCoefficients (K.homology c) c) q = |
| 59 | RelativeCech.Refinement.homology U V W r (AdditiveCechConcentration.coefficients K) q ≫ |
| 60 | (survivorIso U hU W hW K c hK q).hom := by |
| 61 | have hcoeff := RelativeCech.Refinement.homology_naturality U V W r |
| 62 | (Principal.RelativeSupportedClass.singleCoefficientIso (K.homology c) c).hom q |
| 63 | have hconc := AdditiveCechRefinementConcentration.refinement_square U hU V hV W hW r K c hK q |
| 64 | exact (DualComplexHomology.compose_squares _ _ _ _ _ _ _ hconc.symm hcoeff.symm).symm |
| 65 | |
| 66 | include hVO hWO in |
| 67 | omit [X.IsSeparated] [∀ (q : ℕ), (K.X q).IsQuasicoherent] in |
| 68 | theorem sheaf_refinement (q : ℕ) : sheafLift U V K c f N e hVO q ≫ |
| 69 | RelativeCech.Refinement.homology U V W r (sheafCoefficients (K.homology c) c) q = |
| 70 | sheafLift U W K c f N e hWO q := by |
| 71 | have h := congrArg (fun a => homologyMap a q) |
| 72 | (Supported.CechRefinement.global_lift AddCommGrpCat.{u} X |
| 73 | (RelativeCech.Intersections.intersect U) V W r |
| 74 | (SectionIdealPuncturedCover.outside f.ker) (Principal.SingleAdditiveSections.sheafSingle (K.homology c) c) |
| 75 | (fun i => inf_le_right.trans (hVO i)) (fun i => inf_le_right.trans (hWO i)) |
| 76 | (Closed.SupportedSurvivor.terms_zero f N (K.homology c) e c)) |
| 77 | rw [homologyMap_comp] at h |
| 78 | exact h |
| 79 | |
| 80 | private theorem lift_refinement {C : Type*} [Category C] {A B D E F : C} |
| 81 | (e : B ≅ D) (f : E ≅ F) (r : B ⟶ E) (s : D ⟶ F) |
| 82 | (a : A ⟶ D) (b : A ⟶ F) |
| 83 | (he : e.hom ≫ s = r ≫ f.hom) (ha : a ≫ s = b) : |
| 84 | (a ≫ e.inv) ≫ r = b ≫ f.inv := by |
| 85 | apply (cancel_mono f.hom).mp |
| 86 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 87 | rw [← he, Iso.inv_hom_id_assoc, ha] |
| 88 | |
| 89 | include hVO hWO in |
| 90 | theorem refinement (q : ℕ) : lift U hU V hV K c hK f N e hVO q ≫ |
| 91 | RelativeCech.Refinement.homology U V W r (AdditiveCechConcentration.coefficients K) q = |
| 92 | lift U hU W hW K c hK f N e hWO q := |
| 93 | lift_refinement (survivorIso U hU V hV K c hK q) (survivorIso U hU W hW K c hK q) _ _ _ _ |
| 94 | (survivor_refinement U hU V hV K c hK W hW r q) |
| 95 | (sheaf_refinement U V K c f N e hVO W r hWO q) |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.SupportedPureClass |