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.Open.WittFrameLocalFlatness |
| 2 | |
| 3 | /-! # Witt Frame Projection Flatness -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Open.WittFrameProjectionFlatness.Smooth |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every actual product projection along an open smooth Witt frame is flat. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Localization |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k A C σ : Type u) [Field k] [CharP k p] [Finite σ] |
| 18 | [CommRing A] [Algebra (WittVector p k) A] [Module.Flat (WittVector p k) A] |
| 19 | [CommRing C] [Algebra k C] |
| 20 | [Algebra (MvPolynomial σ (WittVector p k)) A] |
| 21 | [IsScalarTower (WittVector p k) (MvPolynomial σ (WittVector p k)) A] |
| 22 | [Algebra.Etale (MvPolynomial σ (WittVector p k)) A] |
| 23 | (ρ : A →+* C) (hρ : Function.Surjective ρ) (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 24 | (hbase : ∀ w : WittVector p k, ρ (algebraMap (WittVector p k) A w) = |
| 25 | algebraMap k C (WittVector.constantCoeff w)) |
| 26 | (X : Over (Spec (CommRingCat.of k))) |
| 27 | (j : (Crystalline.Presentation.affineScheme k C).left ⟶ X.left) [IsOpenImmersion j] |
| 28 | (hj : j ≫ X.hom = (Crystalline.Presentation.affineScheme k C).hom) (n : ℕ) |
| 29 | (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 30 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X)) |
| 31 | (hn : (p : U.ring) ^ (n + 1) = 0) |
| 32 | (P : BinaryFan U (SmoothWittFrame.frame p k A C ρ hρ hker hbase X j hj n)) (hP : IsLimit P) |
| 33 | |
| 34 | include σ hn hP in |
| 35 | theorem projection : P.fst.ringMap.toRingHom.Flat := by |
| 36 | have hrange : Set.range P.pt.mapToX ⊆ Set.range j := by |
| 37 | rintro _ ⟨y, rfl⟩ |
| 38 | refine ⟨(SmoothWitt.WittFrame.object p k A C ρ hρ hker hbase n).mapToX |
| 39 | (BigCrystallineSite.Object.closed.map P.snd y), ?_⟩ |
| 40 | exact congrArg (fun a => a y) P.snd.overX |
| 41 | obtain ⟨s, hspan, hs⟩ := Crystalline.ProjectionNeighborhoods.finite_cover P.fst j hrange |
| 42 | change Finset P.pt.ring at s |
| 43 | apply RingHom.Flat.ofLocalizationSpanTarget P.fst.ringMap.toRingHom (s : Set P.pt.ring) hspan |
| 44 | rintro ⟨a, ha⟩ |
| 45 | obtain ⟨r, rfl, hr⟩ := hs a ha |
| 46 | exact WittFrameLocalFlatness.Smooth.localized_composite p k A C σ ρ hρ hker hbase X j hj n U hn P hP r hr |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Open.WittFrameProjectionFlatness.Smooth |