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.SmoothProper.GlobalFunctionConstants |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.GlobalFunctionLinear |
| 3 | |
| 4 | /-! # Witt Residue -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.WittResidue |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The new crystalline classes reduce to their actual zeroth Witt coefficients in global regular functions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 17 | (X : Over (Spec (CommRingCat.of k))) |
| 18 | |
| 19 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra.algebra k X |
| 20 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k X |
| 21 | |
| 22 | theorem frame_factor (U : X.left.Opens) (hU : IsAffineOpen U) : |
| 23 | (ZeroLevel.AffineOpenSections.frame p k X U hU).obj.mapToX ≫ WittFactor.factor k X p = |
| 24 | Spec.map (CommRingCat.ofHom (WittVector.constantCoeff : WittVector p A →+* A) ≫ |
| 25 | X.left.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op ≫ |
| 26 | CommRingCat.ofHom (Ideal.Quotient.mk (⊥ : Ideal Γ(X.left, U)))) := by |
| 27 | let r : CommRingCat.of (WittVector p A) ⟶ Γ(X.left, ⊤) := CommRingCat.ofHom WittVector.constantCoeff |
| 28 | let s : Γ(X.left, ⊤) ⟶ Γ(X.left, U) := X.left.presheaf.map (homOfLE le_top).op |
| 29 | let q : Γ(X.left, U) ⟶ CommRingCat.of (Γ(X.left, U) ⧸ (⊥ : Ideal Γ(X.left, U))) := |
| 30 | CommRingCat.ofHom (Ideal.Quotient.mk ⊥) |
| 31 | change (Spec.map q ≫ hU.fromSpec) ≫ (X.left.toSpecΓ ≫ Spec.map r) = Spec.map (r ≫ s ≫ q) |
| 32 | have h := congrArg (fun t => Spec.map q ≫ t ≫ Spec.map r) hU.fromSpec_toSpecΓ |
| 33 | exact (Category.assoc _ _ _).trans |
| 34 | ((congrArg (fun t => Spec.map q ≫ t) (Category.assoc hU.fromSpec X.left.toSpecΓ (Spec.map r)).symm).trans |
| 35 | (h.trans (by rw [Spec.map_comp, Spec.map_comp, Category.assoc]))) |
| 36 | |
| 37 | theorem frame_residue (w : WittVector p A) (U : X.left.Opens) (hU : IsAffineOpen U) : |
| 38 | Crystalline.EtaleResidue.residueRingMap (WittVector p A) (WittFactor.factor k X p) |
| 39 | (ZeroLevel.AffineOpenSections.frame p k X U hU).obj w = |
| 40 | Ideal.Quotient.mk (⊥ : Ideal Γ(X.left, U)) |
| 41 | (X.left.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op (w.coeff 0)) := by |
| 42 | have h := congrArg Spec.preimage (frame_factor p k X U hU) |
| 43 | exact ConcreteCategory.congr_hom (h.trans (Spec.preimage_map _)) w |
| 44 | |
| 45 | variable [Finite k] [IsProper X.hom] [Smooth X.hom] [Nonempty X.left] |
| 46 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 47 | |
| 48 | theorem frame_value (w : WittVector p A) (U : X.left.Opens) (hU : IsAffineOpen U) : |
| 49 | Crystalline.ConstantSections.value f (SmoothProper.GlobalFunctionConstants.sections p k X hprojective w) |
| 50 | (ZeroLevel.AffineOpenSections.frame p k X U hU).obj = |
| 51 | X.left.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op (w.coeff 0) := by |
| 52 | have h := (SmoothProper.GlobalFunctionConstants.value_reduction p k X hprojective w |
| 53 | (ZeroLevel.AffineOpenSections.frame p k X U hU).obj).trans (frame_residue p k X w U hU) |
| 54 | exact sub_eq_zero.mp (Ideal.mem_bot.mp (Ideal.Quotient.eq.mp h)) |
| 55 | |
| 56 | theorem global_value (w : WittVector p A) : |
| 57 | ZeroLevel.GlobalFunctions.value p k X |
| 58 | (BoundedCrystalline.CrystallineSections.restriction f 0 |
| 59 | (SmoothProper.GlobalFunctionConstants.sections p k X hprojective w)) = w.coeff 0 := by |
| 60 | symm |
| 61 | apply ZeroLevel.GlobalFunctions.unique p k X |
| 62 | intro U hU |
| 63 | exact (frame_value p k X hprojective w U hU).symm |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.WittResidue |