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.Flat.MapRangeCriterion |
| 2 | |
| 3 | /-! # Iso Descent Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.IsoDescentCriterion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An isomorphism descends over a fixed coefficient algebra when it and its inverse have coefficient-valued images. -/ |
| 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 A] [Module.Flat C B] |
| 17 | |
| 18 | theorem existsUnique_flat_tensorIso_of_range (D : Subalgebra C R) |
| 19 | (e : R ⊗[C] A ≃ₐ[R] R ⊗[C] B) |
| 20 | (hA : ∀ a, e (1 ⊗ₜ[C] a) ∈ (Coefficient.TensorMaps.coefficientTensorMap D).range) |
| 21 | (hB : ∀ b, e.symm (1 ⊗ₜ[C] b) ∈ (Coefficient.TensorMaps.coefficientTensorMap D).range) : |
| 22 | ∃! eD : D ⊗[C] A ≃ₐ[D] D ⊗[C] B, |
| 23 | (∀ x, Coefficient.TensorMaps.coefficientTensorMap D (eD x) = e (Coefficient.TensorMaps.coefficientTensorMap D x)) ∧ |
| 24 | (∀ y, Coefficient.TensorMaps.coefficientTensorMap D (eD.symm y) = e.symm (Coefficient.TensorMaps.coefficientTensorMap D y)) := by |
| 25 | obtain ⟨f, hf, _⟩ := HilbertConstruction.Flat.MapRangeCriterion.existsUnique_flat_tensorHom_descent_of_range D e.toAlgHom hA |
| 26 | obtain ⟨g, hg, _⟩ := HilbertConstruction.Flat.MapRangeCriterion.existsUnique_flat_tensorHom_descent_of_range D e.symm.toAlgHom hB |
| 27 | have hfg : f.comp g = AlgHom.id D (D ⊗[C] B) := by |
| 28 | apply AlgHom.ext |
| 29 | intro y |
| 30 | apply Coefficient.TensorMaps.coefficientTensorMap_injective D |
| 31 | exact (hf (g y)).trans ((congrArg e (hg y)).trans (e.apply_symm_apply _)) |
| 32 | have hgf : g.comp f = AlgHom.id D (D ⊗[C] A) := by |
| 33 | apply AlgHom.ext |
| 34 | intro x |
| 35 | apply Coefficient.TensorMaps.coefficientTensorMap_injective D |
| 36 | exact (hg (f x)).trans ((congrArg e.symm (hf x)).trans (e.symm_apply_apply _)) |
| 37 | refine ⟨AlgEquiv.ofAlgHom f g hfg hgf, ⟨hf, hg⟩, ?_⟩ |
| 38 | intro d hd |
| 39 | apply AlgEquiv.ext |
| 40 | intro x |
| 41 | apply Coefficient.TensorMaps.coefficientTensorMap_injective D |
| 42 | exact (hd.1 x).trans (hf x).symm |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.IsoDescentCriterion |