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.RefinedScalarFraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.CoefficientResidueClass |
| 3 | |
| 4 | /-! # Refined Residue Class -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.RefinedResidueClass |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual right/inverse-left refinement sends the fixed supported |
| 11 | point class to its coefficient residue, with its canonical scalar intact. -/ |
| 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 : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ} |
| 23 | (eP : HomotopyEquiv L (KoszulPartial.Components.coefficient R P (Fin.append s t))) |
| 24 | (eN : HomotopyEquiv K (KoszulPartial.Components.coefficient R P s)) |
| 25 | (eF : HomotopyEquiv F (KoszulPartial.Components.coefficient R P s)) (r : L ⟶ K) |
| 26 | (hr : Homotopy (r ≫ eN.hom) (eP.hom ≫ DuplicateFraction.normalMap R s t P)) |
| 27 | (k : Type u) [CommRing k] [Algebra k R] |
| 28 | (hP : Function.Bijective (algebraMap R (P.obj (op (⊤_ C))))) |
| 29 | (d : ℕ) (hL : ∀ q, q ≠ d → L.ExactAt q) |
| 30 | (hzero : ∀ p q, 0 < q → ∀ a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) q, |
| 31 | IsZero ((((single (Cᵒᵖ ⥤ ModuleCat R) (.up ℕ) d).obj (L.homology d)).X p).obj |
| 32 | (op ((AugmentedOrdered.Cech.formal U q).obj a)))) |
| 33 | (e₀ : (R ⧸ OrientedTopCohomology.ideal R (Fin.append s t)) ≃ₐ[k] k) |
| 34 | (N : Cᵒᵖ ⥤ ModuleCat.{u} R) (α : KoszulPartial.Fractions.modules R P ⟶ N) |
| 35 | (hN : ∀ (a : Cᵒᵖ) (i : Fin c) (x : N.obj a), s i • x = 0) |
| 36 | |
| 37 | def residueClass (y : (Supported.CechHomotopyEquivalence.functor U (c+m)).obj L) := |
| 38 | AugmentedOrdered.CechLargeTop.topTotalClass U |
| 39 | (CoefficientResidueClass.residueTarget R (c := c) N) m (by simp) c |
| 40 | (CoefficientResidueClass.residueValue R P U t ht N α |
| 41 | (RefinedScalarFraction.functional R P U s t eP k hP d hL hzero e₀ y)) |
| 42 | (CoefficientResidueClass.residueValue_closed R P U t ht N α _) |
| 43 | |
| 44 | include hr in |
| 45 | theorem refined_residue (y : (Supported.CechHomotopyEquivalence.functor U (c+m)).obj L) : |
| 46 | (Supported.CechHomotopyEquivalence.functor U (c+m)).map (eF.hom ≫ CoefficientResidue.complexMap R P s N α hN) |
| 47 | (RefinedScalarFraction.refinedMap R P U s eN eF r (c+m) y) = |
| 48 | residueClass R P U s t ht eP k hP d hL hzero e₀ N α y := by |
| 49 | rw [Functor.map_comp] |
| 50 | change (Supported.CechHomotopyEquivalence.functor U (c+m)).map (CoefficientResidue.complexMap R P s N α hN) |
| 51 | ((Supported.CechHomotopyEquivalence.iso U eF (c+m)).hom |
| 52 | (RefinedScalarFraction.refinedMap R P U s eN eF r (c+m) y)) = _ |
| 53 | rw [RefinedScalarFraction.fraction R P U s t ht eP eN eF r hr |
| 54 | k hP d hL hzero e₀ y] |
| 55 | exact CoefficientResidueClass.supportedClass_residue R P U s t ht N α hN _ |
| 56 | |
| 57 | variable (l : F ⟶ K) (hl : Homotopy (l ≫ eN.hom) eF.hom) |
| 58 | |
| 59 | include hl in |
| 60 | theorem left_isIso (q : ℕ) : IsIso ((Supported.CechHomotopyEquivalence.functor U q).map l) := by |
| 61 | rw [← Supported.CechHomotopyEquivalence.refinementIso_hom U eF eN l hl q] |
| 62 | infer_instance |
| 63 | |
| 64 | include hr 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 (eF.hom ≫ CoefficientResidue.complexMap R P s N α hN) |
| 68 | (((Supported.CechHomotopyEquivalence.functor U (c+m)).map r ≫ inv ((Supported.CechHomotopyEquivalence.functor U (c+m)).map l)) y) = |
| 69 | residueClass R P U s t ht eP k hP d hL hzero e₀ N α y := by |
| 70 | have hi : inv ((Supported.CechHomotopyEquivalence.functor U (c+m)).map l) = (Supported.CechHomotopyEquivalence.refinementIso U eF eN (c+m)).inv := by |
| 71 | apply (cancel_mono ((Supported.CechHomotopyEquivalence.functor U (c+m)).map l)).mp |
| 72 | rw [IsIso.inv_hom_id, ← Supported.CechHomotopyEquivalence.refinementIso_hom U eF eN l hl (c+m), Iso.inv_hom_id] |
| 73 | rw [hi] |
| 74 | exact refined_residue R P U s t ht eP eN eF r hr k hP d hL hzero e₀ N α hN y |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.RefinedResidueClass |