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.OnOpenBaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.RestrictedIsomorphismStalks |
| 3 | |
| 4 | /-! # Maximal Isomorphism Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.MaximalIsomorphismOpen |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every scheme morphism has a largest target open over which it is |
| 11 | an isomorphism, and its restriction to that open is an isomorphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 17 | |
| 18 | def maximalIsomorphismOpen : Y.Opens := |
| 19 | ⨆ (U : Y.Opens) (_ : IsIso (f ∣_ U)), U |
| 20 | |
| 21 | theorem mem_maximalIsomorphismOpen (y : Y) : |
| 22 | y ∈ maximalIsomorphismOpen f ↔ ∃ U : Y.Opens, y ∈ U ∧ IsIso (f ∣_ U) := by |
| 23 | simp only [maximalIsomorphismOpen, TopologicalSpace.Opens.mem_iSup] |
| 24 | exact ⟨fun ⟨U, hi, hy⟩ => ⟨U, hy, hi⟩, fun ⟨U, hy, hi⟩ => ⟨U, hi, hy⟩⟩ |
| 25 | |
| 26 | theorem maximalIsomorphismOpen_restrict_isIso : |
| 27 | IsIso (f ∣_ maximalIsomorphismOpen f) := by |
| 28 | apply IsZariskiLocalAtTarget.of_forall_exists_morphismRestrict |
| 29 | (P := MorphismProperty.isomorphisms Scheme) |
| 30 | intro y |
| 31 | obtain ⟨U, hy, hi⟩ := (mem_maximalIsomorphismOpen f y.val).mp y.property |
| 32 | let := hi |
| 33 | let V := (maximalIsomorphismOpen f).ι ⁻¹ᵁ U |
| 34 | refine ⟨V, hy, ?_⟩ |
| 35 | change IsIso ((f ∣_ maximalIsomorphismOpen f) ∣_ V) |
| 36 | rw [← OpenPullbackIsomorphismTransport.isIso_pullback_fst_open_iff, RestrictedIsomorphismStalks.isIso_pullback_restrict_iff] |
| 37 | apply OnOpenBaseChange.isIso_pullback_fst_of_range_subset_isomorphism_open f U |
| 38 | rintro z ⟨t, rfl⟩ |
| 39 | exact t.property |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.MaximalIsomorphismOpen |