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.TerminalScalars |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.SupportedTransfer |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.PureForget |
| 4 | |
| 5 | /-! # Supported Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.SupportedIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The duplicate-parameter construction gives the unique supported |
| 12 | lift of every class of the original dual resolution. Its isomorphism |
| 13 | uses the literal scalar map and original support-forgetting map. -/ |
| 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 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechForgetNaturality |
| 21 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 22 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 23 | (hP : Function.Bijective (algebraMap R (P.obj (op (⊤_ C))))) |
| 24 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) (s : Fin c → R) (t : Fin m → R) |
| 25 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 26 | {L : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ} |
| 27 | (e : HomotopyEquiv L (KoszulPartial.Components.coefficient R P (Fin.append s t))) |
| 28 | |
| 29 | def ambientIso (q : ℕ) : |
| 30 | (DualComplexHomology.complex R |
| 31 | (Koszul.OrientedTopCohomology.koszul R (Fin.append s t))).homology q ≅ |
| 32 | (Supported.ConcentrationForget.ambientFunctor q).obj L := by |
| 33 | letI := Koszul.TerminalScalars.isIso R P (Fin.append s t) hP |
| 34 | let F := (CategoryTheory.evaluation Cᵒᵖ (ModuleCat R)).obj (op (⊤_ C)) |
| 35 | exact homologyMapIso (asIso (KoszulPartial.CanonicalMap.scalarsMap R P (Fin.append s t))) q ≪≫ |
| 36 | ((F.mapHomotopyEquiv e).toHomologyIso q).symm |
| 37 | |
| 38 | theorem ambientIso_hom (q : ℕ) : (ambientIso R P hP s t e q).hom = |
| 39 | homologyMap (KoszulPartial.CanonicalMap.scalarsMap R P (Fin.append s t)) q ≫ |
| 40 | homologyMap (AugmentedOrdered.CechForgetNaturality.ambientMap e.inv) q := rfl |
| 41 | |
| 42 | variable (d : ℕ) (hL : ∀ q, q ≠ d → L.ExactAt q) |
| 43 | (hzero : ∀ p q, 0 < q → ∀ a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) q, |
| 44 | IsZero ((((single (Cᵒᵖ ⥤ ModuleCat R) (.up ℕ) d).obj (L.homology d)).X p).obj |
| 45 | (op ((AugmentedOrdered.Cech.formal U q).obj a)))) |
| 46 | |
| 47 | def iso (q : ℕ) := ambientIso R P hP s t e q ≪≫ |
| 48 | (Supported.PureForget.iso U L d hL hzero q).symm |
| 49 | |
| 50 | theorem iso_hom (q : ℕ) : (iso R P hP U s t e d hL hzero q).hom = |
| 51 | homologyMap (SupportedTransfer.lift R P U s t ht e) q := by |
| 52 | apply (cancel_mono (Supported.PureForget.iso U L d hL hzero q).hom).mp |
| 53 | dsimp only [iso, Iso.trans_hom, Iso.symm_hom] |
| 54 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 55 | rw [Supported.PureForget.iso_hom, ambientIso_hom] |
| 56 | have h := congrArg (fun a => homologyMap a q) |
| 57 | (SupportedTransfer.forget R P U s t ht e) |
| 58 | simpa only [homologyMap_comp] using h.symm |
| 59 | |
| 60 | include ht in |
| 61 | theorem inverse_lift (q : ℕ) : |
| 62 | (iso R P hP U s t e d hL hzero q).inv ≫ |
| 63 | homologyMap (SupportedTransfer.lift R P U s t ht e) q = 𝟙 _ := by |
| 64 | rw [← iso_hom R P hP U s t ht e d hL hzero q] |
| 65 | exact Iso.inv_hom_id _ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.SupportedIso |