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.AlgebraicGeometry.SheafCohomology.Cech.ZeroSurjective |
| 2 | |
| 3 | /-! # Top Zero Cycles -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Cech.TopZeroCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.TopCat |
| 10 | open _root_.TopCat.Sheaf |
| 11 | |
| 12 | /-! The direct restriction map identifies actual top sections with native Čech zero cycles. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | universe u |
| 17 | namespace TopCat.Sheaf |
| 18 | variable {X : TopCat.{u}} {ι : Type u} (U : ι → Opens X) |
| 19 | (F : Sheaf AddCommGrpCat.{u} X) |
| 20 | |
| 21 | abbrev nativeCechZeroCycles := (((cechComplexFunctor U).obj F.obj).d 0 1).hom.ker |
| 22 | |
| 23 | def cechTopSectionsAugmentation : |
| 24 | F.obj.obj (op ⊤) ⟶ ((cechComplexFunctor U).obj F.obj).X 0 := |
| 25 | (CategoryTheory.Sheaf.ΓNatIsoSheafSections |
| 26 | (Opens.grothendieckTopology X) AddCommGrpCat.{u} isTerminalTop).inv.app F ≫ |
| 27 | GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation F U |
| 28 | |
| 29 | theorem cechTopSectionsAugmentation_comp_d : |
| 30 | cechTopSectionsAugmentation U F ≫ ((cechComplexFunctor U).obj F.obj).d 0 1 = 0 := by |
| 31 | rw [cechTopSectionsAugmentation, Category.assoc, GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation_comp_d, comp_zero] |
| 32 | |
| 33 | def cechTopSectionsToZeroCycles : F.obj.obj (op ⊤) →+ nativeCechZeroCycles U F where |
| 34 | toFun x := ⟨cechTopSectionsAugmentation U F x, |
| 35 | ConcreteCategory.congr_hom (cechTopSectionsAugmentation_comp_d U F) x⟩ |
| 36 | map_zero' := Subtype.ext (map_zero _) |
| 37 | map_add' x y := Subtype.ext (map_add _ x y) |
| 38 | |
| 39 | theorem cechTopSectionsToZeroCycles_bijective (hU : iSup U = ⊤) : |
| 40 | Function.Bijective (cechTopSectionsToZeroCycles U F) := by |
| 41 | let e := (CategoryTheory.Sheaf.ΓNatIsoSheafSections |
| 42 | (Opens.grothendieckTopology X) AddCommGrpCat.{u} isTerminalTop).app F |
| 43 | have hinj : Function.Injective (GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation F U) := |
| 44 | (AddCommGrpCat.mono_iff_injective _).mp (InjectiveComparison.TopCat.Sheaf.cechGlobalSectionsAugmentation_mono U F hU) |
| 45 | constructor |
| 46 | · intro x y h |
| 47 | apply e.symm.addCommGroupIsoToAddEquiv.injective |
| 48 | apply hinj |
| 49 | exact congrArg Subtype.val h |
| 50 | · intro z |
| 51 | obtain ⟨x, hx⟩ := (ShortComplex.ab_exact_iff _).mp |
| 52 | (InjectiveComparison.TopCat.Sheaf.cechGlobalSectionsNativeShortComplex_exact U F hU) z.val z.property |
| 53 | refine ⟨e.hom x, Subtype.ext ?_⟩ |
| 54 | change GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation F U (e.inv (e.hom x)) = z.val |
| 55 | rw [Iso.hom_inv_id_apply] |
| 56 | exact hx |
| 57 | |
| 58 | def cechTopSectionsZeroCyclesEquiv (hU : iSup U = ⊤) : |
| 59 | F.obj.obj (op ⊤) ≃+ nativeCechZeroCycles U F := |
| 60 | AddEquiv.ofBijective (cechTopSectionsToZeroCycles U F) |
| 61 | (cechTopSectionsToZeroCycles_bijective U F hU) |
| 62 | |
| 63 | theorem cechTopSectionsZeroCyclesEquiv_coordinate (hU : iSup U = ⊤) |
| 64 | (x : F.obj.obj (op ⊤)) (i : Fin 1 → ι) : |
| 65 | Cochains.TopologicalSpace.cechCochainAddEquiv F.obj U 0 (cechTopSectionsZeroCyclesEquiv U F hU x).val i = |
| 66 | F.obj.map (homOfLE (show (∏ᶜ fun k : Fin 1 => U (i k)) ≤ ⊤ from le_top)).op x := by |
| 67 | let e := (CategoryTheory.Sheaf.ΓNatIsoSheafSections |
| 68 | (Opens.grothendieckTopology X) AddCommGrpCat.{u} isTerminalTop).app F |
| 69 | change Cochains.TopologicalSpace.cechCochainAddEquiv F.obj U 0 (GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation F U (e.inv x)) i = _ |
| 70 | rw [GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation_coordinate] |
| 71 | exact congrArg (fun y => F.obj.map |
| 72 | (homOfLE (show (∏ᶜ fun k : Fin 1 => U (i k)) ≤ ⊤ from le_top)).op y) |
| 73 | (Iso.inv_hom_id_apply e x) |
| 74 | |
| 75 | end TopCat.Sheaf |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.SheafCohomology.Cech.TopZeroCycles |