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.ScalarTowerTensorDetection |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.ExactKernels |
| 3 | |
| 4 | /-! # Scalar Tower Fiber Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ScalarTowerFiberIsomorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A coefficient-fiber isomorphism lifts over an algebra when the |
| 11 | kernel and cokernel are finite and the target is flat over the coefficients. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v w t |
| 16 | variable {R : Type u} [CommRing R] {B : Type v} [CommRing B] [Algebra R B] |
| 17 | variable {M : Type w} [AddCommGroup M] [Module R M] [Module B M] [IsScalarTower R B M] |
| 18 | variable {N : Type t} [AddCommGroup N] [Module R N] [Module B N] [IsScalarTower R B N] |
| 19 | |
| 20 | theorem scalarTower_surjective_of_quotientTensor |
| 21 | (I : Ideal R) (hI : I.map (algebraMap R B) ≤ Ideal.jacobson ⊥) |
| 22 | (f : M →ₗ[B] N) [Module.Finite B (N ⧸ f.range)] |
| 23 | (h : Function.Surjective ((f.restrictScalars R).lTensor (R ⧸ I))) : |
| 24 | Function.Surjective f := by |
| 25 | let π := f.range.mkQ.restrictScalars R |
| 26 | have hzero : π.comp (f.restrictScalars R) = 0 := by |
| 27 | apply LinearMap.ext |
| 28 | intro m |
| 29 | exact (Submodule.Quotient.mk_eq_zero f.range).mpr ⟨m, rfl⟩ |
| 30 | let : Subsingleton ((R ⧸ I) ⊗[R] (N ⧸ f.range)) := by |
| 31 | apply subsingleton_of_forall_eq 0 |
| 32 | intro x |
| 33 | obtain ⟨y, rfl⟩ := LinearMap.lTensor_surjective (R ⧸ I) (g := π) f.range.mkQ_surjective x |
| 34 | obtain ⟨z, rfl⟩ := h y |
| 35 | rw [← LinearMap.lTensor_comp_apply, hzero, LinearMap.lTensor_zero, LinearMap.zero_apply] |
| 36 | let : Subsingleton (N ⧸ f.range) := ScalarTowerTensorDetection.finiteAlgebraModule_subsingleton_of_quotientTensor I hI _ |
| 37 | intro y |
| 38 | exact (Submodule.Quotient.mk_eq_zero f.range).mp (Subsingleton.elim (f.range.mkQ y) 0) |
| 39 | |
| 40 | theorem scalarTower_bijective_of_quotientTensor_of_flat |
| 41 | (I : Ideal R) (hI : I.map (algebraMap R B) ≤ Ideal.jacobson ⊥) |
| 42 | (f : M →ₗ[B] N) [Module.Finite B (N ⧸ f.range)] [Module.Finite B f.ker] |
| 43 | [Module.Flat R N] |
| 44 | (h : Function.Bijective ((f.restrictScalars R).lTensor (R ⧸ I))) : |
| 45 | Function.Bijective f := by |
| 46 | have hsurj := scalarTower_surjective_of_quotientTensor I hI f h.2 |
| 47 | let i := f.ker.subtype.restrictScalars R |
| 48 | have hex : Function.Exact i (f.restrictScalars R) := by |
| 49 | intro m |
| 50 | constructor |
| 51 | · intro hm |
| 52 | exact ⟨⟨m, hm⟩, rfl⟩ |
| 53 | · rintro ⟨z, rfl⟩ |
| 54 | exact z.property |
| 55 | have hi := LinearMap.lTensor_injective_of_exact_of_flat (f.restrictScalars R) hsurj |
| 56 | i f.ker.subtype_injective hex (R ⧸ I) |
| 57 | have hzero : (f.restrictScalars R).comp i = 0 := by |
| 58 | apply LinearMap.ext |
| 59 | intro m |
| 60 | exact m.property |
| 61 | let : Subsingleton ((R ⧸ I) ⊗[R] f.ker) := by |
| 62 | apply subsingleton_of_forall_eq 0 |
| 63 | intro z |
| 64 | apply hi |
| 65 | rw [map_zero] |
| 66 | apply h.1 |
| 67 | rw [map_zero, ← LinearMap.lTensor_comp_apply, hzero, LinearMap.lTensor_zero, LinearMap.zero_apply] |
| 68 | let : Subsingleton f.ker := ScalarTowerTensorDetection.finiteAlgebraModule_subsingleton_of_quotientTensor I hI _ |
| 69 | refine ⟨LinearMap.ker_eq_bot.mp ?_, hsurj⟩ |
| 70 | apply bot_unique |
| 71 | intro m hm |
| 72 | exact congrArg Subtype.val (Subsingleton.elim (⟨m, hm⟩ : f.ker) 0) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ScalarTowerFiberIsomorphism |