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.Closed.ImmersionOverlapLifts |
| 2 | |
| 3 | /-! # Cover Intersections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.CoverIntersections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Closed subschemes compatible on the overlaps of ambient open pieces |
| 10 | have open pairwise intersections in the ambient scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {X : Scheme.{u}} {J : Type u} (V Z : J → Scheme.{u}) |
| 16 | variable (u : ∀ i, V i ⟶ X) (c : ∀ i, Z i ⟶ V i) |
| 17 | variable [∀ i, IsOpenImmersion (u i)] [∀ i, IsClosedImmersion (c i)] |
| 18 | variable (hc : ∀ i j, (c i).ker.comap (pullback.fst (u i) (u j)) = |
| 19 | (c j).ker.comap (pullback.snd (u i) (u j))) |
| 20 | |
| 21 | abbrev closedCoverMap (i : J) : Z i ⟶ X := c i ≫ u i |
| 22 | |
| 23 | def closedCoverIntersectionLift (i j : J) : pullback (closedCoverMap V Z u c i) (u j) ⟶ Z j := |
| 24 | Classical.choose (ImmersionOverlapLifts.closedImmersion_overlap_lift (u i) (u j) (c i) (c j) (hc i j) |
| 25 | (pullback.fst (closedCoverMap V Z u c i) (u j)) |
| 26 | (pullback.snd (closedCoverMap V Z u c i) (u j)) |
| 27 | (pullback.condition (f := closedCoverMap V Z u c i) (g := u j))) |
| 28 | |
| 29 | omit [∀ i, IsOpenImmersion (u i)] in |
| 30 | @[reassoc] |
| 31 | theorem closedCoverIntersectionLift_fac (i j : J) : |
| 32 | closedCoverIntersectionLift V Z u c hc i j ≫ c j = |
| 33 | pullback.snd (closedCoverMap V Z u c i) (u j) := |
| 34 | Classical.choose_spec (ImmersionOverlapLifts.closedImmersion_overlap_lift (u i) (u j) (c i) (c j) (hc i j) |
| 35 | (pullback.fst (closedCoverMap V Z u c i) (u j)) |
| 36 | (pullback.snd (closedCoverMap V Z u c i) (u j)) |
| 37 | (pullback.condition (f := closedCoverMap V Z u c i) (g := u j))) |
| 38 | |
| 39 | theorem closedCoverIntersection_isPullback (i j : J) : |
| 40 | IsPullback (pullback.fst (closedCoverMap V Z u c i) (u j)) |
| 41 | (closedCoverIntersectionLift V Z u c hc i j) (closedCoverMap V Z u c i) (closedCoverMap V Z u c j) := by |
| 42 | apply IsPullback.mk' |
| 43 | · exact pullback.condition.trans (closedCoverIntersectionLift_fac_assoc V Z u c hc i j (u j)).symm |
| 44 | · intro W f g h _ |
| 45 | exact (cancel_mono (pullback.fst (closedCoverMap V Z u c i) (u j))).mp h |
| 46 | · intro W a b h |
| 47 | let l : W ⟶ pullback (closedCoverMap V Z u c i) (u j) := |
| 48 | pullback.lift a (b ≫ c j) ((h.trans (Category.assoc _ _ _).symm)) |
| 49 | refine ⟨l, pullback.lift_fst _ _ _, ?_⟩ |
| 50 | apply (cancel_mono (c j)).mp |
| 51 | rw [Category.assoc, closedCoverIntersectionLift_fac] |
| 52 | exact pullback.lift_snd _ _ _ |
| 53 | |
| 54 | include hc in |
| 55 | theorem closedCoverIntersection_fst_isOpenImmersion (i j : J) : |
| 56 | IsOpenImmersion (pullback.fst (closedCoverMap V Z u c i) (closedCoverMap V Z u c j)) := by |
| 57 | let h := closedCoverIntersection_isPullback V Z u c hc i j |
| 58 | have H : IsOpenImmersion (h.isoPullback.inv ≫ pullback.fst (closedCoverMap V Z u c i) (u j)) := |
| 59 | inferInstance |
| 60 | rwa [h.isoPullback_inv_fst] at H |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.CoverIntersections |