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.Rational.CoverScalarIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ScalarPositiveProduct |
| 3 | |
| 4 | /-! # Scheme Iso Positive Product -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SchemeIsoPositiveProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A genuine scheme isomorphism carries nonzero ordinary Čech cup |
| 11 | products to the inverse-image affine cover over the same field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (R : Type) [Field R] [Algebra ℚ R] |
| 20 | (X Y : Over (Spec (CommRingCat.of R))) [IsSeparated X.hom] (e : Y ≅ X) |
| 21 | |
| 22 | local instance schemeMap_isIso : IsIso e.hom.left := (Over.forget _).map_isIso e.hom |
| 23 | |
| 24 | omit [Algebra ℚ R] [IsSeparated X.hom] in |
| 25 | theorem square : IsPullback e.hom.left Y.hom X.hom |
| 26 | (Spec.map (CommRingCat.ofHom (algebraMap R R))) := by |
| 27 | have hid : Spec.map (CommRingCat.ofHom (algebraMap R R)) = 𝟙 (Spec (CommRingCat.of R)) := by |
| 28 | change Spec.map (𝟙 (CommRingCat.of R)) = _ |
| 29 | exact Spec.map_id _ |
| 30 | rw [hid] |
| 31 | exact IsPullback.of_horiz_isIso ⟨e.hom.w.trans (Category.comp_id _).symm⟩ |
| 32 | |
| 33 | variable {ι : Type} [Finite ι] (U : ι → X.left.Opens) |
| 34 | (hU : iSup U = ⊤) (haU : ∀ i, IsAffineOpen (U i)) |
| 35 | |
| 36 | def inverseCover : ι → Y.left.Opens := fun i => e.hom.left ⁻¹ᵁ U i |
| 37 | |
| 38 | include hU in |
| 39 | omit [Algebra ℚ R] [IsSeparated X.hom] [Finite ι] in |
| 40 | theorem cover : iSup (inverseCover R X Y e U) = ⊤ := by |
| 41 | change iSup (fun i => e.hom.left ⁻¹ᵁ U i) = ⊤ |
| 42 | rw [← Scheme.Hom.preimage_iSup, hU] |
| 43 | rfl |
| 44 | |
| 45 | include haU in |
| 46 | omit [Algebra ℚ R] [IsSeparated X.hom] [Finite ι] in |
| 47 | theorem affine (i : ι) : IsAffineOpen (inverseCover R X Y e U i) := |
| 48 | (haU i).preimage_of_isIso e.hom.left |
| 49 | |
| 50 | include haU in |
| 51 | theorem exists_nonzero (n : ℕ) |
| 52 | (hn : ∃ v : Fin (n+1) → (IntegralDeRham.CechProduct.total R X |
| 53 | (NonemptyCechNerve.nerve U)).homology 1, |
| 54 | GradedPositiveProduct.product (fun i j x y => |
| 55 | IntegralDeRham.CechProduct.cohomologyCup R X (NonemptyCechNerve.nerve U) i j x y) n v ≠ 0) : |
| 56 | ∃ v : Fin (n+1) → (IntegralDeRham.CechProduct.total R Y |
| 57 | (NonemptyCechNerve.nerve (inverseCover R X Y e U))).homology 1, |
| 58 | GradedPositiveProduct.product (fun i j x y => |
| 59 | IntegralDeRham.CechProduct.cohomologyCup R Y |
| 60 | (NonemptyCechNerve.nerve (inverseCover R X Y e U)) i j x y) n v ≠ 0 := by |
| 61 | let : IsIso (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarTotal.BaseIntrinsicCechScalarTotal.homologyMap R R X Y e.hom.left |
| 62 | (square R X Y e).w U (n+1)) := |
| 63 | Rational.CoverScalarIso.homologyMap_isIso R R X Y e.hom.left (square R X Y e) U haU (n+1) |
| 64 | exact Intrinsic.ScalarPositiveProduct.target_exists_nonzero R R X Y e.hom.left |
| 65 | (square R X Y e).w U n hn |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SchemeIsoPositiveProduct |