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.PrincipalSource.SupportedCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.IntrinsicCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SingleScalarCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.TopClassLift |
| 5 | |
| 6 | /-! # Class Coordinates -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.ClassCoordinates.Scalar |
| 13 | |
| 14 | /-! The original nested pushforward has the same ordinary coefficient |
| 15 | coordinate as its source-open supported single-sheaf class. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable {Y X Z : Scheme.{0}} (f : Y ⟶ X) (i : X ⟶ Z) |
| 21 | (U : Z.Opens) (hU : IsAffineOpen U) (N : Y.Modules) |
| 22 | {m : ℕ} (t : Fin m → Γ(Z,U)) (c : ℕ) |
| 23 | |
| 24 | abbrev family := PrincipalPoint.Fraction.family U t |
| 25 | abbrev original := OpenFixedClass.source f i U hU N |
| 26 | abbrev forgetScalars := Principal.AdditiveSections.forgetScalars U |
| 27 | |
| 28 | def diagramIso : original f i U hU N ⋙ forgetScalars U ≅ |
| 29 | OpenTopClass.source (f ≫ i) U hU N := |
| 30 | OpenScalar.diagramIso f i U hU N ≪≫ |
| 31 | (OpenReindex.pushforwardIso (f ≫ i) U hU N).symm |
| 32 | |
| 33 | def coefficientIso := |
| 34 | AugmentedCech.TopClassCoefficients.homologyIso (family U t) (forgetScalars U) |
| 35 | (original f i U hU N) m ≪≫ |
| 36 | homologyMapIso ((AugmentedOrdered.CechFunctor.functor (family U t)).mapIso |
| 37 | (diagramIso f i U hU N)) m |
| 38 | |
| 39 | theorem comparison : |
| 40 | (SupportedCoordinates.wideIso f i U hU (family U t) N c (m+c)).hom ≫ |
| 41 | (IntrinsicCoordinates.Intrinsic.wideCoordinates (f ≫ i) U hU N t c).hom = |
| 42 | (forgetScalars U).map (IntegralComparison.Functor.SingleTotal.homologyIso |
| 43 | (AugmentedOrdered.CechFunctor.functor (family U t)) (original f i U hU N) c m).hom ≫ |
| 44 | (coefficientIso f i U hU N t).hom := by |
| 45 | have h := congrArg (fun a => a ≫ |
| 46 | (homologyMapIso ((AugmentedOrdered.CechFunctor.functor (family U t)).mapIso |
| 47 | (OpenReindex.pushforwardIso (f ≫ i) U hU N).symm) m).hom) |
| 48 | (Supported.SingleScalarCoordinates.comparison (family U t) Γ(Z,U) |
| 49 | (original f i U hU N) c m (OpenReindex.wideOpens (f ≫ i) U hU) N |
| 50 | (OpenScalar.diagramIso f i U hU N)) |
| 51 | simp only [SupportedCoordinates.wideIso, |
| 52 | IntrinsicCoordinates.Intrinsic.wideCoordinates, coefficientIso, diagramIso, |
| 53 | Iso.trans_hom, homologyMapIso_hom, Functor.mapIso_hom, Functor.map_comp, |
| 54 | homologyMap_comp, Category.assoc] at h ⊢ |
| 55 | convert h using 1 <;> rfl |
| 56 | |
| 57 | theorem topClass (x : (original f i U hU N).obj |
| 58 | (op (AugmentedOrdered.CechCoordinates.topObject (family U t) m (by simp)))) : |
| 59 | (coefficientIso f i U hU N t).hom |
| 60 | (AugmentedOrdered.CechTopClass.topClass (family U t) (original f i U hU N) m (by simp) x) = |
| 61 | AugmentedCech.TopClassMap.map (family U t) |
| 62 | (OpenTopClass.source (f ≫ i) U hU N) m (by simp) x := by |
| 63 | change homologyMap ((AugmentedOrdered.CechFunctor.functor (family U t)).map |
| 64 | (diagramIso f i U hU N).hom) m |
| 65 | ((AugmentedCech.TopClassCoefficients.homologyIso (family U t) (forgetScalars U) |
| 66 | (original f i U hU N) m).hom _) = _ |
| 67 | rw [Augmented.TopClassLift.forget] |
| 68 | have h := ConcreteCategory.congr_hom |
| 69 | (AugmentedCech.TopClassMap.naturality (family U t) |
| 70 | (original f i U hU N ⋙ forgetScalars U) m (by simp) (diagramIso f i U hU N).hom) x |
| 71 | exact h |
| 72 | |
| 73 | end NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.ClassCoordinates.Scalar |
| 74 | |
| 75 | namespace NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.ClassCoordinates |
| 76 | |
| 77 | /-! A signed original principal class retains its sign and literal |
| 78 | coefficient after the genuine source-open restriction and reindex. -/ |
| 79 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 80 | set_option backward.isDefEq.respectTransparency false |
| 81 | set_option backward.isDefEq.respectTransparency.types false |
| 82 | |
| 83 | variable {Y X Z : Scheme.{0}} (f : Y ⟶ X) (i : X ⟶ Z) |
| 84 | (U : Z.Opens) (hU : IsAffineOpen U) (N : Y.Modules) |
| 85 | {m : ℕ} (t : Fin m → Γ(Z,U)) (c : ℕ) |
| 86 | |
| 87 | abbrev family := PrincipalPoint.Fraction.family U t |
| 88 | abbrev coefficient := OpenFixedClass.source f i U hU N |
| 89 | abbrev total := (IntegralComparison.Functor.SingleTotal.bicomplex |
| 90 | (AugmentedOrdered.CechFunctor.functor (family U t)) (coefficient f i U hU N) c).total (.up ℕ) |
| 91 | |
| 92 | def cast : (ClassCoordinates.total f i U hU N t c).homology (c+m) ⟶ (ClassCoordinates.total f i U hU N t c).homology (m+c) := |
| 93 | eqToHom (congrArg (fun q => (ClassCoordinates.total f i U hU N t c).homology q) (Nat.add_comm c m)) |
| 94 | |
| 95 | abbrev moduleCoordinates := IntegralComparison.Functor.SingleTotal.homologyIso |
| 96 | (AugmentedOrdered.CechFunctor.functor (family U t)) (coefficient f i U hU N) c m |
| 97 | |
| 98 | def wideClass (x : (ClassCoordinates.total f i U hU N t c).homology (c+m)) := |
| 99 | (SupportedCoordinates.wideIso f i U hU (family U t) N c (m+c)).hom |
| 100 | (cast f i U hU N t c x) |
| 101 | |
| 102 | variable (V : Y.Opens) (hV : IsAffineOpen V) (hVU : V ≤ (f ≫ i) ⁻¹ᵁ U) |
| 103 | |
| 104 | def nativeClass (x : (ClassCoordinates.total f i U hU N t c).homology (c+m)) := |
| 105 | homologyMap (IntrinsicCoordinates.Intrinsic.sourceMap (f ≫ i) U hU V hV hVU N t c) (m+c) |
| 106 | (wideClass f i U hU N t c x) |
| 107 | |
| 108 | theorem coordinates (x : (ClassCoordinates.total f i U hU N t c).homology (c+m)) |
| 109 | (b : (coefficient f i U hU N).obj |
| 110 | (op (AugmentedOrdered.CechCoordinates.topObject (family U t) m (by simp)))) |
| 111 | (a : ℤ) |
| 112 | (h : (moduleCoordinates f i U hU N t c).hom (cast f i U hU N t c x) = |
| 113 | a • AugmentedOrdered.CechTopClass.topClass (family U t) (coefficient f i U hU N) m (by simp) b) : |
| 114 | (IntrinsicCoordinates.Intrinsic.nativeCoordinates (f ≫ i) U V hV hVU N t c).hom |
| 115 | (nativeClass f i U hU N t c V hV hVU x) = |
| 116 | a • homologyMap (OpenTopClass.complexMap (f ≫ i) U hU V hV hVU N t) m |
| 117 | (AugmentedCech.TopClassMap.map (family U t) |
| 118 | (OpenTopClass.source (f ≫ i) U hU N) m (by simp) b) := by |
| 119 | have hs := ConcreteCategory.congr_hom |
| 120 | (Scalar.comparison f i U hU N t c) |
| 121 | (cast f i U hU N t c x) |
| 122 | change (IntrinsicCoordinates.Intrinsic.wideCoordinates (f ≫ i) U hU N t c).hom |
| 123 | (wideClass f i U hU N t c x) = |
| 124 | (Scalar.coefficientIso f i U hU N t).hom |
| 125 | ((moduleCoordinates f i U hU N t c).hom (cast f i U hU N t c x)) at hs |
| 126 | have hn := ConcreteCategory.congr_hom |
| 127 | (IntrinsicCoordinates.Intrinsic.comparison (f ≫ i) U hU V hV hVU N t c) |
| 128 | (wideClass f i U hU N t c x) |
| 129 | change (IntrinsicCoordinates.Intrinsic.nativeCoordinates (f ≫ i) U V hV hVU N t c).hom |
| 130 | (nativeClass f i U hU N t c V hV hVU x) = |
| 131 | homologyMap (OpenTopClass.complexMap (f ≫ i) U hU V hV hVU N t) m |
| 132 | ((IntrinsicCoordinates.Intrinsic.wideCoordinates (f ≫ i) U hU N t c).hom |
| 133 | (wideClass f i U hU N t c x)) at hn |
| 134 | rw [hs, h, map_zsmul, Scalar.topClass, map_zsmul] at hn |
| 135 | exact hn |
| 136 | |
| 137 | end NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.ClassCoordinates |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI |