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.AugmentedCech.AmbientTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.SupportedRecovery |
| 3 | |
| 4 | /-! # Ambient Supported -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.AmbientSupported |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The ambient-open coordinate isomorphism preserves the actual |
| 11 | globally supported lift and hence its original global Čech class. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.SupportedOrderedCechEdge.Abelian |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | universe u |
| 21 | variable (D : Type (u+1)) [Category.{u} D] [Abelian D] [HasLimitsOfSize.{u,u} D] |
| 22 | [HasCoproducts.{0} D] |
| 23 | (X : TopCat.{u}) {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 24 | (F : C ⥤ Opens X) {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 25 | [∀ (n : ℕ) (z : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ z)) F] |
| 26 | (O : Opens X) (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) |
| 27 | (hzero : ∀ q, IsZero ((K.X q).obj.obj (op O))) |
| 28 | (hU : ∀ i, F.obj (U i) ≤ O) |
| 29 | |
| 30 | abbrev underlying := RelativeCech.SupportedCoordinates.underlying D X K |
| 31 | |
| 32 | def lift := Supported.ZeroComplementComplex.lift O (F.obj (⊤_ C)) K hzero ≫ |
| 33 | SupportedOrderedCechEdge.Abelian.map D X F U O K hU |
| 34 | |
| 35 | omit [HasCoproducts.{0} D] in |
| 36 | theorem component (q : ℕ) : |
| 37 | ((Supported.ZeroComplementComplex.lift O (F.obj (⊤_ C)) K hzero).f q ≫ |
| 38 | SupportedOrderedCechEdge.Abelian.component D X F U O K q) ≫ |
| 39 | (AmbientCoordinates.componentIso F U (K.X q).obj 0).hom = |
| 40 | RelativeCech.GlobalSections.relativeAugmentation (F.obj (⊤_ C)) (F.obj ∘ U) (K.X q).obj := by |
| 41 | have hlift : (Supported.ZeroComplementComplex.lift O (F.obj (⊤_ C)) K hzero).f q ≫ |
| 42 | (Supported.SectionsExcision.inclusion (F.obj (⊤_ C)) |
| 43 | (F.obj (⊤_ C) ⊓ O) inf_le_left).app (K.X q) = |
| 44 | (K.X q).obj.map (homOfLE (le_top : F.obj (⊤_ C) ≤ ⊤)).op := |
| 45 | congrArg (fun f => f.f q) |
| 46 | (Supported.ZeroComplementComplex.lift_inclusion O (F.obj (⊤_ C)) K hzero) |
| 47 | apply Pi.hom_ext |
| 48 | intro (a : AugmentedOrdered.Cech.Index ι 0) |
| 49 | erw [Category.assoc, AmbientCoordinates.component_hom_π] |
| 50 | erw [← Category.assoc, RelativeCech.GlobalSections.relativeAugmentation_projection] |
| 51 | change (((Supported.ZeroComplementComplex.lift O (F.obj (⊤_ C)) K hzero).f q ≫ |
| 52 | ((Supported.SectionsExcision.inclusion (F.obj (⊤_ C)) |
| 53 | (F.obj (⊤_ C) ⊓ O) inf_le_left).app (K.X q) ≫ |
| 54 | (AugmentedOrdered.CechZero.zeroIso U (F.op ⋙ (K.X q).obj)).inv)) ≫ _) ≫ _ = _ |
| 55 | simp only [Category.assoc] |
| 56 | rw [← Category.assoc ((AugmentedOrdered.CechZero.zeroIso U (F.op ⋙ (K.X q).obj)).inv), |
| 57 | AugmentedOrdered.CechZero.zeroIso_inv_π] |
| 58 | rw [← Category.assoc, hlift] |
| 59 | change (K.X q).obj.map _ ≫ (K.X q).obj.map _ ≫ (K.X q).obj.map _ = (K.X q).obj.map _ |
| 60 | simp only [← Functor.map_comp] |
| 61 | congr 1 |
| 62 | |
| 63 | theorem lift_transport : lift D X F U O K hzero hU ≫ |
| 64 | (AmbientTotal.totalIso F U (underlying D X K)).hom = |
| 65 | RelativeCech.SupportedRecovery.localLift D X (F.obj (⊤_ C)) (F.obj ∘ U) O K hzero hU := by |
| 66 | apply HomologicalComplex.Hom.ext |
| 67 | funext q |
| 68 | simp only [lift, RelativeCech.SupportedRecovery.localLift, |
| 69 | HomologicalComplex.comp_f, SupportedOrderedCechEdge.Abelian.map, AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge_f, |
| 70 | AmbientTotal.totalIso, HomologicalComplex₂.total.mapIso_hom, |
| 71 | Category.assoc, HomologicalComplex₂.ιTotal_map, |
| 72 | AmbientTotal.bicomplexIso_hom_f] |
| 73 | have h := (component D X F U O K hzero q).trans |
| 74 | (RelativeCech.SupportedCoordinates.local_component D X (F.obj (⊤_ C)) |
| 75 | (F.obj ∘ U) O K hzero q).symm |
| 76 | have hp : (AmbientCoordinates.componentIso F U ((underlying D X K).X q) 0).hom = |
| 77 | (AmbientCoordinates.componentIso F U (K.X q).obj 0).hom := rfl |
| 78 | have hb : (SupportedOrderedCechEdge.Abelian.bicomplex D X (RelativeCech.Intersections.intersect (F.obj (⊤_ C))) |
| 79 | (F.obj ∘ U) K).ιTotal (.up ℕ) q 0 q rfl = |
| 80 | (RelativeCech.Total.source (F.obj (⊤_ C)) (F.obj ∘ U) (underlying D X K)).ιTotal |
| 81 | (.up ℕ) q 0 q rfl := rfl |
| 82 | erw [hp, hb] |
| 83 | simpa only [Category.assoc] using |
| 84 | congrArg (fun a => a ≫ |
| 85 | (RelativeCech.Total.source (F.obj (⊤_ C)) (F.obj ∘ U) (underlying D X K)).ιTotal |
| 86 | (.up ℕ) q 0 q rfl) h |
| 87 | |
| 88 | theorem recovery : (lift D X F U O K hzero hU ≫ |
| 89 | (AmbientTotal.totalIso F U (underlying D X K)).hom) ≫ |
| 90 | RelativeCech.Total.map (F.obj (⊤_ C)) (F.obj ∘ U) (underlying D X K) = |
| 91 | Presheaf.OrderedCechEdge.edge |
| 92 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) (F.obj ∘ U)) (underlying D X K) := by |
| 93 | rw [lift_transport] |
| 94 | exact RelativeCech.SupportedRecovery.recovery D X (F.obj (⊤_ C)) (F.obj ∘ U) |
| 95 | O K hzero hU |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.AmbientSupported |