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.BigCrystallineSite |
| 2 | |
| 3 | /-! # Base Generated -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BaseGenerated.BaseGeneratedFrameLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! For a frame whose defining ideal comes from the base, every ring |
| 10 | factorization of an incoming crystalline map is already a crystalline map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 15 | universe u |
| 16 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 17 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 18 | {U V T : IntegralComparison.BigCrystallineSite.Object p B J δ f} (α : U ⟶ V) (β : T ⟶ V) |
| 19 | (hgen : U.ideal = J.map U.base) (φ : U.ring →+* T.ring) |
| 20 | (hφ : φ.comp α.ringMap.toRingHom = β.ringMap.toRingHom) |
| 21 | |
| 22 | include hφ in |
| 23 | theorem overBase : φ.comp U.base = T.base := by |
| 24 | rw [← α.overBase, ← RingHom.comp_assoc, hφ, β.overBase] |
| 25 | |
| 26 | include hgen hφ in |
| 27 | theorem isDPMorphism : DividedPowers.IsDPMorphism U.dividedPowers T.dividedPowers φ := by |
| 28 | apply DividedPowers.IsDPMorphism.of_comp δ U.dividedPowers T.dividedPowers |
| 29 | U.base φ hgen U.baseCompatible |
| 30 | rw [BaseGeneratedFrameLift.overBase α β φ hφ] |
| 31 | exact T.baseCompatible |
| 32 | |
| 33 | def dp : DividedPowers.DPMorphism U.dividedPowers T.dividedPowers where |
| 34 | toRingHom := φ |
| 35 | ideal_comp := (isDPMorphism α β hgen φ hφ).ideal_comp |
| 36 | dpow_comp := (isDPMorphism α β hgen φ hφ).dpow_comp |
| 37 | |
| 38 | theorem dp_comp : (dp α β hgen φ hφ).comp α.ringMap = β.ringMap := by |
| 39 | ext x |
| 40 | exact RingHom.congr_fun hφ x |
| 41 | |
| 42 | theorem closed_comp : |
| 43 | Spec.map (CommRingCat.ofHom (IntegralComparison.BigCrystallineSite.Object.quotientMap T U (dp α β hgen φ hφ))) ≫ |
| 44 | IntegralComparison.BigCrystallineSite.Object.closed.map α = IntegralComparison.BigCrystallineSite.Object.closed.map β := by |
| 45 | change Spec.map (CommRingCat.ofHom (IntegralComparison.BigCrystallineSite.Object.quotientMap T U (dp α β hgen φ hφ))) ≫ |
| 46 | Spec.map (CommRingCat.ofHom (IntegralComparison.BigCrystallineSite.Object.quotientMap U V α.ringMap)) = _ |
| 47 | rw [← Spec.map_comp] |
| 48 | change Spec.map (CommRingCat.ofHom |
| 49 | ((IntegralComparison.BigCrystallineSite.Object.quotientMap T U (dp α β hgen φ hφ)).comp (IntegralComparison.BigCrystallineSite.Object.quotientMap U V α.ringMap))) = _ |
| 50 | rw [← IntegralComparison.BigCrystallineSite.Object.quotientMap_comp, dp_comp] |
| 51 | rfl |
| 52 | |
| 53 | def lift : T ⟶ U where |
| 54 | ringMap := dp α β hgen φ hφ |
| 55 | overBase := BaseGeneratedFrameLift.overBase α β φ hφ |
| 56 | overX := by |
| 57 | rw [← α.overX, ← Category.assoc] |
| 58 | change (Spec.map (CommRingCat.ofHom (IntegralComparison.BigCrystallineSite.Object.quotientMap T U (dp α β hgen φ hφ))) ≫ |
| 59 | IntegralComparison.BigCrystallineSite.Object.closed.map α) ≫ V.mapToX = T.mapToX |
| 60 | rw [closed_comp] |
| 61 | exact β.overX |
| 62 | |
| 63 | theorem lift_comp : lift α β hgen φ hφ ≫ α = β := by |
| 64 | apply IntegralComparison.BigCrystallineSite.Object.Hom.ext |
| 65 | exact dp_comp α β hgen φ hφ |
| 66 | |
| 67 | theorem lift_ringMap : (lift α β hgen φ hφ).ringMap.toRingHom = φ := rfl |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BaseGenerated.BaseGeneratedFrameLift |