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.ConnectingExtDegreeTwo |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.BoundaryResolution |
| 3 | |
| 4 | /-! # Boundary Degree Two -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.BoundaryDegreeTwo |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual degree-one sheaf connecting map evaluated in a degree-two injective resolution. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _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) (R : InjectiveResolution S.X₁) |
| 20 | |
| 21 | def sheafSecondConnectingQuotient : |
| 22 | (CohomologyLifts.sheafInjectiveCokernelSequence S.X₃).X₃ ⟶ R.cocomplex.X 2 := |
| 23 | ConnectingResolutionDegreeTwo.connectingResolutionTwoQuotient (CohomologyLifts.sheafInjectiveCokernelSequence_shortExact S.X₃) R |
| 24 | (ConnectingResolutionCocycle.connectingResolutionQuotient hS R) (ConnectingResolutionCocycle.connectingResolutionQuotient_closed hS R) |
| 25 | |
| 26 | theorem sheafSecondConnectingQuotient_closed : |
| 27 | sheafSecondConnectingQuotient hS R ≫ R.cocomplex.d 2 3 = 0 := |
| 28 | ConnectingResolutionDegreeTwo.connectingResolutionTwoQuotient_closed (CohomologyLifts.sheafInjectiveCokernelSequence_shortExact S.X₃) R |
| 29 | (ConnectingResolutionCocycle.connectingResolutionQuotient hS R) (ConnectingResolutionCocycle.connectingResolutionQuotient_closed hS R) |
| 30 | |
| 31 | def sheafSecondConnectingSection |
| 32 | (t : (CohomologyLifts.sheafInjectiveCokernelSequence S.X₃).X₃.obj.obj (op (⊤ : Opens X))) : |
| 33 | (R.cocomplex.X 2).obj.obj (op (⊤ : Opens X)) := |
| 34 | (sheafSecondConnectingQuotient hS R).hom.app (op (⊤ : Opens X)) t |
| 35 | |
| 36 | theorem sheafSecondConnectingSection_closed |
| 37 | (t : (CohomologyLifts.sheafInjectiveCokernelSequence S.X₃).X₃.obj.obj (op (⊤ : Opens X))) : |
| 38 | (R.cocomplex.d 2 3).hom.app (op (⊤ : Opens X)) (sheafSecondConnectingSection hS R t) = 0 := |
| 39 | ConcreteCategory.congr_hom |
| 40 | (congrArg (fun f => f.hom.app (op (⊤ : Opens X))) (sheafSecondConnectingQuotient_closed hS R)) t |
| 41 | |
| 42 | theorem sheafConnectingBoundary_degreeTwo |
| 43 | (t : (CohomologyLifts.sheafInjectiveCokernelSequence S.X₃).X₃.obj.obj (op (⊤ : Opens X))) : |
| 44 | (CohomologyLifts.sheafInjectiveCokernelBoundary S.X₃ t).comp hS.extClass (show 1 + 1 = 2 from rfl) = |
| 45 | -ResolutionClasses.sheafResolutionCycleClass R 2 (sheafSecondConnectingSection hS R t) |
| 46 | (sheafSecondConnectingSection_closed hS R t) := by |
| 47 | let := HasDerivedCategory.standard (TopCat.Sheaf AddCommGrpCat.{0} X) |
| 48 | let T := CohomologyLifts.sheafInjectiveCokernelSequence S.X₃ |
| 49 | let hT := CohomologyLifts.sheafInjectiveCokernelSequence_shortExact S.X₃ |
| 50 | have hp := ConnectingExtDegreeTwo.connectingExt_comp_resolutionOne (C := TopCat.Sheaf AddCommGrpCat.{0} X) |
| 51 | hT R (ConnectingResolutionCocycle.connectingResolutionQuotient hS R) (ConnectingResolutionCocycle.connectingResolutionQuotient_closed hS R) |
| 52 | change (((CategoryTheory.Sheaf.H.equiv₀ T.X₃ isTerminalTop).symm t).comp hT.extClass |
| 53 | (zero_add 1)).comp hS.extClass (show 1 + 1 = 2 from rfl) = _ |
| 54 | rw [BoundaryResolution.sheafHZero_equiv_symm, Ext.comp_assoc _ _ _ (zero_add 1) |
| 55 | (show 1 + 1 = 2 from rfl) (show 0 + 1 + 1 = 2 from rfl), |
| 56 | ConnectingExt.connectingExtClass_eq_neg_resolution hS R, Ext.comp_neg, |
| 57 | hp, Ext.comp_neg, R.mk₀_comp_extMk] |
| 58 | unfold ResolutionClasses.sheafResolutionCycleClass |
| 59 | congr 2 |
| 60 | apply (ResolutionClasses.sheafHomGlobalEquiv (R.cocomplex.X 2)).injective |
| 61 | rw [ResolutionClasses.sheafHomGlobalEquiv_naturality, AddEquiv.apply_symm_apply, AddEquiv.apply_symm_apply] |
| 62 | rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.BoundaryDegreeTwo |