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.Finite.ExtendedIdealCoefficients |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Finiteness |
| 3 | |
| 4 | /-! # Extended Ideal Tensor Coefficients -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ExtendedIdealTensorCoefficients |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Tensors with an extended ideal use only finitely many coefficients |
| 11 | of the ambient algebra. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v w |
| 16 | variable {B : Type u} [CommRing B] {A : Type v} [CommRing A] [Algebra B A] |
| 17 | |
| 18 | def extendedIdealInclusion (D : Subalgebra B A) (I : Ideal B) : |
| 19 | I.map (algebraMap B D) →ₗ[B] I.map (algebraMap B A) where |
| 20 | toFun r := ⟨D.val r.val, by |
| 21 | have h : D.val.toRingHom.comp (algebraMap B D) = algebraMap B A := |
| 22 | RingHom.ext (fun b => D.val.commutes b) |
| 23 | simpa only [Ideal.map_map, h] using! Ideal.mem_map_of_mem D.val.toRingHom r.property⟩ |
| 24 | map_add' r s := Subtype.ext (D.val.map_add r.val s.val) |
| 25 | map_smul' b r := Subtype.ext (D.val.toLinearMap.map_smul b r.val) |
| 26 | |
| 27 | theorem extendedIdealInclusion_injective (D : Subalgebra B A) (I : Ideal B) : |
| 28 | Function.Injective (extendedIdealInclusion D I) := by |
| 29 | intro x y h |
| 30 | have hh : D.val x.val = D.val y.val := |
| 31 | congrArg (fun r : I.map (algebraMap B A) => r.val) h |
| 32 | exact Subtype.ext (Subtype.val_injective hh) |
| 33 | |
| 34 | theorem extendedIdealInclusion_coefficient (D : Subalgebra B A) (I : Ideal B) : |
| 35 | (extendedIdealInclusion D I).comp (IdealTensor.BaseChange.idealCoefficientInclusion B D I) = |
| 36 | IdealTensor.BaseChange.idealCoefficientInclusion B A I := by |
| 37 | ext r |
| 38 | exact D.val.commutes r.val |
| 39 | |
| 40 | variable (C : Subalgebra B A) [Algebra.FiniteType B C] |
| 41 | variable {M : Type w} [AddCommGroup M] [Module B M] |
| 42 | |
| 43 | theorem extendedIdealTensor_finite_coefficient_representation (I : Ideal B) |
| 44 | (z : M ⊗[B] I.map (algebraMap B A)) : |
| 45 | ∃ D : Subalgebra B A, C ≤ D ∧ Algebra.FiniteType B D ∧ |
| 46 | ∃ w : M ⊗[B] I.map (algebraMap B D), (extendedIdealInclusion D I).lTensor M w = z := by |
| 47 | classical |
| 48 | obtain ⟨s, hs⟩ := TensorProduct.exists_finset z |
| 49 | obtain ⟨D, hCD, hD, hv⟩ := Finite.ExtendedIdealCoefficients.finite_extended_ideal_coefficients C I (fun p : s => p.val.2) |
| 50 | choose v hv using hv |
| 51 | refine ⟨D, hCD, hD, ∑ p : s, p.val.1 ⊗ₜ[B] v p, ?_⟩ |
| 52 | have he (p : s) : extendedIdealInclusion D I (v p) = p.val.2 := Subtype.ext (hv p) |
| 53 | simp only [map_sum, LinearMap.lTensor_tmul, he] |
| 54 | rw [Finset.univ_eq_attach, Finset.sum_attach s |
| 55 | (fun p : M × I.map (algebraMap B A) => p.1 ⊗ₜ[B] p.2)] |
| 56 | exact hs.symm |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ExtendedIdealTensorCoefficients |