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.HodgeConjecture.CMExtraction.Finite.CoefficientPadic |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LatticeGenerators |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SplitLatticeProduct |
| 4 | |
| 5 | /-! # Split Vector Evaluation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SplitVectorEvaluation.TestTransport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Linear evaluation of all finite coefficient vectors at a specified |
| 12 | family of split embeddings, retaining rational vectors and their basis. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | variable (E : Type) [Field E] [NumberField E] {q : ℕ} [Fact q.Prime] |
| 17 | {S I : Type*} (σ : S → E →+* Padic q) |
| 18 | |
| 19 | def finiteSplitEvaluation : (I → AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) →ₗ[ℚ] (S → I → Padic q) := |
| 20 | LinearMap.pi (fun v => LinearMap.pi (fun i => |
| 21 | (Finite.CoefficientPadic.TestTransport.finiteCoefficientPadic E (σ v)).toLinearMap.comp (LinearMap.proj i))) |
| 22 | |
| 23 | def rationalSplitEmbedding : (I → E) →ₗ[ℚ] (S → I → Padic q) := |
| 24 | LinearMap.pi (fun v => LinearMap.pi (fun i => |
| 25 | (σ v).toRatAlgHom.toLinearMap.comp (LinearMap.proj i))) |
| 26 | |
| 27 | theorem finiteSplitEvaluation_rational (x : I → E) : |
| 28 | finiteSplitEvaluation E σ (fun i => AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E (x i)) = |
| 29 | rationalSplitEmbedding E σ x := by |
| 30 | funext v i |
| 31 | exact Finite.CoefficientPadic.TestTransport.finiteCoefficientPadic_rational E (σ v) (x i) |
| 32 | |
| 33 | theorem splitLatticeImage_span_basis {J : Type*} [Fintype J] |
| 34 | (L : Submodule ℤ (I → E)) (b : Module.Basis J ℤ L) : |
| 35 | Submodule.span (PadicInt q) (Set.range (fun j => rationalSplitEmbedding E σ (b j).val)) = |
| 36 | SplitLatticeProduct.TestTransport.splitLatticeImage (R := PadicInt q) σ L := |
| 37 | LatticeGenerators.TestTransport.span_image_integral_basis L b (rationalSplitEmbedding E σ).toAddMonoidHom |
| 38 | |
| 39 | theorem span_basis_preserves_iff {R V J : Type*} [CommRing R] |
| 40 | [AddCommGroup V] [Module R V] (M : Submodule R V) (b : J → V) |
| 41 | (hb : Submodule.span R (Set.range b) = M) (f : V →ₗ[R] V) : |
| 42 | (∀ j, f (b j) ∈ M) ↔ ∀ x ∈ M, f x ∈ M := by |
| 43 | constructor |
| 44 | · intro h |
| 45 | have hs : Submodule.span R (Set.range b) ≤ M.comap f := |
| 46 | Submodule.span_le.mpr (by rintro _ ⟨j, rfl⟩; exact h j) |
| 47 | exact le_trans (le_of_eq hb.symm) hs |
| 48 | · intro h j |
| 49 | exact h _ (hb ▸ Submodule.subset_span (Set.mem_range_self j)) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SplitVectorEvaluation.TestTransport |