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.AlgebraicGeometry.AbelianScheme.CartierDuality.AffineIntrinsicLineDescent |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.ModuleHomBaseChange |
| 3 | |
| 4 | /-! # Descent Relation Morphisms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.DescentRelationMorphisms.Construction.LineDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # CartierDuality: the actual overlap detects compatibility of descent morphisms |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.ModuleHomBaseChange.Construction |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | /-- A commutative square remains commutative under a functor and |
| 20 | the natural comparison isomorphisms at its two endpoints. -/ |
| 21 | theorem transport_intertwiner |
| 22 | {C D E : Type*} [Category C] [Category D] [Category E] |
| 23 | (F G : C ⥤ D) (P : D ⥤ E) (F' G' : C ⥤ E) |
| 24 | (cx : F ⋙ P ≅ F') (cy : G ⋙ P ≅ G') |
| 25 | {L M : C} (b : L ⟶ M) (a : F.obj L ⟶ G.obj L) (c : F.obj M ⟶ G.obj M) |
| 26 | (a' : F'.obj L ⟶ G'.obj L) (c' : F'.obj M ⟶ G'.obj M) |
| 27 | (ha : cx.inv.app L ≫ P.map a ≫ cy.hom.app L = a') |
| 28 | (hc : cx.inv.app M ≫ P.map c ≫ cy.hom.app M = c') |
| 29 | (h : F.map b ≫ c = a ≫ G.map b) : F'.map b ≫ c' = a' ≫ G'.map b := by |
| 30 | have hx : F'.map b ≫ cx.inv.app M = cx.inv.app L ≫ P.map (F.map b) := cx.inv.naturality b |
| 31 | have hy : P.map (G.map b) ≫ cy.hom.app M = cy.hom.app L ≫ G'.map b := cy.hom.naturality b |
| 32 | rw [← ha, ← hc, ← Category.assoc, hx] |
| 33 | simp only [Category.assoc] |
| 34 | rw [← Category.assoc (P.map (F.map b)) (P.map c) (cy.hom.app M), ← P.map_comp, h, P.map_comp] |
| 35 | simp only [Category.assoc] |
| 36 | rw [hy] |
| 37 | |
| 38 | variable {X Y : Scheme.{u}} {f : X ⟶ Y} (D E : Picard.Homomorphisms.IntrinsicModuleDescent.Construction.NativeModuleDescent f) (b : D.module ⟶ E.module) |
| 39 | |
| 40 | /-- Compatibility on a single equal-image pair of native test maps. -/ |
| 41 | def CompatibleAt {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q) : Prop := |
| 42 | (Scheme.Modules.pullback x).map b ≫ E.hom q x y hx hy = |
| 43 | D.hom q x y hx hy ≫ (Scheme.Modules.pullback y).map b |
| 44 | |
| 45 | /-- Endpoint and base-map equality transport the whole compatibility |
| 46 | proposition, including all dependent pullback module types. -/ |
| 47 | theorem compatibleAt_congr {T : Scheme.{u}} (q q' : T ⟶ Y) (x x' y y' : T ⟶ X) |
| 48 | (hx : x ≫ f = q) (hy : y ≫ f = q) (hx' : x' ≫ f = q') (hy' : y' ≫ f = q') |
| 49 | (hq : q = q') (hxx : x = x') (hyy : y = y') : |
| 50 | CompatibleAt D E b q x y hx hy ↔ CompatibleAt D E b q' x' y' hx' hy' := by |
| 51 | cases hq |
| 52 | cases hxx |
| 53 | cases hyy |
| 54 | rfl |
| 55 | |
| 56 | /-- Native compatibility pulls back along an arbitrary test-scheme map. -/ |
| 57 | theorem compatibleAt_pullback {T U : Scheme.{u}} (t : U ⟶ T) (q : T ⟶ Y) (x y : T ⟶ X) |
| 58 | (hx : x ≫ f = q) (hy : y ≫ f = q) (h : CompatibleAt D E b q x y hx hy) : |
| 59 | CompatibleAt D E b (t ≫ q) (t ≫ x) (t ≫ y) |
| 60 | (by rw [Category.assoc, hx]) (by rw [Category.assoc, hy]) := |
| 61 | transport_intertwiner (Scheme.Modules.pullback x) (Scheme.Modules.pullback y) |
| 62 | (Scheme.Modules.pullback t) (Scheme.Modules.pullback (t ≫ x)) (Scheme.Modules.pullback (t ≫ y)) |
| 63 | (Scheme.Modules.pullbackComp t x) (Scheme.Modules.pullbackComp t y) |
| 64 | b (D.hom q x y hx hy) (E.hom q x y hx hy) _ _ |
| 65 | (D.hom_pullback t q x y hx hy) (E.hom_pullback t q x y hx hy) h |
| 66 | |
| 67 | /-- Any actual presentation of the overlap controls compatibility on |
| 68 | every native test scheme. -/ |
| 69 | theorem compatible_of_isPullback {Z : Scheme.{u}} (p₁ p₂ : Z ⟶ X) (sq : IsPullback p₁ p₂ f f) |
| 70 | (q₀ : Z ⟶ Y) (h₁ : p₁ ≫ f = q₀) (h₂ : p₂ ≫ f = q₀) |
| 71 | (h : CompatibleAt D E b q₀ p₁ p₂ h₁ h₂) {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 72 | (hx : x ≫ f = q) (hy : y ≫ f = q) : CompatibleAt D E b q x y hx hy := by |
| 73 | let t : T ⟶ Z := sq.lift x y (hx.trans hy.symm) |
| 74 | have ht := compatibleAt_pullback D E b t q₀ p₁ p₂ h₁ h₂ h |
| 75 | have htx : t ≫ p₁ = x := sq.lift_fst _ _ _ |
| 76 | have hty : t ≫ p₂ = y := sq.lift_snd _ _ _ |
| 77 | have htq : t ≫ q₀ = q := by rw [← h₂, ← Category.assoc, hty, hy] |
| 78 | exact (compatibleAt_congr D E b _ q _ x _ y _ _ hx hy htq htx hty).mp ht |
| 79 | |
| 80 | /-- The native scheme-theoretic overlap controls every test scheme, |
| 81 | including all infinitesimal test schemes. -/ |
| 82 | theorem compatible_of_overlap |
| 83 | (h : CompatibleAt D E b (pullback.snd f f ≫ f) (pullback.fst f f) (pullback.snd f f) |
| 84 | pullback.condition rfl) {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 85 | (hx : x ≫ f = q) (hy : y ≫ f = q) : CompatibleAt D E b q x y hx hy := |
| 86 | compatible_of_isPullback D E b (pullback.fst f f) (pullback.snd f f) |
| 87 | (IsPullback.of_hasPullback f f) _ pullback.condition rfl h q x y hx hy |
| 88 | |
| 89 | /-- A morphism compatible on the actual overlap is a morphism of the |
| 90 | entire ordinary descent data. -/ |
| 91 | def nativeDescentHomOfOverlap |
| 92 | (h : CompatibleAt D E b (pullback.snd f f ≫ f) (pullback.fst f f) (pullback.snd f f) |
| 93 | pullback.condition rfl) : AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData D ⟶ AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData E := |
| 94 | Picard.Homomorphisms.ModuleHomBaseChange.Construction.nativeDescentHom f _ _ b (compatible_of_overlap D E b h) |
| 95 | |
| 96 | /-- The standard pullback-composition path is the actual canonical |
| 97 | module descent map on the overlap. -/ |
| 98 | theorem canonicalDescent_standard {X Y Z : Scheme.{u}} (f : X ⟶ Y) (p q : Z ⟶ X) |
| 99 | (h : p ≫ f = q ≫ f) (L : Y.Modules) : |
| 100 | (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f L).hom (q ≫ f) p q h rfl = |
| 101 | (Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app L := by |
| 102 | rw [Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent_hom] |
| 103 | simp only [Picard.PoincareBundle.Cech.MateNormalization.standardGluing, Scheme.Modules.pullbackCongr, |
| 104 | eqToIso_refl, Iso.trans_refl, Iso.trans_hom, NatTrans.comp_app, Iso.symm_hom, Category.assoc] |
| 105 | rfl |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.DescentRelationMorphisms.Construction.LineDescent |