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.HilbertScheme.Presentations.OpenUnitLocus |
| 2 | |
| 3 | /-! # Unit Open -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.UnitOpen |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Principal-open representability in the category of schemes over a base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} (M : Over S) (s : Γ(M.left, ⊤)) |
| 16 | |
| 17 | def relativeUnitOpen : Over S := |
| 18 | Over.mk ((M.left.basicOpen s).ι ≫ M.hom) |
| 19 | |
| 20 | def relativeUnitOpenInclusion : relativeUnitOpen M s ⟶ M := |
| 21 | Over.homMk (M.left.basicOpen s).ι rfl |
| 22 | |
| 23 | instance relativeUnitOpenInclusion_isOpenImmersion : |
| 24 | IsOpenImmersion (relativeUnitOpenInclusion M s).left := inferInstanceAs |
| 25 | (IsOpenImmersion (M.left.basicOpen s).ι) |
| 26 | |
| 27 | theorem relativeUnitOpenInclusion_isUnit : |
| 28 | IsUnit ((relativeUnitOpenInclusion M s).left.appTop s) := by |
| 29 | apply (OpenUnitLocus.isUnit_appTop_iff_range_subset _ _).mpr |
| 30 | change Set.range (M.left.basicOpen s).ι ⊆ (M.left.basicOpen s : Set M.left) |
| 31 | rw [Scheme.Opens.range_ι] |
| 32 | |
| 33 | def relativeUnitSubfunctor : Subfunctor (yoneda.obj M) where |
| 34 | obj _T := {f | IsUnit (f.left.appTop s)} |
| 35 | map a _f hf := hf.map a.unop.left.appTop.hom |
| 36 | |
| 37 | def relativeUnitOpenPointEquiv (T : Over S) : |
| 38 | (T ⟶ relativeUnitOpen M s) ≃ {f : T ⟶ M // IsUnit (f.left.appTop s)} where |
| 39 | toFun f := ⟨f ≫ relativeUnitOpenInclusion M s, |
| 40 | (relativeUnitOpenInclusion_isUnit M s).map f.left.appTop.hom⟩ |
| 41 | invFun f := |
| 42 | let h : Set.range f.val.left ⊆ Set.range (M.left.basicOpen s).ι := by |
| 43 | rw [Scheme.Opens.range_ι] |
| 44 | exact (OpenUnitLocus.isUnit_appTop_iff_range_subset _ _).mp f.property |
| 45 | let g : T.left ⟶ (M.left.basicOpen s).toScheme := |
| 46 | IsOpenImmersion.lift (M.left.basicOpen s).ι f.val.left h |
| 47 | Over.homMk g (by |
| 48 | change g ≫ (M.left.basicOpen s).ι ≫ M.hom = T.hom |
| 49 | dsimp only [g] |
| 50 | rw [← Category.assoc, IsOpenImmersion.lift_fac] |
| 51 | exact f.val.w) |
| 52 | left_inv f := by |
| 53 | apply (Over.forget S).map_injective |
| 54 | apply (cancel_mono (M.left.basicOpen s).ι).mp |
| 55 | exact IsOpenImmersion.lift_fac _ _ _ |
| 56 | right_inv f := by |
| 57 | apply Subtype.ext |
| 58 | apply (Over.forget S).map_injective |
| 59 | have h : Set.range f.val.left ⊆ Set.range (M.left.basicOpen s).ι := by |
| 60 | rw [Scheme.Opens.range_ι] |
| 61 | exact (OpenUnitLocus.isUnit_appTop_iff_range_subset _ _).mp f.property |
| 62 | exact IsOpenImmersion.lift_fac (M.left.basicOpen s).ι f.val.left h |
| 63 | |
| 64 | def relativeUnitOpenRepresentation : |
| 65 | yoneda.obj (relativeUnitOpen M s) ≅ (relativeUnitSubfunctor M s).toFunctor := |
| 66 | NatIso.ofComponents (fun T => (relativeUnitOpenPointEquiv M s T.unop).toIso) (by |
| 67 | intro T U a |
| 68 | apply ConcreteCategory.hom_ext |
| 69 | intro f |
| 70 | apply Subtype.ext |
| 71 | exact Category.assoc _ _ _) |
| 72 | |
| 73 | theorem relativeUnitOpenRepresentation_inclusion : |
| 74 | (relativeUnitOpenRepresentation M s).hom ≫ (relativeUnitSubfunctor M s).ι = |
| 75 | yoneda.map (relativeUnitOpenInclusion M s) := rfl |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.UnitOpen |