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.BaseGenerated |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.AmbientFaithful |
| 3 | |
| 4 | /-! # Open Factor -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.OpenFactor.CrystallineOpenFactor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ambient open factorization into a base-generated frame lifts to an |
| 11 | actual factorization in the original crystalline category. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 16 | universe u |
| 17 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 18 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 19 | {U V T : IntegralComparison.BigCrystallineSite.Object p B J δ f} (α : U ⟶ V) (β : T ⟶ V) |
| 20 | [IsOpenImmersion (IntegralComparison.BigCrystallineSite.Object.ambient.map α)] |
| 21 | (hgen : U.ideal = J.map U.base) |
| 22 | (hrange : Set.range (IntegralComparison.BigCrystallineSite.Object.ambient.map β) ⊆ Set.range (IntegralComparison.BigCrystallineSite.Object.ambient.map α)) |
| 23 | |
| 24 | def schemeLift : IntegralComparison.BigCrystallineSite.Object.ambient.obj T ⟶ IntegralComparison.BigCrystallineSite.Object.ambient.obj U := |
| 25 | IsOpenImmersion.lift (IntegralComparison.BigCrystallineSite.Object.ambient.map α) (IntegralComparison.BigCrystallineSite.Object.ambient.map β) hrange |
| 26 | |
| 27 | def ringLift : U.ring →+* T.ring := |
| 28 | (Scheme.Spec.preimage (X := op T.ring) (Y := op U.ring) (schemeLift α β hrange)).unop.hom |
| 29 | |
| 30 | theorem spec_ringLift : Spec.map (CommRingCat.ofHom (ringLift α β hrange)) = schemeLift α β hrange := |
| 31 | Scheme.Spec.map_preimage (X := op T.ring) (Y := op U.ring) (schemeLift α β hrange) |
| 32 | |
| 33 | theorem ringLift_comp : (ringLift α β hrange).comp α.ringMap.toRingHom = β.ringMap.toRingHom := by |
| 34 | apply AmbientFaithful.CrystallineAmbientFaithful.ringHom_injective |
| 35 | rw [CommRingCat.ofHom_comp, Spec.map_comp, spec_ringLift] |
| 36 | exact IsOpenImmersion.lift_fac (IntegralComparison.BigCrystallineSite.Object.ambient.map α) (IntegralComparison.BigCrystallineSite.Object.ambient.map β) hrange |
| 37 | |
| 38 | def lift : T ⟶ U := BaseGenerated.BaseGeneratedFrameLift.lift α β hgen (ringLift α β hrange) |
| 39 | (ringLift_comp α β hrange) |
| 40 | |
| 41 | theorem lift_comp : CrystallineOpenFactor.lift α β hgen hrange ≫ α = β := |
| 42 | BaseGenerated.BaseGeneratedFrameLift.lift_comp α β hgen (ringLift α β hrange) (ringLift_comp α β hrange) |
| 43 | |
| 44 | theorem unique (γ : T ⟶ U) (hγ : γ ≫ α = β) : γ = CrystallineOpenFactor.lift α β hgen hrange := by |
| 45 | apply AmbientFaithful.CrystallineAmbientFaithful.hom_ext |
| 46 | apply (cancel_mono (IntegralComparison.BigCrystallineSite.Object.ambient.map α)).mp |
| 47 | rw [← IntegralComparison.BigCrystallineSite.Object.ambient.map_comp, ← IntegralComparison.BigCrystallineSite.Object.ambient.map_comp, hγ, lift_comp] |
| 48 | |
| 49 | include hgen hrange in |
| 50 | theorem exists_factor : ∃ γ : T ⟶ U, γ ≫ α = β := |
| 51 | ⟨CrystallineOpenFactor.lift α β hgen hrange, lift_comp α β hgen hrange⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.OpenFactor.CrystallineOpenFactor |