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.AbelianModuli.HilbertConstruction.ConstantScheme.Iff |
| 2 | |
| 3 | /-! # Locally Constant Fiber Map -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.LocallyConstantFiberMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Open label fibers are preserved by arbitrary maps with matching |
| 10 | locally constant labels. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | def locallyConstantFiberLift {T V : Scheme.{u}} {I : Type u} (r : V ⟶ T) |
| 17 | (c : LocallyConstant T I) (a : I) (h : ∀ v, c (r v) = a) : |
| 18 | V ⟶ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c a).toScheme := |
| 19 | IsOpenImmersion.lift (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c a).ι r (by |
| 20 | rintro _ ⟨v, rfl⟩ |
| 21 | exact ⟨⟨r v, h v⟩, rfl⟩) |
| 22 | |
| 23 | theorem locallyConstantFiberLift_fac {T V : Scheme.{u}} {I : Type u} (r : V ⟶ T) |
| 24 | (c : LocallyConstant T I) (a : I) (h : ∀ v, c (r v) = a) : |
| 25 | locallyConstantFiberLift r c a h ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c a).ι = r := |
| 26 | IsOpenImmersion.lift_fac _ _ _ |
| 27 | |
| 28 | theorem translated_relation_of_factor {X T V : Scheme.{u}} (t : X ⟶ X) (x y : T ⟶ X) |
| 29 | (U : T.Opens) (h : U.ι ≫ y = (U.ι ≫ x) ≫ t) |
| 30 | (r : V ⟶ T) (s : V ⟶ U.toScheme) (hs : s ≫ U.ι = r) : r ≫ y = (r ≫ x) ≫ t := by |
| 31 | rw [← hs, Category.assoc, h] |
| 32 | simp only [Category.assoc] |
| 33 | |
| 34 | def locallyConstantFiberMap {T U : Scheme.{u}} {I : Type u} (r : U ⟶ T) |
| 35 | (c : LocallyConstant T I) (d : LocallyConstant U I) (hd : ∀ x, d x = c (r x)) (a : I) : |
| 36 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber d a).toScheme ⟶ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c a).toScheme := |
| 37 | IsOpenImmersion.lift (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c a).ι ((AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber d a).ι ≫ r) (by |
| 38 | rintro _ ⟨x, rfl⟩ |
| 39 | exact ⟨⟨r x.val, (hd x.val).symm.trans x.property⟩, rfl⟩) |
| 40 | |
| 41 | theorem locallyConstantFiberMap_fac {T U : Scheme.{u}} {I : Type u} (r : U ⟶ T) |
| 42 | (c : LocallyConstant T I) (d : LocallyConstant U I) (hd : ∀ x, d x = c (r x)) (a : I) : |
| 43 | locallyConstantFiberMap r c d hd a ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c a).ι = |
| 44 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber d a).ι ≫ r := IsOpenImmersion.lift_fac _ _ _ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.RepresentationTheory.Theta.Geometric.LocallyConstantFiberMap |