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.Crystalline.AmbientContinuous |
| 2 | |
| 3 | /-! # Ring Descent -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RingDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: ambient rings already satisfy crystalline descent |
| 11 | |
| 12 | Global sections are a ring-valued sheaf on the big Zariski site. The |
| 13 | continuous ambient functor and the canonical global-sections isomorphism |
| 14 | identify its restriction with the actual ambient-ring presheaf. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | def specCoyonedaIso (R : CommRingCat.{u}) : yoneda.obj (Spec R) ≅ |
| 22 | (Scheme.Spec.rightOp.op ⋙ coyoneda).obj (op R) := |
| 23 | NatIso.ofComponents (fun _ => Equiv.toIso |
| 24 | { toFun := fun g => g.op |
| 25 | invFun := fun g => g.unop |
| 26 | left_inv := fun _ => rfl |
| 27 | right_inv := fun _ => rfl }) (by intros; rfl) |
| 28 | |
| 29 | lemma gamma_isSheaf : Presheaf.IsSheaf Scheme.zariskiTopology Scheme.Γ := by |
| 30 | intro R |
| 31 | apply Presieve.isSheaf_iso Scheme.zariskiTopology |
| 32 | ((ΓSpec.adjunction.rightOp.compCoyonedaIso).app (op R)) |
| 33 | exact Presieve.isSheaf_iso Scheme.zariskiTopology (specCoyonedaIso R) |
| 34 | (GrothendieckTopology.Subcanonical.isSheaf_of_isRepresentable |
| 35 | (J := Scheme.zariskiTopology) (yoneda.obj (Spec R))) |
| 36 | |
| 37 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 38 | |
| 39 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 40 | variable {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) |
| 41 | |
| 42 | def ringPresheaf : (BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ CommRingCat.{u} where |
| 43 | obj U := U.unop.ring |
| 44 | map α := CommRingCat.ofHom α.unop.ringMap.toRingHom |
| 45 | map_id _ := by ext; rfl |
| 46 | map_comp _ _ := by ext; rfl |
| 47 | |
| 48 | def gammaIso : (BigCrystallineSite.Object.ambient (p := p) (J := J) (δ := δ) (f := f)).op ⋙ Scheme.Γ ≅ ringPresheaf f := |
| 49 | NatIso.ofComponents (fun U => Scheme.ΓSpecIso U.unop.ring) (fun α => |
| 50 | Scheme.ΓSpecIso_naturality (CommRingCat.ofHom α.unop.ringMap.toRingHom)) |
| 51 | |
| 52 | lemma ringPresheaf_isSheaf : Presheaf.IsSheaf BigCrystallineSite.Object.topology (ringPresheaf (p := p) (J := J) (δ := δ) f) := |
| 53 | (Presheaf.isSheaf_of_iso_iff (gammaIso f)).mp |
| 54 | ((BigCrystallineSite.Object.ambient (p := p) (J := J) (δ := δ) (f := f)).op_comp_isSheaf_of_isSheaf |
| 55 | BigCrystallineSite.Object.topology Scheme.zariskiTopology Scheme.Γ gamma_isSheaf) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RingDescent |