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.PlaneProductCharts |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.PlaneHalfFillings |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.OrthantBoundaryRepresentatives |
| 4 | |
| 5 | /-! # Punctured Half Boundary -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.PuncturedHalfBoundary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # ChernClass: the outer half-circle chain in the punctured half-plane |
| 13 | |
| 14 | The outer arcs avoid the origin, including their endpoints. Their |
| 15 | chain in that punctured support maps to the original half-circle |
| 16 | chain, and its actual boundary consists of the two axis endpoints. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | open scoped Simplicial |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | |
| 26 | def puncturedPlaneHalfInclusion (b : Bool) : |
| 27 | TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b) ⟶ TopCat.of (PlaneHalf.coordinatePlaneHalf b) := |
| 28 | TopCat.ofHom ⟨Subtype.val, continuous_subtype_val⟩ |
| 29 | |
| 30 | theorem planeAxisVector_ne_zero (η : Fin 1 → Bool) : PlaneHalf.planeAxisVector η ≠ 0 := by |
| 31 | intro h |
| 32 | have hz := congrArg (fun x : PlaneHalf.CoordinatePlane => x 1) h |
| 33 | change (OrthantSphereEquator.orthantSign (η 0) : ℝ) = 0 at hz |
| 34 | exact OrthantSphereEquator.orthantSign_ne_zero (η 0) (by exact_mod_cast hz) |
| 35 | |
| 36 | def planeAxisPuncturedPoint (b : Bool) (η : Fin 1 → Bool) : PlaneProductCharts.PuncturedPlaneHalf b := |
| 37 | ⟨PlaneHalf.planeAxisPoint b η, planeAxisVector_ne_zero η⟩ |
| 38 | |
| 39 | def planeHalfOuterPuncturedSimplex (b : Bool) (η : Fin 1 → Bool) : |
| 40 | (TopCat.toSSet.obj (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))) _⦋1⦌ := |
| 41 | ((TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b)).toSSetObjEquiv _).symm (PlaneProductCharts.planeHalfOuterPuncturedMap b η) |
| 42 | |
| 43 | theorem planeHalfOuterPuncturedSimplex_face_zero (b : Bool) (η : Fin 1 → Bool) : |
| 44 | (TopCat.toSSet.obj (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))).δ 0 (planeHalfOuterPuncturedSimplex b η) = |
| 45 | (TopCat.toSSetObj₀Equiv (X := TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))).symm |
| 46 | (planeAxisPuncturedPoint b η) := by |
| 47 | apply ((TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b)).toSSetObjEquiv _).injective |
| 48 | apply ContinuousMap.ext |
| 49 | intro t |
| 50 | apply Subtype.ext |
| 51 | have h := congrArg (fun s => ((TopCat.of (PlaneHalf.coordinatePlaneHalf b)).toSSetObjEquiv _ s) t) |
| 52 | (PlaneHalfFaces.planeHalfOuterSimplex_face_zero b η) |
| 53 | exact h |
| 54 | |
| 55 | theorem planeHalfOuterPuncturedSimplex_face_flip (b : Bool) (η : Fin 1 → Bool) (i : Fin 1) : |
| 56 | (TopCat.toSSet.obj (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))).δ i.succ |
| 57 | (planeHalfOuterPuncturedSimplex b (OrthantSphereEquator.orthantFlip i η)) = |
| 58 | (TopCat.toSSet.obj (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))).δ i.succ |
| 59 | (planeHalfOuterPuncturedSimplex b η) := by |
| 60 | apply ((TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b)).toSSetObjEquiv _).injective |
| 61 | apply ContinuousMap.ext |
| 62 | intro t |
| 63 | apply Subtype.ext |
| 64 | exact congrArg (fun s => ((TopCat.of (PlaneHalf.coordinatePlaneHalf b)).toSSetObjEquiv _ s) t) |
| 65 | (PlaneHalfFaces.planeHalfOuterSimplex_face_flip b η i) |
| 66 | |
| 67 | def planeHalfOuterPuncturedChain (b : Bool) : |
| 68 | (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))).X 1 := |
| 69 | OrthantSphereEquator.orthantSign b • ∑ η : Fin 1 → Bool, OrthantSphereEquator.orthantWeight η • AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℤ) |
| 70 | (TopCat.toSSet.obj (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))) (planeHalfOuterPuncturedSimplex b η) |
| 71 | |
| 72 | def planeHalfPuncturedEndpointChain (b : Bool) : |
| 73 | (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))).X 0 := |
| 74 | ∑ η : Fin 1 → Bool, OrthantSphereEquator.orthantWeight η • AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℤ) |
| 75 | (TopCat.toSSet.obj (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))) |
| 76 | ((TopCat.toSSetObj₀Equiv (X := TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))).symm (planeAxisPuncturedPoint b η)) |
| 77 | |
| 78 | theorem planeHalfOuterPuncturedChain_inclusion (b : Bool) : |
| 79 | (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map (puncturedPlaneHalfInclusion b)).f 1 |
| 80 | (planeHalfOuterPuncturedChain b) = PlaneHalfFillings.planeHalfOuterChain b := by |
| 81 | rw [planeHalfOuterPuncturedChain, PlaneHalfFillings.planeHalfOuterChain, map_zsmul, map_sum] |
| 82 | congr 1 |
| 83 | apply Finset.sum_congr rfl |
| 84 | intro η _ |
| 85 | rw [map_zsmul, OrthantBoundaryRepresentatives.integralSimplexChain_map] |
| 86 | rfl |
| 87 | |
| 88 | theorem planeHalfOuterPuncturedChain_boundary (b : Bool) : |
| 89 | (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))).d 1 0 |
| 90 | (planeHalfOuterPuncturedChain b) = OrthantSphereEquator.orthantSign b • planeHalfPuncturedEndpointChain b := by |
| 91 | change (AlgebraicTopology.Cohomology.Singular.ChainDual.simplicialScalarChains (R := ℤ) (TopCat.toSSet.obj (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b)))).d 1 0 |
| 92 | (OrthantSphereEquator.orthantSign b • ∑ η : Fin 1 → Bool, OrthantSphereEquator.orthantWeight η • AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℤ) |
| 93 | (TopCat.toSSet.obj (TopCat.of (PlaneProductCharts.PuncturedPlaneHalf b))) (planeHalfOuterPuncturedSimplex b η)) = _ |
| 94 | rw [map_zsmul, OrthantWeightedBoundary.orthantWeighted_boundary_first _ 0 _ (planeHalfOuterPuncturedSimplex_face_flip b)] |
| 95 | simp only [planeHalfOuterPuncturedSimplex_face_zero] |
| 96 | rfl |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.DivisorClass.Chern.PuncturedHalfBoundary |