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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SheafCechSheafTerms.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafEvaluation |
| 8 | |
| 9 | /-! # Sheaf Section Coordinates -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafSectionCoordinates |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | universe u v w |
| 17 | variable {X : TopCat.{u}} |
| 18 | variable (F : TopCat.Sheaf AddCommGrpCat.{u} X) {ι : Type u} |
| 19 | variable (U : ι → Opens X) (n : ℕ) |
| 20 | |
| 21 | noncomputable def cechTermSectionsRawIso (V : Opens X) : |
| 22 | (SheafTerms.cechTerm F U n).obj.obj (op V) ≅ |
| 23 | ∏ᶜ fun i : Fin (n + 1) → ι => |
| 24 | (SheafTerms.cechTermFactor F U n i).obj.obj (op V) := |
| 25 | SheafEvaluation.cechTermForgetSectionsIso F U n V ≪≫ SheafEvaluation.cechTermEvaluationIso F U n V |
| 26 | |
| 27 | @[reassoc] |
| 28 | theorem cechTermSectionsRawIso_hom_π (V : Opens X) |
| 29 | (i : Fin (n + 1) → ι) : |
| 30 | (cechTermSectionsRawIso F U n V).hom ≫ |
| 31 | Pi.π (fun i : Fin (n + 1) → ι => |
| 32 | (SheafTerms.cechTermFactor F U n i).obj.obj (op V)) i = |
| 33 | (Pi.π (SheafTerms.cechTermFactor F U n) i).hom.app (op V) := by |
| 34 | rw [cechTermSectionsRawIso, Iso.trans_hom, Category.assoc, |
| 35 | SheafEvaluation.cechTermEvaluationIso_hom_π] |
| 36 | exact congr_app (SheafForgetProjection.cechTermForgetIso_hom_π F U n i) (op V) |
| 37 | |
| 38 | noncomputable def cechTermSectionsProductIso (V : Opens X) : |
| 39 | (SheafTerms.cechTerm F U n).obj.obj (op V) ≅ |
| 40 | ∏ᶜ fun i : Fin (n + 1) → ι => |
| 41 | F.obj.obj (op (V ⊓ ∏ᶜ fun k : Fin (n + 1) => U (i k))) := |
| 42 | cechTermSectionsRawIso F U n V ≪≫ |
| 43 | Pi.mapIso (SheafTerms.cechTermFactorSectionsIso F U n V) |
| 44 | |
| 45 | theorem cechTermSectionsProductIso_hom_π (V : Opens X) |
| 46 | (i : Fin (n + 1) → ι) : |
| 47 | (cechTermSectionsProductIso F U n V).hom ≫ |
| 48 | Pi.π (fun i : Fin (n + 1) → ι => |
| 49 | F.obj.obj (op (V ⊓ ∏ᶜ fun k : Fin (n + 1) => U (i k)))) i = |
| 50 | (Pi.π (SheafTerms.cechTermFactor F U n) i).hom.app (op V) ≫ |
| 51 | (SheafTerms.cechTermFactorSectionsIso F U n V i).hom := by |
| 52 | rw [cechTermSectionsProductIso, Iso.trans_hom, Category.assoc, |
| 53 | Pi.mapIso_hom_π] |
| 54 | exact congrArg (fun k ↦ k ≫ (SheafTerms.cechTermFactorSectionsIso F U n V i).hom) |
| 55 | (cechTermSectionsRawIso_hom_π F U n V i) |
| 56 | |
| 57 | /-- Sections of a sheaf-level Cech term are families of sections on tuple intersections. -/ |
| 58 | noncomputable def cechTermSectionsAddEquiv (V : Opens X) : |
| 59 | (SheafTerms.cechTerm F U n).obj.obj (op V) ≃+ |
| 60 | ∀ i : Fin (n + 1) → ι, |
| 61 | F.obj.obj (op (V ⊓ ∏ᶜ fun k : Fin (n + 1) => U (i k))) := |
| 62 | ((cechTermSectionsProductIso F U n V) ≪≫ |
| 63 | Additive.GroupProductCoordinates.IntrinsicCech.productIsoPi fun i : Fin (n + 1) → ι => |
| 64 | F.obj.obj (op (V ⊓ ∏ᶜ fun k : Fin (n + 1) => U (i k)))).addCommGroupIsoToAddEquiv |
| 65 | |
| 66 | /-- The component of `cechTermSectionsAddEquiv` at a tuple is restriction to the |
| 67 | corresponding intersection. -/ |
| 68 | theorem cechTermSectionsAddEquiv_apply (V : Opens X) |
| 69 | (x : (SheafTerms.cechTerm F U n).obj.obj (op V)) (i : Fin (n + 1) → ι) : |
| 70 | cechTermSectionsAddEquiv F U n V x i = |
| 71 | ((eqToIso (by |
| 72 | rw [TopologicalSheafRestriction.IntrinsicCech.toRestrict_obj_obj_obj, Opens.functor_map_eq_inf])) : |
| 73 | (SheafTerms.cechTermFactor F U n i).obj.obj (op V) ≅ |
| 74 | F.obj.obj (op (V ⊓ ∏ᶜ fun k : Fin (n + 1) => U (i k)))).hom |
| 75 | ((Pi.π (SheafTerms.cechTermFactor F U n) i).hom.app (op V) x) := by |
| 76 | rw [show cechTermSectionsAddEquiv F U n V x i = |
| 77 | (Additive.GroupProductCoordinates.IntrinsicCech.productIsoPi (fun i : Fin (n + 1) → ι => |
| 78 | F.obj.obj (op (V ⊓ ∏ᶜ fun k : Fin (n + 1) => U (i k))))).hom |
| 79 | ((cechTermSectionsProductIso F U n V).hom x) i from rfl, |
| 80 | Additive.GroupProductCoordinates.IntrinsicCech.productIsoPi_hom_apply] |
| 81 | exact ConcreteCategory.congr_hom (cechTermSectionsProductIso_hom_π F U n V i) x |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafSectionCoordinates |