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.Sheafified.PresheafSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.StructureDescent |
| 3 | |
| 4 | /-! # Constant Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ConstantSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Constants and their values in the original crystalline degree-zero cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 17 | |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) |
| 20 | |
| 21 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 22 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCohomology.largePresheaf (p := p) (J := J) (δ := δ) f |
| 23 | |
| 24 | abbrev Sections := ((Functor.const (BigCrystallineSite.Object p B J δ f)ᵒᵖ).obj (ModuleCat.of R R) ⟶ P) |
| 25 | |
| 26 | def value (s : Sections (p := p) (J := J) (δ := δ) f) (U : BigCrystallineSite.Object p B J δ f) : U.ring := |
| 27 | (s.app (op U) (1 : R)).down |
| 28 | |
| 29 | theorem value_natural (s : Sections (p := p) (J := J) (δ := δ) f) |
| 30 | {U V : BigCrystallineSite.Object p B J δ f} (g : U ⟶ V) : g.ringMap (value f s V) = value f s U := by |
| 31 | have h := congrArg (fun a => (a (1 : R)).down) (s.naturality g.op) |
| 32 | exact h.symm |
| 33 | |
| 34 | def unit : Sections (p := p) (J := J) (δ := δ) f where |
| 35 | app U := ModuleCat.ofHom (LinearMap.toSpanSingleton R ((P).obj U) |
| 36 | (ULift.up (1 : U.unop.ring))) |
| 37 | naturality {U V} g := by |
| 38 | apply ModuleCat.hom_ext |
| 39 | apply LinearMap.ext_ring |
| 40 | change ULift.up (V.unop.base (1 : B) * 1) = |
| 41 | ULift.up (g.unop.ringMap (U.unop.base (1 : B) * 1)) |
| 42 | rw [map_one, map_one, one_mul, one_mul] |
| 43 | exact congrArg ULift.up g.unop.ringMap.toRingHom.map_one.symm |
| 44 | |
| 45 | def constants : R →ₗ[R] Sections (p := p) (J := J) (δ := δ) f := |
| 46 | LinearMap.toSpanSingleton R _ (unit f) |
| 47 | |
| 48 | theorem value_constants (w : R) (U : BigCrystallineSite.Object p B J δ f) : |
| 49 | value f (constants f w) U = U.base w.down := by |
| 50 | change U.base w.down * (U.base (1 : B) * 1) = U.base w.down |
| 51 | rw [map_one, one_mul, mul_one] |
| 52 | |
| 53 | theorem ext (s t : Sections (p := p) (J := J) (δ := δ) f) |
| 54 | (h : ∀ U, value f s U = value f t U) : s = t := by |
| 55 | apply NatTrans.ext |
| 56 | funext U |
| 57 | apply ModuleCat.hom_ext |
| 58 | apply LinearMap.ext_ring |
| 59 | apply ULift.ext |
| 60 | exact h U.unop |
| 61 | |
| 62 | def cohomologyEquiv : |
| 63 | BigCrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f 0 ≃ₗ[R] |
| 64 | Sections (p := p) (J := J) (δ := δ) f := |
| 65 | Sheafified.PresheafSections.degreeZeroLinearEquiv R BigCrystallineSite.Object.topology P |
| 66 | (StructureDescent.largePresheaf_isSheaf f) |
| 67 | |
| 68 | def cohomologyConstants : R →ₗ[R] |
| 69 | BigCrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f 0 := |
| 70 | (cohomologyEquiv f).symm.toLinearMap.comp (constants f) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ConstantSections |