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/SheafCechSheafDifferential.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.Cech.SheafFactorRestriction |
| 8 | |
| 9 | /-! # Sheaf Cofaces -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.SheafCofaces.IntrinsicCech |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | universe u |
| 17 | variable {X : TopCat.{u}} |
| 18 | variable (F : TopCat.Sheaf AddCommGrpCat.{u} X) |
| 19 | variable {ι : Type u} (U : ι → Opens X) (n : ℕ) |
| 20 | |
| 21 | theorem cechTupleLE (k : Fin (n + 2)) (i : Fin (n + 2) → ι) : |
| 22 | (∏ᶜ fun a : Fin (n + 2) => U (i a)) ≤ |
| 23 | ∏ᶜ fun a : Fin (n + 1) => |
| 24 | U ((i ∘ (SimplexCategory.δ k).toOrderHom.toFun) a) := |
| 25 | leOfHom (((FormalCoproduct.mk _ U).mapPower |
| 26 | (SimplexCategory.δ k).toOrderHom.toFun).φ i) |
| 27 | |
| 28 | /-- The sheaf-level Cech coface obtained by deleting the `k`th entry of every tuple. -/ |
| 29 | noncomputable def cechCoface (k : Fin (n + 2)) : |
| 30 | IntrinsicCech.SheafTerms.cechTerm F U n ⟶ IntrinsicCech.SheafTerms.cechTerm F U (n + 1) := |
| 31 | Pi.lift (fun i : Fin (n + 2) → ι => |
| 32 | Pi.π (IntrinsicCech.SheafTerms.cechTermFactor F U n) |
| 33 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun) ≫ |
| 34 | SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F (cechTupleLE U n k i)) |
| 35 | |
| 36 | /-- Under the concrete section equivalence, a sheaf-level Cech coface restricts the |
| 37 | component indexed by the tuple with its `k`th entry deleted. -/ |
| 38 | theorem cechCoface_apply (V : Opens X) (x : (IntrinsicCech.SheafTerms.cechTerm F U n).obj.obj (op V)) |
| 39 | (k : Fin (n + 2)) (i : Fin (n + 2) → ι) : |
| 40 | IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U (n + 1) V |
| 41 | ((cechCoface F U n k).hom.app (op V) x) i = |
| 42 | F.obj.map (homOfLE (inf_le_inf_left V |
| 43 | (leOfHom (((FormalCoproduct.mk _ U).mapPower |
| 44 | (SimplexCategory.δ k).toOrderHom.toFun).φ i)))).op |
| 45 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U n V x |
| 46 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)) := by |
| 47 | rw [IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv_apply] |
| 48 | have hcoface : |
| 49 | cechCoface F U n k ≫ Pi.π (IntrinsicCech.SheafTerms.cechTermFactor F U (n + 1)) i = |
| 50 | Pi.π (IntrinsicCech.SheafTerms.cechTermFactor F U n) |
| 51 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun) ≫ |
| 52 | SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F (cechTupleLE U n k i) := by |
| 53 | change |
| 54 | Pi.lift (fun i : Fin (n + 2) → ι => |
| 55 | Pi.π (IntrinsicCech.SheafTerms.cechTermFactor F U n) |
| 56 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun) ≫ |
| 57 | SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F (cechTupleLE U n k i)) ≫ |
| 58 | Pi.π (IntrinsicCech.SheafTerms.cechTermFactor F U (n + 1)) i = |
| 59 | Pi.π (IntrinsicCech.SheafTerms.cechTermFactor F U n) |
| 60 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun) ≫ |
| 61 | SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F (cechTupleLE U n k i) |
| 62 | exact Pi.lift_comp_π _ i |
| 63 | have hcomponent : |
| 64 | (Pi.π (IntrinsicCech.SheafTerms.cechTermFactor F U (n + 1)) i).hom.app (op V) |
| 65 | ((cechCoface F U n k).hom.app (op V) x) = |
| 66 | (SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F (cechTupleLE U n k i)).hom.app (op V) |
| 67 | ((Pi.π (IntrinsicCech.SheafTerms.cechTermFactor F U n) |
| 68 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)).hom.app (op V) x) := by |
| 69 | exact ConcreteCategory.congr_hom |
| 70 | (congrArg (fun f => f.hom.app (op V)) hcoface) x |
| 71 | rw [hcomponent, SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction_apply, |
| 72 | ← IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv_apply] |
| 73 | exact ConcreteCategory.congr_hom |
| 74 | (congrArg F.obj.map (Subsingleton.elim _ _)) |
| 75 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U n V x |
| 76 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.SheafCofaces.IntrinsicCech |