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.HodgeConjecture.DegreeTwo.FlasqueInjectives |
| 2 | import Mathlib.Algebra.Homology.Embedding.CochainComplex |
| 3 | |
| 4 | /-! # Bounded Flasque Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.BoundedFlasqueSections.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual bounded-below exact flasque complexes remain exact after taking open sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | section StrictSupport |
| 17 | |
| 18 | variable {C : Type*} [Category C] [Abelian C] |
| 19 | variable {ι ι' : Type*} {c : ComplexShape ι} {c' : ComplexShape ι'} |
| 20 | variable (K : HomologicalComplex C c') (e : c.Embedding c') [e.IsRelIff] |
| 21 | variable [K.IsStrictlySupported e] |
| 22 | |
| 23 | theorem strictSupportRestriction_hasLift : e.HasLift (𝟙 (K.restriction e)) := by |
| 24 | intro j hj i' hi' |
| 25 | exact (K.isZero_X_of_isStrictlySupported e i' (hj.notMem hi')).eq_zero_of_src _ |
| 26 | |
| 27 | def strictSupportRestrictionExtendMap : K ⟶ (K.restriction e).extend e := |
| 28 | e.liftExtend (𝟙 (K.restriction e)) (strictSupportRestriction_hasLift K e) |
| 29 | |
| 30 | theorem strictSupportRestrictionExtendMap_isIso : IsIso (strictSupportRestrictionExtendMap K e) := by |
| 31 | have : ∀ i', IsIso ((strictSupportRestrictionExtendMap K e).f i') := by |
| 32 | intro i' |
| 33 | by_cases hi' : ∃ i, e.f i = i' |
| 34 | · obtain ⟨i,hi⟩ := hi' |
| 35 | apply (e.isIso_liftExtend_f_iff (𝟙 (K.restriction e)) |
| 36 | (strictSupportRestriction_hasLift K e) hi).mpr |
| 37 | infer_instance |
| 38 | · exact (K.isZero_X_of_isStrictlySupported e i' (by simpa using hi')).isIso |
| 39 | ((K.restriction e).isZero_extend_X e i' (by simpa using hi')) _ |
| 40 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 41 | |
| 42 | def strictSupportRestrictionExtendIso : K ≅ (K.restriction e).extend e := by |
| 43 | have := strictSupportRestrictionExtendMap_isIso K e |
| 44 | exact asIso (strictSupportRestrictionExtendMap K e) |
| 45 | |
| 46 | theorem strictSupportRestriction_acyclic_iff : K.Acyclic ↔ (K.restriction e).Acyclic := by |
| 47 | constructor |
| 48 | · intro h i |
| 49 | apply ((K.restriction e).extend_exactAt_iff e (j := i) (j' := e.f i) rfl).mp |
| 50 | exact (h (e.f i)).of_iso (strictSupportRestrictionExtendIso K e) |
| 51 | · intro h i' |
| 52 | by_cases hi' : ∃ i, e.f i = i' |
| 53 | · obtain ⟨i,hi⟩ := hi' |
| 54 | have he := ((K.restriction e).extend_exactAt_iff e hi).mpr (h i) |
| 55 | exact he.of_iso (strictSupportRestrictionExtendIso K e).symm |
| 56 | · exact HomologicalComplex.ExactAt.of_isZero |
| 57 | (K.isZero_X_of_isStrictlySupported e i' (by simpa using hi')) |
| 58 | |
| 59 | end StrictSupport |
| 60 | |
| 61 | theorem rationalBoundedFlasqueSections_acyclic {X : TopCat.{0}} |
| 62 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℤ) |
| 63 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (b : ℤ) [K.IsStrictlyGE b] |
| 64 | (he : K.Acyclic) (U : Opens X) : |
| 65 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) U).mapHomologicalComplex (ComplexShape.up ℤ)).obj K).Acyclic := by |
| 66 | let e := ComplexShape.embeddingUpIntGE b |
| 67 | apply (strictSupportRestriction_acyclic_iff _ e).mpr |
| 68 | have hR := (strictSupportRestriction_acyclic_iff K e).mp he |
| 69 | exact FlasqueInjectives.Constructions.rationalFlasqueSections_acyclic (K.restriction e) (fun n => hK (e.f n)) hR U |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.BoundedFlasqueSections.Constructions |