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.BoundedOpen.Subsite |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.MonomorphismProducts |
| 3 | |
| 4 | /-! # Equivalence -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: the bounded crystalline category of a chart is its actual geometric subcategory |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {X Y : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 20 | (g : X ⟶ Y) (hg : g ≫ fY = f) (n : ℕ) |
| 21 | |
| 22 | def postcompose : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n ⥤ |
| 23 | BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n := |
| 24 | (BoundedCrystalline.Site.property fY n).lift |
| 25 | (BoundedCrystalline.Site.inclusion f n ⋙ BigCrystallineSite.postcompose g hg) (fun U => U.property) |
| 26 | |
| 27 | instance postcompose_faithful : (postcompose (p := p) (J := J) (δ := δ) g hg n).Faithful where |
| 28 | map_injective {U V} {α β} h := by |
| 29 | apply (BoundedCrystalline.Site.inclusion f n).map_injective |
| 30 | apply (BigCrystallineSite.postcompose g hg).map_injective |
| 31 | exact congrArg (fun t : (postcompose g hg n).obj U ⟶ (postcompose g hg n).obj V => t.hom) h |
| 32 | |
| 33 | def openFunctor : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n ⥤ |
| 34 | Subsite.Objects (p := p) (J := J) (δ := δ) fY g n := |
| 35 | (Subsite.property fY g n).lift (postcompose g hg n) (fun U => ⟨U.obj.mapToX, rfl⟩) |
| 36 | |
| 37 | instance openFunctor_faithful : (openFunctor (p := p) (J := J) (δ := δ) g hg n).Faithful where |
| 38 | map_injective {U V} {α β} h := by |
| 39 | apply (postcompose g hg n).map_injective |
| 40 | exact congrArg (fun t : (openFunctor g hg n).obj U ⟶ (openFunctor g hg n).obj V => t.hom) h |
| 41 | |
| 42 | instance openFunctor_essSurj : (openFunctor (p := p) (J := J) (δ := δ) g hg n).EssSurj := by |
| 43 | refine ⟨?_⟩ |
| 44 | intro U |
| 45 | obtain ⟨t, ht⟩ := U.property |
| 46 | let V : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n := |
| 47 | ⟨Crystalline.OpenCondition.liftObject g hg U.obj.obj t ht, U.obj.property⟩ |
| 48 | refine ⟨V, ⟨?_⟩⟩ |
| 49 | exact (Subsite.property fY g n).isoMk |
| 50 | ((BoundedCrystalline.Site.property fY n).isoMk (Crystalline.OpenCondition.liftIso g hg U.obj.obj t ht)) |
| 51 | |
| 52 | variable [Mono g] |
| 53 | |
| 54 | instance postcompose_full : (postcompose (p := p) (J := J) (δ := δ) g hg n).Full where |
| 55 | map_surjective α := by |
| 56 | refine ⟨ObjectProperty.homMk (Crystalline.MonomorphismProducts.preimage g hg α.hom), ?_⟩ |
| 57 | apply (BoundedCrystalline.Site.inclusion fY n).map_injective |
| 58 | apply BigCrystallineSite.Object.Hom.ext |
| 59 | rfl |
| 60 | |
| 61 | instance openFunctor_full : (openFunctor (p := p) (J := J) (δ := δ) g hg n).Full where |
| 62 | map_surjective α := by |
| 63 | refine ⟨(postcompose g hg n).preimage α.hom, ?_⟩ |
| 64 | apply (Subsite.inclusion fY g n).map_injective |
| 65 | exact (postcompose g hg n).map_preimage α.hom |
| 66 | |
| 67 | instance openFunctor_isEquivalence : (openFunctor (p := p) (J := J) (δ := δ) g hg n).IsEquivalence := {} |
| 68 | |
| 69 | def equivalence : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n ≌ |
| 70 | Subsite.Objects (p := p) (J := J) (δ := δ) fY g n := |
| 71 | (openFunctor g hg n).asEquivalence |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence |