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.ComplexMultiplication.SingularPresheafBridge |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.ScalarForgettingSheafification |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.SheafResolution |
| 4 | |
| 5 | /-! # Singular Sheaf Bridge -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.SingularSheafBridge |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! # Evaluation identifies the actual singular sheaf complexes |
| 14 | |
| 15 | The comparison sheafifies actual evaluation on chains and canonically forgets |
| 16 | module scalars. It retains the original topological space and coboundaries. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 20 | |
| 21 | variable (R : Type) [CommRing R] (Y : TopCat.{0}) |
| 22 | |
| 23 | local notation "J" => Opens.grothendieckTopology Y |
| 24 | local notation "F" => forget₂ (ModuleCat R) AddCommGrpCat |
| 25 | local notation "K" => OAI.AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of R R) Y |
| 26 | |
| 27 | /-- Forgetting scalars retains the actual sum of sheaf morphisms. -/ |
| 28 | instance scalarSheafCompose_additive : |
| 29 | (sheafCompose J (forget₂ (ModuleCat.{0} R) AddCommGrpCat.{0})).Additive where |
| 30 | map_add := rfl |
| 31 | |
| 32 | local instance complexScalarSheafCompose_additive : |
| 33 | (sheafCompose J (forget₂ (ModuleCat.{0} ℂ) AddCommGrpCat.{0})).Additive where |
| 34 | map_add := rfl |
| 35 | |
| 36 | set_option backward.isDefEq.respectTransparency false in |
| 37 | /-- Actual chain evaluation, lifted through the canonical sheafification comparison. -/ |
| 38 | def singularSheafComplexBridgeIso : |
| 39 | (Functor.mapHomologicalComplex (sheafCompose J F) (ComplexShape.up ℕ)).obj |
| 40 | (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex K) ≅ |
| 41 | AlgebraicTopology.Singular.SheafCochain.singularCochainSheafComplex R Y := |
| 42 | ((NatIso.mapHomologicalComplex (ScalarForgettingSheafification.scalarSheafificationCanonicalIso R Y) |
| 43 | (ComplexShape.up ℕ)).app K).symm ≪≫ |
| 44 | ((presheafToSheaf J AddCommGrpCat).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso |
| 45 | (SingularPresheafBridge.singularPresheafComplexBridgeIso R Y) |
| 46 | |
| 47 | /-- The comparison on the actual complex-coefficient singular sheaf complex. -/ |
| 48 | def originalComplexSingularSheafBridgeIso : |
| 49 | (Functor.mapHomologicalComplex |
| 50 | (sheafCompose J (forget₂ (ModuleCat ℂ) AddCommGrpCat)) (ComplexShape.up ℕ)).obj |
| 51 | (AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex Y) ≅ |
| 52 | AlgebraicTopology.Singular.SheafCochain.singularCochainSheafComplex ℂ Y := |
| 53 | singularSheafComplexBridgeIso ℂ Y |
| 54 | |
| 55 | end |
| 56 | |
| 57 | /-! # Actual singular evaluation commutes with sheafification units |
| 58 | |
| 59 | The comparison is the proved chain evaluation and the canonical scalar |
| 60 | sheafification isomorphism, on the same open subspaces in every degree. |
| 61 | -/ |
| 62 | |
| 63 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 64 | |
| 65 | variable (R : Type) [CommRing R] (Y : TopCat.{0}) |
| 66 | |
| 67 | local notation "J" => Opens.grothendieckTopology Y |
| 68 | local notation "F" => forget₂ (ModuleCat R) AddCommGrpCat |
| 69 | |
| 70 | set_option backward.isDefEq.respectTransparency false in |
| 71 | set_option backward.isDefEq.respectTransparency.types false in |
| 72 | /-- The inverse canonical comparison retains the same actual local sections. -/ |
| 73 | theorem scalarSheafificationCanonicalIso_inv_unit |
| 74 | (P : (Opens Y)ᵒᵖ ⥤ ModuleCat.{0} R) : |
| 75 | Functor.whiskerRight (toSheafify J P) F ≫ |
| 76 | ((ScalarForgettingSheafification.scalarSheafificationCanonicalIso R Y).app P).inv.hom = |
| 77 | toSheafify J (P ⋙ F) := by |
| 78 | rw [← ScalarForgettingSheafification.scalarSheafificationCanonicalIso_unit R Y P, Category.assoc] |
| 79 | have h : ((ScalarForgettingSheafification.scalarSheafificationCanonicalIso R Y).app P).hom.hom ≫ |
| 80 | ((ScalarForgettingSheafification.scalarSheafificationCanonicalIso R Y).app P).inv.hom = 𝟙 _ := |
| 81 | congrArg (fun f => f.hom) |
| 82 | (((ScalarForgettingSheafification.scalarSheafificationCanonicalIso R Y).app P).hom_inv_id) |
| 83 | rw [h] |
| 84 | exact Category.comp_id _ |
| 85 | |
| 86 | set_option backward.isDefEq.respectTransparency false in |
| 87 | set_option backward.isDefEq.respectTransparency.types false in |
| 88 | /-- The actual singular sheaf-complex bridge agrees with evaluation on local cochains. -/ |
| 89 | theorem singularSheafComplexBridgeIso_unit (n : ℕ) : |
| 90 | Functor.whiskerRight |
| 91 | (toSheafify J |
| 92 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of R R) Y n)) F ≫ |
| 93 | ((singularSheafComplexBridgeIso R Y).hom.f n).hom = |
| 94 | (SingularPresheafBridge.singularCochainDegreePresheafBridgeIso R Y n).hom ≫ |
| 95 | toSheafify J (AlgebraicTopology.Singular.SheafCochain.singularCochainPresheaf R Y n) := by |
| 96 | change Functor.whiskerRight (toSheafify J _) F ≫ |
| 97 | (((ScalarForgettingSheafification.scalarSheafificationCanonicalIso R Y).app |
| 98 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of R R) Y n)).inv.hom ≫ |
| 99 | ((presheafToSheaf J AddCommGrpCat).map |
| 100 | (SingularPresheafBridge.singularCochainDegreePresheafBridgeIso R Y n).hom).hom) = _ |
| 101 | rw [← Category.assoc, scalarSheafificationCanonicalIso_inv_unit, |
| 102 | ← toSheafify_naturality J (SingularPresheafBridge.singularCochainDegreePresheafBridgeIso R Y n).hom] |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.ComplexMultiplication.SingularSheafBridge |