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.Coefficient.TensorScalarCompatibility |
| 2 | |
| 3 | /-! # Map Range Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.MapRangeCriterion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A flat model admits unique map descent whenever the images lie in its coefficient range. -/ |
| 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] [Module.Flat C B] |
| 17 | |
| 18 | theorem existsUnique_flat_algHom_descent_of_range (D : Subalgebra C R) |
| 19 | (φ : A →ₐ[C] R ⊗[C] B) (hφ : ∀ a, φ a ∈ (Coefficient.TensorMaps.coefficientTensorMap D).range) : |
| 20 | ∃! ψ : A →ₐ[C] D ⊗[C] B, (Coefficient.TensorMaps.coefficientTensorMap D).comp ψ = φ := by |
| 21 | let j := Coefficient.TensorMaps.coefficientTensorMap (B := B) D |
| 22 | let e := AlgEquiv.ofInjective j (Coefficient.TensorMaps.coefficientTensorMap_injective D) |
| 23 | let q := φ.codRestrict j.range hφ |
| 24 | let ψ := e.symm.toAlgHom.comp q |
| 25 | have hψ : j.comp ψ = φ := by |
| 26 | ext a |
| 27 | exact congrArg Subtype.val (e.apply_symm_apply (q a)) |
| 28 | refine ⟨ψ, hψ, ?_⟩ |
| 29 | intro χ hχ |
| 30 | ext a |
| 31 | apply Coefficient.TensorMaps.coefficientTensorMap_injective D |
| 32 | exact (DFunLike.congr_fun hχ a).trans (DFunLike.congr_fun hψ a).symm |
| 33 | |
| 34 | theorem existsUnique_flat_tensorHom_descent_of_range (D : Subalgebra C R) |
| 35 | (φ : R ⊗[C] A →ₐ[R] R ⊗[C] B) |
| 36 | (hφ : ∀ a, φ (1 ⊗ₜ[C] a) ∈ (Coefficient.TensorMaps.coefficientTensorMap D).range) : |
| 37 | ∃! ψ : D ⊗[C] A →ₐ[D] D ⊗[C] B, |
| 38 | ∀ x, Coefficient.TensorMaps.coefficientTensorMap D (ψ x) = φ (Coefficient.TensorMaps.coefficientTensorMap D x) := by |
| 39 | obtain ⟨ψ₀, hψ₀, _⟩ := existsUnique_flat_algHom_descent_of_range D |
| 40 | ((AlgHom.liftEquiv C R A (R ⊗[C] B)).symm φ) hφ |
| 41 | let ψ := (AlgHom.liftEquiv C D A (D ⊗[C] B)) ψ₀ |
| 42 | have hψ : ∀ x, Coefficient.TensorMaps.coefficientTensorMap D (ψ x) = φ (Coefficient.TensorMaps.coefficientTensorMap D x) := |
| 43 | Coefficient.TensorScalarCompatibility.coefficientTensorMap_liftEquiv D φ ψ₀ hψ₀ |
| 44 | refine ⟨ψ, hψ, ?_⟩ |
| 45 | intro χ hχ |
| 46 | apply AlgHom.ext |
| 47 | intro x |
| 48 | apply Coefficient.TensorMaps.coefficientTensorMap_injective D |
| 49 | exact (hχ x).trans (hψ x).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.MapRangeCriterion |