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.RelativeConcentration |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.SupportedClass |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.AmbientSupported |
| 4 | |
| 5 | /-! # Relative Supported Class -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeSupportedClass |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original supported localization of a pure sheaf complex is |
| 12 | its actual relative supported lift, with the same surviving sheaf and class. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 14 | private theorem reassoc_square {C : Type*} [Category C] {A B D E F G : C} |
| 15 | (l : A ⟶ B) (a : B ⟶ D) (b : D ⟶ E) (r : E ⟶ F) |
| 16 | (d : B ⟶ G) (e : G ⟶ E) (h : a ≫ b = d ≫ e) : |
| 17 | ((l ≫ a) ≫ b) ≫ r = l ≫ (d ≫ (e ≫ r)) := by |
| 18 | calc |
| 19 | _ = l ≫ ((a ≫ b) ≫ r) := by simp only [Category.assoc] |
| 20 | _ = _ := by rw [h]; simp only [Category.assoc] |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | universe u |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 26 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleAdditiveSections OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeConcentration |
| 27 | variable {X Z : Scheme.{u}} [X.IsSeparated] (U : X.Opens) (hU : IsAffineOpen U) |
| 28 | {ι : Type u} [LinearOrder ι] (W : ι → SectionPresheaf.Index U) |
| 29 | |
| 30 | abbrev singleCoefficientIso (S : X.Modules) (c : ℕ) : |
| 31 | RelativeConcentration.coefficients (SingleAdditiveSections.moduleSingle S c) ≅ |
| 32 | RelativeCech.SupportedCoordinates.underlying AddCommGrpCat.{u} X (SingleAdditiveSections.sheafSingle S c) := |
| 33 | ((sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}).mapHomologicalComplex |
| 34 | (.up ℕ)).mapIso |
| 35 | ((singleMapHomologicalComplex (SheafOfModules.toSheaf X.ringCatSheaf) (.up ℕ) c).app S) |
| 36 | |
| 37 | abbrev relativeSingleIso (S : X.Modules) (c q : ℕ) := |
| 38 | homologyMapIso |
| 39 | (HomologicalComplex₂.total.mapIso |
| 40 | (((RelativeCech.Total.localFunctor (RelativeConcentration.ambient U hU) (RelativeConcentration.family U hU W)).mapHomologicalComplex |
| 41 | (.up ℕ)).mapIso (singleCoefficientIso S c)) (.up ℕ)) q |
| 42 | |
| 43 | abbrev singleAmbientIso (S : X.Modules) (c q : ℕ) := |
| 44 | homologyMapIso (AugmentedCech.AmbientTotal.totalIso (AdditiveSections.opens U hU) W |
| 45 | (RelativeCech.SupportedCoordinates.underlying AddCommGrpCat.{u} X (SingleAdditiveSections.sheafSingle S c))) q |
| 46 | |
| 47 | omit [X.IsSeparated] in |
| 48 | theorem single_comparison (S : X.Modules) (c q : ℕ) : |
| 49 | (RelativeConcentration.comparison U hU W (SingleAdditiveSections.moduleSingle S c) q).hom ≫ (relativeSingleIso U hU W S c q).hom = |
| 50 | (SingleAdditiveSections.homologyIso U hU S c W q).hom ≫ |
| 51 | (singleAmbientIso U hU W S c q).hom := by |
| 52 | have h := congrArg (fun f => homologyMap f q) |
| 53 | (AugmentedCech.AmbientTotal.naturality (AdditiveSections.opens U hU) W |
| 54 | (RelativeConcentration.coefficients (SingleAdditiveSections.moduleSingle S c)) (singleCoefficientIso S c).hom) |
| 55 | rw [homologyMap_comp, homologyMap_comp] at h |
| 56 | exact (Category.assoc _ _ _).trans |
| 57 | ((congrArg ((AdditiveSections.homologyIso U hU (SingleAdditiveSections.moduleSingle S c) W q).hom ≫ ·) |
| 58 | h.symm).trans (Category.assoc _ _ _).symm) |
| 59 | |
| 60 | variable (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 61 | (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) |
| 62 | (f : Z ⟶ X) [IsClosedImmersion f] (N : Z.Modules) |
| 63 | (e : K.homology c ≅ (Scheme.Modules.pushforward f).obj N) |
| 64 | (hW : ∀ i, SectionPresheaf.openSubset U (W i) ≤ SectionIdealPuncturedCover.outside f.ker) |
| 65 | |
| 66 | abbrev relativeLift (q : ℕ) := |
| 67 | homologyMap (RelativeCech.SupportedRecovery.localLift AddCommGrpCat.{u} X (RelativeConcentration.ambient U hU) |
| 68 | (RelativeConcentration.family U hU W) (SectionIdealPuncturedCover.outside f.ker) |
| 69 | (SingleAdditiveSections.sheafSingle (K.homology c) c) (Closed.SupportedSurvivor.terms_zero f N (K.homology c) e c) hW) q |
| 70 | |
| 71 | include hW in |
| 72 | theorem localize_relative (q : ℕ) : |
| 73 | ((PrincipalReference.SupportedClass.Reference.localize U hU W K c hK f N e hW q ≫ |
| 74 | (RelativeConcentration.comparison U hU W K q).hom) ≫ (RelativeConcentration.relativeIso U hU W K c hK q).hom) ≫ |
| 75 | (relativeSingleIso U hU W (K.homology c) c q).hom = relativeLift U hU W K c f N e hW q := by |
| 76 | have hconc := RelativeConcentration.concentration U hU W K c hK q |
| 77 | have hsingle := single_comparison U hU W (K.homology c) c q |
| 78 | have hlift := congrArg (fun a => homologyMap a q) |
| 79 | (AugmentedCech.AmbientSupported.lift_transport AddCommGrpCat.{u} X (AdditiveSections.opens U hU) W |
| 80 | (SectionIdealPuncturedCover.outside f.ker) (SingleAdditiveSections.sheafSingle (K.homology c) c) |
| 81 | (Closed.SupportedSurvivor.terms_zero f N (K.homology c) e c) hW) |
| 82 | rw [homologyMap_comp] at hlift |
| 83 | calc |
| 84 | _ = PrincipalReference.SupportedClass.Reference.localize U hU W K c hK f N e hW q ≫ |
| 85 | (((AdditiveSections.forgetScalars U).mapIso (PrincipalReference.Concentration.Reference.iso U hU W K c hK q)).hom ≫ |
| 86 | ((RelativeConcentration.comparison U hU W (SingleAdditiveSections.moduleSingle (K.homology c) c) q).hom ≫ |
| 87 | (relativeSingleIso U hU W (K.homology c) c q).hom)) := by |
| 88 | exact reassoc_square _ _ _ _ _ _ hconc.symm |
| 89 | _ = PrincipalReference.SupportedClass.Reference.localize U hU W K c hK f N e hW q ≫ |
| 90 | ((PrincipalReference.SupportedClass.Reference.concentratedIso U hU W K c hK q).hom ≫ |
| 91 | (singleAmbientIso U hU W (K.homology c) c q).hom) := by |
| 92 | rw [hsingle] |
| 93 | rfl |
| 94 | _ = _ := by |
| 95 | rw [← Category.assoc, PrincipalReference.SupportedClass.Reference.localize_concentrated] |
| 96 | exact hlift |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeSupportedClass |