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.Geometry.Foundations.ConvexStdSimplexMetric |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.OrthantSphereEquator |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.SimplexFillings |
| 4 | |
| 5 | /-! # Plane Half -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.PlaneHalf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # ChernClass: geometric half-disks for the complex coordinate plane |
| 13 | |
| 14 | Each closed coordinate half-plane is convex and contractible. The actual |
| 15 | oriented circle orthants and the two straight axis rays are singular |
| 16 | simplices in these half-planes. These supports will keep the product |
| 17 | boundary pieces in their prescribed sphere pole charts. |
| 18 | -/ |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Geometric.SimplexFillings.Cycles |
| 21 | open scoped Simplicial |
| 22 | |
| 23 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 24 | |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | set_option backward.isDefEq.respectTransparency.types false |
| 27 | |
| 28 | abbrev CoordinatePlane := EuclideanSpace ℝ (Fin 2) |
| 29 | |
| 30 | def coordinatePlaneHalf (b : Bool) : Set CoordinatePlane := |
| 31 | {x | 0 ≤ (OrthantSphereEquator.orthantSign b : ℝ) * x 0} |
| 32 | |
| 33 | theorem coordinatePlaneHalf_convex (b : Bool) : Convex ℝ (coordinatePlaneHalf b) := by |
| 34 | intro x hx y hy a c ha hc _ |
| 35 | change 0 ≤ (OrthantSphereEquator.orthantSign b : ℝ) * (a * x 0 + c * y 0) |
| 36 | change 0 ≤ (OrthantSphereEquator.orthantSign b : ℝ) * x 0 at hx |
| 37 | change 0 ≤ (OrthantSphereEquator.orthantSign b : ℝ) * y 0 at hy |
| 38 | calc |
| 39 | (OrthantSphereEquator.orthantSign b : ℝ) * (a * x 0 + c * y 0) = |
| 40 | a * ((OrthantSphereEquator.orthantSign b : ℝ) * x 0) + c * ((OrthantSphereEquator.orthantSign b : ℝ) * y 0) := by ring |
| 41 | _ ≥ 0 := add_nonneg (mul_nonneg ha hx) (mul_nonneg hc hy) |
| 42 | |
| 43 | instance coordinatePlaneHalf_contractible (b : Bool) : ContractibleSpace (coordinatePlaneHalf b) := |
| 44 | (coordinatePlaneHalf_convex b).contractibleSpace ⟨0, by simp [coordinatePlaneHalf]⟩ |
| 45 | |
| 46 | theorem orthantSphereMap_signed_coordinate_nonneg (n : ℕ) (ε : Fin (n + 1) → Bool) |
| 47 | (t : Convexity.StdSimplex ℝ (Fin (n + 1))) (i : Fin (n + 1)) : |
| 48 | 0 ≤ (OrthantSphereEquator.orthantSign (ε i) : ℝ) * (OrthantSphereEquator.orthantSphereMap n ε t).val i := by |
| 49 | rw [OrthantSphereEquator.orthantSphereMap_coordinate] |
| 50 | have hn := inv_nonneg.mpr (norm_nonneg (OrthantSphereEquator.orthantVector n ε t)) |
| 51 | have ht := Convexity.StdSimplex.weights_nonneg (w := t) i |
| 52 | cases ε i <;> norm_num [OrthantSphereEquator.orthantSign] <;> exact mul_nonneg hn ht |
| 53 | |
| 54 | def planeHalfOuterMap (b : Bool) (η : Fin 1 → Bool) : |
| 55 | C(Convexity.StdSimplex ℝ (Fin 2), coordinatePlaneHalf b) := |
| 56 | ⟨fun t => ⟨(OrthantSphereEquator.orthantSphereMap 1 (Fin.cons b η) t).val, |
| 57 | orthantSphereMap_signed_coordinate_nonneg 1 (Fin.cons b η) t 0⟩, |
| 58 | (continuous_subtype_val.comp (OrthantSphereEquator.orthantSphereMap 1 (Fin.cons b η)).continuous).subtype_mk _⟩ |
| 59 | |
| 60 | def planeHalfOuterSimplex (b : Bool) (η : Fin 1 → Bool) : |
| 61 | (TopCat.toSSet.obj (TopCat.of (coordinatePlaneHalf b))) _⦋1⦌ := |
| 62 | ((TopCat.of (coordinatePlaneHalf b)).toSSetObjEquiv _).symm (planeHalfOuterMap b η) |
| 63 | |
| 64 | def planeAxisVector (η : Fin 1 → Bool) : CoordinatePlane := |
| 65 | WithLp.toLp 2 (Fin.cons (α := fun _ : Fin 2 => ℝ) 0 (fun _ => (OrthantSphereEquator.orthantSign (η 0) : ℝ))) |
| 66 | |
| 67 | def planeAxisRayMap (b : Bool) (η : Fin 1 → Bool) : |
| 68 | C(Convexity.StdSimplex ℝ (Fin 2), coordinatePlaneHalf b) := |
| 69 | ⟨fun t => ⟨t.weights 1 • planeAxisVector η, by |
| 70 | change 0 ≤ (OrthantSphereEquator.orthantSign b : ℝ) * (t.weights 1 * 0) |
| 71 | simp⟩, |
| 72 | ((Convexity.StdSimplex.continuous_weights_apply ℝ (1 : Fin 2)).smul continuous_const).subtype_mk _⟩ |
| 73 | |
| 74 | def planeAxisRaySimplex (b : Bool) (η : Fin 1 → Bool) : |
| 75 | (TopCat.toSSet.obj (TopCat.of (coordinatePlaneHalf b))) _⦋1⦌ := |
| 76 | ((TopCat.of (coordinatePlaneHalf b)).toSSetObjEquiv _).symm (planeAxisRayMap b η) |
| 77 | |
| 78 | def planeAxisPoint (b : Bool) (η : Fin 1 → Bool) : coordinatePlaneHalf b := |
| 79 | ⟨planeAxisVector η, by change 0 ≤ (OrthantSphereEquator.orthantSign b : ℝ) * 0; simp⟩ |
| 80 | |
| 81 | def planeHalfOrigin (b : Bool) : coordinatePlaneHalf b := |
| 82 | ⟨0, by simp [coordinatePlaneHalf]⟩ |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.DivisorClass.Chern.PlaneHalf |