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.SupportedUniqueness |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.SupportedMap |
| 3 | |
| 4 | /-! # Resolution Supported Uniqueness -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.ResolutionSupportedUniqueness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical supported point map for any genuine projective |
| 11 | resolution, with uniqueness and representatives for every point class. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 19 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 20 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 21 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) (s : Fin c → R) (t : Fin m → R) |
| 22 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 23 | (hst : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn (Fin.append s t))) |
| 24 | (Q : ProjectiveResolution (ModuleCat.of R (R ⧸ KoszulPartial.Resolution.pointIdeal R s t))) |
| 25 | |
| 26 | abbrev equivalence := IntegralComparison.ProjectiveResolution.Hom.Comparison.homotopyEquiv |
| 27 | (ExactModuleDualFunctor.functor R) Q (KoszulPartial.Resolution.pointResolution R s t hst) |
| 28 | |
| 29 | def cochainMap : DualComplexHomology.complex R Q.complex ⟶ (KoszulPartial.Components.target R P U s).total (.up ℕ) := |
| 30 | (equivalence R s t hst Q).hom ≫ KoszulPartial.Total.map R P U s t ht |
| 31 | |
| 32 | theorem cochainMap_homology (n : ℕ) : |
| 33 | homologyMap (cochainMap R P U s t ht hst Q) n = |
| 34 | KoszulPartial.SupportedMap.map R P U s t ht hst Q n := by |
| 35 | rw [cochainMap, homologyMap_comp] |
| 36 | rfl |
| 37 | |
| 38 | def homotopy (f g : DualComplexHomology.complex R Q.complex ⟶ |
| 39 | (KoszulPartial.Components.target R P U s).total (.up ℕ)) |
| 40 | (h : Homotopy (f ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) |
| 41 | (g ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s))) : Homotopy f g := by |
| 42 | let e := equivalence R s t hst Q |
| 43 | let h' := SupportedUniqueness.homotopy R P U s t ht (e.inv ≫ f) (e.inv ≫ g) |
| 44 | ((Homotopy.ofEq (Category.assoc _ _ _)).trans |
| 45 | ((h.compLeft e.inv).trans (Homotopy.ofEq (Category.assoc _ _ _).symm))) |
| 46 | exact (e.homotopyHomInvId.compRightId f).symm.trans |
| 47 | ((Homotopy.ofEq (Category.assoc _ _ _)).trans |
| 48 | ((h'.compLeft e.hom).trans |
| 49 | ((Homotopy.ofEq (Category.assoc _ _ _).symm).trans |
| 50 | (e.homotopyHomInvId.compRightId g)))) |
| 51 | |
| 52 | theorem homology_eq (f : DualComplexHomology.complex R Q.complex ⟶ |
| 53 | (KoszulPartial.Components.target R P U s).total (.up ℕ)) |
| 54 | (h : Homotopy (f ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) |
| 55 | (cochainMap R P U s t ht hst Q ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s))) (n : ℕ) : |
| 56 | homologyMap f n = KoszulPartial.SupportedMap.map R P U s t ht hst Q n := by |
| 57 | rw [← cochainMap_homology] |
| 58 | exact (homotopy R P U s t ht hst Q f _ h).homologyMap_eq n |
| 59 | |
| 60 | theorem sourceClass_surjective : Function.Surjective (KoszulPartial.PartialClass.sourceClass R s t) := by |
| 61 | intro z |
| 62 | obtain ⟨x, hx⟩ := IntegralComparison.Module.CochainClasses.classMap_surjective (KoszulPartial.Components.source R s t) (c + m) z |
| 63 | refine ⟨x.val, ?_⟩ |
| 64 | exact (congrArg (IntegralComparison.Module.CochainClasses.classMap (KoszulPartial.Components.source R s t) (c + m)) |
| 65 | (show KoszulPartial.PartialClass.sourceCycle R s t x.val = x from Subtype.ext rfl)).trans hx |
| 66 | |
| 67 | theorem represents (z : (DualComplexHomology.complex R Q.complex).homology (c + m)) : |
| 68 | ∃ φ : Module.Dual R (⋀[R]^(c + m) (KoszulPartial.Fractions.ambient R (c := c) (m := m))), |
| 69 | (IntegralComparison.ProjectiveResolution.Hom.Comparison.homologyIso (ExactModuleDualFunctor.functor R) |
| 70 | Q (KoszulPartial.Resolution.pointResolution R s t hst) (c + m)).hom z = KoszulPartial.PartialClass.sourceClass R s t φ ∧ |
| 71 | KoszulPartial.SupportedMap.map R P U s t ht hst Q (c + m) z = |
| 72 | KoszulPartial.PartialClass.supportedClass R P U s t ht φ := by |
| 73 | obtain ⟨φ, hφ⟩ := sourceClass_surjective R s t |
| 74 | ((IntegralComparison.ProjectiveResolution.Hom.Comparison.homologyIso (ExactModuleDualFunctor.functor R) |
| 75 | Q (KoszulPartial.Resolution.pointResolution R s t hst) (c + m)).hom z) |
| 76 | exact ⟨φ, hφ.symm, KoszulPartial.SupportedMap.class_eq R P U s t ht hst Q z φ hφ.symm⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.ResolutionSupportedUniqueness |