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.Crystalline.Cohomology.PD.FormsTensor |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ExteriorCoordinate |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal |
| 4 | |
| 5 | /-! # Forms Tensor Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.FormsTensorNaturality.PDFormsTensorNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # Naturality of the actual coordinate tensor description of PD forms -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R A B σ : Type u) [CommRing R] [CommRing A] [CommRing B] |
| 19 | [Algebra R A] [Algebra R B] (I : Ideal A) (J : Ideal B) |
| 20 | (δ : DividedPowers I) (ε : DividedPowers J) (x : σ → A) (y : σ → B) |
| 21 | (f : A →ₐ[R] B) (hf : DividedPowers.IsDPMorphism δ ε f.toRingHom) |
| 22 | (hxy : ∀ i, f (x i) = y i) |
| 23 | |
| 24 | include hxy in |
| 25 | theorem toForms_naturality (n : ℕ) : |
| 26 | (DeRhamGlobal.PDDeRhamGlobal.formMap (CommAlgCat.ofHom f) hf n).comp |
| 27 | ((FormsTensor.PDFormsTensor.toForms R A σ I δ x n).restrictScalars R) = |
| 28 | ((FormsTensor.PDFormsTensor.toForms R B σ J ε y n).restrictScalars R).comp |
| 29 | (TensorProduct.map f.toLinearMap LinearMap.id) := by |
| 30 | apply TensorProduct.ext |
| 31 | apply LinearMap.ext |
| 32 | intro a |
| 33 | apply LinearMap.ext_on (ExteriorCoordinate.ExteriorCoordinateProjection.word_span R σ n) |
| 34 | rintro _ ⟨v, rfl⟩ |
| 35 | change DeRhamGlobal.PDDeRhamGlobal.formMap (CommAlgCat.ofHom f) hf n |
| 36 | (FormsTensor.PDFormsTensor.toForms R A σ I δ x n (a ⊗ₜ[R] |
| 37 | exteriorPower.ιMulti R n (fun k => Finsupp.single (v k) 1))) = |
| 38 | FormsTensor.PDFormsTensor.toForms R B σ J ε y n (f a ⊗ₜ[R] |
| 39 | exteriorPower.ιMulti R n (fun k => Finsupp.single (v k) 1)) |
| 40 | rw [FormsTensor.PDFormsTensor.toForms_word, FormsTensor.PDFormsTensor.toForms_word] |
| 41 | have hs := DeRhamGlobal.PDDeRhamGlobal.formMap_symbol (A := CommAlgCat.of R A) (B := CommAlgCat.of R B) |
| 42 | (CommAlgCat.ofHom f) hf n a (x ∘ v) |
| 43 | apply hs.trans |
| 44 | change DeRham.PDDeRham.symbol R B J ε (f a) (fun k => f (x (v k))) = DeRham.PDDeRham.symbol R B J ε (f a) (y ∘ v) |
| 45 | congr 1 |
| 46 | exact funext (fun k => hxy (v k)) |
| 47 | |
| 48 | variable [LinearOrder σ] |
| 49 | (b : Module.Basis σ A (DeRham.PDDeRham.Form R A I δ 1)) (hb : ∀ i, b i = OneForms.PDOneForms.D R A I δ (x i)) |
| 50 | (c : Module.Basis σ B (DeRham.PDDeRham.Form R B J ε 1)) (hc : ∀ i, c i = OneForms.PDOneForms.D R B J ε (y i)) |
| 51 | |
| 52 | include hxy in |
| 53 | theorem formsEquiv_naturality (n : ℕ) (z : Koszul.Tensor.KoszulTensor.Term R σ A n) : |
| 54 | FormsTensor.PDFormsTensor.formsEquiv R B σ J ε y c hc n (TensorProduct.map f.toLinearMap LinearMap.id z) = |
| 55 | DeRhamGlobal.PDDeRhamGlobal.formMap (CommAlgCat.ofHom f) hf n (FormsTensor.PDFormsTensor.formsEquiv R A σ I δ x b hb n z) := |
| 56 | (LinearMap.congr_fun (toForms_naturality R A B σ I J δ ε x y f hf hxy n) z).symm |
| 57 | |
| 58 | include hxy in |
| 59 | theorem formsEquiv_symm_naturality (n : ℕ) (ω : DeRham.PDDeRham.Form R A I δ n) : |
| 60 | (FormsTensor.PDFormsTensor.formsEquiv R B σ J ε y c hc n).symm |
| 61 | (DeRhamGlobal.PDDeRhamGlobal.formMap (CommAlgCat.ofHom f) hf n ω) = |
| 62 | TensorProduct.map f.toLinearMap LinearMap.id ((FormsTensor.PDFormsTensor.formsEquiv R A σ I δ x b hb n).symm ω) := by |
| 63 | apply (FormsTensor.PDFormsTensor.formsEquiv R B σ J ε y c hc n).injective |
| 64 | rw [LinearEquiv.apply_symm_apply, formsEquiv_naturality R A B σ I J δ ε x y f hf hxy b hb c hc, |
| 65 | LinearEquiv.apply_symm_apply] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.FormsTensorNaturality.PDFormsTensorNaturality |