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.AbelianModuli.HilbertConstruction.ConvexPositiveFunctionalInterior |
| 2 | import Mathlib.Analysis.Convex.Combination |
| 3 | import Mathlib.Topology.MetricSpace.Pseudo.Defs |
| 4 | import Mathlib.Tactic.Linarith |
| 5 | |
| 6 | /-! # Interior Positive Coefficient Relation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InteriorPositiveCoefficientRelation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An interior point gives a relation with every coefficient strictly |
| 13 | positive, including generators not needed in a particular convex combination. -/ |
| 14 | open scoped BigOperators Classical _root_.Topology |
| 15 | universe u v |
| 16 | variable {E : Type u} [TopologicalSpace E] [AddCommGroup E] [IsTopologicalAddGroup E] |
| 17 | variable [Module ℝ E] [ContinuousSMul ℝ E] |
| 18 | variable {ι : Type v} [Fintype ι] |
| 19 | |
| 20 | omit [IsTopologicalAddGroup E] in |
| 21 | theorem exists_positive_coefficients_sum_zero_of_interior (v : ι → E) |
| 22 | (hzero : (0 : E) ∈ interior (convexHull ℝ (Set.range v))) : |
| 23 | ∃ c : ι → ℝ, (∀ i, 0 < c i) ∧ ∑ i, c i • v i = 0 := by |
| 24 | let z := ∑ i, v i |
| 25 | have hcont : Continuous (fun t : ℝ => -t • z) := continuous_neg.smul continuous_const |
| 26 | have hU : {t : ℝ | -t • z ∈ convexHull ℝ (Set.range v)} ∈ 𝓝 (0 : ℝ) := by |
| 27 | have hnb := mem_interior_iff_mem_nhds.mp hzero |
| 28 | have hn : convexHull ℝ (Set.range v) ∈ 𝓝 (- (0 : ℝ) • z) := by simpa using hnb |
| 29 | exact hcont.continuousAt.preimage_mem_nhds hn |
| 30 | obtain ⟨ε, hε, hball⟩ := Metric.mem_nhds_iff.mp hU |
| 31 | have hh : 0 < ε / 2 := by linarith |
| 32 | have hc : -(ε / 2) • z ∈ convexHull ℝ (Set.range v) := hball (by |
| 33 | rw [Metric.mem_ball, Real.dist_eq, sub_zero, abs_of_pos hh] |
| 34 | linarith) |
| 35 | rw [convexHull_range_eq_exists_affineCombination] at hc |
| 36 | obtain ⟨s, a, ha, hsum, hc⟩ := hc |
| 37 | rw [Finset.affineCombination_eq_linear_combination s v a hsum] at hc |
| 38 | refine ⟨fun i => (if i ∈ s then a i else 0) + ε / 2, ?_, ?_⟩ |
| 39 | · intro i |
| 40 | by_cases hi : i ∈ s |
| 41 | · simp only [hi, ite_true] |
| 42 | exact add_pos_of_nonneg_of_pos (ha i hi) hh |
| 43 | · simpa only [hi, ite_false, zero_add] using hh |
| 44 | · simp only [add_smul, Finset.sum_add_distrib, ite_smul, zero_smul] |
| 45 | rw [Finset.sum_ite, ← Finset.smul_sum] |
| 46 | rw [Finset.filter_mem_eq_of_subset (Finset.subset_univ s)] |
| 47 | simp only [Finset.sum_const_zero, add_zero] |
| 48 | rw [hc] |
| 49 | rw [neg_smul] |
| 50 | exact neg_add_cancel ((ε / 2) • z) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InteriorPositiveCoefficientRelation |