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.BoundaryDegreeTwo |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle |
| 3 | |
| 4 | /-! # Second Resolution Lifts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual local lifts for the degree-two connecting resolution cocycle. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | variable {X : TopCat.{0}} {S : ShortComplex (TopCat.Sheaf AddCommGrpCat.{0} X)} |
| 19 | (hS : S.ShortExact) {Y : TopCat.Sheaf AddCommGrpCat.{0} X} (R : InjectiveResolution Y) |
| 20 | (f : S.X₁ ⟶ R.cocomplex.X 1) (hf : f ≫ R.cocomplex.d 1 2 = 0) |
| 21 | {t : S.X₃.obj.obj (op (⊤ : Opens X))} (l : CohomologyLifts.SheafLocalLiftCover S.g t) |
| 22 | |
| 23 | def CohomologyLifts.SheafLocalLiftCover.oneResolutionLift (i : X) : (R.cocomplex.X 1).obj.obj (op (l.domain i)) := |
| 24 | (ConnectingResolutionDegreeTwo.connectingResolutionOneMiddle hS R f).hom.app (op (l.domain i)) (l.section_ i) |
| 25 | |
| 26 | theorem CohomologyLifts.SheafLocalLiftCover.oneResolutionLift_d (i : X) : |
| 27 | (R.cocomplex.d 1 2).hom.app (op (l.domain i)) (l.oneResolutionLift hS R f i) = |
| 28 | TransitionCocycle.sheafSectionRestrict (R.cocomplex.X 2) le_top |
| 29 | ((ConnectingResolutionDegreeTwo.connectingResolutionTwoQuotient hS R f hf).hom.app (op (⊤ : Opens X)) t) := by |
| 30 | have h := ConcreteCategory.congr_hom |
| 31 | (congrArg (fun g => g.hom.app (op (l.domain i))) (ConnectingResolutionDegreeTwo.connectingResolutionTwoQuotient_comm hS R f hf)) |
| 32 | (l.section_ i) |
| 33 | change (ConnectingResolutionDegreeTwo.connectingResolutionTwoQuotient hS R f hf).hom.app (op (l.domain i)) |
| 34 | (S.g.hom.app (op (l.domain i)) (l.section_ i)) = |
| 35 | (R.cocomplex.d 1 2).hom.app (op (l.domain i)) (l.oneResolutionLift hS R f i) at h |
| 36 | rw [l.image] at h |
| 37 | exact h.symm.trans (TransitionCocycle.sheafSectionMap_restrict (ConnectingResolutionDegreeTwo.connectingResolutionTwoQuotient hS R f hf) le_top t) |
| 38 | |
| 39 | theorem CohomologyLifts.SheafLocalLiftCover.oneResolutionLift_transition (i j : X) : |
| 40 | f.hom.app (op (l.domain i ⊓ l.domain j)) (l.transition hS i j) = |
| 41 | TransitionCocycle.sheafSectionRestrict (R.cocomplex.X 1) inf_le_right (l.oneResolutionLift hS R f j) - |
| 42 | TransitionCocycle.sheafSectionRestrict (R.cocomplex.X 1) inf_le_left (l.oneResolutionLift hS R f i) := by |
| 43 | have h := ConcreteCategory.congr_hom |
| 44 | (congrArg (fun g => g.hom.app (op (l.domain i ⊓ l.domain j))) |
| 45 | (ConnectingResolutionDegreeTwo.connectingResolutionOneMiddle_comm hS R f)) (l.transition hS i j) |
| 46 | change (ConnectingResolutionDegreeTwo.connectingResolutionOneMiddle hS R f).hom.app (op (l.domain i ⊓ l.domain j)) |
| 47 | (S.f.hom.app (op (l.domain i ⊓ l.domain j)) (l.transition hS i j)) = _ at h |
| 48 | rw [l.transition_map hS] at h |
| 49 | refine h.symm.trans ?_ |
| 50 | change (ConnectingResolutionDegreeTwo.connectingResolutionOneMiddle hS R f).hom.app (op (l.domain i ⊓ l.domain j)) |
| 51 | (TransitionCocycle.sheafSectionRestrict S.X₂ inf_le_right (l.section_ j) - |
| 52 | TransitionCocycle.sheafSectionRestrict S.X₂ inf_le_left (l.section_ i)) = _ |
| 53 | rw [map_sub, TransitionCocycle.sheafSectionMap_restrict, TransitionCocycle.sheafSectionMap_restrict] |
| 54 | rfl |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf |