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.Supported.SectionsRestrictionIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalSupportCover |
| 3 | |
| 4 | /-! # Single Same Support -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleSameSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction between affine diagrams containing the same support is |
| 11 | inverse to the canonical supported candidate. Every original class has |
| 12 | the same global comparison after restriction, without a scalar condition. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem iso_of_triangle {D : Type*} [Category D] {A B C : D} |
| 18 | (a : A ⟶ B) (b : A ⟶ C) (r : B ⟶ C) [IsIso a] [IsIso b] |
| 19 | (h : a ≫ r = b) : IsIso r := by |
| 20 | have hr : r = inv a ≫ b := by |
| 21 | apply (cancel_epi a).mp |
| 22 | simpa only [Category.assoc, IsIso.hom_inv_id_assoc] using h |
| 23 | rw [hr] |
| 24 | infer_instance |
| 25 | |
| 26 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.InjectiveIntegerCoordinates |
| 27 | variable {X : Scheme.{0}} {C : Type} [Preorder C] [HasFiniteProducts C] |
| 28 | (F G : C ⥤ X.Opens) (α : G ⟶ F) {ι : Type} [LinearOrder ι] (W : ι → C) |
| 29 | [∀ (d : ℕ) (a : Fin (d+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 30 | [∀ (d : ℕ) (a : Fin (d+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) G] |
| 31 | (O : X.Opens) (H : InjectiveIntegerRows.SingleSupportedCandidate.Conditions F G W O O) |
| 32 | (N : X.Modules) [N.IsQuasicoherent] (c q : ℕ) |
| 33 | |
| 34 | include H in |
| 35 | omit [N.IsQuasicoherent] in |
| 36 | theorem module_restriction_isIso : IsIso (homologyMap (InjectiveIntegerCoordinates.restriction F W N c G α) q) := by |
| 37 | let : IsIso (Supported.OrderedCechRestriction.sourceMap ℤ X F G α O (InjectiveIntegerCoordinates.complex N c)) := |
| 38 | Supported.SectionsRestrictionIso.complex_isIso O (F.obj (⊤_ C)) (G.obj (⊤_ C)) |
| 39 | (leOfHom (α.app (⊤_ C))) H.wide_global H.local_global (InjectiveIntegerCoordinates.complex N c) |
| 40 | let := Supported.OrderedCech.Comparison.quasiIso ℤ X F W O (InjectiveIntegerCoordinates.complex N c) |
| 41 | H.wide_punctured H.wide_cover (InjectiveIntegerRows.exactAt_succ F W N c) |
| 42 | let := Supported.OrderedCech.Comparison.quasiIso ℤ X G W O (InjectiveIntegerCoordinates.complex N c) |
| 43 | H.local_punctured H.local_cover (InjectiveIntegerRows.exactAt_succ G W N c) |
| 44 | exact iso_of_triangle _ _ _ |
| 45 | (Supported.OrderedCechRestriction.homology ℤ X F G α W O (InjectiveIntegerCoordinates.complex N c) |
| 46 | H.wide_punctured H.local_punctured q) |
| 47 | |
| 48 | include H in |
| 49 | theorem restriction_isIso : |
| 50 | IsIso (homologyMap (AffinePrincipal.InjectiveRestriction.sourceMap F G α W N c) q) := by |
| 51 | let := module_restriction_isIso F G α W O H N c q |
| 52 | exact iso_of_triangle (InjectiveIntegerCoordinates.bridge F W N c H.wide_affine q).hom |
| 53 | (InjectiveIntegerCoordinates.forget.map (homologyMap (InjectiveIntegerCoordinates.restriction F W N c G α) q) ≫ (InjectiveIntegerCoordinates.bridge G W N c H.local_affine q).hom) |
| 54 | _ (InjectiveIntegerCoordinates.bridge_restriction F W N c G α H.wide_affine H.local_affine q).symm |
| 55 | |
| 56 | theorem restriction_candidate : |
| 57 | homologyMap (AffinePrincipal.InjectiveRestriction.sourceMap F G α W N c) q ≫ |
| 58 | H.candidate N c q = 𝟙 _ := by |
| 59 | let := restriction_isIso F G α W O H N c q |
| 60 | apply (cancel_mono (homologyMap |
| 61 | (AffinePrincipal.InjectiveRestriction.sourceMap F G α W N c) q)).mp |
| 62 | rw [Category.assoc, H.candidate_restriction N c α q, Category.comp_id, Category.id_comp] |
| 63 | |
| 64 | variable [X.IsSeparated] {μ : Type} [LinearOrder μ] (V : μ → X.Opens) |
| 65 | (hV : iSup V = ⊤) (haV : ∀ j, IsAffineOpen (V j)) |
| 66 | |
| 67 | theorem comparison : |
| 68 | homologyMap (AffinePrincipal.InjectiveRestriction.sourceMap F G α W N c) q ≫ |
| 69 | CanonicalSupportCover.comparison G W O H.selected.wide_affine |
| 70 | H.selected.wide_punctured H.selected.wide_cover H.selected.wide_global N c V hV haV q = |
| 71 | CanonicalSupportCover.comparison F W O H.wide_affine H.wide_punctured |
| 72 | H.wide_cover H.wide_global N c V hV haV q := by |
| 73 | rw [← CanonicalSupportCover.candidate_comparison F W O N c V hV haV q G O H, |
| 74 | ← Category.assoc, restriction_candidate F G α W O H N c q, Category.id_comp] |
| 75 | |
| 76 | theorem recovery (x : (AffinePrincipal.Injective.Comparison.source F W N c).homology q) : |
| 77 | CanonicalSupportCover.comparison F W O H.wide_affine H.wide_punctured |
| 78 | H.wide_cover H.wide_global N c V hV haV q x = |
| 79 | CanonicalSupportCover.comparison G W O H.selected.wide_affine |
| 80 | H.selected.wide_punctured H.selected.wide_cover H.selected.wide_global N c V hV haV q |
| 81 | (homologyMap (AffinePrincipal.InjectiveRestriction.sourceMap F G α W N c) q x) := |
| 82 | (ConcreteCategory.congr_hom (comparison F G α W O H N c q V hV haV) x).symm |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleSameSupport |