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.RefinedCoefficientFraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.RefinedResidueClass |
| 3 | |
| 4 | /-! # Refined Coefficient Residue Class -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.RefinedCoefficientResidueClass |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluating the original finite-coefficient point transfer and then |
| 11 | taking its normal residue retains the same scalar point residue. -/ |
| 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 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 20 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) (s : Fin c → R) (t : Fin m → R) |
| 21 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 22 | {L K F T : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ} |
| 23 | (eP : HomotopyEquiv L (KoszulPartial.Components.coefficient R P (Fin.append s t))) |
| 24 | (eN : HomotopyEquiv K T) (eF : HomotopyEquiv F T) (r : L ⟶ K) |
| 25 | (δ : KoszulPartial.Components.coefficient R P (Fin.append s t) ⟶ T) (ev : T ⟶ KoszulPartial.Components.coefficient R P s) |
| 26 | (hr : Homotopy (r ≫ eN.hom) (eP.hom ≫ δ)) |
| 27 | (w : R) (he : Homotopy (δ ≫ ev) (w • DuplicateFraction.normalMap R s t P)) |
| 28 | (k : Type u) [CommRing k] [Algebra k R] |
| 29 | (hP : Function.Bijective (algebraMap R (P.obj (op (⊤_ C))))) |
| 30 | (d : ℕ) (hL : ∀ q, q ≠ d → L.ExactAt q) |
| 31 | (hzero : ∀ p q, 0 < q → ∀ a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) q, |
| 32 | IsZero ((((single (Cᵒᵖ ⥤ ModuleCat R) (.up ℕ) d).obj (L.homology d)).X p).obj |
| 33 | (op ((AugmentedOrdered.Cech.formal U q).obj a)))) |
| 34 | (e₀ : (R ⧸ OrientedTopCohomology.ideal R (Fin.append s t)) ≃ₐ[k] k) |
| 35 | (N : Cᵒᵖ ⥤ ModuleCat.{u} R) (α : KoszulPartial.Fractions.modules R P ⟶ N) |
| 36 | (hN : ∀ (a : Cᵒᵖ) (i : Fin c) (x : N.obj a), s i • x = 0) |
| 37 | |
| 38 | include hr he in |
| 39 | theorem refined_residue (y : (Supported.CechHomotopyEquivalence.functor U (c+m)).obj L) : |
| 40 | (Supported.CechHomotopyEquivalence.functor U (c+m)).map |
| 41 | (eF.hom ≫ ev ≫ CoefficientResidue.complexMap R P s N α hN) |
| 42 | (RefinedCoefficientFraction.refinedMap R U eN eF r (c+m) y) = |
| 43 | w • RefinedResidueClass.residueClass R P U s t ht eP |
| 44 | k hP d hL hzero e₀ N α y := by |
| 45 | have h := RefinedCoefficientFraction.fraction R P U s t ht |
| 46 | eP eN eF r δ ev hr w he k hP d hL hzero e₀ y |
| 47 | have h' := congrArg |
| 48 | ((Supported.CechHomotopyEquivalence.functor U (c+m)).map (CoefficientResidue.complexMap R P s N α hN)) h |
| 49 | rw [((Supported.CechHomotopyEquivalence.functor U (c+m)).map |
| 50 | (CoefficientResidue.complexMap R P s N α hN)).hom.map_smul] at h' |
| 51 | have hres : (Supported.CechHomotopyEquivalence.functor U (c+m)).map |
| 52 | (CoefficientResidue.complexMap R P s N α hN) |
| 53 | (KoszulPartial.PartialClass.supportedClass R P U s t ht |
| 54 | (RefinedScalarFraction.functional R P U s t eP k hP d hL hzero e₀ y)) = |
| 55 | RefinedResidueClass.residueClass R P U s t ht eP k hP d hL hzero e₀ N α y := |
| 56 | CoefficientResidueClass.supportedClass_residue R P U s t ht N α hN _ |
| 57 | have h'' := h'.trans (congrArg (fun z => w • z) hres) |
| 58 | simpa only [Functor.map_comp, ConcreteCategory.comp_apply, |
| 59 | RefinedCoefficientFraction.evaluatedMap, |
| 60 | Supported.CechHomotopyEquivalence.iso] using h'' |
| 61 | |
| 62 | variable (l : F ⟶ K) (hl : Homotopy (l ≫ eN.hom) eF.hom) |
| 63 | |
| 64 | include hr he hl in |
| 65 | theorem actual_residue [IsIso ((Supported.CechHomotopyEquivalence.functor U (c+m)).map l)] |
| 66 | (y : (Supported.CechHomotopyEquivalence.functor U (c+m)).obj L) : |
| 67 | (Supported.CechHomotopyEquivalence.functor U (c+m)).map |
| 68 | (eF.hom ≫ ev ≫ CoefficientResidue.complexMap R P s N α hN) |
| 69 | (((Supported.CechHomotopyEquivalence.functor U (c+m)).map r ≫ inv ((Supported.CechHomotopyEquivalence.functor U (c+m)).map l)) y) = |
| 70 | w • RefinedResidueClass.residueClass R P U s t ht eP |
| 71 | k hP d hL hzero e₀ N α y := by |
| 72 | have hi : inv ((Supported.CechHomotopyEquivalence.functor U (c+m)).map l) = (Supported.CechHomotopyEquivalence.refinementIso U eF eN (c+m)).inv := by |
| 73 | apply (cancel_mono ((Supported.CechHomotopyEquivalence.functor U (c+m)).map l)).mp |
| 74 | rw [IsIso.inv_hom_id, ← Supported.CechHomotopyEquivalence.refinementIso_hom U eF eN l hl (c+m), Iso.inv_hom_id] |
| 75 | rw [hi] |
| 76 | exact refined_residue R P U s t ht eP eN eF r δ ev hr w he |
| 77 | k hP d hL hzero e₀ N α hN y |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.RefinedCoefficientResidueClass |