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.Quotients.FiniteDescent.InvariantAffineEq |
| 2 | |
| 3 | /-! # Invariant Neighborhood -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.InvariantNeighborhood.Construction.FiniteInvariantNeighborhood |
| 6 | |
| 7 | /-! # Invariant affine neighborhoods of finite unions of orbits -/ |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {R X : Scheme.{u}} {s t : R ⟶ X} [IsFinite s] |
| 14 | |
| 15 | theorem exists_norm_data (e : CategoryTheory.EquivalenceRelation s t) |
| 16 | (F : Set X) (hF : F.Finite) |
| 17 | (hFs : ∀ x ∈ F, ∀ y, Invariant.Construction.InvariantCore.Related s t x y → y ∈ F) |
| 18 | (U : X.Opens) (hU : IsAffineOpen U) (hFU : F ⊆ U) : |
| 19 | ∃ D : X.Opens, IsAffineOpen D ∧ D ≤ U ∧ F ⊆ D ∧ |
| 20 | ∃ a : Γ((s ⁻¹ᵁ D).toScheme, ⊤), |
| 21 | ((s ⁻¹ᵁ D).ι ≫ t) ⁻¹ᵁ D = (s ⁻¹ᵁ D).toScheme.basicOpen a := by |
| 22 | let : IsAffine U := hU |
| 23 | have hF' : (U.ι ⁻¹' F).Finite := hF.preimage (f := U.ι) Subtype.val_injective.injOn |
| 24 | have hFW : U.ι ⁻¹' F ⊆ U.ι ⁻¹ᵁ Invariant.Construction.InvariantCore.core s t U := by |
| 25 | intro x hx |
| 26 | exact (Invariant.Construction.InvariantCore.mem_core s t U (U.ι x)).mpr fun y hy => hFU (hFs _ hx y hy) |
| 27 | obtain ⟨f, hfF, hfW⟩ := AffineNeighborhoodOpen.Construction.AffineNeighborhood.exists_basicOpen_scheme U.toScheme |
| 28 | (U.ι ⁻¹' F) hF' (U.ι ⁻¹ᵁ Invariant.Construction.InvariantCore.core s t U) hFW |
| 29 | let D : X.Opens := U.ι ''ᵁ U.toScheme.basicOpen f |
| 30 | have hD : IsAffineOpen D := |
| 31 | ((isAffineOpen_top U.toScheme).basicOpen f).image_of_isOpenImmersion U.ι |
| 32 | have hDW : D ≤ Invariant.Construction.InvariantCore.core s t U := by |
| 33 | rintro y ⟨z, hz, rfl⟩ |
| 34 | exact hfW hz |
| 35 | have hFD : F ⊆ D := fun y hy => ⟨⟨y, hFU hy⟩, hfF hy, rfl⟩ |
| 36 | have htU : s ⁻¹ᵁ D ≤ t ⁻¹ᵁ U := by |
| 37 | intro r hr |
| 38 | exact (Invariant.Construction.InvariantCore.mem_core s t U (s r)).mp (hDW hr) (t r) ⟨r, rfl, rfl⟩ |
| 39 | let g : (s ⁻¹ᵁ D).toScheme ⟶ U.toScheme := t.resLE U (s ⁻¹ᵁ D) htU |
| 40 | refine ⟨D, hD, hDW.trans (Invariant.Construction.InvariantCore.core_le s t e U), hFD, g.appTop f, ?_⟩ |
| 41 | rw [← Scheme.Hom.resLE_comp_ι t htU, Scheme.Hom.comp_preimage, |
| 42 | U.ι.preimage_image_eq, Scheme.preimage_basicOpen_top] |
| 43 | |
| 44 | theorem exists_invariant_affine (e : CategoryTheory.EquivalenceRelation s t) |
| 45 | (F : Set X) (hF : F.Finite) |
| 46 | (hFs : ∀ x ∈ F, ∀ y, Invariant.Construction.InvariantCore.Related s t x y → y ∈ F) |
| 47 | (U : X.Opens) (hU : IsAffineOpen U) (hFU : F ⊆ U) |
| 48 | (hb : ∀ (D : X.Opens), IsAffineOpen D → D ≤ U → |
| 49 | ∃ n : ℕ, letI := (s ∣_ D).appTop.hom.toAlgebra; |
| 50 | Nonempty (Module.Basis (Fin n) Γ(D.toScheme, ⊤) Γ((s ⁻¹ᵁ D).toScheme, ⊤))) : |
| 51 | ∃ W : X.Opens, IsAffineOpen W ∧ W ≤ U ∧ s ⁻¹ᵁ W = t ⁻¹ᵁ W ∧ F ⊆ W := by |
| 52 | obtain ⟨D, hD, hDU, hFD, a, ha⟩ := exists_norm_data e F hF hFs U hU hFU |
| 53 | let : IsAffine D := hD |
| 54 | have : IsAffine (s ⁻¹ᵁ D).toScheme := isAffine_of_isAffineHom (s ∣_ D) |
| 55 | obtain ⟨n, ⟨b⟩⟩ := hb D hD hDU |
| 56 | refine ⟨Invariant.Construction.InvariantCore.core s t D, ?_, (Invariant.Construction.InvariantCore.core_le s t e D).trans hDU, |
| 57 | Invariant.Construction.InvariantCore.core_invariant s t e D, ?_⟩ |
| 58 | · exact InvariantAffineEq.Construction.InvariantAffine.isAffineOpen_core e D (s ⁻¹ᵁ D).ι (s ∣_ D) |
| 59 | (isPullback_morphismRestrict s D) b a ha |
| 60 | · intro x hx |
| 61 | exact (Invariant.Construction.InvariantCore.mem_core s t D x).mpr fun y hy => hFD (hFs x hx y hy) |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.InvariantNeighborhood.Construction.FiniteInvariantNeighborhood |