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.Truncated.AffineModelFrame |
| 2 | |
| 3 | /-! # Frame Closed -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameClosed |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The closed charts of the actual finite-level frames have exactly |
| 10 | the prescribed special-fiber opens as their images. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem range_comp_iso {U V Z : Scheme} (a : U ⟶ V) [IsIso a] (b : V ⟶ Z) : |
| 18 | Set.range (a ≫ b) = Set.range b := by |
| 19 | change Set.range (b ∘ a) = _ |
| 20 | have hs : Function.Surjective a := a.homeomorph.surjective |
| 21 | rw [Set.range_comp, Set.range_eq_univ.mpr hs, Set.image_univ] |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 24 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) [Smooth X.hom] |
| 25 | (Y : Over (Spec (CommRingCat.of k))) (f : Y.left ⟶ X.left) |
| 26 | (hp : IsPullback f Y.hom X.hom |
| 27 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 28 | (U : X.left.Opens) (hU : IsAffineOpen U) |
| 29 | |
| 30 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.sourceRing p k n X U |
| 31 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X Y f U |
| 32 | local instance sourceAlgebra : Algebra (Truncated.Witt.Ring p k n) A := |
| 33 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (Truncated.Witt.Ring p k n) X U |
| 34 | local instance targetAlgebra : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y (f ⁻¹ᵁ U) |
| 35 | |
| 36 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.quotientEquiv p A C |
| 37 | (Truncated.AffineModelFrame.reduction p k n X Y f U) |
| 38 | (Truncated.AffineModelFrame.reduction_surjective p k n X Y f hp U hU) |
| 39 | (Truncated.AffineModelFrame.reduction_kernel p k n X Y f hp U hU) |
| 40 | |
| 41 | theorem local_isIso : IsIso (Truncated.AffineModelFrame.localFrame p k n X Y f hp U hU).obj.mapToX := by |
| 42 | change IsIso (Spec.map (CommRingCat.ofHom (e).symm.toRingHom)) |
| 43 | exact (Scheme.Spec.mapIso (e).toCommRingCatIso.op).symm.isIso_hom |
| 44 | |
| 45 | theorem openImmersion : IsOpenImmersion (Truncated.AffineModelFrame.frame p k n X Y f hp U hU).obj.mapToX := by |
| 46 | let := local_isIso p k n X Y f hp U hU |
| 47 | let := Truncated.AffineModelFrame.chart_open p k n X Y f hp U hU |
| 48 | change IsOpenImmersion ((Truncated.AffineModelFrame.localFrame p k n X Y f hp U hU).obj.mapToX ≫ |
| 49 | Truncated.AffineModelFrame.chart p k n X Y f hp U hU) |
| 50 | exact IsOpenImmersion.comp _ _ |
| 51 | |
| 52 | theorem range : Set.range (Truncated.AffineModelFrame.frame p k n X Y f hp U hU).obj.mapToX = |
| 53 | (f ⁻¹ᵁ U : Set Y.left) := by |
| 54 | let := local_isIso p k n X Y f hp U hU |
| 55 | exact (range_comp_iso (Truncated.AffineModelFrame.localFrame p k n X Y f hp U hU).obj.mapToX |
| 56 | (Truncated.AffineModelFrame.chart p k n X Y f hp U hU)).trans |
| 57 | (Truncated.AffineModelFrame.residue_affine p k n X Y f hp U hU).range_fromSpec |
| 58 | |
| 59 | theorem ideal_generated : (Truncated.AffineModelFrame.frame p k n X Y f hp U hU).obj.ideal = |
| 60 | (Ideal.span {(p : WittVector p k)}).map (Truncated.AffineModelFrame.frame p k n X Y f hp U hU).obj.base := by |
| 61 | rw [Ideal.map_span, Set.image_singleton, map_natCast] |
| 62 | rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameClosed |