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.PlaneProductCycle |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SphereAssemblyChains |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.ProductHalfBoundary |
| 4 | |
| 5 | /-! # Product Sphere Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ProductSphereComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The boundary of the actual relative disk cross filling is the same |
| 12 | sphere class used in the two native Mayer–Vietoris calculations. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open _root_.HomologicalComplex |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | variable (m q : ℕ) |
| 22 | variable (B : (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (TopCat.of (EuclideanSpace ℝ (Fin m)))).X (q + 2)) |
| 23 | variable (z : (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) |
| 24 | (TopCat.of (CycleClass.Geometric.NormalSphere.Cycles.PuncturedNormal (EuclideanSpace ℝ (Fin m))))).X (q + 1)) |
| 25 | variable (hB : (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (TopCat.of (EuclideanSpace ℝ (Fin m)))).d (q + 2) (q + 1) B = |
| 26 | (CycleClass.Geometric.RelativeScalarChains.Cycles.scalarSubspaceChainInclusion ℚ (TopCat.of (EuclideanSpace ℝ (Fin m))) ({0}ᶜ)).f (q + 1) z) |
| 27 | variable (hz : (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) |
| 28 | (TopCat.of (CycleClass.Geometric.NormalSphere.Cycles.PuncturedNormal (EuclideanSpace ℝ (Fin m))))).d (q + 1) q z = 0) |
| 29 | |
| 30 | def fullPlaneProductSpherePieces : Rational.SphereAssembly.SphereRationalChainPieces m (q + 2) where |
| 31 | left := ProductHalfBoundary.halfProductSphereChartChain m false q B z |
| 32 | right := ProductHalfBoundary.halfProductSphereChartChain m true q B z |
| 33 | overlap := ProductHalfBoundary.productAxisOverlapCycle m q B z hB |
| 34 | left_boundary := by |
| 35 | have h := ProductHalfBoundary.halfProductSphereChartChain_boundary m false q B z hB hz |
| 36 | change _ = (-1 : ℚ) • _ at h |
| 37 | rw [neg_one_smul] at h |
| 38 | exact h |
| 39 | right_boundary := by |
| 40 | have h := ProductHalfBoundary.halfProductSphereChartChain_boundary m true q B z hB hz |
| 41 | change _ = (1 : ℚ) • _ at h |
| 42 | rw [one_smul] at h |
| 43 | exact h |
| 44 | |
| 45 | theorem fullPlaneProductSpherePieces_class : |
| 46 | (fullPlaneProductSpherePieces m q B z hB hz).sphereClass = |
| 47 | ProductHalfBoundary.halfProductSphereClass m q B z hB hz := rfl |
| 48 | |
| 49 | theorem fullPlaneProductBoundaryChain_radial : |
| 50 | ((CycleClass.Geometric.RelativeScalarChains.Cycles.scalarSingularChainFunctor ℚ).map (PlaneProductTo.fullPlaneProductRadialMap m)).f (q + 3) |
| 51 | (PlaneProductTo.fullPlaneProductBoundaryChain m q B z) = |
| 52 | (fullPlaneProductSpherePieces m q B z hB hz).ordinaryCycle.val := by |
| 53 | rw [Rational.SphereAssembly.SphereRationalChainPieces.ordinaryCycle_val, PlaneProductTo.fullPlaneProductBoundaryChain, map_add] |
| 54 | have hL := congrArg (CycleClass.Geometric.RelativeScalarChains.Cycles.scalarSingularChainFunctor ℚ).map (PlaneProductTo.halfToFullProduct_radial m false) |
| 55 | have hR := congrArg (CycleClass.Geometric.RelativeScalarChains.Cycles.scalarSingularChainFunctor ℚ).map (PlaneProductTo.halfToFullProduct_radial m true) |
| 56 | rw [CategoryTheory.Functor.map_comp, CategoryTheory.Functor.map_comp] at hL hR |
| 57 | exact congrArg₂ (fun x y => x + y) |
| 58 | (ConcreteCategory.congr_hom (congrArg (fun f => f.f (q + 3)) hL) |
| 59 | (HalfProductChain.halfProductPuncturedChain m false q B z)) |
| 60 | (ConcreteCategory.congr_hom (congrArg (fun f => f.f (q + 3)) hR) |
| 61 | (HalfProductChain.halfProductPuncturedChain m true q B z)) |
| 62 | |
| 63 | theorem fullPlaneProductBoundaryCycle_radial : |
| 64 | homologyMap ((CycleClass.Geometric.RelativeScalarChains.Cycles.scalarSingularChainFunctor ℚ).map (PlaneProductTo.fullPlaneProductRadialMap m)) (q + 3) |
| 65 | (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) |
| 66 | (TopCat.of (CycleClass.Geometric.NormalSphere.Cycles.PuncturedNormal (PlaneHalf.CoordinatePlane × EuclideanSpace ℝ (Fin m))))) (q + 3) |
| 67 | (PlaneProductCycle.fullPlaneProductBoundaryCycle m q B z hB)) = ProductHalfBoundary.halfProductSphereClass m q B z hB hz := by |
| 68 | let p := fullPlaneProductSpherePieces m q B z hB hz |
| 69 | have hc : AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap ((CycleClass.Geometric.RelativeScalarChains.Cycles.scalarSingularChainFunctor ℚ).map (PlaneProductTo.fullPlaneProductRadialMap m)) (q + 3) |
| 70 | (PlaneProductCycle.fullPlaneProductBoundaryCycle m q B z hB) = p.ordinaryCycle := |
| 71 | Subtype.ext (fullPlaneProductBoundaryChain_radial m q B z hB hz) |
| 72 | erw [AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainClass_naturality ((CycleClass.Geometric.RelativeScalarChains.Cycles.scalarSingularChainFunctor ℚ).map (PlaneProductTo.fullPlaneProductRadialMap m)) |
| 73 | (q + 3) (PlaneProductCycle.fullPlaneProductBoundaryCycle m q B z hB)] |
| 74 | rw [hc] |
| 75 | exact p.sphereClass_eq_ordinaryCycle.symm.trans |
| 76 | (fullPlaneProductSpherePieces_class m q B z hB hz) |
| 77 | |
| 78 | theorem fullPlaneProductRelativeCycle_sphereBoundary : |
| 79 | homologyMap ((CycleClass.Geometric.RelativeScalarChains.Cycles.scalarSingularChainFunctor ℚ).map (PlaneProductTo.fullPlaneProductRadialMap m)) (q + 3) |
| 80 | ((CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainSequence_shortExact ℚ |
| 81 | (TopCat.of (PlaneHalf.CoordinatePlane × EuclideanSpace ℝ (Fin m))) ({0}ᶜ)).δ (q + 4) (q + 3) rfl |
| 82 | (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass _ (q + 4) (PlaneProductCycle.fullPlaneProductRelativeCycle m q B z hB))) = |
| 83 | ProductHalfBoundary.halfProductSphereClass m q B z hB hz := by |
| 84 | rw [PlaneProductCycle.fullPlaneProductRelativeCycle_boundary, fullPlaneProductBoundaryCycle_radial m q B z hB hz] |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ProductSphereComparison |