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.KoszulPoint.SupportedLift |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.HomPresheafMap |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.SupportedUniqueness |
| 4 | |
| 5 | /-! # Duplicate Fraction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.DuplicateFraction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The explicit duplicate-parameter lift of the point Koszul complex, |
| 12 | followed by its canonical map to the normal complex, is the genuine |
| 13 | mixed partial fraction, up to cochain homotopy. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components |
| 20 | variable (R : Type u) [CommRing R] {c m : ℕ} |
| 21 | (s : Fin c → R) (t : Fin m → R) |
| 22 | |
| 23 | def pointIso : OrientedTopCohomology.koszul R (Fin.append s t) ≅ |
| 24 | Exterior.KoszulComplex.complex R (KoszulPartial.Fractions.ambient R (c := c) (m := m)) |
| 25 | (KoszulPartial.Differential.equation R s t) := |
| 26 | Exterior.KoszulBasisResolution.complexIso R _ _ |
| 27 | (KoszulPartial.TopResidue.basis R).equivFun.symm (by |
| 28 | simpa only [KoszulPartial.Resolution.basis_values] using |
| 29 | Exterior.KoszulBasisResolution.equation_basis R |
| 30 | (KoszulPartial.TopResidue.basis R) (KoszulPartial.Differential.equation R s t)) |
| 31 | |
| 32 | def normalInclusion : OrientedTopCohomology.koszul R s ⟶ |
| 33 | OrientedTopCohomology.koszul R (Fin.append s t) := |
| 34 | KoszulPartial.Resolution.inclusion R s t ≫ (pointIso R s t).inv |
| 35 | |
| 36 | theorem normalInclusion_pointIso : normalInclusion R s t ≫ (pointIso R s t).hom = |
| 37 | KoszulPartial.Resolution.inclusion R s t := by |
| 38 | simp [normalInclusion] |
| 39 | |
| 40 | theorem dual_comp {K L M : ChainComplex (ModuleCat.{u} R) ℕ} (f : K ⟶ L) (g : L ⟶ M) : |
| 41 | DualComplexHomology.map R g ≫ DualComplexHomology.map R f = |
| 42 | DualComplexHomology.map R (f ≫ g) := by |
| 43 | apply HomologicalComplex.Hom.ext |
| 44 | funext q |
| 45 | rfl |
| 46 | |
| 47 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 48 | (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) (U : ULift.{u} (Fin m) → C) |
| 49 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 50 | |
| 51 | def normalMap : KoszulPartial.Components.coefficient R P (Fin.append s t) ⟶ KoszulPartial.Components.coefficient R P s := |
| 52 | HomPresheafMap.map R P s (Fin.append s t) (normalInclusion R s t) |
| 53 | |
| 54 | def supportedMap : KoszulPartial.Components.source R s t ⟶ (KoszulPartial.Components.target R P U s).total (.up ℕ) := |
| 55 | DualComplexHomology.map R (pointIso R s t).hom ≫ |
| 56 | KoszulPoint.SupportedLift.map R s t P U ht (normalMap R s t P) |
| 57 | |
| 58 | theorem forget : supportedMap R s t P U ht ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s) = |
| 59 | KoszulPartial.Total.map R P U s t ht ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s) := by |
| 60 | dsimp only [supportedMap] |
| 61 | rw [Category.assoc, KoszulPoint.SupportedLift.map_forget] |
| 62 | change DualComplexHomology.map R (pointIso R s t).hom ≫ |
| 63 | (KoszulPartial.CanonicalMap.scalarsMap R P (Fin.append s t) ≫ |
| 64 | AugmentedOrdered.CechForgetNaturality.ambientMap |
| 65 | (HomPresheafMap.map R P s (Fin.append s t) (normalInclusion R s t))) = _ |
| 66 | rw [HomPresheafMap.scalars, ← Category.assoc, dual_comp, |
| 67 | normalInclusion_pointIso] |
| 68 | exact (KoszulPartial.CanonicalMap.forget_factorization R P U s t ht).symm |
| 69 | |
| 70 | def homotopy : Homotopy (supportedMap R s t P U ht) (KoszulPartial.Total.map R P U s t ht) := |
| 71 | SupportedUniqueness.to_partial R P U s t ht _ |
| 72 | (Homotopy.ofEq (forget R s t P U ht)) |
| 73 | |
| 74 | theorem homology (q : ℕ) : homologyMap (supportedMap R s t P U ht) q = |
| 75 | homologyMap (KoszulPartial.Total.map R P U s t ht) q := |
| 76 | (homotopy R s t P U ht).homologyMap_eq q |
| 77 | |
| 78 | theorem class_eq (φ : Module.Dual R (⋀[R]^(c + m) (KoszulPartial.Fractions.ambient R (c := c) (m := m)))) : |
| 79 | homologyMap (supportedMap R s t P U ht) (c + m) |
| 80 | (KoszulPartial.PartialClass.sourceClass R s t φ) = |
| 81 | KoszulPartial.PartialClass.supportedClass R P U s t ht φ := by |
| 82 | rw [homology, KoszulPartial.PartialClass.supportedClass_eq] |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.DuplicateFraction |