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.Koszul.DuplicateFraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.ResolutionOrientation |
| 3 | |
| 4 | /-! # Resolution -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.Resolution.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The product point Koszul complex and the standard concatenated |
| 11 | Koszul complex have the same literal quotient augmentation. Their |
| 12 | comparisons from any fixed original resolution therefore agree. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 19 | variable (R : Type u) [CommRing R] {c m : ℕ} |
| 20 | (s : Fin c → R) (t : Fin m → R) |
| 21 | (hst : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn (Fin.append s t))) |
| 22 | |
| 23 | theorem full_ideal : Koszul.OrientedTopCohomology.ideal R (Fin.append s t) = |
| 24 | KoszulPartial.Resolution.pointIdeal R s t := by |
| 25 | change Koszul.OrientedTopCohomology.ideal R (Fin.append s t) = |
| 26 | Koszul.OrientedTopCohomology.ideal R |
| 27 | (fun i => KoszulPartial.Differential.equation R s t (KoszulPartial.TopResidue.basis R i)) |
| 28 | rw [KoszulPartial.Resolution.basis_values] |
| 29 | |
| 30 | abbrev fullResolution : ProjectiveResolution (ModuleCat.of R (R ⧸ KoszulPartial.Resolution.pointIdeal R s t)) := |
| 31 | Koszul.ResolutionOrientation.resolutionAtIdeal R (KoszulPartial.Resolution.pointIdeal R s t) |
| 32 | (Fin.append s t) (full_ideal R s t) hst |
| 33 | |
| 34 | theorem augmentation : (Koszul.DuplicateFraction.pointIso R s t).hom ≫ |
| 35 | (KoszulPartial.Resolution.pointResolution R s t hst).π = (fullResolution R s t hst).π := by |
| 36 | apply HomologicalComplex.Hom.ext |
| 37 | funext q |
| 38 | cases q with |
| 39 | | zero => |
| 40 | rw [HomologicalComplex.comp_f] |
| 41 | change (Koszul.DuplicateFraction.pointIso R s t).hom.f 0 ≫ |
| 42 | (Exterior.KoszulBasisResolution.resolution R (KoszulPartial.TopResidue.basis R) |
| 43 | (KoszulPartial.Differential.equation R s t) _).π.f 0 = |
| 44 | (Koszul.ResolutionOrientation.resolutionAtIdeal R (KoszulPartial.Resolution.pointIdeal R s t) |
| 45 | (Fin.append s t) (full_ideal R s t) hst).π.f 0 |
| 46 | rw [Exterior.KoszulBasisResolution.resolution_π_zero, |
| 47 | Koszul.ResolutionOrientation.resolutionAtIdeal_π_zero] |
| 48 | apply ModuleCat.hom_ext |
| 49 | apply LinearMap.ext |
| 50 | intro x |
| 51 | change (KoszulPartial.Resolution.pointIdeal R s t).mkQ |
| 52 | (exteriorPower.zeroEquiv R (KoszulPartial.Fractions.ambient R (c := c) (m := m)) |
| 53 | (exteriorPower.map 0 (KoszulPartial.TopResidue.basis R).equivFun.symm.toLinearMap x)) = |
| 54 | (KoszulPartial.Resolution.pointIdeal R s t).mkQ (exteriorPower.zeroEquiv R (Fin (c+m) → R) x) |
| 55 | exact congrArg (KoszulPartial.Resolution.pointIdeal R s t).mkQ (LinearMap.congr_fun |
| 56 | (exteriorPower.zeroEquiv_naturality |
| 57 | (KoszulPartial.TopResidue.basis R).equivFun.symm.toLinearMap) x) |
| 58 | | succ q => |
| 59 | exact (isZero_single_obj_X (.down ℕ) 0 |
| 60 | (ModuleCat.of R (R ⧸ KoszulPartial.Resolution.pointIdeal R s t)) (q+1) (by omega)).eq_of_tgt _ _ |
| 61 | |
| 62 | theorem comparison |
| 63 | (Q : ProjectiveResolution (ModuleCat.of R (R ⧸ KoszulPartial.Resolution.pointIdeal R s t))) (q : ℕ) : |
| 64 | (IntegralComparison.ProjectiveResolution.Hom.Comparison.homologyIso (ExactModuleDualFunctor.functor R) |
| 65 | Q (KoszulPartial.Resolution.pointResolution R s t hst) q).hom ≫ |
| 66 | homologyMap (DualComplexHomology.map R (Koszul.DuplicateFraction.pointIso R s t).hom) q = |
| 67 | (IntegralComparison.ProjectiveResolution.Hom.Comparison.homologyIso (ExactModuleDualFunctor.functor R) |
| 68 | Q (fullResolution R s t hst) q).hom := |
| 69 | Koszul.ResolutionOrientation.comparison_naturality R Q (KoszulPartial.Resolution.pointResolution R s t hst) |
| 70 | (fullResolution R s t hst) (Koszul.DuplicateFraction.pointIso R s t).hom |
| 71 | (augmentation R s t hst) q |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.Resolution.Comparison |