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.CechBaseTmul |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechPullbackComponents |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechScalarComponents |
| 4 | |
| 5 | /-! # Cech Base Change Components -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechBaseChangeComponents |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical tensor comparison before extension of scalars, on each Cech intersection. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.CechBaseChangeMap |
| 21 | |
| 22 | private theorem equality_π {Y S : Scheme.{u}} {p r : Y ⟶ S} (h : p = r) |
| 23 | (M : Y.Modules) {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) |
| 24 | (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) : |
| 25 | (eqToHom (congrArg (fun p => SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex p M U) h)).f q ≫ |
| 26 | Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor r M U q j.1) i = |
| 27 | Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor p M U q j.1) i ≫ |
| 28 | eqToHom (congrArg (fun p => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor p M U q i.1) h) := by |
| 29 | cases h |
| 30 | simp only [eqToHom_refl, HomologicalComplex.id_f, Category.id_comp, Category.comp_id] |
| 31 | |
| 32 | variable {X Y S T : Scheme.{u}} (f : Y ⟶ X) (π : X ⟶ S) (ρ : Y ⟶ T) (g : T ⟶ S) |
| 33 | variable (h : f ≫ π = ρ ≫ g) (M : X.Modules) |
| 34 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 35 | |
| 36 | def factorMap (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) : SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U q i.1 ⟶ |
| 37 | (ModuleCat.restrictScalars g.appTop.hom).obj |
| 38 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor ρ ((Scheme.Modules.pullback f).obj M) (fun j => f ⁻¹ᵁ U j) q i.1) := |
| 39 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor π).map ((pullbackPushforwardAdjunction f).unit.app M)).app |
| 40 | (op (∏ᶜ fun k => U (i.1 k))) ≫ |
| 41 | (SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules.baseCechFactorPushforwardIso f π ((Scheme.Modules.pullback f).obj M) U q i.1).inv ≫ |
| 42 | eqToHom (congrArg (fun p => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor p ((Scheme.Modules.pullback f).obj M) |
| 43 | (fun j => f ⁻¹ᵁ U j) q i.1) h) ≫ |
| 44 | (BaseScalar.Construction.BaseScalarRestriction.sectionsIso ρ g ((Scheme.Modules.pullback f).obj M) |
| 45 | (∏ᶜ fun k => f ⁻¹ᵁ U (i.1 k))).hom |
| 46 | |
| 47 | private theorem paste {C : Type*} [Category C] |
| 48 | {A B D E A' B' D' E' : C} (a : A ⟶ B) (b : B ⟶ D) (c : D ⟶ E) |
| 49 | (p : A ⟶ A') (q : B ⟶ B') (r : D ⟶ D') (s : E ⟶ E') |
| 50 | (a' : A' ⟶ B') (b' : B' ⟶ D') (c' : D' ⟶ E') |
| 51 | (ha : a ≫ q = p ≫ a') (hb : b ≫ r = q ≫ b') (hc : c ≫ s = r ≫ c') : |
| 52 | (a ≫ b ≫ c) ≫ s = p ≫ a' ≫ b' ≫ c' := by |
| 53 | simp only [Category.assoc] |
| 54 | rw [hc, ← Category.assoc b, hb, Category.assoc, ← Category.assoc a, ha] |
| 55 | simp only [Category.assoc] |
| 56 | |
| 57 | theorem restricted_component_π (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) : |
| 58 | (CechBaseTmul.Construction.CechBaseChangeMap.restrictedMap f π ρ g h M U).f q ≫ |
| 59 | (ModuleCat.restrictScalars g.appTop.hom).map |
| 60 | (Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => |
| 61 | SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor ρ ((Scheme.Modules.pullback f).obj M) (fun k => f ⁻¹ᵁ U k) q j.1) i) = |
| 62 | Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U q j.1) i ≫ |
| 63 | factorMap f π ρ g h M U q i := by |
| 64 | have ha := CechPullbackComponents.Construction.CechPullbackMap.component_π f π M U q i |
| 65 | have hb := equality_π h ((Scheme.Modules.pullback f).obj M) (fun k => f ⁻¹ᵁ U k) q i |
| 66 | have hc := CechScalarComponents.Construction.CechScalarRestriction.object_π ρ g ((Scheme.Modules.pullback f).obj M) |
| 67 | (fun k => f ⁻¹ᵁ U k) q i |
| 68 | have H := paste _ _ _ _ _ _ _ _ _ _ ha hb hc |
| 69 | simpa only [CechBaseTmul.Construction.CechBaseChangeMap.restrictedMap, factorMap, HomologicalComplex.comp_f, CechScalarCoface.Construction.CechScalarRestriction.complexIso, |
| 70 | HomologicalComplex.Hom.isoOfComponents_hom_f, Category.assoc] using H |
| 71 | |
| 72 | end Construction.CechBaseChangeMap |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechBaseChangeComponents |