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.AlgebraicGeometry.Crystalline.Cohomology.SmoothNil |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.EnvelopeFrames |
| 3 | |
| 4 | /-! # Smooth Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.SmoothFrames.SmoothCrystallineFrames |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Smooth affine frames for the actual crystalline site |
| 12 | |
| 13 | Every crystalline object over the residual affine chart of a smooth |
| 14 | Witt-algebra maps to a p-power level of that chart's PD-envelope tower. |
| 15 | The lift uses the actual elementwise nilpotence of the crystalline |
| 16 | kernel, and allows arbitrary residual restriction maps. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 24 | (B : Type u) [CommRing B] [Algebra k B] |
| 25 | (A : Type u) [CommRing A] [Algebra (WittVector p k) A] |
| 26 | (r : A →+* B) |
| 27 | (hbase : r.comp (algebraMap (WittVector p k) A) = |
| 28 | (algebraMap k B).comp WittVector.constantCoeff) |
| 29 | |
| 30 | local notation "W" => WittVector p k |
| 31 | |
| 32 | section Lift |
| 33 | |
| 34 | variable [Algebra.Smooth (WittVector p k) A] |
| 35 | (C : Type u) [CommRing C] [Algebra k C] |
| 36 | (S : PD.Thickening.AffinePDThickening p k C) (f : B →ₐ[k] C) |
| 37 | |
| 38 | include hbase in |
| 39 | /-- A smooth affine chart lifts into the ambient ring of every crystalline object over it. -/ |
| 40 | theorem exists_algebraLift : ∃ l : A →ₐ[W] S.ring, |
| 41 | S.reduction.comp l.toRingHom = f.toRingHom.comp r := by |
| 42 | let : Algebra W C := ((algebraMap k C).comp WittVector.constantCoeff).toAlgebra |
| 43 | let q : S.ring →ₐ[W] C := |
| 44 | { S.reduction with commutes' w := DFunLike.congr_fun S.reduction_base w } |
| 45 | let a : A →ₐ[W] C := |
| 46 | { f.toRingHom.comp r with |
| 47 | commutes' w := by |
| 48 | change f (r (algebraMap W A w)) = algebraMap k C (WittVector.constantCoeff w) |
| 49 | rw [show r (algebraMap W A w) = algebraMap k B (WittVector.constantCoeff w) from |
| 50 | DFunLike.congr_fun hbase w] |
| 51 | exact f.commutes _ } |
| 52 | obtain ⟨l, hl⟩ := SmoothNil.SmoothNilLifting.exists_lift a q S.reduction_surjective |
| 53 | (fun b hb => S.kernel_element_isNilpotent b hb) |
| 54 | exact ⟨l, congrArg AlgHom.toRingHom hl⟩ |
| 55 | |
| 56 | def algebraLift : A →ₐ[W] S.ring := |
| 57 | (exists_algebraLift p k B A r hbase C S f).choose |
| 58 | |
| 59 | theorem algebraLift_reduction : |
| 60 | S.reduction.comp (algebraLift p k B A r hbase C S f).toRingHom = f.toRingHom.comp r := |
| 61 | (exists_algebraLift p k B A r hbase C S f).choose_spec |
| 62 | |
| 63 | end Lift |
| 64 | |
| 65 | variable (hr : Function.Surjective r) |
| 66 | (X : Over (Spec (CommRingCat.of k))) |
| 67 | (j : Spec (CommRingCat.of B) ⟶ X.left) [IsOpenImmersion j] |
| 68 | (hj : j ≫ X.hom = Spec.map (CommRingCat.ofHom (algebraMap k B))) |
| 69 | |
| 70 | /-- The frame tower of the fixed affine chart, regarded inside the native site. -/ |
| 71 | def siteFrame (n : ℕ) : Cohomology.Site.Object p k X where |
| 72 | residueRing := CommRingCat.of B |
| 73 | thickening := Affine.EnvelopeFrames.AffineEnvelopeFrames.frame p k B A r hr hbase n |
| 74 | immersion := j |
| 75 | over_base := hj |
| 76 | |
| 77 | variable [Algebra.Smooth (WittVector p k) A] (Q : Cohomology.Site.Object p k X) |
| 78 | (f : B →ₐ[k] Q.residueRing) |
| 79 | (hf : Spec.map (CommRingCat.ofHom f.toRingHom) ≫ j = Q.immersion) |
| 80 | |
| 81 | /-- A native crystalline-site map preserving the specified residual map. -/ |
| 82 | def siteFrameMorphism (n : ℕ) (hn : (p : Q.thickening.ring) ^ (n + 1) = 0) : |
| 83 | Q ⟶ siteFrame p k B A r hbase hr X j hj n where |
| 84 | reducedMap := f |
| 85 | ambientMap := Affine.EnvelopeFrames.AffineEnvelopeFrames.frameMap p k B A r hr hbase Q.residueRing Q.thickening f |
| 86 | (algebraLift p k B A r hbase Q.residueRing Q.thickening f) |
| 87 | (algebraLift_reduction p k B A r hbase Q.residueRing Q.thickening f) n hn |
| 88 | reduction_comm a := DFunLike.congr_fun |
| 89 | (Affine.EnvelopeFrames.AffineEnvelopeFrames.frameMap_reduction p k B A r hr hbase Q.residueRing Q.thickening f |
| 90 | (algebraLift p k B A r hbase Q.residueRing Q.thickening f) |
| 91 | (algebraLift_reduction p k B A r hbase Q.residueRing Q.thickening f) n hn) a |
| 92 | over_X := hf |
| 93 | dp_comp := Affine.EnvelopeFrames.AffineEnvelopeFrames.frameMap_isDPMorphism p k B A r hr hbase |
| 94 | Q.residueRing Q.thickening f |
| 95 | (algebraLift p k B A r hbase Q.residueRing Q.thickening f) |
| 96 | (algebraLift_reduction p k B A r hbase Q.residueRing Q.thickening f) n hn |
| 97 | |
| 98 | include hf in |
| 99 | /-- Every crystalline object over the chart maps to a finite p-power frame level. -/ |
| 100 | theorem exists_siteFrameMorphism : ∃ n : ℕ, |
| 101 | ∃ g : Q ⟶ siteFrame p k B A r hbase hr X j hj n, g.reducedMap = f := by |
| 102 | obtain ⟨n, hn⟩ := Q.thickening.p_nilpotent |
| 103 | refine ⟨n, siteFrameMorphism p k B A r hbase hr X j hj Q f hf n ?_, rfl⟩ |
| 104 | rw [pow_succ, hn, zero_mul] |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.SmoothFrames.SmoothCrystallineFrames |