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.RepresentationTheory.Theta.Geometric.SquareZero.Subalgebra |
| 2 | import Mathlib.RingTheory.Flat.Basic |
| 3 | import Mathlib.RingTheory.TensorProduct.Basic |
| 4 | |
| 5 | /-! # Tensor Descent -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.SquareZero.TensorDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Flatness over the complex field descends a tensor coefficient whose |
| 14 | reduction is one to the split square-zero subalgebra. -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable {M R S B : Type*} [AddCommGroup M] [Module ℂ M] [Module ℂᵐᵒᵖ M] |
| 19 | [IsCentralScalar ℂ M] [CommRing R] [Algebra ℂ R] |
| 20 | [CommRing S] [Algebra ℂ S] [CommRing B] [Algebra ℂ B] |
| 21 | |
| 22 | theorem squareZeroTensorMap_injective [Nontrivial R] |
| 23 | (i : M →ₗ[ℂ] R) (hi : Function.Injective i) (hsq : ∀ x y, i x * i y = 0) : |
| 24 | Function.Injective (Algebra.TensorProduct.map (Subalgebra.squareZeroSubalgebraMap i hsq) |
| 25 | (AlgHom.id ℂ B)) := |
| 26 | Module.Flat.rTensor_preserves_injective_linearMap |
| 27 | (Subalgebra.squareZeroSubalgebraMap i hsq).toLinearMap (Subalgebra.squareZeroSubalgebraMap_injective i hi hsq) |
| 28 | |
| 29 | theorem squareZeroTensorMap_inr (i : M →ₗ[ℂ] R) (hsq : ∀ x y, i x * i y = 0) |
| 30 | (x : M ⊗[ℂ] B) : |
| 31 | Algebra.TensorProduct.map (Subalgebra.squareZeroSubalgebraMap i hsq) (AlgHom.id ℂ B) |
| 32 | ((TrivSqZeroExt.inrHom ℂ M).rTensor B x) = i.rTensor B x := by |
| 33 | have h : (Subalgebra.squareZeroSubalgebraMap i hsq).toLinearMap.comp |
| 34 | (TrivSqZeroExt.inrHom ℂ M) = i := by |
| 35 | ext m |
| 36 | change algebraMap ℂ R 0 + i m = i m |
| 37 | rw [map_zero, zero_add] |
| 38 | have ht := congrArg (fun f : M →ₗ[ℂ] R => f.rTensor B x) h |
| 39 | rw [LinearMap.rTensor_comp] at ht |
| 40 | exact ht |
| 41 | |
| 42 | theorem squareZeroTensor_exists_lift_of_reduction_one |
| 43 | (i : M →ₗ[ℂ] R) (hsq : ∀ x y, i x * i y = 0) (q : R →ₐ[ℂ] S) |
| 44 | (he : Function.Exact i q.toLinearMap) (x : R ⊗[ℂ] B) |
| 45 | (hx : Algebra.TensorProduct.map q (AlgHom.id ℂ B) x = 1) : |
| 46 | ∃ y : TrivSqZeroExt ℂ M ⊗[ℂ] B, |
| 47 | Algebra.TensorProduct.map (Subalgebra.squareZeroSubalgebraMap i hsq) (AlgHom.id ℂ B) y = x := by |
| 48 | have hk : q.toLinearMap.rTensor B (x - 1) = 0 := by |
| 49 | change Algebra.TensorProduct.map q (AlgHom.id ℂ B) (x - 1) = 0 |
| 50 | rw [map_sub, hx, map_one, sub_self] |
| 51 | have ht := Module.Flat.rTensor_exact B he |
| 52 | obtain ⟨m, hm⟩ := (ht (x - 1)).mp hk |
| 53 | refine ⟨1 + (TrivSqZeroExt.inrHom ℂ M).rTensor B m, ?_⟩ |
| 54 | rw [map_add, map_one, squareZeroTensorMap_inr, hm, add_sub_cancel] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | /-! Normalized regular units descend across the injected split |
| 59 | square-zero subalgebra. No flatness of that algebra injection is used. -/ |
| 60 | |
| 61 | open scoped TensorProduct |
| 62 | |
| 63 | variable {M R S B : Type*} [AddCommGroup M] [Module ℂ M] [Module ℂᵐᵒᵖ M] |
| 64 | [IsCentralScalar ℂ M] [CommRing R] [Algebra ℂ R] [Nontrivial R] |
| 65 | [CommRing S] [Algebra ℂ S] [CommRing B] [Algebra ℂ B] |
| 66 | |
| 67 | theorem squareZeroTensor_exists_unit_lift_of_reduction_one |
| 68 | (i : M →ₗ[ℂ] R) (hi : Function.Injective i) (hsq : ∀ x y, i x * i y = 0) |
| 69 | (q : R →ₐ[ℂ] S) (he : Function.Exact i q.toLinearMap) (x : (R ⊗[ℂ] B)ˣ) |
| 70 | (hx : Algebra.TensorProduct.map q (AlgHom.id ℂ B) (x : R ⊗[ℂ] B) = 1) : |
| 71 | ∃! y : (TrivSqZeroExt ℂ M ⊗[ℂ] B)ˣ, |
| 72 | Algebra.TensorProduct.map (Subalgebra.squareZeroSubalgebraMap i hsq) (AlgHom.id ℂ B) |
| 73 | (y : TrivSqZeroExt ℂ M ⊗[ℂ] B) = x := by |
| 74 | have hx' : Algebra.TensorProduct.map q (AlgHom.id ℂ B) (↑x⁻¹ : R ⊗[ℂ] B) = 1 := by |
| 75 | change Algebra.TensorProduct.map q (AlgHom.id ℂ B) x.inv = 1 |
| 76 | have h := congrArg (Algebra.TensorProduct.map q (AlgHom.id ℂ B)) x.val_inv |
| 77 | simpa only [map_mul, hx, one_mul, map_one] using h |
| 78 | obtain ⟨y, hy⟩ := squareZeroTensor_exists_lift_of_reduction_one i hsq q he _ hx |
| 79 | obtain ⟨z, hz⟩ := squareZeroTensor_exists_lift_of_reduction_one i hsq q he _ hx' |
| 80 | have hinj := squareZeroTensorMap_injective (B := B) i hi hsq |
| 81 | have hyz : y * z = 1 := by |
| 82 | apply hinj |
| 83 | rw [map_mul, hy, hz, map_one] |
| 84 | exact x.val_inv |
| 85 | let u : (TrivSqZeroExt ℂ M ⊗[ℂ] B)ˣ := ⟨y, z, hyz, (mul_comm z y).trans hyz⟩ |
| 86 | refine ⟨u, hy, ?_⟩ |
| 87 | intro v hv |
| 88 | exact Units.ext (hinj (hv.trans hy.symm)) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.RepresentationTheory.Theta.Geometric.SquareZero.TensorDescent |