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.AlgebraMapDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.MapRangeCriterion |
| 3 | |
| 4 | /-! # Tensor Iso Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.TensorIsoDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Isomorphisms between flat finite type models descend together with their inverses. -/ |
| 11 | |
| 12 | open TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {C R A B : Type u} [CommRing C] [CommRing R] [CommRing A] [CommRing B] |
| 17 | variable [Algebra C R] [Algebra C A] [Algebra C B] |
| 18 | variable [Algebra.FiniteType C A] [Algebra.FiniteType C B] [Module.Flat C A] [Module.Flat C B] |
| 19 | |
| 20 | theorem exists_flat_tensorIso_descent (e : R ⊗[C] A ≃ₐ[R] R ⊗[C] B) |
| 21 | (E : Subalgebra C R) (hE : E.FG) : |
| 22 | ∃ D : Subalgebra C R, E ≤ D ∧ D.FG ∧ |
| 23 | ∃ eD : D ⊗[C] A ≃ₐ[D] D ⊗[C] B, |
| 24 | (∀ x, Coefficient.TensorMaps.coefficientTensorMap D (eD x) = e (Coefficient.TensorMaps.coefficientTensorMap D x)) ∧ |
| 25 | (∀ y, Coefficient.TensorMaps.coefficientTensorMap D (eD.symm y) = e.symm (Coefficient.TensorMaps.coefficientTensorMap D y)) := by |
| 26 | obtain ⟨D₁, hE₁, hD₁, h₁⟩ := AlgebraMapDescent.finiteType_algHom_coefficient_range |
| 27 | ((AlgHom.liftEquiv C R A (R ⊗[C] B)).symm e.toAlgHom) E hE |
| 28 | obtain ⟨D₂, _, hD₂, h₂⟩ := AlgebraMapDescent.finiteType_algHom_coefficient_range |
| 29 | ((AlgHom.liftEquiv C R B (R ⊗[C] A)).symm e.symm.toAlgHom) E hE |
| 30 | let D := D₁ ⊔ D₂ |
| 31 | obtain ⟨f, hf, _⟩ := MapRangeCriterion.existsUnique_flat_tensorHom_descent_of_range D e.toAlgHom |
| 32 | (fun a => Coefficient.TensorMaps.coefficientTensorMap_range_mono le_sup_left (h₁ a)) |
| 33 | obtain ⟨g, hg, _⟩ := MapRangeCriterion.existsUnique_flat_tensorHom_descent_of_range D e.symm.toAlgHom |
| 34 | (fun b => Coefficient.TensorMaps.coefficientTensorMap_range_mono le_sup_right (h₂ b)) |
| 35 | have hfg : f.comp g = AlgHom.id D (D ⊗[C] B) := by |
| 36 | apply AlgHom.ext |
| 37 | intro y |
| 38 | apply Coefficient.TensorMaps.coefficientTensorMap_injective D |
| 39 | exact (hf (g y)).trans ((congrArg e (hg y)).trans (e.apply_symm_apply _)) |
| 40 | have hgf : g.comp f = AlgHom.id D (D ⊗[C] A) := by |
| 41 | apply AlgHom.ext |
| 42 | intro x |
| 43 | apply Coefficient.TensorMaps.coefficientTensorMap_injective D |
| 44 | exact (hg (f x)).trans ((congrArg e.symm (hf x)).trans (e.symm_apply_apply _)) |
| 45 | exact ⟨D, hE₁.trans le_sup_left, hD₁.sup hD₂, AlgEquiv.ofAlgHom f g hfg hgf, hf, hg⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.TensorIsoDescent |