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.PELModuli.IntegralModel.PolynomialEtaleCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.EtaleCancellationOf |
| 3 | import Mathlib.RingTheory.Smooth.Fiber |
| 4 | |
| 5 | /-! # Smooth From Differential Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.SmoothFromDifferentialCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Differential coordinates on the target of a finite etale cover |
| 12 | are smooth coordinates when the covering algebra is smooth. -/ |
| 13 | |
| 14 | open TensorProduct KaehlerDifferential _root_.Module |
| 15 | |
| 16 | theorem smooth_of_differential_coordinates_and_finite_etale_cover |
| 17 | (R A B : Type*) [CommRing R] [IsNoetherianRing R] [CommRing A] [CommRing B] |
| 18 | [Algebra R A] [Algebra R B] [Algebra A B] [IsScalarTower R A B] |
| 19 | [Algebra.FiniteType R A] [Module.FaithfullyFlat A B] [Module.Finite A B] |
| 20 | [Algebra.Etale A B] [Algebra.Smooth R B] |
| 21 | {ι : Type} [Finite ι] (a : ι → A) (b : Basis ι A Ω[A⁄R]) |
| 22 | (hb : ∀ i, b i = D R A (a i)) : Algebra.Smooth R A := by |
| 23 | let P := MvPolynomial ι R |
| 24 | let φ : P →ₐ[R] A := MvPolynomial.aeval a |
| 25 | let : Algebra P A := φ.toRingHom.toAlgebra |
| 26 | let : Algebra P B := (IsScalarTower.toAlgHom R A B |>.comp φ).toRingHom.toAlgebra |
| 27 | have : IsScalarTower R P A := IsScalarTower.of_algebraMap_eq fun r => (φ.commutes r).symm |
| 28 | have : IsScalarTower P A B := IsScalarTower.of_algebraMap_eq fun _ => rfl |
| 29 | have : IsScalarTower R P B := IsScalarTower.to₁₂₄ R P A B |
| 30 | let c := (b.baseChange B).map (tensorKaehlerEquivOfFormallyEtale R A B) |
| 31 | have hc (i : ι) : c i = D R B (algebraMap P B (MvPolynomial.X i)) := by |
| 32 | simp only [c, Basis.map_apply, Basis.baseChange_apply, |
| 33 | tensorKaehlerEquivOfFormallyEtale_apply, mapBaseChange_tmul, one_smul, hb, map_D] |
| 34 | congr 1 |
| 35 | change algebraMap A B (a i) = algebraMap A B (MvPolynomial.aeval a (MvPolynomial.X i)) |
| 36 | rw [MvPolynomial.aeval_X] |
| 37 | have : Algebra.FormallyEtale P B := PolynomialEtaleCoordinates.polynomial_coordinates_formallyEtale R B ι c hc |
| 38 | have : Algebra.FiniteType P A := Algebra.FiniteType.of_restrictScalars_finiteType R P A |
| 39 | have : Algebra.FiniteType P B := Algebra.FiniteType.of_restrictScalars_finiteType R P B |
| 40 | have : Algebra.FinitePresentation P A := Algebra.FinitePresentation.of_finiteType.mp inferInstance |
| 41 | have : Algebra.FinitePresentation P B := Algebra.FinitePresentation.of_finiteType.mp inferInstance |
| 42 | have : Algebra.Etale P B := ⟨inferInstance, inferInstance⟩ |
| 43 | have : Algebra.FormallyUnramified P A := |
| 44 | AbelianScheme.TorsionQuotient.EtaleCancellationOf.EtaleCancellation.algebra_unramified P A B |
| 45 | have : Module.Flat P A := Quotients.FiniteDescent.FlatFiniteness.Construction.FlatFinitenessDescent.flat |
| 46 | (R := P) (B := A) (A := B) (FaithfulSMul.algebraMap_injective A B) |
| 47 | have : Algebra.Etale P A := Algebra.Etale.of_formallyUnramified_of_flat |
| 48 | have : Algebra.Smooth R P := ⟨inferInstance, inferInstance⟩ |
| 49 | exact Algebra.Smooth.comp R P A |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.SmoothFromDifferentialCoordinates |