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.GroebnerElimination |
| 2 | |
| 3 | /-! # Weighted Rename -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.WeightedRename.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Change of variables for weighted homogeneity, support, and ideal generation. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | variable {σ τ : Type*} {K : Type*} [Field K] |
| 14 | |
| 15 | theorem naturalWeight_mapDomain (w : τ → ℕ) (f : σ → τ) (a : σ →₀ ℕ) : |
| 16 | Finsupp.weight w (a.mapDomain f) = Finsupp.weight (w ∘ f) a := by |
| 17 | simp only [Finsupp.weight_apply] |
| 18 | rw [Finsupp.sum_mapDomain_index] |
| 19 | · rfl |
| 20 | · intro i |
| 21 | exact zero_smul _ _ |
| 22 | · intro i x y |
| 23 | exact add_smul x y (w i) |
| 24 | |
| 25 | theorem weightedHomogeneous_rename (w : τ → ℕ) (f : σ → τ) |
| 26 | {p : MvPolynomial σ K} {d : ℕ} (hp : p.IsWeightedHomogeneous (w ∘ f) d) : |
| 27 | (rename f p).IsWeightedHomogeneous w d := by |
| 28 | intro a ha |
| 29 | obtain ⟨c, rfl, hc⟩ := coeff_rename_ne_zero f p a ha |
| 30 | rw [naturalWeight_mapDomain] |
| 31 | exact hp hc |
| 32 | |
| 33 | theorem supported_rename_equiv (e : σ ≃ τ) (s : Set σ) (p : MvPolynomial σ K) : |
| 34 | rename e p ∈ supported K (e '' s) ↔ p ∈ supported K s := by |
| 35 | rw [mem_supported, mem_supported] |
| 36 | constructor |
| 37 | · intro hp i hi |
| 38 | have hin : i ∈ (rename e.symm (rename e p)).vars := by |
| 39 | simpa only [rename_rename, Equiv.symm_comp_self, rename_id, AlgHom.id_apply, Finset.mem_coe] using hi |
| 40 | obtain ⟨j, hj, hji⟩ := mem_vars_rename e.symm (rename e p) hin |
| 41 | obtain ⟨k, hk, hkj⟩ := hp hj |
| 42 | have hki : k = i := by simpa only [← hkj, Equiv.symm_apply_apply] using hji |
| 43 | exact hki ▸ hk |
| 44 | · intro hp j hj |
| 45 | obtain ⟨i, hi, rfl⟩ := mem_vars_rename e p hj |
| 46 | exact ⟨i, hp hi, rfl⟩ |
| 47 | |
| 48 | theorem algEquiv_mem_span_image {A B : Type*} [CommRing A] [CommRing B] |
| 49 | (e : A ≃+* B) (s : Set A) (x : A) : |
| 50 | e x ∈ Ideal.span (e '' s) ↔ x ∈ Ideal.span s := by |
| 51 | rw [← Ideal.map_span] |
| 52 | change e.toRingHom x ∈ Ideal.map e.toRingHom (Ideal.span s) ↔ x ∈ Ideal.span s |
| 53 | rw [Ideal.mem_map_iff_of_surjective e.toRingHom e.surjective] |
| 54 | constructor |
| 55 | · rintro ⟨y, hy, hyx⟩ |
| 56 | exact e.injective hyx ▸ hy |
| 57 | · intro hx |
| 58 | exact ⟨x, hx, rfl⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.WeightedRename.GradedHilbert |