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.TruncatedModel.PrincipalFrame |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.AmbientIsomorphism |
| 3 | |
| 4 | /-! # Principal Small Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSmallIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual principal affine chart is the original crystalline |
| 11 | localization, including its reduction and divided powers. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | private theorem localization_bijective {R S : Type*} [CommRing R] [CommRing S] |
| 19 | [Algebra R S] (r : R) [IsLocalization.Away r S] |
| 20 | (f : Localization.Away r →+* S) |
| 21 | (hf : ∀ x, f (algebraMap R (Localization.Away r) x) = algebraMap R S x) : |
| 22 | Function.Bijective f := by |
| 23 | let e := IsLocalization.algEquiv (Submonoid.powers r) (Localization.Away r) S |
| 24 | have he : f = e.toRingHom := by |
| 25 | apply IsLocalization.ringHom_ext (Submonoid.powers r) |
| 26 | ext x |
| 27 | exact (hf x).trans (e.commutes x).symm |
| 28 | rw [he] |
| 29 | exact e.bijective |
| 30 | |
| 31 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 32 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) [Smooth X.hom] |
| 33 | (Y : Over (Spec (CommRingCat.of k))) (f : Y.left ⟶ X.left) |
| 34 | (hp : IsPullback f Y.hom X.hom |
| 35 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 36 | (U : X.left.affineOpens) |
| 37 | |
| 38 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrame.Index X.left U |
| 39 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmallFrame.functor p k n X Y f hp |
| 40 | local notation "Q" => Functor.obj N U |
| 41 | |
| 42 | theorem ambient_bijective (r : C) : |
| 43 | Function.Bijective (PrincipalFrame.map p k n X Y f hp U r).ambientMap := by |
| 44 | let : IsLocalization.Away r.val Γ(X.left, X.left.basicOpen r.val) := |
| 45 | U.property.isLocalization_basicOpen r.val |
| 46 | apply localization_bijective (S := Γ(X.left, X.left.basicOpen r.val)) r.val |
| 47 | (PrincipalFrame.map p k n X Y f hp U r).ambientMap.toRingHom |
| 48 | intro x |
| 49 | exact (RingHom.congr_fun (AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Factorization.CrystallinePrincipalFactorization.ambientLift_comp p k Y |
| 50 | (PrincipalFrame.projection p k n X Y f hp U r) r.val |
| 51 | (PrincipalFrame.coefficient_unit p k n X Y f hp U r)) x).trans |
| 52 | (SmallFrame.map_ambient p k n X Y f hp |
| 53 | (AffinePrincipal.Diagram.projection X.left U.val U.property r) x) |
| 54 | |
| 55 | def iso (r : C) : (PrincipalFrame.frames p k n X Y f hp U).obj r ≅ |
| 56 | AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.object p k Y Q r := |
| 57 | Crystalline.AmbientIsomorphism.iso p k Y |
| 58 | (PrincipalFrame.map p k n X Y f hp U r) |
| 59 | (ambient_bijective p k n X Y f hp U r) |
| 60 | |
| 61 | instance map_isIso (r : C) : IsIso (PrincipalFrame.map p k n X Y f hp U r) := |
| 62 | inferInstanceAs (IsIso (iso p k n X Y f hp U r).hom) |
| 63 | |
| 64 | instance transformation_isIso : IsIso (PrincipalFrame.transformation p k n X Y f hp U) := by |
| 65 | let (r : C) : IsIso ((PrincipalFrame.transformation p k n X Y f hp U).app r) := |
| 66 | map_isIso p k n X Y f hp U r |
| 67 | exact NatIso.isIso_of_isIso_app _ |
| 68 | |
| 69 | def diagramIso : PrincipalFrame.frames p k n X Y f hp U ≅ |
| 70 | AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.functor p k Y Q := |
| 71 | asIso (PrincipalFrame.transformation p k n X Y f hp U) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSmallIso |