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.ResolutionClasses |
| 2 | |
| 3 | /-! # Resolution Homology -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.ResolutionHomology |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Positive sheaf cohomology as the homology of actual global resolution sections. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _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}} {F : TopCat.Sheaf AddCommGrpCat.{0} X} |
| 18 | variable (R : InjectiveResolution F) |
| 19 | |
| 20 | def sheafResolutionSections : CochainComplex AddCommGrpCat.{0} ℕ := |
| 21 | ((Holomorphic.PeriodSequence.abelianSheafSections X ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).obj R.cocomplex |
| 22 | |
| 23 | def sheafResolutionCyclesClass (n : ℕ) : |
| 24 | ((sheafResolutionSections R).sc' n (n + 1) (n + 1 + 1)).g.hom.ker →+ CategoryTheory.Sheaf.H F (n + 1) where |
| 25 | toFun s := ResolutionClasses.sheafResolutionCycleClass R (n + 1) s.val s.property |
| 26 | map_zero' := by |
| 27 | change R.extMk ((ResolutionClasses.sheafHomGlobalEquiv _).symm 0) _ _ _ = 0 |
| 28 | simp only [map_zero, InjectiveResolution.extMk_zero] |
| 29 | map_add' s t := by |
| 30 | dsimp only [ResolutionClasses.sheafResolutionCycleClass] |
| 31 | simp only [AddSubgroup.coe_add] |
| 32 | rw [R.add_extMk] |
| 33 | congr 1 |
| 34 | exact (ResolutionClasses.sheafHomGlobalEquiv (R.cocomplex.X (n + 1))).symm.map_add s.val t.val |
| 35 | |
| 36 | theorem sheafResolutionCyclesClass_eq_zero_iff (n : ℕ) |
| 37 | (s : ((sheafResolutionSections R).sc' n (n + 1) (n + 1 + 1)).g.hom.ker) : |
| 38 | sheafResolutionCyclesClass R n s = 0 ↔ |
| 39 | s ∈ ((sheafResolutionSections R).sc' n (n + 1) (n + 1 + 1)).abToCycles.range := by |
| 40 | rw [AddMonoidHom.mem_range] |
| 41 | change ResolutionClasses.sheafResolutionCycleClass R (n + 1) s.val s.property = 0 ↔ _ |
| 42 | rw [ResolutionClasses.sheafResolutionCycleClass_eq_zero_iff] |
| 43 | constructor |
| 44 | · rintro ⟨t, ht⟩ |
| 45 | exact ⟨t, Subtype.ext ht⟩ |
| 46 | · rintro ⟨t, ht⟩ |
| 47 | exact ⟨t, congrArg Subtype.val ht⟩ |
| 48 | |
| 49 | def sheafResolutionQuotientClass (n : ℕ) : |
| 50 | (((sheafResolutionSections R).sc' n (n + 1) (n + 1 + 1)).g.hom.ker ⧸ |
| 51 | ((sheafResolutionSections R).sc' n (n + 1) (n + 1 + 1)).abToCycles.range) →+ |
| 52 | CategoryTheory.Sheaf.H F (n + 1) := |
| 53 | QuotientAddGroup.lift _ (sheafResolutionCyclesClass R n) (by |
| 54 | intro s hs |
| 55 | exact (sheafResolutionCyclesClass_eq_zero_iff R n s).mpr hs) |
| 56 | |
| 57 | theorem sheafResolutionQuotientClass_bijective (n : ℕ) : |
| 58 | Function.Bijective (sheafResolutionQuotientClass R n) := by |
| 59 | constructor |
| 60 | · apply (injective_iff_map_eq_zero _).mpr |
| 61 | intro q hq |
| 62 | obtain ⟨s, rfl⟩ := QuotientAddGroup.mk_surjective q |
| 63 | change sheafResolutionCyclesClass R n s = 0 at hq |
| 64 | exact (QuotientAddGroup.eq_zero_iff _).mpr ((sheafResolutionCyclesClass_eq_zero_iff R n s).mp hq) |
| 65 | · intro a |
| 66 | obtain ⟨s, hs, hsa⟩ := ResolutionClasses.exists_sheafResolutionCycle R (n + 1) a |
| 67 | exact ⟨QuotientAddGroup.mk (⟨s, hs⟩ : ((sheafResolutionSections R).sc' n (n + 1) (n + 1 + 1)).g.hom.ker), hsa⟩ |
| 68 | |
| 69 | /-- This equivalence uses the existing homology quotient and the native Ext representative map. -/ |
| 70 | def sheafResolutionHomologyEquiv (n : ℕ) : |
| 71 | (sheafResolutionSections R).homology (n + 1) ≃+ CategoryTheory.Sheaf.H F (n + 1) := |
| 72 | (((ShortComplex.homologyFunctor AddCommGrpCat).mapIso |
| 73 | ((sheafResolutionSections R).isoSc' n (n + 1) (n + 1 + 1) |
| 74 | (CochainComplex.prev_nat_succ n) |
| 75 | ((ComplexShape.up ℕ).next_eq' (show (ComplexShape.up ℕ).Rel (n + 1) (n + 1 + 1) from rfl)))).addCommGroupIsoToAddEquiv).trans |
| 76 | ((((sheafResolutionSections R).sc' n (n + 1) (n + 1 + 1)).abHomologyIso.addCommGroupIsoToAddEquiv).trans |
| 77 | (AddEquiv.ofBijective (sheafResolutionQuotientClass R n) (sheafResolutionQuotientClass_bijective R n))) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.ResolutionHomology |