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.DivisorClass.Chern.Sheaf.CohomologyLifts |
| 2 | |
| 3 | /-! # Transition Cocycle -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Transition cocycles obtained from actual local lifts in a short exact sequence. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | |
| 17 | variable {X : TopCat.{0}} |
| 18 | |
| 19 | def TransitionCocycle.sheafSectionRestrict (F : TopCat.Sheaf AddCommGrpCat.{0} X) |
| 20 | {U V : Opens X} (h : V ≤ U) : F.obj.obj (op U) →+ F.obj.obj (op V) := |
| 21 | (F.obj.map (homOfLE h).op).hom |
| 22 | |
| 23 | theorem TransitionCocycle.sheafSectionRestrict_comp (F : TopCat.Sheaf AddCommGrpCat.{0} X) |
| 24 | {U V W : Opens X} (hVU : V ≤ U) (hWV : W ≤ V) (s : F.obj.obj (op U)) : |
| 25 | TransitionCocycle.sheafSectionRestrict F hWV (TransitionCocycle.sheafSectionRestrict F hVU s) = |
| 26 | TransitionCocycle.sheafSectionRestrict F (hWV.trans hVU) s := by |
| 27 | change (F.obj.map (homOfLE hWV).op) ((F.obj.map (homOfLE hVU).op) s) = _ |
| 28 | rw [← ConcreteCategory.comp_apply, ← F.obj.map_comp] |
| 29 | rfl |
| 30 | |
| 31 | theorem TransitionCocycle.sheafSectionMap_restrict {F G : TopCat.Sheaf AddCommGrpCat.{0} X} |
| 32 | (φ : F ⟶ G) {U V : Opens X} (h : V ≤ U) (s : F.obj.obj (op U)) : |
| 33 | φ.hom.app (op V) (TransitionCocycle.sheafSectionRestrict F h s) = |
| 34 | TransitionCocycle.sheafSectionRestrict G h (φ.hom.app (op U) s) := |
| 35 | ConcreteCategory.congr_hom (φ.hom.naturality (homOfLE h).op) s |
| 36 | |
| 37 | theorem TransitionCocycle.sheafMono_section_injective {F G : TopCat.Sheaf AddCommGrpCat.{0} X} |
| 38 | (φ : F ⟶ G) [Mono φ] (U : Opens X) : Function.Injective (φ.hom.app (op U)) := by |
| 39 | have hφ : Mono φ.hom := (CategoryTheory.Sheaf.Hom.mono_iff_presheaf_mono _ _ _).mp inferInstance |
| 40 | exact (AddCommGrpCat.mono_iff_injective _).mp ((NatTrans.mono_iff_mono_app φ.hom).mp hφ (op U)) |
| 41 | |
| 42 | variable {S : ShortComplex (TopCat.Sheaf AddCommGrpCat.{0} X)} (hS : S.ShortExact) |
| 43 | variable {t : S.X₃.obj.obj (op (⊤ : Opens X))} (l : CohomologyLifts.SheafLocalLiftCover S.g t) |
| 44 | |
| 45 | def CohomologyLifts.SheafLocalLiftCover.difference (i j : X) : S.X₂.obj.obj (op (l.domain i ⊓ l.domain j)) := |
| 46 | TransitionCocycle.sheafSectionRestrict S.X₂ inf_le_right (l.section_ j) - |
| 47 | TransitionCocycle.sheafSectionRestrict S.X₂ inf_le_left (l.section_ i) |
| 48 | |
| 49 | theorem CohomologyLifts.SheafLocalLiftCover.difference_image (i j : X) : |
| 50 | S.g.hom.app (op (l.domain i ⊓ l.domain j)) (l.difference i j) = 0 := by |
| 51 | simp only [CohomologyLifts.SheafLocalLiftCover.difference, map_sub, TransitionCocycle.sheafSectionMap_restrict, l.image] |
| 52 | change TransitionCocycle.sheafSectionRestrict S.X₃ inf_le_right (TransitionCocycle.sheafSectionRestrict S.X₃ le_top t) - |
| 53 | TransitionCocycle.sheafSectionRestrict S.X₃ inf_le_left (TransitionCocycle.sheafSectionRestrict S.X₃ le_top t) = 0 |
| 54 | rw [TransitionCocycle.sheafSectionRestrict_comp, TransitionCocycle.sheafSectionRestrict_comp, sub_self] |
| 55 | |
| 56 | include hS in |
| 57 | theorem CohomologyLifts.SheafLocalLiftCover.exists_transition (i j : X) : |
| 58 | ∃ s : S.X₁.obj.obj (op (l.domain i ⊓ l.domain j)), |
| 59 | S.f.hom.app (op (l.domain i ⊓ l.domain j)) s = l.difference i j := |
| 60 | TopCat.Sheaf.sections_exact_of_left_exact hS.exact hS.mono_f _ (l.difference_image i j) |
| 61 | |
| 62 | def CohomologyLifts.SheafLocalLiftCover.transition (i j : X) : S.X₁.obj.obj (op (l.domain i ⊓ l.domain j)) := |
| 63 | Classical.choose (l.exists_transition hS i j) |
| 64 | |
| 65 | theorem CohomologyLifts.SheafLocalLiftCover.transition_map (i j : X) : |
| 66 | S.f.hom.app (op (l.domain i ⊓ l.domain j)) (l.transition hS i j) = l.difference i j := |
| 67 | Classical.choose_spec (l.exists_transition hS i j) |
| 68 | |
| 69 | /-- Restrictions of the chosen transitions satisfy the actual triple-overlap equation. -/ |
| 70 | theorem CohomologyLifts.SheafLocalLiftCover.transition_cocycle (i j k : X) : |
| 71 | TransitionCocycle.sheafSectionRestrict S.X₁ inf_le_left (l.transition hS i j) + |
| 72 | TransitionCocycle.sheafSectionRestrict S.X₁ (inf_le_inf inf_le_right le_rfl) (l.transition hS j k) = |
| 73 | TransitionCocycle.sheafSectionRestrict S.X₁ (inf_le_inf inf_le_left le_rfl) (l.transition hS i k) := by |
| 74 | have : Mono S.f := hS.mono_f |
| 75 | apply TransitionCocycle.sheafMono_section_injective S.f (l.domain i ⊓ l.domain j ⊓ l.domain k) |
| 76 | simp only [map_add, TransitionCocycle.sheafSectionMap_restrict, CohomologyLifts.SheafLocalLiftCover.transition_map, CohomologyLifts.SheafLocalLiftCover.difference, map_sub, |
| 77 | TransitionCocycle.sheafSectionRestrict_comp] |
| 78 | abel |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf |