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 OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.BasisInteriorWitness |
| 3 | import Mathlib.LinearAlgebra.Basis.VectorSpace |
| 4 | |
| 5 | /-! # Dimensional Positive Interior -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.DimensionalPositiveInterior |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! In finite dimensions, positivity on some generator for every |
| 12 | nonzero linear functional already forces a full-dimensional convex hull |
| 13 | and puts zero in its interior. -/ |
| 14 | open scoped Classical |
| 15 | universe u v |
| 16 | variable {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 17 | variable {ι : Type v} [Nonempty ι] |
| 18 | |
| 19 | theorem affineSpan_eq_top_of_positive_functionals (v : ι → E) |
| 20 | (hpos : ∀ f : StrongDual ℝ E, f ≠ 0 → ∃ i, 0 < f (v i)) : |
| 21 | affineSpan ℝ (Set.range v) = ⊤ := by |
| 22 | let S := affineSpan ℝ (Set.range v) |
| 23 | let i₀ : ι := Classical.choice inferInstance |
| 24 | have hmem (i : ι) : v i ∈ S := subset_affineSpan ℝ (Set.range v) (Set.mem_range_self i) |
| 25 | by_contra hS |
| 26 | have hd : S.direction ≠ ⊤ := fun he => hS |
| 27 | ((AffineSubspace.direction_eq_top_iff_of_nonempty ⟨v i₀, hmem i₀⟩).mp he) |
| 28 | obtain ⟨φ, hφ, hker⟩ := S.direction.exists_le_ker_of_lt_top hd.lt_top |
| 29 | let f : StrongDual ℝ E := φ.toContinuousLinearMap |
| 30 | have hf : f ≠ 0 := fun h => hφ (congrArg ContinuousLinearMap.toLinearMap h) |
| 31 | have hconst (i : ι) : f (v i) = f (v i₀) := by |
| 32 | have hh := hker (AffineSubspace.vsub_mem_direction (hmem i) (hmem i₀)) |
| 33 | change φ (v i - v i₀) = 0 at hh |
| 34 | rw [map_sub] at hh |
| 35 | exact sub_eq_zero.mp hh |
| 36 | obtain ⟨i, hi⟩ := hpos f hf |
| 37 | obtain ⟨j, hj⟩ := hpos (-f) (neg_ne_zero.mpr hf) |
| 38 | change 0 < -f (v j) at hj |
| 39 | rw [hconst i] at hi |
| 40 | rw [hconst j] at hj |
| 41 | exact (not_lt_of_ge hi.le) (neg_pos.mp hj) |
| 42 | |
| 43 | theorem zero_mem_interior_convexHull_of_all_positive_functionals (v : ι → E) |
| 44 | (hpos : ∀ f : StrongDual ℝ E, f ≠ 0 → ∃ i, 0 < f (v i)) : |
| 45 | (0 : E) ∈ interior (convexHull ℝ (Set.range v)) := |
| 46 | ConvexPositiveFunctionalInterior.zero_mem_interior_convexHull_of_positive_functionals v |
| 47 | (Affine.BasisInteriorWitness.convexHull_interior_nonempty_of_affineSpan_eq_top |
| 48 | (affineSpan_eq_top_of_positive_functionals v hpos)) hpos |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.DimensionalPositiveInterior |