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.TwoStepExt |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.ResolutionClasses |
| 3 | |
| 4 | /-! # Two Step Boundary -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.TwoStepBoundary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual two-step connecting maps into ordinary sheaf cohomology. -/ |
| 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}} |
| 19 | |
| 20 | def sheafTwoStepBoundary (S : ShortComplex (TopCat.Sheaf AddCommGrpCat.{0} X)) |
| 21 | (hS : S.Exact) [Mono S.f] : |
| 22 | (cokernel (TwoStepQuotient.firstQuotientDifferential S)).obj.obj (op (⊤ : Opens X)) →+ |
| 23 | CategoryTheory.Sheaf.H S.X₁ 2 := |
| 24 | ((TwoStepExt.twoStepQuotientExtClass S hS).postcomp (ResolutionClasses.sheafCohomologySource X) (zero_add 2)).comp |
| 25 | (CategoryTheory.Sheaf.H.equiv₀ _ isTerminalTop).symm.toAddMonoidHom |
| 26 | |
| 27 | theorem sheafTwoStepBoundary_naturality {S T : ShortComplex (TopCat.Sheaf AddCommGrpCat.{0} X)} |
| 28 | (hS : S.Exact) (hT : T.Exact) [Mono S.f] [Mono T.f] (φ : S ⟶ T) |
| 29 | (t : (cokernel (TwoStepQuotient.firstQuotientDifferential S)).obj.obj (op (⊤ : Opens X))) : |
| 30 | CategoryTheory.Sheaf.H.map φ.τ₁ 2 (sheafTwoStepBoundary S hS t) = |
| 31 | sheafTwoStepBoundary T hT ((TwoStepQuotientNaturality.secondQuotientMap φ).hom.app (op (⊤ : Opens X)) t) := by |
| 32 | change (((CategoryTheory.Sheaf.H.equiv₀ _ isTerminalTop).symm t).comp |
| 33 | (TwoStepExt.twoStepQuotientExtClass S hS) (zero_add 2)).comp (Ext.mk₀ φ.τ₁) (add_zero 2) = _ |
| 34 | rw [Ext.comp_assoc_of_third_deg_zero, TwoStepExt.twoStepQuotientExtClass_naturality hS hT φ, |
| 35 | ← Ext.comp_assoc_of_second_deg_zero] |
| 36 | have hn := CategoryTheory.Sheaf.H.equiv₀_symm_naturality |
| 37 | (f := TwoStepQuotientNaturality.secondQuotientMap φ) isTerminalTop t |
| 38 | exact congrArg (fun z : CategoryTheory.Sheaf.H (cokernel (TwoStepQuotient.firstQuotientDifferential T)) 0 => |
| 39 | z.comp (TwoStepExt.twoStepQuotientExtClass T hT) (zero_add 2)) hn |
| 40 | |
| 41 | theorem sheafTwoStepBoundary_image_eq_zero |
| 42 | {S T : ShortComplex (TopCat.Sheaf AddCommGrpCat.{0} X)} |
| 43 | (hS : S.Exact) (hT : T.Exact) [Mono S.f] [Mono T.f] (φ : S ⟶ T) |
| 44 | (t : (cokernel (TwoStepQuotient.firstQuotientDifferential S)).obj.obj (op (⊤ : Opens X))) |
| 45 | (ht : (TwoStepQuotientNaturality.secondQuotientMap φ).hom.app (op (⊤ : Opens X)) t = 0) : |
| 46 | CategoryTheory.Sheaf.H.map φ.τ₁ 2 (sheafTwoStepBoundary S hS t) = 0 := by |
| 47 | rw [sheafTwoStepBoundary_naturality hS hT φ t, ht, map_zero] |
| 48 | |
| 49 | theorem sheafTwoStepBoundary_of_section_eq_zero |
| 50 | (S : ShortComplex (TopCat.Sheaf AddCommGrpCat.{0} X)) (hS : S.Exact) [Mono S.f] |
| 51 | (a : S.X₃.obj.obj (op (⊤ : Opens X))) : |
| 52 | sheafTwoStepBoundary S hS ((cokernel.π (TwoStepQuotient.firstQuotientDifferential S)).hom.app |
| 53 | (op (⊤ : Opens X)) a) = 0 := by |
| 54 | change ((CategoryTheory.Sheaf.H.equiv₀ _ isTerminalTop).symm |
| 55 | ((cokernel.π (TwoStepQuotient.firstQuotientDifferential S)).hom.app (op (⊤ : Opens X)) a)).comp |
| 56 | (TwoStepExt.twoStepQuotientExtClass S hS) (zero_add 2) = 0 |
| 57 | rw [← CategoryTheory.Sheaf.H.equiv₀_symm_naturality] |
| 58 | change (((CategoryTheory.Sheaf.H.equiv₀ S.X₃ isTerminalTop).symm a).comp |
| 59 | (Ext.mk₀ (cokernel.π (TwoStepQuotient.firstQuotientDifferential S))) (add_zero 0)).comp |
| 60 | ((TwoStepQuotient.secondQuotientSequence_shortExact S hS).extClass.comp |
| 61 | (TwoStepQuotient.firstQuotientSequence_shortExact S).extClass (rfl : 1 + 1 = 2)) (zero_add 2) = 0 |
| 62 | rw [Ext.comp_assoc_of_second_deg_zero, ← Ext.comp_assoc _ _ _ (zero_add 1) |
| 63 | (rfl : 1 + 1 = 2) (rfl : 0 + 1 + 1 = 2)] |
| 64 | have hz : (Ext.mk₀ (cokernel.π (TwoStepQuotient.firstQuotientDifferential S))).comp |
| 65 | (TwoStepQuotient.secondQuotientSequence_shortExact S hS).extClass (zero_add 1) = 0 := |
| 66 | (TwoStepQuotient.secondQuotientSequence_shortExact S hS).comp_extClass |
| 67 | rw [hz, Ext.zero_comp, Ext.comp_zero] |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.TwoStepBoundary |