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.Finite.TensorCoefficients |
| 2 | |
| 3 | /-! # Algebra Map Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.AlgebraMapDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Maps from finite type algebras into a flat tensor model descend over finite coefficients. -/ |
| 10 | |
| 11 | open TensorProduct |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {C R A B : Type u} [CommRing C] [CommRing R] [CommRing A] [CommRing B] |
| 16 | variable [Algebra C R] [Algebra C A] [Algebra C B] [Algebra.FiniteType C A] |
| 17 | |
| 18 | theorem finiteType_algHom_coefficient_range (φ : A →ₐ[C] R ⊗[C] B) |
| 19 | (E : Subalgebra C R) (hE : E.FG) : |
| 20 | ∃ D : Subalgebra C R, E ≤ D ∧ D.FG ∧ |
| 21 | ∀ a, φ a ∈ (Coefficient.TensorMaps.coefficientTensorMap (B := B) D).range := by |
| 22 | have hfg : (⊤ : Subalgebra C A).FG := Algebra.FiniteType.out |
| 23 | obtain ⟨s, hs⟩ := hfg |
| 24 | obtain ⟨D, hED, hD, hx⟩ := Finite.TensorCoefficients.exists_finite_tensor_coefficients (fun a : s => φ a.val) E hE |
| 25 | have hle : Algebra.adjoin C (s : Set A) ≤ |
| 26 | ((Coefficient.TensorMaps.coefficientTensorMap (B := B) D).range).comap φ := |
| 27 | Algebra.adjoin_le (fun a ha => hx ⟨a, ha⟩) |
| 28 | refine ⟨D, hED, hD, ?_⟩ |
| 29 | intro a |
| 30 | exact hle (hs.symm ▸ (show a ∈ (⊤ : Subalgebra C A) from trivial)) |
| 31 | |
| 32 | theorem existsUnique_flat_algHom_coefficient_descent [Module.Flat C B] |
| 33 | (φ : A →ₐ[C] R ⊗[C] B) (E : Subalgebra C R) (hE : E.FG) : |
| 34 | ∃ D : Subalgebra C R, E ≤ D ∧ D.FG ∧ |
| 35 | ∃! ψ : A →ₐ[C] D ⊗[C] B, (Coefficient.TensorMaps.coefficientTensorMap D).comp ψ = φ := by |
| 36 | obtain ⟨D, hED, hD, hφ⟩ := finiteType_algHom_coefficient_range φ E hE |
| 37 | let j := Coefficient.TensorMaps.coefficientTensorMap (B := B) D |
| 38 | let e := AlgEquiv.ofInjective j (Coefficient.TensorMaps.coefficientTensorMap_injective D) |
| 39 | let q := φ.codRestrict j.range hφ |
| 40 | let ψ := e.symm.toAlgHom.comp q |
| 41 | have hψ : j.comp ψ = φ := by |
| 42 | ext a |
| 43 | exact congrArg Subtype.val (e.apply_symm_apply (q a)) |
| 44 | refine ⟨D, hED, hD, ψ, hψ, ?_⟩ |
| 45 | intro χ hχ |
| 46 | ext a |
| 47 | apply Coefficient.TensorMaps.coefficientTensorMap_injective D |
| 48 | exact (DFunLike.congr_fun hχ a).trans (DFunLike.congr_fun hψ a).symm |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.AlgebraMapDescent |