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.NumberTheory.PadicHodge.GeometricComparison.FirstThree.FunctorialMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeSheafUnit |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.SheafificationPullbackSquare |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.SheafPullbackAdjoint |
| 5 | |
| 6 | /-! # Three Pullback -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreePullback.IntegralFirstThreePullback |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual geometric pullback on the first three integral de Rham terms is |
| 13 | compatible with the native sheafification unit and inverse-image adjunction. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits ZeroObject _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {R : Type} [CommRing R] |
| 18 | {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 19 | |
| 20 | local notation "PX" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 21 | local notation "PY" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R Y) |
| 22 | local notation "KX" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) |
| 23 | local notation "KY" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y) |
| 24 | local notation "UX" => sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat R) |
| 25 | local notation "UY" => sheafToPresheaf (Opens.grothendieckTopology Y.left) (ModuleCat R) |
| 26 | |
| 27 | def presheafMap : PY ⟶ ((DeRham.Int.directImagePresheaf f).mapHomologicalComplex (.up ℕ)).obj PX := |
| 28 | FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct (DeRham.Int.directImagePresheaf f) (DeRham.Int.presheafPullback f) |
| 29 | |
| 30 | def sheafMap : ((DeRham.Int.inverseImage f).mapHomologicalComplex (.up ℕ)).obj KY ⟶ KX := |
| 31 | FirstThree.FunctorialMap.FirstThreeFunctorialMap.map (DeRham.Int.inverseImage f) (DeRham.Int.sheafPullback f) |
| 32 | |
| 33 | def sheafDirect : KY ⟶ ((DeRham.Int.directImage f).mapHomologicalComplex (.up ℕ)).obj KX := |
| 34 | FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct (DeRham.Int.directImage f) (DeRham.Int.sheafDirectImage f) |
| 35 | |
| 36 | def underlyingMap : ((UY).mapHomologicalComplex (.up ℕ)).obj KY ⟶ |
| 37 | ((DeRham.Int.directImagePresheaf f).mapHomologicalComplex (.up ℕ)).obj |
| 38 | (((UX).mapHomologicalComplex (.up ℕ)).obj KX) := |
| 39 | ((UY).mapHomologicalComplex (.up ℕ)).map (sheafDirect f) |
| 40 | |
| 41 | theorem unit_square : ThreeSheafUnit.IntegralFirstThreeSheafUnit.map R Y ≫ underlyingMap f = |
| 42 | presheafMap f ≫ ((DeRham.Int.directImagePresheaf f).mapHomologicalComplex (.up ℕ)).map |
| 43 | (ThreeSheafUnit.IntegralFirstThreeSheafUnit.map R X) := by |
| 44 | apply HomologicalComplex.Hom.ext |
| 45 | funext n |
| 46 | rcases n with _ | (_ | (_ | n)) |
| 47 | · change (ThreeSheafUnit.IntegralFirstThreeSheafUnit.map R Y).f 0 ≫ (UY).map ((sheafDirect f).f 0) = |
| 48 | (presheafMap f).f 0 ≫ (DeRham.Int.directImagePresheaf f).map ((ThreeSheafUnit.IntegralFirstThreeSheafUnit.map R X).f 0) |
| 49 | rw [show (sheafDirect f).f 0 = (DeRham.Int.sheafDirectImage f).f 0 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_zero _ _, |
| 50 | show (presheafMap f).f 0 = (DeRham.Int.presheafPullback f).f 0 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_zero _ _] |
| 51 | exact congrArg (fun a => a.f 0) (DeRham.SheafificationPullbackSquare.presheaf_sheaf_pullback_square f) |
| 52 | · change (ThreeSheafUnit.IntegralFirstThreeSheafUnit.map R Y).f 1 ≫ (UY).map ((sheafDirect f).f 1) = |
| 53 | (presheafMap f).f 1 ≫ (DeRham.Int.directImagePresheaf f).map ((ThreeSheafUnit.IntegralFirstThreeSheafUnit.map R X).f 1) |
| 54 | rw [show (sheafDirect f).f 1 = (DeRham.Int.sheafDirectImage f).f 1 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_one _ _, |
| 55 | show (presheafMap f).f 1 = (DeRham.Int.presheafPullback f).f 1 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_one _ _] |
| 56 | exact congrArg (fun a => a.f 1) (DeRham.SheafificationPullbackSquare.presheaf_sheaf_pullback_square f) |
| 57 | · change (ThreeSheafUnit.IntegralFirstThreeSheafUnit.map R Y).f 2 ≫ (UY).map ((sheafDirect f).f 2) = |
| 58 | (presheafMap f).f 2 ≫ (DeRham.Int.directImagePresheaf f).map ((ThreeSheafUnit.IntegralFirstThreeSheafUnit.map R X).f 2) |
| 59 | rw [show (sheafDirect f).f 2 = (DeRham.Int.sheafDirectImage f).f 2 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_two _ _, |
| 60 | show (presheafMap f).f 2 = (DeRham.Int.presheafPullback f).f 2 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_two _ _] |
| 61 | exact congrArg (fun a => a.f 2) (DeRham.SheafificationPullbackSquare.presheaf_sheaf_pullback_square f) |
| 62 | · exact ((DeRham.Int.directImagePresheaf f).map_isZero |
| 63 | ((UX).map_isZero (isZero_zero (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X)))).eq_of_tgt _ _ |
| 64 | |
| 65 | theorem sheafMap_adjoint (n : ℕ) : |
| 66 | (DeRham.Int.imageAdjunction f).homEquiv _ _ ((sheafMap f).f n) = (sheafDirect f).f n := by |
| 67 | rcases n with _ | (_ | (_ | n)) |
| 68 | · rw [show (sheafMap f).f 0 = (DeRham.Int.sheafPullback f).f 0 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.map_zero _ _, |
| 69 | show (sheafDirect f).f 0 = (DeRham.Int.sheafDirectImage f).f 0 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_zero _ _] |
| 70 | exact DeRham.SheafPullbackAdjoint.sheafPullback_adjoint f 0 |
| 71 | · rw [show (sheafMap f).f 1 = (DeRham.Int.sheafPullback f).f 1 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.map_one _ _, |
| 72 | show (sheafDirect f).f 1 = (DeRham.Int.sheafDirectImage f).f 1 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_one _ _] |
| 73 | exact DeRham.SheafPullbackAdjoint.sheafPullback_adjoint f 1 |
| 74 | · rw [show (sheafMap f).f 2 = (DeRham.Int.sheafPullback f).f 2 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.map_two _ _, |
| 75 | show (sheafDirect f).f 2 = (DeRham.Int.sheafDirectImage f).f 2 from FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_two _ _] |
| 76 | exact DeRham.SheafPullbackAdjoint.sheafPullback_adjoint f 2 |
| 77 | · exact (isZero_zero (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y)).eq_of_src _ _ |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreePullback.IntegralFirstThreePullback |