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.HilbertScheme.Presentations.Cech.Signs |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.LaurentMonomials |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.KillVariables |
| 4 | import Mathlib.Data.Finset.Image |
| 5 | |
| 6 | /-! # Variable Embedding -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.VariableEmbedding.ProjectiveCech |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Ordered embeddings of variable sets preserve Čech signs and chart denominator monomials. -/ |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {σ : Type u} {τ : Type v} |
| 17 | variable (R : Type w) [CommRing R] |
| 18 | |
| 19 | theorem inversionExponent_map (e : σ ↪ τ) (s : Finset σ) : |
| 20 | LaurentExponents.ProjectiveCech.inversionExponent (s.map e) = (LaurentExponents.ProjectiveCech.inversionExponent s).mapDomain e := by |
| 21 | classical |
| 22 | simp only [LaurentExponents.ProjectiveCech.inversionExponent, Finset.sum_map, Finsupp.mapDomain_finsetSum, Finsupp.mapDomain_single] |
| 23 | |
| 24 | theorem inversionMonomial_map (e : σ ↪ τ) (s : Finset σ) : |
| 25 | LaurentMonomials.ProjectiveCech.inversionMonomial R (s.map e) = MvPolynomial.rename e (LaurentMonomials.ProjectiveCech.inversionMonomial R s) := by |
| 26 | rw [LaurentMonomials.ProjectiveCech.inversionMonomial, LaurentMonomials.ProjectiveCech.inversionMonomial, MvPolynomial.rename_monomial, inversionExponent_map] |
| 27 | |
| 28 | theorem killVariables_inversionMonomial_map (e : σ ↪ τ) (s : Finset σ) : |
| 29 | MvPolynomial.killCompl (R := R) e.injective (LaurentMonomials.ProjectiveCech.inversionMonomial R (s.map e)) = |
| 30 | LaurentMonomials.ProjectiveCech.inversionMonomial R s := by |
| 31 | rw [inversionMonomial_map, MvPolynomial.killCompl_rename_app] |
| 32 | |
| 33 | theorem killVariables_inversionMonomial_zero (e : σ ↪ τ) (s : Finset τ) |
| 34 | (j : τ) (hj : j ∈ s) (hje : j ∉ Set.range e) : |
| 35 | MvPolynomial.killCompl (R := R) e.injective (LaurentMonomials.ProjectiveCech.inversionMonomial R s) = 0 := by |
| 36 | classical |
| 37 | apply MvPolynomial.killCompl_monomial_eq_zero_of_notMem_range e.injective 1 _ hje |
| 38 | rw [Finsupp.mem_support_iff, LaurentExponents.ProjectiveCech.inversionExponent_apply, ite_eq_left hj] |
| 39 | exact one_ne_zero |
| 40 | |
| 41 | variable [LinearOrder σ] [LinearOrder τ] |
| 42 | |
| 43 | theorem alternatingSign_map (e : σ ↪o τ) (s : Finset σ) (i : σ) : |
| 44 | Signs.ProjectiveCech.alternatingSign R (s.map e.toEmbedding) (e i) = Signs.ProjectiveCech.alternatingSign R s i := by |
| 45 | unfold Signs.ProjectiveCech.alternatingSign |
| 46 | rw [Finset.filter_map] |
| 47 | have he : s.filter (fun j : σ => e j < e i) = s.filter (fun j => j < i) := by |
| 48 | apply Finset.filter_congr |
| 49 | intro j _ |
| 50 | exact e.lt_iff_lt |
| 51 | change (-1 : R) ^ ((s.filter (fun j => e j < e i)).map e.toEmbedding).card = _ |
| 52 | rw [he, Finset.card_map] |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.VariableEmbedding.ProjectiveCech |