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.IdealTensor.Obstruction |
| 2 | |
| 3 | /-! # Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.IdealTensor.BaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Ideal-tensor obstructions map naturally to the obstruction for the |
| 10 | extended ideal after coefficient base change. -/ |
| 11 | |
| 12 | open TensorProduct |
| 13 | |
| 14 | universe u v w |
| 15 | variable (B : Type u) [CommRing B] (A : Type v) [CommRing A] [Algebra B A] |
| 16 | variable (M : Type w) [AddCommGroup M] [Module B M] |
| 17 | |
| 18 | def idealCoefficientInclusion (I : Ideal B) : I →ₗ[B] I.map (algebraMap B A) where |
| 19 | toFun r := ⟨algebraMap B A r.val, Ideal.mem_map_of_mem _ r.property⟩ |
| 20 | map_add' r s := Subtype.ext (map_add (algebraMap B A) r.val s.val) |
| 21 | map_smul' r s := by |
| 22 | apply Subtype.ext |
| 23 | change algebraMap B A (r * s.val) = r • algebraMap B A s.val |
| 24 | rw [Algebra.smul_def, map_mul] |
| 25 | |
| 26 | def idealTensorBaseChangeComparison (I : Ideal B) : |
| 27 | ((A ⊗[B] M) ⊗[A] I.map (algebraMap B A)) ≃ₗ[B] |
| 28 | M ⊗[B] I.map (algebraMap B A) := |
| 29 | ((TensorProduct.comm A (A ⊗[B] M) (I.map (algebraMap B A))).restrictScalars B).trans |
| 30 | (((AlgebraTensorModule.cancelBaseChange B A A (I.map (algebraMap B A)) M).restrictScalars B).trans |
| 31 | (TensorProduct.comm B (I.map (algebraMap B A)) M)) |
| 32 | |
| 33 | def idealTensorBaseChangeMap (I : Ideal B) : |
| 34 | M ⊗[B] I →ₗ[B] (A ⊗[B] M) ⊗[A] I.map (algebraMap B A) := |
| 35 | (idealTensorBaseChangeComparison B A M I).symm.toLinearMap.comp |
| 36 | ((idealCoefficientInclusion B A I).lTensor M) |
| 37 | |
| 38 | theorem idealTensorBaseChangeMap_tmul (I : Ideal B) (m : M) (r : I) : |
| 39 | idealTensorBaseChangeMap B A M I (m ⊗ₜ[B] r) = |
| 40 | ((1 : A) ⊗ₜ[B] m) ⊗ₜ[A] idealCoefficientInclusion B A I r := by |
| 41 | apply (idealTensorBaseChangeComparison B A M I).injective |
| 42 | simp [idealTensorBaseChangeMap, idealTensorBaseChangeComparison] |
| 43 | |
| 44 | theorem idealTensorBaseChangeMap_multiplication (I : Ideal B) (x : M ⊗[B] I) : |
| 45 | Obstruction.idealTensorMultiplication A A (A ⊗[B] M) (I.map (algebraMap B A)) |
| 46 | (idealTensorBaseChangeMap B A M I x) = |
| 47 | (1 : A) ⊗ₜ[B] Obstruction.idealTensorMultiplication B B M I x := by |
| 48 | induction x using TensorProduct.inductionOn with |
| 49 | | add x y hx hy => simp only [map_add, TensorProduct.tmul_add, hx, hy] |
| 50 | | tmul m r => |
| 51 | rw [idealTensorBaseChangeMap_tmul, Obstruction.idealTensorMultiplication_tmul, Obstruction.idealTensorMultiplication_tmul] |
| 52 | simp [idealCoefficientInclusion, TensorProduct.tmul_smul, TensorProduct.smul_tmul', Algebra.smul_def] |
| 53 | |
| 54 | theorem idealTensorObstruction_baseChange_zero (I : Ideal B) |
| 55 | [Module.Flat A (A ⊗[B] M)] (x : (Obstruction.idealTensorMultiplication B B M I).ker) : |
| 56 | idealTensorBaseChangeMap B A M I x.val = 0 := by |
| 57 | apply Obstruction.idealTensorMultiplication_injective A A (A ⊗[B] M) (I.map (algebraMap B A)) |
| 58 | rw [map_zero, idealTensorBaseChangeMap_multiplication, x.property, TensorProduct.tmul_zero] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.IdealTensor.BaseChange |