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.Comparison.Betti.OpenForms |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Open.Image |
| 3 | |
| 4 | /-! # Open Presheaf -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.OpenPresheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original integer algebraic presheaf complex restricts isomorphically across an open immersion. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) [IsOpenImmersion f.left] |
| 15 | |
| 16 | abbrev zariskiOpenPresheafRestriction : Sheaf.CochainPullback.ComplexPresheaves Y ⥤ Sheaf.CochainPullback.ComplexPresheaves X := |
| 17 | Open.Image.openPresheafRestriction f.left.base f.left.isOpenEmbedding |
| 18 | |
| 19 | instance zariskiOpenPresheafRestrictionAdditive : (zariskiOpenPresheafRestriction f).Additive where |
| 20 | map_add := by intros; rfl |
| 21 | |
| 22 | def zariskiOpenPresheafAdjunction : zariskiOpenPresheafRestriction f ⊣ Sheaf.CochainPullback.directImagePresheaf f := |
| 23 | Open.Image.openPresheafAdjunction f.left.base f.left.isOpenEmbedding |
| 24 | |
| 25 | def zariskiOpenPresheafComplexAdjunction : |
| 26 | (zariskiOpenPresheafRestriction f).mapHomologicalComplex (ComplexShape.up ℤ) ⊣ |
| 27 | (Sheaf.CochainPullback.directImagePresheaf f).mapHomologicalComplex (ComplexShape.up ℤ) := |
| 28 | Complex.Adjunction.onComplexes (zariskiOpenPresheafAdjunction f) (ComplexShape.up ℤ) |
| 29 | |
| 30 | def restrictedAlgebraicPresheafPullbackInt : |
| 31 | ((zariskiOpenPresheafRestriction f).mapHomologicalComplex (ComplexShape.up ℤ)).obj |
| 32 | (Sheaves.deRhamPresheafComplexInt Y) ⟶ Sheaves.deRhamPresheafComplexInt X := |
| 33 | ((zariskiOpenPresheafComplexAdjunction f).homEquiv (Sheaves.deRhamPresheafComplexInt Y) |
| 34 | (Sheaves.deRhamPresheafComplexInt X)).symm (OpenForms.presheafComplexPullbackInt f) |
| 35 | |
| 36 | theorem restrictedAlgebraicDirectMapInt_isIso : |
| 37 | IsIso (((zariskiOpenPresheafRestriction f).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 38 | (OpenForms.presheafComplexPullbackInt f)) := by |
| 39 | have (n : ℤ) : IsIso |
| 40 | ((((zariskiOpenPresheafRestriction f).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 41 | (OpenForms.presheafComplexPullbackInt f)).f n) := by |
| 42 | have (U : X.left.Opensᵒᵖ) : IsIso |
| 43 | (((((zariskiOpenPresheafRestriction f).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 44 | (OpenForms.presheafComplexPullbackInt f)).f n).app U) := by |
| 45 | have : IsIso ((OpenForms.deRhamPresheafPullbackInt f).app (op (f.left ''ᵁ U.unop))) := |
| 46 | OpenForms.deRhamPresheafPullbackInt_isIso_of_openImmersion f (op (f.left ''ᵁ U.unop)) |
| 47 | (Set.image_subset_range _ _) |
| 48 | change IsIso (((OpenForms.deRhamPresheafPullbackInt f).app (op (f.left ''ᵁ U.unop))).f n) |
| 49 | infer_instance |
| 50 | exact NatIso.isIso_of_isIso_app _ |
| 51 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 52 | |
| 53 | theorem restrictedAlgebraicPresheafPullbackInt_isIso : IsIso (restrictedAlgebraicPresheafPullbackInt f) := by |
| 54 | have : IsIso (((zariskiOpenPresheafRestriction f).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 55 | (OpenForms.presheafComplexPullbackInt f)) := restrictedAlgebraicDirectMapInt_isIso f |
| 56 | have : IsIso ((zariskiOpenPresheafComplexAdjunction f).counit.app (Sheaves.deRhamPresheafComplexInt X)) := |
| 57 | Open.Image.openPresheafComplexCounit_isIso f.left.base f.left.isOpenEmbedding (Sheaves.deRhamPresheafComplexInt X) |
| 58 | unfold restrictedAlgebraicPresheafPullbackInt |
| 59 | rw [Adjunction.homEquiv_counit] |
| 60 | infer_instance |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.OpenPresheaf |