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.RelativeCech.Refinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.SupportedRecovery |
| 4 | |
| 5 | /-! # Common Refinement -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.CommonRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A common refinement compares the local residue cover with a |
| 12 | global complementary cover and recovers the original supported class. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.HomologicalComplex |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | private theorem recovery_eq {D : Type*} [Category D] {A B C E T : D} |
| 21 | (a : A ⟶ B) (b : A ⟶ C) (r : B ⟶ E) (s : C ⟶ E) [IsIso s] |
| 22 | (e : C ⟶ T) (h : a ≫ r = b ≫ s) : |
| 23 | a ≫ r ≫ inv s ≫ e = b ≫ e := by |
| 24 | rw [← Category.assoc a, h] |
| 25 | simp only [Category.assoc, IsIso.hom_inv_id_assoc] |
| 26 | |
| 27 | universe u |
| 28 | variable {X : TopCat.{u}} (U : Opens X) |
| 29 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 30 | (V : ι → Opens X) (W : κ → Opens X) (T : ν → Opens X) |
| 31 | (r : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk ι V) |
| 32 | (s : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk κ W) |
| 33 | {D : Type (u+1)} [Category.{u} D] [Abelian D] [HasLimitsOfSize.{u,u} D] |
| 34 | [HasCoproducts.{0} D] |
| 35 | (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) (n : ℕ) |
| 36 | |
| 37 | def comparison [IsIso (Refinement.homology U W T s K n)] : |
| 38 | ((Total.source U V K).total (.up ℕ)).homology n ⟶ |
| 39 | ((Total.target U W K).total (.up ℕ)).homology n := |
| 40 | Refinement.homology U V T r K n ≫ |
| 41 | inv (Refinement.homology U W T s K n) ≫ |
| 42 | homologyMap (Total.map U W K) n |
| 43 | |
| 44 | omit K in |
| 45 | theorem supported_recovery |
| 46 | (O : Opens X) (L : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) |
| 47 | (hzero : ∀ q, IsZero ((L.X q).obj.obj (Opposite.op O))) |
| 48 | (hV : ∀ i, V i ≤ O) (hW : ∀ i, W i ≤ O) (hT : ∀ i, T i ≤ O) |
| 49 | [IsIso (Refinement.homology U W T s |
| 50 | (SupportedCoordinates.underlying D X L) n)] : |
| 51 | homologyMap (SupportedRecovery.localLift D X U V O L hzero hV) n ≫ |
| 52 | comparison U V W T r s (SupportedCoordinates.underlying D X L) n = |
| 53 | homologyMap (Presheaf.OrderedCechEdge.edge |
| 54 | (Intersections.cover U W) |
| 55 | (SupportedCoordinates.underlying D X L)) n := by |
| 56 | have hr := congrArg (fun a => homologyMap a n) |
| 57 | (Supported.CechRefinement.global_lift D X (Intersections.intersect U) |
| 58 | V T r O L (fun i => inf_le_right.trans (hV i)) |
| 59 | (fun i => inf_le_right.trans (hT i)) hzero) |
| 60 | have hs := congrArg (fun a => homologyMap a n) |
| 61 | (Supported.CechRefinement.global_lift D X (Intersections.intersect U) |
| 62 | W T s O L (fun i => inf_le_right.trans (hW i)) |
| 63 | (fun i => inf_le_right.trans (hT i)) hzero) |
| 64 | simp only [homologyMap_comp, Category.assoc] at hr hs |
| 65 | have h : homologyMap (SupportedRecovery.localLift D X U V O L hzero hV) n ≫ |
| 66 | Refinement.homology U V T r |
| 67 | (SupportedCoordinates.underlying D X L) n = |
| 68 | homologyMap (SupportedRecovery.localLift D X U W O L hzero hW) n ≫ |
| 69 | Refinement.homology U W T s |
| 70 | (SupportedCoordinates.underlying D X L) n := by |
| 71 | simp only [SupportedRecovery.localLift, homologyMap_comp, Category.assoc] |
| 72 | convert hr.trans hs.symm using 1 <;> rfl |
| 73 | unfold comparison |
| 74 | rw [recovery_eq _ _ _ _ _ h] |
| 75 | exact SupportedRecovery.homology_recovery D X U W O L hzero hW n |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.CommonRefinement |