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.Quotients.FiniteDescent.CechPullbackHomology |
| 2 | |
| 3 | /-! # Cech Pullback Components -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechPullbackComponents |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical pullback chain map evaluated on each ordered Cech factor. -/ |
| 10 | |
| 11 | set_option backward.isDefEq.respectTransparency false |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace Construction.CechPullbackMap |
| 19 | |
| 20 | private theorem inv_square {C : Type*} [Category C] |
| 21 | {A B X Y : C} (e : A ≅ B) (k : X ≅ Y) (s : A ⟶ X) (t : B ⟶ Y) |
| 22 | (h : e.hom ≫ t = s ≫ k.hom) : e.inv ≫ s = t ≫ k.inv := by |
| 23 | apply (cancel_mono k.hom).1 |
| 24 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 25 | rw [← h, ← Category.assoc, Iso.inv_hom_id, Category.id_comp] |
| 26 | |
| 27 | variable {X Y S : Scheme.{u}} (f : Y ⟶ X) (π : X ⟶ S) (M : X.Modules) |
| 28 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 29 | |
| 30 | private theorem object_map_π {M N : X.Modules} (a : M ⟶ N) (q : ℕ) |
| 31 | (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) : |
| 32 | (SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechObjectFunctor π U q).map a ≫ |
| 33 | Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π N U q j.1) i = |
| 34 | Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U q j.1) i ≫ |
| 35 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor π).map a).app (op (∏ᶜ fun k => U (i.1 k))) := |
| 36 | Pi.map_π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => |
| 37 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor π).map a).app (op (∏ᶜ fun k => U (j.1 k)))) i |
| 38 | |
| 39 | theorem component_π (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) : |
| 40 | (CechPullbackHomology.Construction.CechPullbackMap.map f π M U).f q ≫ |
| 41 | Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => |
| 42 | SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) ((Scheme.Modules.pullback f).obj M) (fun k => f ⁻¹ᵁ U k) q j.1) i = |
| 43 | Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U q j.1) i ≫ |
| 44 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor π).map ((pullbackPushforwardAdjunction f).unit.app M)).app |
| 45 | (op (∏ᶜ fun k => U (i.1 k))) ≫ |
| 46 | (SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules.baseCechFactorPushforwardIso f π ((Scheme.Modules.pullback f).obj M) U q i.1).inv := by |
| 47 | let P := (Scheme.Modules.pullback f).obj M |
| 48 | let a := (SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechObjectFunctor π U q).map ((pullbackPushforwardAdjunction f).unit.app M) |
| 49 | let e := SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules.orderedBaseCechObjectPushforwardIso f π P U q |
| 50 | let b := Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => |
| 51 | SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) P (fun k => f ⁻¹ᵁ U k) q j.1) i |
| 52 | let c := Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => |
| 53 | SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj P) U q j.1) i |
| 54 | let k := SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules.baseCechFactorPushforwardIso f π P U q i.1 |
| 55 | have he : e.inv ≫ b = c ≫ k.inv := |
| 56 | inv_square e k b c (SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules.orderedBaseCechObjectPushforwardIso_hom_π f π P U q i) |
| 57 | change (a ≫ e.inv) ≫ b = _ |
| 58 | rw [Category.assoc, he, ← Category.assoc] |
| 59 | exact congrArg (fun z => z ≫ k.inv) |
| 60 | (object_map_π π U ((pullbackPushforwardAdjunction f).unit.app M) q i) |>.trans |
| 61 | (Category.assoc _ _ _) |
| 62 | |
| 63 | end Construction.CechPullbackMap |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechPullbackComponents |