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.GeometricComparison.IntrinsicPadic.ChartImage |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Smooth.WittFrameClosed |
| 3 | |
| 4 | /-! # Frame Closed -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameClosed.IntrinsicPadicFrameClosed |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual closed map of a native global frame is an open immersion |
| 11 | with image equal to the specified special-fiber affine open. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem range_comp_iso {U V Z : Scheme} (a : U ⟶ V) [IsIso a] (b : V ⟶ Z) : |
| 16 | Set.range (a ≫ b) = Set.range b := by |
| 17 | change Set.range (b ∘ a) = _ |
| 18 | have hs : Function.Surjective a := a.homeomorph.surjective |
| 19 | rw [Set.range_comp, Set.range_eq_univ.mpr hs, Set.image_univ] |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] |
| 22 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 23 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 24 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 25 | (n : ℕ) (U : X.left.Opens) (hU : IsAffineOpen U) |
| 26 | |
| 27 | local instance padic : Algebra ℤ_[p] (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X U) := |
| 28 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X U |
| 29 | local instance witt : Algebra (WittVector p (ZMod p)) (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X U) := |
| 30 | WittAlgebra.PadicWittAlgebra.algebra p (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X U) |
| 31 | local instance special : Algebra (ZMod p) (AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f U) := |
| 32 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y (f ⁻¹ᵁ U) |
| 33 | |
| 34 | theorem local_isIso : IsIso (AffineFrame.IntrinsicPadicAffineFrame.frame p X Y f hp U hU n).obj.mapToX := by |
| 35 | let := AffineFrame.IntrinsicPadicAffineFrame.source_flat p X U hU |
| 36 | exact GeometricComparison.Smooth.WittFrameClosed.SmoothWittFrameClosed.isIso p (ZMod p) |
| 37 | (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X U) (AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f U) |
| 38 | (AffineFrame.IntrinsicPadicAffineFrame.reduction p X Y f U) |
| 39 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_surjective p X Y f hp U hU) |
| 40 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_kernel p X Y f hp U hU) |
| 41 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_base p X Y f hp U) n |
| 42 | |
| 43 | theorem openImmersion : IsOpenImmersion (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U hU n).obj.mapToX := by |
| 44 | let := local_isIso p X Y f hp n U hU |
| 45 | change IsOpenImmersion ((AffineFrame.IntrinsicPadicAffineFrame.frame p X Y f hp U hU n).obj.mapToX ≫ |
| 46 | ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp U hU) |
| 47 | exact IsOpenImmersion.comp _ _ |
| 48 | |
| 49 | theorem range : Set.range (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U hU n).obj.mapToX = |
| 50 | (f ⁻¹ᵁ U : Set Y.left) := by |
| 51 | let := local_isIso p X Y f hp n U hU |
| 52 | exact (range_comp_iso (AffineFrame.IntrinsicPadicAffineFrame.frame p X Y f hp U hU n).obj.mapToX |
| 53 | (ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp U hU)).trans |
| 54 | (ChartImage.IntrinsicPadicOpenFrame.special_affine p X Y f hp U hU).range_fromSpec |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameClosed.IntrinsicPadicFrameClosed |