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.RelationQuotient |
| 2 | |
| 3 | /-! # Relation Lift -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelationLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: universal factorization through a crystalline relation quotient |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelationQuotient |
| 18 | |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | variable {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 21 | variable {U W : BigCrystallineSite.Object p B J δ f} (S : Set U.ring) (hS : S ⊆ U.ideal) |
| 22 | variable (β : W ⟶ U) (hβ : ∀ x ∈ S, β.ringMap x = 0) |
| 23 | |
| 24 | def liftDP : DividedPowers.DPMorphism (RelationQuotient.dividedPowers U S hS) W.dividedPowers := |
| 25 | DividedPower.Relations.lift U.dividedPowers S hS β.ringMap hβ |
| 26 | |
| 27 | lemma liftDP_comp : (liftDP S hS β hβ).comp (RelationQuotient.quotientDP U S hS) = β.ringMap := |
| 28 | DividedPower.Relations.lift_comp U.dividedPowers S hS β.ringMap hβ |
| 29 | |
| 30 | private lemma quotient_comp : |
| 31 | (BigCrystallineSite.Object.quotientMap W (RelationQuotient.object U S hS) (liftDP S hS β hβ)).comp |
| 32 | (BigCrystallineSite.Object.quotientMap (RelationQuotient.object U S hS) U (RelationQuotient.quotientDP U S hS)) = BigCrystallineSite.Object.quotientMap W U β.ringMap := by |
| 33 | rw [← BigCrystallineSite.Object.quotientMap_comp, liftDP_comp] |
| 34 | |
| 35 | def liftHom : W ⟶ RelationQuotient.object U S hS where |
| 36 | ringMap := liftDP S hS β hβ |
| 37 | overBase := by |
| 38 | change (liftDP S hS β hβ).toRingHom.comp ((RelationQuotient.quotientRingMap U S).comp U.base) = W.base |
| 39 | change β.ringMap.toRingHom.comp U.base = W.base |
| 40 | exact β.overBase |
| 41 | overX := by |
| 42 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap W (RelationQuotient.object U S hS) (liftDP S hS β hβ))) ≫ |
| 43 | (RelationQuotient.closedMap U S ≫ U.mapToX) = W.mapToX |
| 44 | rw [← Category.assoc] |
| 45 | have hq : Spec.map (CommRingCat.ofHom |
| 46 | (BigCrystallineSite.Object.quotientMap W (RelationQuotient.object U S hS) (liftDP S hS β hβ))) ≫ RelationQuotient.closedMap U S = |
| 47 | Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap W U β.ringMap)) := by |
| 48 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap W (RelationQuotient.object U S hS) (liftDP S hS β hβ))) ≫ |
| 49 | Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap (RelationQuotient.object U S hS) U (RelationQuotient.quotientDP U S hS))) = _ |
| 50 | rw [← Spec.map_comp] |
| 51 | exact congrArg (fun t => Spec.map (CommRingCat.ofHom t)) (quotient_comp S hS β hβ) |
| 52 | rw [hq] |
| 53 | exact β.overX |
| 54 | |
| 55 | lemma liftHom_comp : liftHom S hS β hβ ≫ RelationQuotient.hom U S hS = β := by |
| 56 | apply BigCrystallineSite.Object.Hom.ext |
| 57 | exact liftDP_comp S hS β hβ |
| 58 | |
| 59 | lemma liftHom_unique (γ : W ⟶ RelationQuotient.object U S hS) (hγ : γ ≫ RelationQuotient.hom U S hS = β) : γ = liftHom S hS β hβ := by |
| 60 | apply BigCrystallineSite.Object.Hom.ext |
| 61 | apply DFunLike.ext |
| 62 | intro y |
| 63 | obtain ⟨x, rfl⟩ := Ideal.Quotient.mk_surjective y |
| 64 | exact congrArg (fun t : W ⟶ U => t.ringMap x) hγ |
| 65 | |
| 66 | include hβ in |
| 67 | lemma existsUnique_factorization : ∃! γ : W ⟶ RelationQuotient.object U S hS, γ ≫ RelationQuotient.hom U S hS = β := |
| 68 | ⟨liftHom S hS β hβ, liftHom_comp S hS β hβ, fun γ hγ => liftHom_unique S hS β hβ γ hγ⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelationLift |