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.PlaneHalf |
| 2 | import OAI.Geometry.Foundations.ConvexStdSimplexMetric |
| 3 | |
| 4 | /-! # Plane Product Charts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.PlaneProductCharts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # ChernClass: ordered coordinates and pole-chart supports for a plane product |
| 14 | |
| 15 | The first two coordinates are the coordinate plane; the remaining |
| 16 | coordinates retain their original order. Radial projection carries |
| 17 | each signed half-plane into the corresponding sphere pole chart. |
| 18 | -/ |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | def planeProductLinearEquiv (m : ℕ) : |
| 24 | (PlaneHalf.CoordinatePlane × EuclideanSpace ℝ (Fin m)) ≃ₗ[ℝ] EuclideanSpace ℝ (Fin (m + 2)) where |
| 25 | toFun x := WithLp.toLp 2 (Fin.cons (x.1 0) (Fin.cons (x.1 1) (fun i => x.2 i))) |
| 26 | invFun x := (WithLp.toLp 2 (Fin.cons (x 0) (fun _ : Fin 1 => x 1)), |
| 27 | WithLp.toLp 2 (fun i => x i.succ.succ)) |
| 28 | left_inv x := by |
| 29 | apply Prod.ext |
| 30 | · ext i |
| 31 | fin_cases i <;> rfl |
| 32 | · ext i |
| 33 | rfl |
| 34 | right_inv x := by |
| 35 | ext i |
| 36 | refine Fin.cases rfl (fun j => ?_) i |
| 37 | exact Fin.cases rfl (fun _ => rfl) j |
| 38 | map_add' x y := by |
| 39 | ext i |
| 40 | refine Fin.cases rfl (fun j => ?_) i |
| 41 | exact Fin.cases rfl (fun _ => rfl) j |
| 42 | map_smul' a x := by |
| 43 | ext i |
| 44 | refine Fin.cases rfl (fun j => ?_) i |
| 45 | exact Fin.cases rfl (fun _ => rfl) j |
| 46 | |
| 47 | def planeProductCoordinates (m : ℕ) : |
| 48 | (PlaneHalf.CoordinatePlane × EuclideanSpace ℝ (Fin m)) ≃L[ℝ] EuclideanSpace ℝ (Fin (m + 2)) := |
| 49 | (planeProductLinearEquiv m).toContinuousLinearEquiv |
| 50 | |
| 51 | theorem planeProductCoordinates_first (m : ℕ) (x : PlaneHalf.CoordinatePlane) (y : EuclideanSpace ℝ (Fin m)) : |
| 52 | planeProductCoordinates m (x, y) 0 = x 0 := rfl |
| 53 | |
| 54 | theorem planeProductCoordinates_second (m : ℕ) (x : PlaneHalf.CoordinatePlane) (y : EuclideanSpace ℝ (Fin m)) : |
| 55 | planeProductCoordinates m (x, y) 1 = x 1 := rfl |
| 56 | |
| 57 | theorem planeProductCoordinates_tail (m : ℕ) (x : PlaneHalf.CoordinatePlane) (y : EuclideanSpace ℝ (Fin m)) |
| 58 | (i : Fin m) : planeProductCoordinates m (x, y) i.succ.succ = y i := rfl |
| 59 | |
| 60 | def planeProductPole (m : ℕ) (b : Bool) : CycleClass.Geometric.SphereHomologyInduction.Cycles.standardSphere (m + 1) := |
| 61 | if b then -CycleClass.Geometric.SphereCover.Cycles.standardSphereNorthPole (m + 1) else CycleClass.Geometric.SphereCover.Cycles.standardSphereNorthPole (m + 1) |
| 62 | |
| 63 | theorem planeProduct_radial_mem_chart (m : ℕ) (b : Bool) (x : PlaneHalf.coordinatePlaneHalf b) |
| 64 | (y : EuclideanSpace ℝ (Fin m)) (hne : planeProductCoordinates m (x.val, y) ≠ 0) : |
| 65 | CycleClass.Geometric.NormalSphere.Cycles.normalSphereProjection (EuclideanSpace ℝ (Fin (m + 2))) |
| 66 | ⟨planeProductCoordinates m (x.val, y), hne⟩ ∈ CycleClass.Geometric.SphereCover.Cycles.spherePoleOpen (planeProductPole m b) := by |
| 67 | have hcoord : |
| 68 | (CycleClass.Geometric.NormalSphere.Cycles.normalSphereProjection (EuclideanSpace ℝ (Fin (m + 2))) |
| 69 | ⟨planeProductCoordinates m (x.val, y), hne⟩).val 0 = |
| 70 | ‖planeProductCoordinates m (x.val, y)‖⁻¹ * x.val 0 := by |
| 71 | rw [CycleClass.Geometric.NormalSphere.Cycles.normalSphereProjection_coe] |
| 72 | rfl |
| 73 | have hsign : 0 ≤ (OrthantSphereEquator.orthantSign b : ℝ) * |
| 74 | (CycleClass.Geometric.NormalSphere.Cycles.normalSphereProjection (EuclideanSpace ℝ (Fin (m + 2))) |
| 75 | ⟨planeProductCoordinates m (x.val, y), hne⟩).val 0 := by |
| 76 | rw [hcoord, mul_left_comm] |
| 77 | exact mul_nonneg (inv_nonneg.mpr (norm_nonneg _)) x.property |
| 78 | intro h |
| 79 | have hp := congrArg (fun z : CycleClass.Geometric.SphereHomologyInduction.Cycles.standardSphere (m + 1) => z.val 0) h |
| 80 | rw [hp] at hsign |
| 81 | cases b <;> norm_num [planeProductPole, OrthantSphereEquator.orthantSign, CycleClass.Geometric.SphereCover.Cycles.standardSphereNorthPole] at hsign |
| 82 | |
| 83 | end |
| 84 | |
| 85 | /-! |
| 86 | # ChernClass: actual product maps into the sphere pole charts |
| 87 | |
| 88 | A half-disk crossed with a punctured tangent space, and a punctured |
| 89 | half-plane crossed with the full tangent space, both avoid the origin. |
| 90 | Their radial maps land in the required pole chart. These are genuine |
| 91 | continuous maps for applying cross-product naturality. |
| 92 | -/ |
| 93 | |
| 94 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 95 | |
| 96 | set_option backward.isDefEq.respectTransparency false |
| 97 | set_option backward.isDefEq.respectTransparency.types false |
| 98 | |
| 99 | abbrev PuncturedPlaneHalf (b : Bool) := {x : PlaneHalf.coordinatePlaneHalf b // x.val ≠ 0} |
| 100 | |
| 101 | def planeHalfRightPuncturedMap (m : ℕ) (b : Bool) : |
| 102 | C(PlaneHalf.coordinatePlaneHalf b × CycleClass.Geometric.NormalSphere.Cycles.PuncturedNormal (EuclideanSpace ℝ (Fin m)), |
| 103 | CycleClass.Geometric.NormalSphere.Cycles.PuncturedNormal (EuclideanSpace ℝ (Fin (m + 2)))) := |
| 104 | ⟨fun p => ⟨planeProductCoordinates m (p.1.val, p.2.val), by |
| 105 | intro h |
| 106 | have hz : (p.1.val, p.2.val) = 0 := |
| 107 | (planeProductCoordinates m).injective (h.trans (map_zero _).symm) |
| 108 | exact p.2.property (congrArg Prod.snd hz)⟩, |
| 109 | ((planeProductCoordinates m).continuous.comp |
| 110 | ((continuous_subtype_val.comp continuous_fst).prodMk |
| 111 | (continuous_subtype_val.comp continuous_snd))).subtype_mk _⟩ |
| 112 | |
| 113 | def planeHalfLeftPuncturedMap (m : ℕ) (b : Bool) : |
| 114 | C(PuncturedPlaneHalf b × EuclideanSpace ℝ (Fin m), |
| 115 | CycleClass.Geometric.NormalSphere.Cycles.PuncturedNormal (EuclideanSpace ℝ (Fin (m + 2)))) := |
| 116 | ⟨fun p => ⟨planeProductCoordinates m (p.1.val.val, p.2), by |
| 117 | intro h |
| 118 | have hz : (p.1.val.val, p.2) = 0 := |
| 119 | (planeProductCoordinates m).injective (h.trans (map_zero _).symm) |
| 120 | exact p.1.property (congrArg Prod.fst hz)⟩, |
| 121 | ((planeProductCoordinates m).continuous.comp |
| 122 | ((continuous_subtype_val.comp (continuous_subtype_val.comp continuous_fst)).prodMk |
| 123 | continuous_snd)).subtype_mk _⟩ |
| 124 | |
| 125 | def planeHalfRightChartMap (m : ℕ) (b : Bool) : |
| 126 | C(PlaneHalf.coordinatePlaneHalf b × CycleClass.Geometric.NormalSphere.Cycles.PuncturedNormal (EuclideanSpace ℝ (Fin m)), |
| 127 | CycleClass.Geometric.SphereCover.Cycles.spherePoleOpen (planeProductPole m b)) := |
| 128 | ⟨fun p => ⟨CycleClass.Geometric.NormalSphere.Cycles.normalSphereProjection _ (planeHalfRightPuncturedMap m b p), |
| 129 | planeProduct_radial_mem_chart m b p.1 p.2.val (planeHalfRightPuncturedMap m b p).property⟩, |
| 130 | ((CycleClass.Geometric.NormalSphere.Cycles.normalSphereProjection _).continuous.comp (planeHalfRightPuncturedMap m b).continuous).subtype_mk _⟩ |
| 131 | |
| 132 | def planeHalfLeftChartMap (m : ℕ) (b : Bool) : |
| 133 | C(PuncturedPlaneHalf b × EuclideanSpace ℝ (Fin m), |
| 134 | CycleClass.Geometric.SphereCover.Cycles.spherePoleOpen (planeProductPole m b)) := |
| 135 | ⟨fun p => ⟨CycleClass.Geometric.NormalSphere.Cycles.normalSphereProjection _ (planeHalfLeftPuncturedMap m b p), |
| 136 | planeProduct_radial_mem_chart m b p.1.val p.2 (planeHalfLeftPuncturedMap m b p).property⟩, |
| 137 | ((CycleClass.Geometric.NormalSphere.Cycles.normalSphereProjection _).continuous.comp (planeHalfLeftPuncturedMap m b).continuous).subtype_mk _⟩ |
| 138 | |
| 139 | def planeHalfOuterPuncturedMap (b : Bool) (η : Fin 1 → Bool) : |
| 140 | C(Convexity.StdSimplex ℝ (Fin 2), PuncturedPlaneHalf b) := |
| 141 | ⟨fun t => ⟨PlaneHalf.planeHalfOuterMap b η t, by |
| 142 | change (OrthantSphereEquator.orthantSphereMap 1 (Fin.cons b η) t).val ≠ 0 |
| 143 | intro h |
| 144 | have hn := norm_eq_of_mem_sphere (OrthantSphereEquator.orthantSphereMap 1 (Fin.cons b η) t) |
| 145 | rw [h, norm_zero] at hn |
| 146 | exact zero_ne_one hn⟩, |
| 147 | (PlaneHalf.planeHalfOuterMap b η).continuous.subtype_mk _⟩ |
| 148 | |
| 149 | end |
| 150 | |
| 151 | end OAI.AlgebraicGeometry.DivisorClass.Chern.PlaneProductCharts |