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.Truncated.IdealExtension |
| 2 | |
| 3 | /-! # Degree Generators -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A split quotient of a finite free degree module supplies a uniformly indexed generating family for its relations. -/ |
| 10 | |
| 11 | universe u v w |
| 12 | |
| 13 | theorem Bounded.DegreeGenerators.submodule_generators_of_projective_quotient {R : Type u} [CommRing R] |
| 14 | {V : Type v} [AddCommGroup V] [Module R V] {ι : Type w} |
| 15 | (b : Module.Basis ι R V) (K : Submodule R V) [Module.Projective R (V ⧸ K)] : |
| 16 | ∃ g : ι → V, Submodule.span R (Set.range g) = K := by |
| 17 | obtain ⟨s, hs⟩ := K.mkQ.exists_rightInverse_of_surjective |
| 18 | (LinearMap.range_eq_top.mpr K.mkQ_surjective) |
| 19 | let L : V →ₗ[R] V := LinearMap.id - s.comp K.mkQ |
| 20 | have hL : L.range = K := by |
| 21 | apply le_antisymm |
| 22 | · rintro x ⟨y, rfl⟩ |
| 23 | apply (Submodule.Quotient.mk_eq_zero K).mp |
| 24 | have he := LinearMap.congr_fun hs (K.mkQ y) |
| 25 | change K.mkQ (s (K.mkQ y)) = K.mkQ y at he |
| 26 | change K.mkQ (y - s (K.mkQ y)) = 0 |
| 27 | rw [map_sub, he, sub_self] |
| 28 | · intro x hx |
| 29 | refine ⟨x, ?_⟩ |
| 30 | change x - s (K.mkQ x) = x |
| 31 | have hx0 : K.mkQ x = 0 := (Submodule.Quotient.mk_eq_zero K).mpr hx |
| 32 | rw [hx0, map_zero, sub_zero] |
| 33 | refine ⟨fun i => L (b i), ?_⟩ |
| 34 | rw [show Set.range (fun i => L (b i)) = L '' Set.range b from Set.range_comp L b] |
| 35 | rw [← Submodule.map_span, b.span_eq, Submodule.map_top, hL] |
| 36 | |
| 37 | variable {R : Type u} [CommRing R] {σ : Type v} {B : ℕ} {r : ℕ → ℕ} |
| 38 | variable (D : Truncated.GradedClassification.TruncatedGradedQuotientData R σ B r) (d : Fin (B + 1)) |
| 39 | |
| 40 | def Truncated.GradedClassification.TruncatedGradedQuotientData.degreeGenerators : Homogeneous.Coordinates.HomogeneousMonomials σ d → MvPolynomial.homogeneousSubmodule σ R d := |
| 41 | (Bounded.DegreeGenerators.submodule_generators_of_projective_quotient (Homogeneous.Coordinates.homogeneousMonomialBasis R σ d) |
| 42 | (D.quotient d).toSubmodule).choose |
| 43 | |
| 44 | theorem Truncated.GradedClassification.TruncatedGradedQuotientData.degreeGenerators_span : |
| 45 | Submodule.span R (Set.range (D.degreeGenerators d)) = (D.quotient d).toSubmodule := |
| 46 | (Bounded.DegreeGenerators.submodule_generators_of_projective_quotient (Homogeneous.Coordinates.homogeneousMonomialBasis R σ d) |
| 47 | (D.quotient d).toSubmodule).choose_spec |
| 48 | |
| 49 | theorem Truncated.GradedClassification.TruncatedGradedQuotientData.degreeGenerators_mem (i : Homogeneous.Coordinates.HomogeneousMonomials σ d) : |
| 50 | D.degreeGenerators d i ∈ (D.quotient d).toSubmodule := by |
| 51 | rw [← D.degreeGenerators_span d] |
| 52 | exact Submodule.subset_span (Set.mem_range_self i) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |