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 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineGroupoidIs |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.InvariantCoverHas |
| 4 | |
| 5 | /-! # Invariant Affine Has -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.InvariantAffineHas.Construction.InvariantAffineBasis |
| 8 | |
| 9 | /-! |
| 10 | # Invariant neighborhoods for relations pulled back from a finite-free map |
| 11 | |
| 12 | For a finite subgroup action the relation source is the base change of the |
| 13 | subgroup's structure map. A basis on the base therefore supplies every basis |
| 14 | required in the norm neighborhood construction. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {H S R X : Scheme.{u}} [IsAffine H] [IsAffine S] |
| 22 | variable (h : H ⟶ S) (a : X ⟶ S) (r : R ⟶ H) (s : R ⟶ X) |
| 23 | variable (hs : IsPullback r s h a) [IsFinite h] |
| 24 | |
| 25 | include hs |
| 26 | |
| 27 | /-- An affine restriction of a pulled-back finite-free source has the |
| 28 | base-changed basis, without any assumption on the relation target. -/ |
| 29 | theorem exists_basis_restrict {ι : Type v} |
| 30 | (b : letI := h.appTop.hom.toAlgebra; Module.Basis ι Γ(S, ⊤) Γ(H, ⊤)) |
| 31 | (D : X.Opens) [IsAffine D] : |
| 32 | letI := (s ∣_ D).appTop.hom.toAlgebra |
| 33 | Nonempty (Module.Basis ι Γ(D.toScheme, ⊤) Γ((s ⁻¹ᵁ D).toScheme, ⊤)) := by |
| 34 | have : IsFinite s := MorphismProperty.of_isPullback hs inferInstance |
| 35 | have : IsAffine (s ⁻¹ᵁ D).toScheme := isAffine_of_isAffineHom (s ∣_ D) |
| 36 | have hp : IsPullback ((s ⁻¹ᵁ D).ι ≫ r) (s ∣_ D) h (D.ι ≫ a) := |
| 37 | (isPullback_morphismRestrict s D).flip.paste_horiz hs |
| 38 | obtain ⟨bD, _⟩ := AffineGroupoidIs.Construction.AffineGroupoid.exists_basis_of_isPushout |
| 39 | h.appTop (D.ι ≫ a).appTop ((s ⁻¹ᵁ D).ι ≫ r).appTop (s ∣_ D).appTop |
| 40 | (isPushout_appTop_of_isPullback hp) b |
| 41 | exact ⟨bD⟩ |
| 42 | |
| 43 | /-- The norm construction applies to a finite orbit in an affine open as |
| 44 | soon as the source comes by base change from one finite-free affine map. -/ |
| 45 | theorem exists_invariant_affine |
| 46 | {n : ℕ} (b : letI := h.appTop.hom.toAlgebra; Module.Basis (Fin n) Γ(S, ⊤) Γ(H, ⊤)) |
| 47 | (t : R ⟶ X) (e : CategoryTheory.EquivalenceRelation s t) |
| 48 | (x : X) (U : X.Opens) (hU : IsAffineOpen U) |
| 49 | (hUx : ∀ y, Invariant.Construction.InvariantCore.Related s t x y → y ∈ U) : |
| 50 | ∃ W : X.Opens, IsAffineOpen W ∧ W ≤ U ∧ s ⁻¹ᵁ W = t ⁻¹ᵁ W ∧ |
| 51 | ∀ y, Invariant.Construction.InvariantCore.Related s t x y → y ∈ W := by |
| 52 | have : IsFinite s := MorphismProperty.of_isPullback hs inferInstance |
| 53 | apply InvariantAffineEq.Construction.InvariantAffine.exists_invariant_affine e x U hU hUx |
| 54 | intro D hD _ |
| 55 | let : IsAffine D := hD |
| 56 | exact ⟨n, exists_basis_restrict h a r s hs b D⟩ |
| 57 | |
| 58 | /-- Affine neighborhoods of whole orbits supply all invariant affine |
| 59 | refinements, by prime avoidance followed by the norm construction. -/ |
| 60 | theorem hasAffineRefinements |
| 61 | {n : ℕ} (b : letI := h.appTop.hom.toAlgebra; Module.Basis (Fin n) Γ(S, ⊤) Γ(H, ⊤)) |
| 62 | (t : R ⟶ X) (e : CategoryTheory.EquivalenceRelation s t) |
| 63 | (hOrbit : ∀ x : X, ∃ U : X.Opens, IsAffineOpen U ∧ |
| 64 | ∀ y, Invariant.Construction.InvariantCore.Related s t x y → y ∈ U) : |
| 65 | InvariantCoverHas.Construction.InvariantCover.HasAffineRefinements s t := by |
| 66 | have : IsFinite s := MorphismProperty.of_isPullback hs inferInstance |
| 67 | intro V hV x hx |
| 68 | obtain ⟨U, hU, hUx⟩ := hOrbit x |
| 69 | have hVx : {y | Invariant.Construction.InvariantCore.Related s t x y} ⊆ V := by |
| 70 | rintro y ⟨z, hz, hz'⟩ |
| 71 | have hmem : z ∈ s ⁻¹ᵁ V := by simpa only [Scheme.Hom.mem_preimage, hz] using hx |
| 72 | rw [hV] at hmem |
| 73 | change y ∈ V |
| 74 | simpa only [Scheme.Hom.mem_preimage, hz'] using hmem |
| 75 | obtain ⟨U', hU', hFU', _, hU'V⟩ := AffineNeighborhoodOpen.Construction.AffineNeighborhood.exists_affineOpen_subset X |
| 76 | {y | Invariant.Construction.InvariantCore.Related s t x y} (Invariant.Construction.InvariantCore.finite_orbit s t x) U V hU hUx hVx |
| 77 | obtain ⟨W, hW, hWU', hWi, hWx⟩ := |
| 78 | exists_invariant_affine h a r s hs b t e x U' hU' (fun _ hy => hFU' hy) |
| 79 | exact ⟨⟨W, hW, hWi⟩, hWx x (Invariant.Construction.InvariantCore.related_refl e x), hWU'.trans hU'V⟩ |
| 80 | |
| 81 | /-- The actual scheme quotient exists when the finite-free relation source |
| 82 | comes from the affine base and every orbit has an affine neighborhood. -/ |
| 83 | theorem exists_quotient |
| 84 | {n : ℕ} (b : letI := h.appTop.hom.toAlgebra; Module.Basis (Fin n) Γ(S, ⊤) Γ(H, ⊤)) |
| 85 | (t : R ⟶ X) (e : CategoryTheory.EquivalenceRelation s t) |
| 86 | (hOrbit : ∀ x : X, ∃ U : X.Opens, IsAffineOpen U ∧ |
| 87 | ∀ y, Invariant.Construction.InvariantCore.Related s t x y → y ∈ U) : |
| 88 | ∃ (Q : Scheme.{u}) (π : X ⟶ Q), |
| 89 | IsFinite π ∧ Flat π ∧ LocallyOfFinitePresentation π ∧ Surjective π ∧ |
| 90 | IsKernelPair π s t ∧ |
| 91 | ∀ (T : Scheme.{u}) (f : X ⟶ T), s ≫ f = t ≫ f → |
| 92 | ∃! g : Q ⟶ T, π ≫ g = f := by |
| 93 | have : IsFinite s := MorphismProperty.of_isPullback hs inferInstance |
| 94 | apply InvariantCoverHas.Construction.InvariantCover.exists_quotient e (hasAffineRefinements h a r s hs b t e hOrbit) |
| 95 | intro U |
| 96 | let : IsAffine U.val := U.property.1 |
| 97 | exact ⟨n, exists_basis_restrict h a r s hs b U.val⟩ |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.InvariantAffineHas.Construction.InvariantAffineBasis |