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.IntrinsicDeRham.TopEdgeTransfer |
| 2 | |
| 3 | /-! # Top Form Transfer Degree -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TopFormTransferDegree |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! On the original top-form Čech cohomology, finite étale pullback |
| 10 | followed by transfer is multiplication by the actual finite-flat rank. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem conjugate {C : Type*} [Category C] [Preadditive C] |
| 18 | {A B K L : C} (e : A ≅ K) (s : B ≅ L) (f : K ⟶ L) (g : L ⟶ K) |
| 19 | (d : ℕ) (h : f ≫ g = d • 𝟙 K) : |
| 20 | (e.hom ≫ f ≫ s.inv) ≫ (s.hom ≫ g ≫ e.inv) = d • 𝟙 A := by |
| 21 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 22 | rw [← Category.assoc f, h] |
| 23 | simp only [Preadditive.nsmul_comp, Preadditive.comp_nsmul, |
| 24 | Category.id_comp, Iso.hom_inv_id] |
| 25 | |
| 26 | private theorem homology_scalar {C : Type*} [Category C] [Abelian C] |
| 27 | {K L : CochainComplex C ℕ} (f : K ⟶ L) (g : L ⟶ K) (d q : ℕ) |
| 28 | (h : f ≫ g = d • 𝟙 K) : |
| 29 | HomologicalComplex.homologyMap f q ≫ HomologicalComplex.homologyMap g q = |
| 30 | d • 𝟙 (K.homology q) := by |
| 31 | change (HomologicalComplex.homologyFunctor C (.up ℕ) q).map f ≫ |
| 32 | (HomologicalComplex.homologyFunctor C (.up ℕ) q).map g = _ |
| 33 | rw [← Functor.map_comp, h, Functor.map_nsmul, CategoryTheory.Functor.map_id] |
| 34 | rfl |
| 35 | |
| 36 | universe u |
| 37 | variable (R : Type u) [CommRing R] |
| 38 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) |
| 39 | [IsFinite f.left] [Etale f.left] |
| 40 | {ι : Type u} (U : ι → Y.left.Opens) (g : ℕ) |
| 41 | [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 42 | [SmoothOfRelativeDimension g Y.hom] [IsProper Y.hom] |
| 43 | [PreconnectedSpace Y.left] |
| 44 | |
| 45 | omit [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] in |
| 46 | theorem pullback_trace (y : Y.left) (x : IntrinsicDeRham.TopEdge.Intrinsic.source R Y U g) : |
| 47 | IntrinsicDeRham.TopEdgeTransfer.Intrinsic.trace R X Y f U g |
| 48 | (IntrinsicDeRham.TopEdgeTransfer.Intrinsic.pullback R X Y f U g x) = f.left.finrank y • x := by |
| 49 | let : Smooth Y.hom := SmoothOfRelativeDimension.smooth g Y.hom |
| 50 | let V := IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R X Y f U |
| 51 | let a := (IntrinsicDeRham.CechTransfer.Intrinsic.pullback R X Y f U).f g |
| 52 | let b := (IntrinsicDeRham.CechTransfer.Intrinsic.trace R X Y f U).f g |
| 53 | have hrow : a ≫ b = f.left.finrank y • 𝟙 ((IntrinsicDeRham.CechComplex.Intrinsic.bicomplex R Y U).X g) := |
| 54 | congrArg (fun c => c.f g) (IntrinsicDeRham.CechTransfer.Intrinsic.pullback_trace R X Y f U y) |
| 55 | have h := conjugate |
| 56 | (HomologicalComplex.homologyMapIso (IntrinsicDeRham.TopEdge.Intrinsic.rowIso R Y U g) g) |
| 57 | (HomologicalComplex.homologyMapIso (IntrinsicDeRham.TopEdge.Intrinsic.rowIso R X V g) g) |
| 58 | (HomologicalComplex.homologyMap a g) (HomologicalComplex.homologyMap b g) |
| 59 | (f.left.finrank y) (homology_scalar a b (f.left.finrank y) g hrow) |
| 60 | exact ConcreteCategory.congr_hom h x |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TopFormTransferDegree |