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.Crystalline.PrimePowerRelations |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 3 | |
| 4 | /-! # Level Reduction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.LevelReduction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical reduction of original crystalline objects to a bounded level, with its actual quotient and factorization property. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {δ : DividedPowers (Ideal.span {(p : B)})} |
| 19 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} (n : ℕ) |
| 20 | (U : BigCrystallineSite.Object p B (Ideal.span {(p : B)}) δ f) |
| 21 | |
| 22 | abbrev object : BigCrystallineSite.Object p B (Ideal.span {(p : B)}) δ f := |
| 23 | RelationQuotient.object U {(p : U.ring) ^ (n + 1)} |
| 24 | (PrimePowerRelations.relation_subset U n) |
| 25 | |
| 26 | def hom : object n U ⟶ U := |
| 27 | RelationQuotient.hom U {(p : U.ring) ^ (n + 1)} |
| 28 | (PrimePowerRelations.relation_subset U n) |
| 29 | |
| 30 | theorem hom_surjective : Function.Surjective (hom n U).ringMap := Ideal.Quotient.mk_surjective |
| 31 | |
| 32 | theorem hom_kernel : RingHom.ker (hom n U).ringMap.toRingHom = (Ideal.span {(p : U.ring)}) ^ (n + 1) := |
| 33 | (Ideal.mk_ker).trans (PrimePowerRelations.relationIdeal_eq U n) |
| 34 | |
| 35 | theorem prime_power_zero : (p : (object n U).ring) ^ (n + 1) = 0 := by |
| 36 | have h : (p : U.ring) ^ (n + 1) ∈ RingHom.ker (hom n U).ringMap.toRingHom := by |
| 37 | rw [hom_kernel] |
| 38 | exact Ideal.pow_mem_pow (Ideal.subset_span (Set.mem_singleton (p : U.ring))) (n + 1) |
| 39 | change (hom n U).ringMap.toRingHom ((p : U.ring) ^ (n + 1)) = 0 at h |
| 40 | simpa only [map_pow, map_natCast] using h |
| 41 | |
| 42 | def boundedObject : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : B)}) (δ := δ) f n := |
| 43 | ⟨object n U, prime_power_zero n U⟩ |
| 44 | |
| 45 | variable {U} {V : BigCrystallineSite.Object p B (Ideal.span {(p : B)}) δ f} |
| 46 | (α : V ⟶ U) (hV : (p : V.ring) ^ (n + 1) = 0) |
| 47 | |
| 48 | include hV in |
| 49 | theorem kills : ∀ x ∈ ({(p : U.ring) ^ (n + 1)} : Set U.ring), α.ringMap x = 0 := by |
| 50 | rintro x (rfl : x = _) |
| 51 | change α.ringMap.toRingHom ((p : U.ring) ^ (n + 1)) = 0 |
| 52 | rw [map_pow, map_natCast] |
| 53 | exact hV |
| 54 | |
| 55 | def factor : V ⟶ object n U := |
| 56 | RelationLift.liftHom {(p : U.ring) ^ (n + 1)} |
| 57 | (PrimePowerRelations.relation_subset U n) α (kills n α hV) |
| 58 | |
| 59 | theorem factor_comp : factor n α hV ≫ hom n U = α := |
| 60 | RelationLift.liftHom_comp {(p : U.ring) ^ (n + 1)} |
| 61 | (PrimePowerRelations.relation_subset U n) α (kills n α hV) |
| 62 | |
| 63 | theorem factor_unique (β : V ⟶ object n U) (hβ : β ≫ hom n U = α) : β = factor n α hV := |
| 64 | RelationLift.liftHom_unique {(p : U.ring) ^ (n + 1)} |
| 65 | (PrimePowerRelations.relation_subset U n) α (kills n α hV) β hβ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.LevelReduction |