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.AlgebraicGeometry.Isogenies.NeighborCounting.NormalizedSquares |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModulePullbackHom |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.NormalizationRestriction |
| 4 | |
| 5 | /-! # Normalized Zero Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.NormalizedZeroComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The concrete trivialization equation supplies the intrinsic comparison |
| 12 | between the two zero fibers used for restriction and descent. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.NormalizedSquares OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedPullback OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModulePullbackHom |
| 20 | |
| 21 | theorem square_to_conjugated_equality {C : Type*} [Category C] |
| 22 | {A₁ A₂ B₁ B₂ U V : C} (a₁ : A₁ ≅ U) (a₂ : A₂ ≅ U) |
| 23 | (b₁ : B₁ ≅ V) (b₂ : B₂ ≅ V) (q₁ : A₁ ⟶ B₁) (q₂ : A₂ ⟶ B₂) |
| 24 | (h : q₁ ≫ (b₁ ≪≫ b₂.symm).hom = (a₁ ≪≫ a₂.symm).hom ≫ q₂) : |
| 25 | a₁.inv ≫ q₁ ≫ b₁.hom = a₂.inv ≫ q₂ ≫ b₂.hom := by |
| 26 | have hh := congrArg (fun q ↦ a₁.inv ≫ q ≫ b₂.hom) h |
| 27 | simpa only [Iso.trans_hom, Iso.symm_hom, Category.assoc, |
| 28 | Iso.inv_hom_id_assoc, Iso.inv_hom_id, Category.comp_id] using hh |
| 29 | |
| 30 | variable {X V T B : Scheme.{u}} {M N : X.Modules} |
| 31 | variable (s : V ⟶ X) (z : B ⟶ X) (zt : T ⟶ V) (t : T ⟶ B) (h : zt ≫ s = t ≫ z) |
| 32 | variable (eM : (Scheme.Modules.pullback z).obj M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule B) |
| 33 | variable (eN : (Scheme.Modules.pullback z).obj N ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule B) |
| 34 | |
| 35 | theorem normalized_zero_square |
| 36 | (q : (Scheme.Modules.pullback s).obj M ⟶ (Scheme.Modules.pullback s).obj N) |
| 37 | (hq : (Scheme.Modules.pullback zt).map q ≫ (NormalizedSquares.squareZeroIso s z zt t h eN).hom = |
| 38 | (NormalizedSquares.squareZeroIso s z zt t h eM).hom) : |
| 39 | (Scheme.Modules.pullback zt).map q ≫ (NormalizedSquares.sectionSquareIso s z zt t h).hom.app N = |
| 40 | (NormalizedSquares.sectionSquareIso s z zt t h).hom.app M ≫ |
| 41 | (Scheme.Modules.pullback t).map (eM.hom ≫ eN.inv) := by |
| 42 | let L := Scheme.Modules.pullback t |
| 43 | let α := NormalizedSquares.sectionSquareIso s z zt t h |
| 44 | let v := ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso t |
| 45 | apply (cancel_mono (L.map eN.hom ≫ v.hom)).mp |
| 46 | have hr : (α.hom.app M ≫ L.map (eM.hom ≫ eN.inv)) ≫ (L.map eN.hom ≫ v.hom) = |
| 47 | (NormalizedSquares.squareZeroIso s z zt t h eM).hom := by |
| 48 | change (α.hom.app M ≫ L.map (eM.hom ≫ eN.inv)) ≫ (L.map eN.hom ≫ v.hom) = |
| 49 | α.hom.app M ≫ L.map eM.hom ≫ v.hom |
| 50 | rw [L.map_comp] |
| 51 | have hn : L.map eN.inv ≫ L.map eN.hom = 𝟙 _ := (L.mapIso eN).inv_hom_id |
| 52 | simp only [Category.assoc] |
| 53 | rw [← Category.assoc (L.map eN.inv) (L.map eN.hom), hn, Category.id_comp] |
| 54 | exact (Category.assoc _ _ _).trans (hq.trans hr.symm) |
| 55 | |
| 56 | /-- This is the normalization equation in the actual pullback |
| 57 | pseudofunctor, derived from the concrete zero trivializations. -/ |
| 58 | theorem normalized_zero_intrinsic |
| 59 | (q : (Scheme.Modules.pullback s).obj M ⟶ (Scheme.Modules.pullback s).obj N) |
| 60 | (hq : (Scheme.Modules.pullback zt).map q ≫ (NormalizedSquares.squareZeroIso s z zt t h eN).hom = |
| 61 | (NormalizedSquares.squareZeroIso s z zt t h eM).hom) : |
| 62 | NormalizationRestriction.IsNormalized (F := ModulePullbackHom.modulePullbackFunctor) |
| 63 | z t s zt h q (eM.hom ≫ eN.inv) := by |
| 64 | let c₁ := Scheme.Modules.pullbackComp zt s ≪≫ Scheme.Modules.pullbackCongr h |
| 65 | let c₂ := Scheme.Modules.pullbackComp t z |
| 66 | have hs := normalized_zero_square s z zt t h eM eN q hq |
| 67 | have hc := square_to_conjugated_equality (c₁.app M) (c₂.app M) (c₁.app N) (c₂.app N) |
| 68 | ((Scheme.Modules.pullback zt).map q) ((Scheme.Modules.pullback t).map (eM.hom ≫ eN.inv)) hs |
| 69 | have h₁ := ModulePullbackHom.pullbackHomTo_eq_pullHom zt s (t ≫ z) h q |
| 70 | have h₂ := ModulePullbackHom.pullbackHomTo_eq_pullHom t z (t ≫ z) rfl (eM.hom ≫ eN.inv) |
| 71 | exact h₁.symm.trans (hc.trans h₂) |
| 72 | |
| 73 | def NativeNormalized |
| 74 | (q : (Scheme.Modules.pullback s).obj M ⟶ (Scheme.Modules.pullback s).obj N) |
| 75 | (q₀ : (Scheme.Modules.pullback z).obj M ⟶ (Scheme.Modules.pullback z).obj N) : Prop := |
| 76 | FramedPullback.pullbackHomTo zt s (t ≫ z) h q = FramedPullback.pullbackHomTo t z (t ≫ z) rfl q₀ |
| 77 | |
| 78 | theorem nativeNormalized_iff_intrinsic |
| 79 | (q : (Scheme.Modules.pullback s).obj M ⟶ (Scheme.Modules.pullback s).obj N) |
| 80 | (q₀ : (Scheme.Modules.pullback z).obj M ⟶ (Scheme.Modules.pullback z).obj N) : |
| 81 | NativeNormalized s z zt t h q q₀ ↔ |
| 82 | NormalizationRestriction.IsNormalized (F := ModulePullbackHom.modulePullbackFunctor) z t s zt h q q₀ := by |
| 83 | unfold NativeNormalized NormalizationRestriction.IsNormalized |
| 84 | rw [ModulePullbackHom.pullbackHomTo_eq_pullHom, ModulePullbackHom.pullbackHomTo_eq_pullHom] |
| 85 | rfl |
| 86 | |
| 87 | theorem intrinsic_normalization_restrict {T' V' : Scheme.{u}} |
| 88 | (q : (Scheme.Modules.pullback s).obj M ⟶ (Scheme.Modules.pullback s).obj N) |
| 89 | (q₀ : (Scheme.Modules.pullback z).obj M ⟶ (Scheme.Modules.pullback z).obj N) |
| 90 | (hq : NormalizationRestriction.IsNormalized (F := ModulePullbackHom.modulePullbackFunctor) z t s zt h q q₀) |
| 91 | (a : V' ⟶ V) (b : T' ⟶ T) (t' : T' ⟶ B) (s' : V' ⟶ X) (zt' : T' ⟶ V') |
| 92 | (ht : b ≫ t = t') (hs : a ≫ s = s') (hz : zt' ≫ a = b ≫ zt) |
| 93 | (h' : zt' ≫ s' = t' ≫ z) : |
| 94 | NormalizationRestriction.IsNormalized (F := ModulePullbackHom.modulePullbackFunctor) |
| 95 | z t' s' zt' h' (FramedPullback.pullbackHomTo a s s' hs q) q₀ := by |
| 96 | have hn := NormalizationRestriction.normalized_restrict |
| 97 | (F := ModulePullbackHom.modulePullbackFunctor) z t s zt h q q₀ hq a b t' s' zt' ht hs hz h' |
| 98 | have hp := ModulePullbackHom.pullbackHomTo_eq_pullHom a s s' hs q |
| 99 | exact (congrArg (fun r ↦ NormalizationRestriction.IsNormalized |
| 100 | (F := ModulePullbackHom.modulePullbackFunctor) z t' s' zt' h' r q₀) hp).mpr hn |
| 101 | |
| 102 | theorem intrinsic_normalization_restrict_iso {T' V' : Scheme.{u}} |
| 103 | (e : (Scheme.Modules.pullback s).obj M ≅ (Scheme.Modules.pullback s).obj N) |
| 104 | (q₀ : (Scheme.Modules.pullback z).obj M ⟶ (Scheme.Modules.pullback z).obj N) |
| 105 | (hq : NormalizationRestriction.IsNormalized (F := ModulePullbackHom.modulePullbackFunctor) z t s zt h e.hom q₀) |
| 106 | (a : V' ⟶ V) (b : T' ⟶ T) (t' : T' ⟶ B) (s' : V' ⟶ X) (zt' : T' ⟶ V') |
| 107 | (ht : b ≫ t = t') (hs : a ≫ s = s') (hz : zt' ≫ a = b ≫ zt) |
| 108 | (h' : zt' ≫ s' = t' ≫ z) : |
| 109 | NormalizationRestriction.IsNormalized (F := ModulePullbackHom.modulePullbackFunctor) |
| 110 | z t' s' zt' h' (FramedPullback.pullbackIsoTo a s s' hs e).hom q₀ := by |
| 111 | rw [FramedPullback.pullbackIsoTo_hom] |
| 112 | exact intrinsic_normalization_restrict s z zt t h e.hom q₀ hq a b t' s' zt' ht hs hz h' |
| 113 | |
| 114 | theorem native_normalization_restrict {T' V' : Scheme.{u}} |
| 115 | (q : (Scheme.Modules.pullback s).obj M ⟶ (Scheme.Modules.pullback s).obj N) |
| 116 | (q₀ : (Scheme.Modules.pullback z).obj M ⟶ (Scheme.Modules.pullback z).obj N) |
| 117 | (hq : NativeNormalized s z zt t h q q₀) |
| 118 | (a : V' ⟶ V) (b : T' ⟶ T) (t' : T' ⟶ B) (s' : V' ⟶ X) (zt' : T' ⟶ V') |
| 119 | (ht : b ≫ t = t') (hs : a ≫ s = s') (hz : zt' ≫ a = b ≫ zt) |
| 120 | (h' : zt' ≫ s' = t' ≫ z) : |
| 121 | NativeNormalized s' z zt' t' h' (FramedPullback.pullbackHomTo a s s' hs q) q₀ := |
| 122 | (nativeNormalized_iff_intrinsic s' z zt' t' h' _ q₀).mpr |
| 123 | (intrinsic_normalization_restrict s z zt t h q q₀ |
| 124 | ((nativeNormalized_iff_intrinsic s z zt t h q q₀).mp hq) |
| 125 | a b t' s' zt' ht hs hz h') |
| 126 | |
| 127 | theorem native_normalization_restrict_iso {T' V' : Scheme.{u}} |
| 128 | (e : (Scheme.Modules.pullback s).obj M ≅ (Scheme.Modules.pullback s).obj N) |
| 129 | (q₀ : (Scheme.Modules.pullback z).obj M ⟶ (Scheme.Modules.pullback z).obj N) |
| 130 | (hq : NativeNormalized s z zt t h e.hom q₀) |
| 131 | (a : V' ⟶ V) (b : T' ⟶ T) (t' : T' ⟶ B) (s' : V' ⟶ X) (zt' : T' ⟶ V') |
| 132 | (ht : b ≫ t = t') (hs : a ≫ s = s') (hz : zt' ≫ a = b ≫ zt) |
| 133 | (h' : zt' ≫ s' = t' ≫ z) : |
| 134 | NativeNormalized s' z zt' t' h' (FramedPullback.pullbackIsoTo a s s' hs e).hom q₀ := by |
| 135 | rw [FramedPullback.pullbackIsoTo_hom] |
| 136 | exact native_normalization_restrict s z zt t h e.hom q₀ hq a b t' s' zt' ht hs hz h' |
| 137 | |
| 138 | theorem iso_eq_of_intrinsic_normalization |
| 139 | (π : V ⟶ T) (hπ : zt ≫ π = 𝟙 T) (hΓ : Function.Surjective π.appTop) |
| 140 | (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle ((Scheme.Modules.pullback s).obj M)) |
| 141 | (e f : (Scheme.Modules.pullback s).obj M ≅ (Scheme.Modules.pullback s).obj N) |
| 142 | (q₀ : (Scheme.Modules.pullback z).obj M ⟶ (Scheme.Modules.pullback z).obj N) |
| 143 | (he : NormalizationRestriction.IsNormalized (F := ModulePullbackHom.modulePullbackFunctor) |
| 144 | z t s zt h e.hom q₀) |
| 145 | (hf : NormalizationRestriction.IsNormalized (F := ModulePullbackHom.modulePullbackFunctor) |
| 146 | z t s zt h f.hom q₀) : e = f := by |
| 147 | apply RigidifiedUniqueness.iso_eq_of_section π zt hπ hΓ hM e f |
| 148 | let c := Scheme.Modules.pullbackComp zt s ≪≫ Scheme.Modules.pullbackCongr h |
| 149 | apply ((c.app M).homCongr (c.app N)).injective |
| 150 | dsimp only [NormalizationRestriction.IsNormalized] at he hf |
| 151 | exact (ModulePullbackHom.pullbackHomTo_eq_pullHom zt s (t ≫ z) h e.hom).trans |
| 152 | ((he.trans hf.symm).trans (ModulePullbackHom.pullbackHomTo_eq_pullHom zt s (t ≫ z) h f.hom).symm) |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.NormalizedZeroComparison |