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.CircleEquatorOrientation |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.WindingLoop |
| 4 | import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic |
| 5 | |
| 6 | /-! # Circle Positive Arcs -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.CirclePositiveArcs |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # ChernClass: an actual positive circle cycle subordinate to the two pole charts |
| 14 | |
| 15 | The west and east semicircles run in positive order from the positive |
| 16 | imaginary point. Each lies in the appropriate original pole complement, |
| 17 | so they supply concrete small-chain representatives for its Mayer–Vietoris |
| 18 | normalization. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory |
| 22 | open scoped Simplicial |
| 23 | |
| 24 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 25 | |
| 26 | set_option backward.isDefEq.respectTransparency false |
| 27 | set_option backward.isDefEq.respectTransparency.types false |
| 28 | set_option backward.defeqAttrib.useBackward true |
| 29 | |
| 30 | /-- Positive complex exponential in the standard ordered real coordinates. -/ |
| 31 | def realCircleExponential (θ : ℝ) : CycleClass.Geometric.SmallCircleHomology.Cycles.standardCircle := |
| 32 | ⟨Complex.orthonormalBasisOneI.repr (Complex.exp ((θ : ℂ) * Complex.I)), by |
| 33 | rw [Metric.mem_sphere, dist_zero_right, LinearIsometryEquiv.norm_map] |
| 34 | exact Complex.norm_exp_ofReal_mul_I θ⟩ |
| 35 | |
| 36 | theorem continuous_realCircleExponential : Continuous realCircleExponential := by |
| 37 | unfold realCircleExponential |
| 38 | fun_prop |
| 39 | |
| 40 | theorem realCircleExponential_re (θ : ℝ) : (realCircleExponential θ).val 0 = Real.cos θ := by |
| 41 | simp [realCircleExponential, Complex.orthonormalBasisOneI_repr_apply, Complex.exp_re] |
| 42 | |
| 43 | theorem realCircleExponential_im (θ : ℝ) : (realCircleExponential θ).val 1 = Real.sin θ := by |
| 44 | simp [realCircleExponential, Complex.orthonormalBasisOneI_repr_apply, Complex.exp_im] |
| 45 | |
| 46 | theorem realCircleExponential_pi_add (θ : ℝ) : |
| 47 | realCircleExponential (Real.pi + θ) = -realCircleExponential θ := by |
| 48 | apply Subtype.ext |
| 49 | change Complex.orthonormalBasisOneI.repr (Complex.exp (((Real.pi + θ : ℝ) : ℂ) * Complex.I)) = |
| 50 | -Complex.orthonormalBasisOneI.repr (Complex.exp ((θ : ℂ) * Complex.I)) |
| 51 | rw [Complex.ofReal_add, add_mul, Complex.exp_add, Complex.exp_pi_mul_I, neg_one_mul, map_neg] |
| 52 | |
| 53 | theorem realCircleExponential_pi_half : realCircleExponential (Real.pi / 2) = CircleEquatorOrientation.positiveCirclePoint := by |
| 54 | apply Subtype.ext |
| 55 | ext i |
| 56 | fin_cases i |
| 57 | · simp [realCircleExponential_re, CircleEquatorOrientation.positiveCirclePoint] |
| 58 | · simp [realCircleExponential_im, CircleEquatorOrientation.positiveCirclePoint] |
| 59 | |
| 60 | /-- The positive west semicircle, from `i` to `-i`. -/ |
| 61 | def positiveWestArcMap : C(Convexity.StdSimplex ℝ (Fin 2), CycleClass.Geometric.SmallCircleHomology.Cycles.standardCircle) := |
| 62 | ⟨fun t => realCircleExponential (Real.pi / 2 + Real.pi * t.weights 1), by |
| 63 | apply continuous_realCircleExponential.comp |
| 64 | exact continuous_const.add (continuous_const.mul |
| 65 | (Convexity.StdSimplex.continuous_weights_apply ℝ (1 : Fin 2)))⟩ |
| 66 | |
| 67 | /-- The following positive east semicircle, from `-i` to `i`. -/ |
| 68 | def positiveEastArcMap : C(Convexity.StdSimplex ℝ (Fin 2), CycleClass.Geometric.SmallCircleHomology.Cycles.standardCircle) := |
| 69 | ⟨fun t => -positiveWestArcMap t, by fun_prop⟩ |
| 70 | |
| 71 | theorem positiveWestArc_re_nonpos (t : Convexity.StdSimplex ℝ (Fin 2)) : |
| 72 | (positiveWestArcMap t).val 0 ≤ 0 := by |
| 73 | change (realCircleExponential (Real.pi / 2 + Real.pi * t.weights 1)).val 0 ≤ 0 |
| 74 | rw [realCircleExponential_re, Real.cos_add] |
| 75 | simp only [Real.cos_pi_div_two, Real.sin_pi_div_two, zero_mul, one_mul, zero_sub, neg_nonpos] |
| 76 | exact Real.sin_nonneg_of_nonneg_of_le_pi |
| 77 | (mul_nonneg Real.pi_pos.le (t.weights_nonneg 1)) |
| 78 | (by |
| 79 | have ht : t.weights 1 ≤ 1 := Convexity.StdSimplex.weights_apply_le_one t 1 |
| 80 | nlinarith [Real.pi_pos]) |
| 81 | |
| 82 | theorem positiveWestArc_firstChart (t : Convexity.StdSimplex ℝ (Fin 2)) : |
| 83 | positiveWestArcMap t ∈ CycleClass.Geometric.SmallCircleHomology.Cycles.circleFirstChart := by |
| 84 | intro h |
| 85 | have hr := positiveWestArc_re_nonpos t |
| 86 | have he := congrArg (fun x : CycleClass.Geometric.SmallCircleHomology.Cycles.standardCircle => x.val 0) h |
| 87 | have he' : (positiveWestArcMap t).val 0 = 1 := by simpa [CycleClass.Geometric.SphereCover.Cycles.standardSphereNorthPole] using he |
| 88 | linarith |
| 89 | |
| 90 | theorem positiveEastArc_secondChart (t : Convexity.StdSimplex ℝ (Fin 2)) : |
| 91 | positiveEastArcMap t ∈ CycleClass.Geometric.SmallCircleHomology.Cycles.circleSecondChart := by |
| 92 | intro h |
| 93 | have hr := positiveWestArc_re_nonpos t |
| 94 | have he := congrArg (fun x : CycleClass.Geometric.SmallCircleHomology.Cycles.standardCircle => x.val 0) h |
| 95 | have he' : -(positiveWestArcMap t).val 0 = -1 := by |
| 96 | simpa [positiveEastArcMap, CycleClass.Geometric.SphereCover.Cycles.standardSphereNorthPole] using he |
| 97 | linarith |
| 98 | |
| 99 | theorem positiveWestArc_start : positiveWestArcMap (Convexity.StdSimplex.single 0) = CircleEquatorOrientation.positiveCirclePoint := by |
| 100 | simpa [positiveWestArcMap, Convexity.StdSimplex.single] using realCircleExponential_pi_half |
| 101 | |
| 102 | theorem positiveWestArc_end : positiveWestArcMap (Convexity.StdSimplex.single 1) = -CircleEquatorOrientation.positiveCirclePoint := by |
| 103 | have h : Real.pi / 2 + Real.pi * (Convexity.StdSimplex.single (1 : Fin 2) : Convexity.StdSimplex ℝ (Fin 2)).weights 1 = |
| 104 | Real.pi + Real.pi / 2 := by simp [add_comm] |
| 105 | change realCircleExponential _ = _ |
| 106 | rw [h, realCircleExponential_pi_add, realCircleExponential_pi_half] |
| 107 | |
| 108 | theorem positiveEastArc_start : positiveEastArcMap (Convexity.StdSimplex.single 0) = -CircleEquatorOrientation.positiveCirclePoint := |
| 109 | congrArg Neg.neg positiveWestArc_start |
| 110 | |
| 111 | theorem positiveEastArc_end : positiveEastArcMap (Convexity.StdSimplex.single 1) = CircleEquatorOrientation.positiveCirclePoint := by |
| 112 | change -positiveWestArcMap (Convexity.StdSimplex.single 1) = _ |
| 113 | rw [positiveWestArc_end, neg_neg] |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.DivisorClass.Chern.CirclePositiveArcs |