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.HilbertScheme.Presentations.NilpotentLinearMapLifting |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 3 | |
| 4 | /-! # Nilpotent Free Lifting -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.NilpotentFreeLifting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Freeness of a flat module lifts across a nilpotent ideal, with no |
| 11 | finiteness requirement on the rank. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | variable (M : Type v) [AddCommGroup M] [Module R M] [Module.Flat R M] |
| 18 | |
| 19 | theorem nilpotent_free_lifting (I : Ideal R) (hI : IsNilpotent I) |
| 20 | [Module.Free (R ⧸ I) ((R ⧸ I) ⊗[R] M)] : Module.Free R M := by |
| 21 | let b := Module.Free.chooseBasis (R ⧸ I) ((R ⧸ I) ⊗[R] M) |
| 22 | let ι := Module.Free.ChooseBasisIndex (R ⧸ I) ((R ⧸ I) ⊗[R] M) |
| 23 | have hx : ∀ i : ι, ∃ m : M, (1 : R ⧸ I) ⊗ₜ[R] m = b i := |
| 24 | fun i => Quotient.TensorRelations.quotientTensor_exists_one_tmul M I (b i) |
| 25 | let x : ι → M := fun i => (hx i).choose |
| 26 | let f : (ι →₀ R) →ₗ[R] M := Finsupp.linearCombination R x |
| 27 | let c : Module.Basis ι (R ⧸ I) ((R ⧸ I) ⊗[R] (ι →₀ R)) := |
| 28 | (Finsupp.basisSingleOne : Module.Basis ι R (ι →₀ R)).baseChange (R ⧸ I) |
| 29 | let e := c.equiv b (Equiv.refl ι) |
| 30 | have he : AlgebraTensorModule.lTensor (R ⧸ I) (R ⧸ I) f = e.toLinearMap := by |
| 31 | apply c.ext |
| 32 | intro i |
| 33 | change (AlgebraTensorModule.lTensor (R ⧸ I) (R ⧸ I) f) (c i) = e (c i) |
| 34 | rw [Module.Basis.equiv_apply] |
| 35 | simp only [c, Module.Basis.baseChange_apply] |
| 36 | change (1 : R ⧸ I) ⊗ₜ[R] f (Finsupp.single i 1) = b i |
| 37 | rw [Finsupp.linearCombination_single, one_smul] |
| 38 | exact (hx i).choose_spec |
| 39 | have hf : Function.Bijective (f.lTensor (R ⧸ I)) := by |
| 40 | change Function.Bijective (AlgebraTensorModule.lTensor (R ⧸ I) (R ⧸ I) f) |
| 41 | rw [he] |
| 42 | exact e.bijective |
| 43 | let e' := LinearEquiv.ofBijective f (NilpotentLinearMapLifting.nilpotent_bijective_of_reduction I hI f hf) |
| 44 | exact Module.Free.of_equiv e' |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.NilpotentFreeLifting |