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.Principal.SingleAdditiveForget |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.SupportedClass |
| 3 | |
| 4 | /-! # Ambient Class -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.AmbientClass.Reference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original localized point class forgets to a fixed ambient |
| 11 | class. Its value is independent of the chosen punctured principal cover. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem paste {C : Type*} [Category C] {A B D E F G : C} |
| 18 | (a : A ⟶ B) (b : B ⟶ D) (c : D ⟶ E) (d : A ⟶ F) |
| 19 | (e : F ⟶ G) (f : G ⟶ E) (g : B ⟶ G) |
| 20 | (hb : b ≫ c = g ≫ f) (ha : a ≫ g = d ≫ e) : |
| 21 | (a ≫ b) ≫ c = d ≫ (e ≫ f) := by |
| 22 | rw [Category.assoc, hb, ← Category.assoc, ha, Category.assoc] |
| 23 | |
| 24 | private theorem inverse_square {C : Type*} [Category C] {T S A B D : C} |
| 25 | (e : S ≅ A) (h : B ≅ D) (l : T ⟶ A) (f : S ⟶ B) (g : A ⟶ D) (r : T ⟶ D) |
| 26 | (he : e.hom ≫ g = f ≫ h.hom) (hl : l ≫ g = r) : |
| 27 | (l ≫ e.inv) ≫ f = r ≫ h.inv := by |
| 28 | apply (cancel_mono h.hom).mp |
| 29 | calc |
| 30 | _ = l ≫ e.inv ≫ (f ≫ h.hom) := by simp only [Category.assoc] |
| 31 | _ = l ≫ e.inv ≫ (e.hom ≫ g) := by rw [he] |
| 32 | _ = l ≫ g := by simp only [Iso.inv_hom_id_assoc] |
| 33 | _ = r := hl |
| 34 | _ = _ := by simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 35 | |
| 36 | universe u |
| 37 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleAdditiveSections |
| 38 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 39 | (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 40 | (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) |
| 41 | |
| 42 | def ambientIso (q : ℕ) := |
| 43 | (Principal.AdditiveSections.forgetScalars U).mapIso (Concentration.Reference.ambientIso U hU K c hK q) ≪≫ |
| 44 | Principal.SingleAdditiveForget.ambientHomologyIso U hU (K.homology c) c q |
| 45 | |
| 46 | def ambient (q : ℕ) := |
| 47 | homologyMap (Supported.ZeroComplementComplex.restrictionMap |
| 48 | (Principal.ClosedSingleSupport.terminalOpen U hU) (Principal.SingleAdditiveSections.sheafSingle (K.homology c) c)) q ≫ |
| 49 | (ambientIso U hU K c hK q).inv |
| 50 | |
| 51 | variable {ι : Type u} [LinearOrder ι] (W : ι → Principal.SectionPresheaf.Index U) |
| 52 | |
| 53 | theorem concentration_square (q : ℕ) : |
| 54 | (SupportedClass.Reference.concentratedIso U hU W K c hK q).hom ≫ |
| 55 | homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.SingleAdditiveSections.sheafDiagram U hU (K.homology c) c)) q = |
| 56 | (Principal.AdditiveSections.forgetScalars U).map (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.AdditiveSections.linearComplex U hU K)) q) ≫ |
| 57 | (ambientIso U hU K c hK q).hom := by |
| 58 | have h := congrArg ((Principal.AdditiveSections.forgetScalars U).map) |
| 59 | (Concentration.Reference.square U hU W K c hK q) |
| 60 | simp only [Functor.map_comp] at h |
| 61 | exact paste |
| 62 | ((Principal.AdditiveSections.forgetScalars U).map (Concentration.Reference.iso U hU W K c hK q).hom) |
| 63 | (Principal.SingleAdditiveSections.homologyIso U hU (K.homology c) c W q).hom |
| 64 | (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.SingleAdditiveSections.sheafDiagram U hU (K.homology c) c)) q) |
| 65 | ((Principal.AdditiveSections.forgetScalars U).map (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.AdditiveSections.linearComplex U hU K)) q)) |
| 66 | ((Principal.AdditiveSections.forgetScalars U).map (Concentration.Reference.ambientIso U hU K c hK q).hom) |
| 67 | (Principal.SingleAdditiveForget.ambientHomologyIso U hU (K.homology c) c q).hom |
| 68 | ((Principal.AdditiveSections.forgetScalars U).map |
| 69 | (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.AdditiveSections.linearComplex U hU (Principal.SingleAdditiveSections.moduleSingle (K.homology c) c))) q)) |
| 70 | (Principal.SingleAdditiveForget.homology U hU (K.homology c) c W q) h |
| 71 | |
| 72 | variable {Z : Scheme.{u}} (f : Z ⟶ X) [IsClosedImmersion f] |
| 73 | (N : Z.Modules) (e : K.homology c ≅ (Scheme.Modules.pushforward f).obj N) |
| 74 | (hW : ∀ i, Principal.SectionPresheaf.openSubset U (W i) ≤ SectionIdealPuncturedCover.outside f.ker) |
| 75 | |
| 76 | theorem localize_forget (q : ℕ) : |
| 77 | SupportedClass.Reference.localize U hU W K c hK f N e hW q ≫ |
| 78 | (Principal.AdditiveSections.forgetScalars U).map (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.AdditiveSections.linearComplex U hU K)) q) = |
| 79 | ambient U hU K c hK q := by |
| 80 | have hl := congrArg (fun a => homologyMap a q) |
| 81 | (Principal.ClosedSingleSupport.forget_normalization f N (K.homology c) e U hU W hW c) |
| 82 | simp only [homologyMap_comp] at hl |
| 83 | exact inverse_square |
| 84 | (SupportedClass.Reference.concentratedIso U hU W K c hK q) |
| 85 | (ambientIso U hU K c hK q) |
| 86 | (homologyMap (Principal.ClosedSingleSupport.toPrincipal f N (K.homology c) e U hU W hW c) q) |
| 87 | ((Principal.AdditiveSections.forgetScalars U).map (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.AdditiveSections.linearComplex U hU K)) q)) |
| 88 | (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.SingleAdditiveSections.sheafDiagram U hU (K.homology c) c)) q) |
| 89 | (homologyMap (Supported.ZeroComplementComplex.restrictionMap |
| 90 | (Principal.ClosedSingleSupport.terminalOpen U hU) (Principal.SingleAdditiveSections.sheafSingle (K.homology c) c)) q) |
| 91 | (concentration_square U hU K c hK W q) |
| 92 | (by simpa only [Principal.ClosedSingleSupport.toPrincipal, |
| 93 | Closed.SupportedSurvivor.lift, homologyMap_comp] using hl) |
| 94 | |
| 95 | variable {κ : Type u} [LinearOrder κ] (V : κ → Principal.SectionPresheaf.Index U) |
| 96 | (hV : ∀ i, Principal.SectionPresheaf.openSubset U (V i) ≤ SectionIdealPuncturedCover.outside f.ker) |
| 97 | |
| 98 | theorem independent (q : ℕ) : |
| 99 | SupportedClass.Reference.localize U hU W K c hK f N e hW q ≫ |
| 100 | (Principal.AdditiveSections.forgetScalars U).map (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (Principal.AdditiveSections.linearComplex U hU K)) q) = |
| 101 | SupportedClass.Reference.localize U hU V K c hK f N e hV q ≫ |
| 102 | (Principal.AdditiveSections.forgetScalars U).map (homologyMap (AugmentedOrdered.CechForget.forgetSupport V (Principal.AdditiveSections.linearComplex U hU K)) q) := |
| 103 | (localize_forget U hU K c hK W f N e hW q).trans |
| 104 | (localize_forget U hU K c hK V f N e hV q).symm |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.AmbientClass.Reference |