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.CenteredDeterminantWeights |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InteriorPositiveCoefficientRelation |
| 3 | |
| 4 | /-! # Positive Real Determinant Balance -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PositiveRealDeterminantBalance |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Sparse configurations have strictly positive real weights on their |
| 11 | nonvanishing determinants for which all labeled-point degrees agree. -/ |
| 12 | open scoped BigOperators Classical |
| 13 | universe u v |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | theorem centered_relation_has_equal_coordinate_sums {κ : Type v} [Fintype κ] {m : ℕ} |
| 19 | (hm : 0 < m) (v : κ → Fin m → ℝ) (c : κ → ℝ) |
| 20 | (h : ∑ k, c k • ZeroSumCoordinateProjection.zeroSumProjectionTo hm (v k) = 0) : |
| 21 | ∀ i j, (∑ k, c k * v k i) = ∑ k, c k * v k j := by |
| 22 | have hi (i : Fin m) : (∑ k, c k * v k i) = |
| 23 | ∑ k, c k * ((∑ j, v k j) / m) := by |
| 24 | let ev : ZeroSumCoordinateProjection.zeroSumCoordinates m →ₗ[ℝ] ℝ := |
| 25 | (LinearMap.proj i).comp (ZeroSumCoordinateProjection.zeroSumCoordinates m).subtype |
| 26 | have he := congrArg ev h |
| 27 | rw [map_sum, map_zero] at he |
| 28 | simp_rw [map_smul, smul_eq_mul] at he |
| 29 | change (∑ k, c k * (v k i - (∑ j, v k j) / m)) = 0 at he |
| 30 | simp_rw [mul_sub, Finset.sum_sub_distrib] at he |
| 31 | exact sub_eq_zero.mp he |
| 32 | intro i j |
| 33 | exact (hi i).trans (hi j).symm |
| 34 | |
| 35 | private theorem positive_balanced_of_interior {κ : Type u} [Fintype κ] {m : ℕ} |
| 36 | (hm : 0 < m) (v : κ → Fin m → ℝ) |
| 37 | (hz : (0 : ZeroSumCoordinateProjection.zeroSumCoordinates m) ∈ interior (convexHull ℝ (Set.range (fun k => ZeroSumCoordinateProjection.zeroSumProjectionTo hm (v k))))) : |
| 38 | ∃ c : κ → ℝ, (∀ k, 0 < c k) ∧ ∀ i j, (∑ k, c k * v k i) = ∑ k, c k * v k j := by |
| 39 | obtain ⟨c, hc, hrel⟩ := InteriorPositiveCoefficientRelation.exists_positive_coefficients_sum_zero_of_interior |
| 40 | (fun k => ZeroSumCoordinateProjection.zeroSumProjectionTo hm (v k)) hz |
| 41 | exact ⟨c, hc, centered_relation_has_equal_coordinate_sums hm v c hrel⟩ |
| 42 | |
| 43 | theorem sparseConfiguration_positive_real_balanced_determinants |
| 44 | {K : Type u} [Field K] {r m : ℕ} |
| 45 | (v : Fin m → Fin r → K) (hv : ∀ i, v i ≠ 0) (hr : 2 ≤ r) (hm : 2 ≤ m) |
| 46 | (hs : ∀ W : Submodule K (Fin r → K), W ≠ ⊤ → |
| 47 | r * (Finset.univ.filter (fun i => v i ∈ W)).card < m) : |
| 48 | ∃ c : CenteredDeterminantWeights.nonzeroDeterminantLabels v → ℝ, (∀ σ, 0 < c σ) ∧ |
| 49 | ∀ i j, (∑ σ, c σ * (DeterminantBlockDegrees.labeledDeterminantWeight σ.val i : ℝ)) = |
| 50 | ∑ σ, c σ * (DeterminantBlockDegrees.labeledDeterminantWeight σ.val j : ℝ) := by |
| 51 | exact positive_balanced_of_interior (by omega) |
| 52 | (fun σ : CenteredDeterminantWeights.nonzeroDeterminantLabels v => CenteredDeterminantWeights.determinantIncidenceVector σ.val) |
| 53 | (CenteredDeterminantWeights.centeredDeterminantWeights_zero_interior v hv hr hm hs) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PositiveRealDeterminantBalance |