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.Divisors.LineBundles.DifferentialEtaleCriterion |
| 2 | import Mathlib.RingTheory.Kaehler.Polynomial |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | |
| 5 | /-! # Differential Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.DifferentialCoordinates.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: actual coordinates whose differentials form a basis give an étale algebra map -/ |
| 12 | |
| 13 | open KaehlerDifferential TensorProduct |
| 14 | |
| 15 | variable {R S : Type} [CommRing R] [CommRing S] [Algebra R S] {ι : Type} |
| 16 | |
| 17 | abbrev differentialCoordinateAlgebra (v : ι → S) : Algebra (MvPolynomial ι R) S := |
| 18 | (MvPolynomial.aeval v).toRingHom.toAlgebra |
| 19 | |
| 20 | theorem differentialCoordinate_scalarTower (v : ι → S) : |
| 21 | letI := differentialCoordinateAlgebra (R := R) v |
| 22 | IsScalarTower R (MvPolynomial ι R) S := by |
| 23 | let := differentialCoordinateAlgebra (R := R) v |
| 24 | exact IsScalarTower.of_algebraMap_eq fun r => (MvPolynomial.aeval_C v r).symm |
| 25 | |
| 26 | theorem differentialCoordinate_map_bijective (v : ι → S) (b : Module.Basis ι S Ω[S⁄R]) |
| 27 | (hb : ∀ i, b i = D R S (v i)) : |
| 28 | letI := differentialCoordinateAlgebra (R := R) v |
| 29 | letI := differentialCoordinate_scalarTower (R := R) v |
| 30 | Function.Bijective (mapBaseChange R (MvPolynomial ι R) S) := by |
| 31 | let := differentialCoordinateAlgebra (R := R) v |
| 32 | let := differentialCoordinate_scalarTower (R := R) v |
| 33 | let c := (mvPolynomialBasis R ι).baseChange S |
| 34 | let e := c.equiv b (Equiv.refl ι) |
| 35 | have he : mapBaseChange R (MvPolynomial ι R) S = e.toLinearMap := by |
| 36 | apply c.ext |
| 37 | intro i |
| 38 | have hi : mapBaseChange R (MvPolynomial ι R) S (c i) = D R S (v i) := by |
| 39 | dsimp only [c] |
| 40 | rw [Module.Basis.baseChange_apply, mvPolynomialBasis_apply, mapBaseChange_tmul, map_D, one_smul] |
| 41 | exact congrArg (D R S) (MvPolynomial.aeval_X (R := R) v i) |
| 42 | exact hi.trans ((hb i).symm.trans (c.equiv_apply (b' := b) (e := Equiv.refl ι) i).symm) |
| 43 | exact he ▸ e.bijective |
| 44 | |
| 45 | theorem differentialCoordinate_formallyEtale [Algebra.FormallySmooth R S] |
| 46 | (v : ι → S) (b : Module.Basis ι S Ω[S⁄R]) (hb : ∀ i, b i = D R S (v i)) : |
| 47 | letI := differentialCoordinateAlgebra (R := R) v |
| 48 | Algebra.FormallyEtale (MvPolynomial ι R) S := by |
| 49 | let := differentialCoordinateAlgebra (R := R) v |
| 50 | let := differentialCoordinate_scalarTower (R := R) v |
| 51 | exact DifferentialEtaleCriterion.BundleCycles.formallyEtale_of_differential_bijective R (MvPolynomial ι R) S |
| 52 | (differentialCoordinate_map_bijective v b hb) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Divisors.LineBundles.DifferentialCoordinates.BundleCycles |