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.PeriodInvariants.EtaCohomologyNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaDegreeZero |
| 3 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ZeroDifferentialHomologyMaps |
| 4 | |
| 5 | /-! # Eta Quasi Isomorphisms -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaQuasiIsomorphisms |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Eta preserves quasi-isomorphisms of scalar-torsion-free complexes |
| 13 | |
| 14 | The degree-zero inclusion is a quasi-isomorphism without any regularity |
| 15 | assumption. The positive-degree quotient calculation then proves the |
| 16 | claim for every nonnegative degree of termwise scalar-torsion-free |
| 17 | complexes, using the actual induced cochain map. |
| 18 | -/ |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | open _root_.CategoryTheory OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaComplex OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaCycles OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaDegreeZero |
| 23 | ModuleHomologyMaps ZeroDifferentialHomologyMaps EtaCohomologyNaturality |
| 24 | |
| 25 | variable {R : Type u} [CommRing R] (a : R) |
| 26 | {C D : CochainComplex (ModuleCat.{v} R) ℕ} (f : C ⟶ D) |
| 27 | |
| 28 | def zeroShortMap : C.sc' 0 0 1 ⟶ D.sc' 0 0 1 := |
| 29 | (HomologicalComplex.shortComplexFunctor' _ _ 0 0 1).map f |
| 30 | |
| 31 | theorem quasiIsoAt_zero_iff : QuasiIsoAt f 0 ↔ Function.Bijective (ModuleHomologyMaps.cycleMap (zeroShortMap f)) := |
| 32 | (CochainComplex.quasiIsoAt₀_iff f).trans |
| 33 | (ZeroDifferentialHomologyMaps.quasiIso_iff_cycleMap_bijective (zeroShortMap f) |
| 34 | (by change C.d 0 0 = 0; simp) (by change D.d 0 0 = 0; simp)) |
| 35 | |
| 36 | theorem inclusion_cycleMap_bijective (C : CochainComplex (ModuleCat.{v} R) ℕ) : |
| 37 | Function.Bijective (ModuleHomologyMaps.cycleMap (zeroShortMap (EtaComplex.inclusion a C))) := by |
| 38 | constructor |
| 39 | · intro x y h |
| 40 | apply Subtype.ext |
| 41 | apply Subtype.ext |
| 42 | exact congrArg (fun z : LinearMap.ker (C.d 0 1).hom => z.val) h |
| 43 | · intro x |
| 44 | refine ⟨(EtaDegreeZero.etaCyclesEquiv a C 0).symm (EtaCycles.scaleCycles a C 0 x), ?_⟩ |
| 45 | apply Subtype.ext |
| 46 | change a ^ 0 • (x.val : C.X 0) = (x.val : C.X 0) |
| 47 | rw [pow_zero, one_smul] |
| 48 | |
| 49 | theorem inclusion_quasiIsoAt_zero (C : CochainComplex (ModuleCat.{v} R) ℕ) : |
| 50 | QuasiIsoAt (EtaComplex.inclusion a C) 0 := |
| 51 | (quasiIsoAt_zero_iff (EtaComplex.inclusion a C)).mpr (inclusion_cycleMap_bijective a C) |
| 52 | |
| 53 | theorem eta_quasiIsoAt_zero [QuasiIsoAt f 0] : QuasiIsoAt (EtaComplex.etaMap a f) 0 := by |
| 54 | let _ := inclusion_quasiIsoAt_zero a C |
| 55 | let _ := inclusion_quasiIsoAt_zero a D |
| 56 | have hcomp : QuasiIsoAt (EtaComplex.etaMap a f ≫ EtaComplex.inclusion a D) 0 := by |
| 57 | rw [EtaComplex.inclusion_natural] |
| 58 | infer_instance |
| 59 | exact quasiIsoAt_of_comp_right (EtaComplex.etaMap a f) (EtaComplex.inclusion a D) 0 |
| 60 | |
| 61 | theorem etaMap_quasiIso (hC : ∀ n, IsSMulRegular (C.X n) a) |
| 62 | (hD : ∀ n, IsSMulRegular (D.X n) a) [QuasiIso f] : QuasiIso (EtaComplex.etaMap a f) where |
| 63 | quasiIsoAt n := by |
| 64 | cases n with |
| 65 | | zero => exact eta_quasiIsoAt_zero a f |
| 66 | | succ n => |
| 67 | exact EtaCohomologyNaturality.eta_quasiIsoAt_succ a f n |
| 68 | (hC (n + 1)) (hC (n + 1 + 1)) (hD (n + 1)) (hD (n + 1 + 1)) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaQuasiIsomorphisms |