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.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.ExteriorCup |
| 2 | |
| 3 | /-! # Exterior Naturality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.ExteriorNaturality.Cup |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A map of cosimplicial algebras acts on the exterior cup product by |
| 10 | the exterior power of its original degree-one cohomology map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | open scoped Simplicial |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClassNaturality |
| 16 | ModuleComplex CohomologyRing |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] {A B : CosimplicialObject (CommAlgCat.{v} R)} |
| 21 | |
| 22 | theorem cohomologyOne_natural (f : A ⟶ B) : |
| 23 | HomologicalComplex.homologyMap (ModuleCup.complexMap f) 0 (ModuleCupAlgebra.cohomologyOne A) = ModuleCupAlgebra.cohomologyOne B := by |
| 24 | have h : Module.CochainClassNaturality.cycleMap (ModuleCup.complexMap f) 0 (ModuleCupAlgebra.cycleOne A) = ModuleCupAlgebra.cycleOne B := by |
| 25 | apply Subtype.ext |
| 26 | exact (f.app ⦋0⦌).hom.map_one |
| 27 | exact (Module.CochainClassNaturality.naturality_apply (ModuleCup.complexMap f) 0 (ModuleCupAlgebra.cycleOne A)).symm.trans |
| 28 | (congrArg (Module.CochainClasses.classMap (ModuleComplex.complex B) 0) h) |
| 29 | |
| 30 | theorem iteratedCup_natural (f : A ⟶ B) (n : ℕ) (x : Fin n → CohomologyRing.cohomology A 1) : |
| 31 | HomologicalComplex.homologyMap (ModuleCup.complexMap f) n (ExteriorCup.iteratedCup A n x) = |
| 32 | ExteriorCup.iteratedCup B n (fun i => HomologicalComplex.homologyMap (ModuleCup.complexMap f) 1 (x i)) := by |
| 33 | induction n with |
| 34 | | zero => exact cohomologyOne_natural f |
| 35 | | succ n ih => simp only [ExteriorCup.iteratedCup, ModuleCup.cohomologyCup_natural, ih] |
| 36 | |
| 37 | variable [Invertible (2 : A.obj ⦋1⦌)] [Invertible (2 : A.obj ⦋2⦌)] |
| 38 | [Invertible (2 : B.obj ⦋1⦌)] [Invertible (2 : B.obj ⦋2⦌)] |
| 39 | |
| 40 | theorem exteriorPowerCup_natural (f : A ⟶ B) (n : ℕ) : |
| 41 | (HomologicalComplex.homologyMap (ModuleCup.complexMap f) n).hom.comp (ExteriorCup.exteriorPowerCup A n) = |
| 42 | (ExteriorCup.exteriorPowerCup B n).comp |
| 43 | (exteriorPower.map n (HomologicalComplex.homologyMap (ModuleCup.complexMap f) 1).hom) := by |
| 44 | apply LinearMap.ext_on (exteriorPower.ιMulti_span R n (CohomologyRing.cohomology A 1)) |
| 45 | rintro w ⟨x, rfl⟩ |
| 46 | simp only [LinearMap.comp_apply, exteriorPower.map_apply_ιMulti, ExteriorCup.exteriorPowerCup_multi] |
| 47 | exact iteratedCup_natural f n x |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.ExteriorNaturality.Cup |