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.SheafCohomology.Projective.HomogeneousFilteredImage |
| 2 | |
| 3 | /-! # Homogeneous Quotient Filtration -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.HomogeneousQuotientFiltration.Dimension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A surjective polynomial section map and an injective coefficient map identify the filtration. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | variable {K B σ E : Type*} [CommSemiring K] [CommSemiring B] [Algebra K B] |
| 14 | [AddCommMonoid E] [Module K E] |
| 15 | |
| 16 | def homogeneousQuotientFilteredEquiv (v : σ → B) (i : σ) (hi : v i = 1) (n : ℕ) |
| 17 | (q : homogeneousSubmodule σ K n →ₗ[K] E) (hq : Function.Surjective q) |
| 18 | (c : E →ₗ[K] B) (hc : Function.Injective c) |
| 19 | (hcomp : ∀ p : homogeneousSubmodule σ K n, c (q p) = aeval v p.val) : |
| 20 | E ≃ₗ[K] PolynomialFilteredAlgebra.Dimension.polynomialFilteredPiece (K := K) v n := by |
| 21 | have hmem (x : E) : c x ∈ PolynomialFilteredAlgebra.Dimension.polynomialFilteredPiece (K := K) v n := by |
| 22 | obtain ⟨p, rfl⟩ := hq x |
| 23 | rw [hcomp] |
| 24 | exact (PolynomialFilteredAlgebra.Dimension.mem_polynomialFilteredPiece v n _).mpr |
| 25 | ⟨p.val, ((mem_homogeneousSubmodule _ _).mp p.property).totalDegree_le, rfl⟩ |
| 26 | apply LinearEquiv.ofBijective (c.codRestrict _ hmem) |
| 27 | constructor |
| 28 | · intro x y hxy |
| 29 | exact hc (congrArg Subtype.val hxy) |
| 30 | · intro x |
| 31 | have hx : x.val ∈ (homogeneousSubmodule σ K n).map (aeval v).toLinearMap := by |
| 32 | rw [HomogeneousFilteredImage.Dimension.homogeneous_image_eq_polynomialFilteredPiece v i hi n] |
| 33 | exact x.property |
| 34 | obtain ⟨p, hp, hpx⟩ := hx |
| 35 | refine ⟨q ⟨p, hp⟩, Subtype.ext ?_⟩ |
| 36 | exact (hcomp ⟨p, hp⟩).trans hpx |
| 37 | |
| 38 | theorem adjoin_polynomial_generators_of_surjective (φ : MvPolynomial σ K →ₐ[K] B) |
| 39 | (hφ : Function.Surjective φ) : Algebra.adjoin K (Set.range (fun i => φ (X i))) = ⊤ := by |
| 40 | rw [← MvPolynomial.aeval_range] |
| 41 | have he : MvPolynomial.aeval (fun i => φ (X i)) = φ := (MvPolynomial.aeval_unique φ).symm |
| 42 | rw [he] |
| 43 | exact (AlgHom.range_eq_top φ).mpr hφ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.HomogeneousQuotientFiltration.Dimension |