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.DivisorClass.Chern.TensorBoundary |
| 2 | import OAI.AlgebraicTopology.Kunneth.CohomologyTensorNe |
| 3 | |
| 4 | /-! # Tensor Point -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.TensorPoint |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # ChernClass: crossing with an actual degree-zero chain |
| 14 | |
| 15 | A zero-chain gives a chain map into the tensor complex. The map is |
| 16 | natural in both chain complexes and carries exactly the specified |
| 17 | zero-chain under the left factor map. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.HomologicalComplex |
| 21 | open scoped TensorProduct |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | variable {k : Type} [Field k] |
| 27 | |
| 28 | def tensorPointChain (C D : ChainComplex (ModuleCat.{0} k) ℕ) (x : C.X 0) : |
| 29 | D ⟶ C ⊗ D where |
| 30 | f n := ModuleCat.ofHom ((ιTensorObj C D 0 n n (by omega)).hom.comp |
| 31 | (TensorProduct.mk k (C.X 0) (D.X n) x)) |
| 32 | comm' i j hij := by |
| 33 | change j + 1 = i at hij |
| 34 | subst i |
| 35 | apply ModuleCat.hom_ext |
| 36 | apply LinearMap.ext |
| 37 | intro y |
| 38 | exact TensorBoundary.tensorBoundary_point_apply C D j x y |
| 39 | |
| 40 | @[simp] |
| 41 | theorem tensorPointChain_apply (C D : ChainComplex (ModuleCat.{0} k) ℕ) |
| 42 | (x : C.X 0) (n : ℕ) (y : D.X n) : |
| 43 | (tensorPointChain C D x).f n y = ιTensorObj C D 0 n n (by omega) (x ⊗ₜ[k] y) := rfl |
| 44 | |
| 45 | theorem tensorPointChain_naturality |
| 46 | {C C' D D' : ChainComplex (ModuleCat.{0} k) ℕ} |
| 47 | (f : C ⟶ C') (g : D ⟶ D') (x : C.X 0) : |
| 48 | tensorPointChain C D x ≫ (f ⊗ₘ g) = |
| 49 | g ≫ tensorPointChain C' D' (f.f 0 x) := by |
| 50 | apply HomologicalComplex.Hom.ext |
| 51 | funext n |
| 52 | apply ModuleCat.hom_ext |
| 53 | apply LinearMap.ext |
| 54 | intro y |
| 55 | have h := ConcreteCategory.congr_hom |
| 56 | (AlgebraicTopology.Kunneth.CohomologyTensorNe.Construction.TensorProjections.inclusion_tensorHom C D f g n ⟨(0, n), by omega⟩) |
| 57 | (x ⊗ₜ[k] y) |
| 58 | change (HomologicalComplex.tensorHom f g).f n (ιTensorObj C D 0 n n _ _) = |
| 59 | ιTensorObj C' D' 0 n n _ (TensorProduct.map (f.f 0).hom (g.f n).hom _) at h |
| 60 | change (HomologicalComplex.tensorHom f g).f n (ιTensorObj C D 0 n n _ (x ⊗ₜ[k] y)) = |
| 61 | ιTensorObj C' D' 0 n n _ (f.f 0 x ⊗ₜ[k] g.f n y) |
| 62 | simpa only [TensorProduct.map_tmul] using h |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-! The actual tensor chain map with a specified point in the right factor. -/ |
| 67 | |
| 68 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.HomologicalComplex |
| 69 | open scoped TensorProduct |
| 70 | |
| 71 | set_option backward.isDefEq.respectTransparency false |
| 72 | set_option backward.isDefEq.respectTransparency.types false |
| 73 | |
| 74 | variable {k : Type} [Field k] |
| 75 | |
| 76 | def tensorRightPointChain (C D : ChainComplex (ModuleCat.{0} k) ℕ) (y : D.X 0) : |
| 77 | C ⟶ C ⊗ D where |
| 78 | f n := ModuleCat.ofHom ((ιTensorObj C D n 0 n (by omega)).hom.comp |
| 79 | ((TensorProduct.mk k (C.X n) (D.X 0)).flip y)) |
| 80 | comm' i j hij := by |
| 81 | change j + 1 = i at hij |
| 82 | subst i |
| 83 | apply ModuleCat.hom_ext |
| 84 | apply LinearMap.ext |
| 85 | intro x |
| 86 | change (C ⊗ D).d (j + 1) j (ιTensorObj C D (j + 1) 0 (j + 1) _ (x ⊗ₜ[k] y)) = |
| 87 | ιTensorObj C D j 0 j _ (C.d (j + 1) j x ⊗ₜ[k] y) |
| 88 | have h := ConcreteCategory.congr_hom (TensorBoundary.tensorBoundary_rightZero C D j) (x ⊗ₜ[k] y) |
| 89 | change (C ⊗ D).d (j + 1) j (ιTensorObj C D (j + 1) 0 (j + 1) _ (x ⊗ₜ[k] y)) = |
| 90 | ιTensorObj C D j 0 j _ (TensorProduct.map (C.d (j + 1) j).hom LinearMap.id (x ⊗ₜ[k] y)) at h |
| 91 | simpa only [TensorProduct.map_tmul, LinearMap.id_apply] using h |
| 92 | |
| 93 | theorem tensorRightPointChain_naturality |
| 94 | {C C' D D' : ChainComplex (ModuleCat.{0} k) ℕ} |
| 95 | (f : C ⟶ C') (g : D ⟶ D') (y : D.X 0) : |
| 96 | tensorRightPointChain C D y ≫ (f ⊗ₘ g) = |
| 97 | f ≫ tensorRightPointChain C' D' (g.f 0 y) := by |
| 98 | apply HomologicalComplex.Hom.ext |
| 99 | funext n |
| 100 | apply ModuleCat.hom_ext |
| 101 | apply LinearMap.ext |
| 102 | intro x |
| 103 | have h := ConcreteCategory.congr_hom |
| 104 | (AlgebraicTopology.Kunneth.CohomologyTensorNe.Construction.TensorProjections.inclusion_tensorHom C D f g n ⟨(n, 0), by omega⟩) |
| 105 | (x ⊗ₜ[k] y) |
| 106 | change (HomologicalComplex.tensorHom f g).f n (ιTensorObj C D n 0 n _ _) = |
| 107 | ιTensorObj C' D' n 0 n _ (TensorProduct.map (f.f n).hom (g.f 0).hom _) at h |
| 108 | change (HomologicalComplex.tensorHom f g).f n (ιTensorObj C D n 0 n _ (x ⊗ₜ[k] y)) = |
| 109 | ιTensorObj C' D' n 0 n _ (f.f n x ⊗ₜ[k] g.f 0 y) |
| 110 | simpa only [TensorProduct.map_tmul] using h |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.DivisorClass.Chern.TensorPoint |