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.FreeInvariant |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalSource |
| 3 | |
| 4 | /-! # Orbit Quotient Exists -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrbitQuotientExists.Construction.OrbitQuotient |
| 7 | |
| 8 | /-! |
| 9 | # Quotients from affine neighborhoods of finite subgroup orbits |
| 10 | |
| 11 | All affine source bases and all invariant affine charts are constructed |
| 12 | locally. The only remaining geometric input is an affine neighborhood of |
| 13 | each orbit. No basis, invariant cover, transition map, or quotient is assumed. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem exists_quotient |
| 21 | {H S R X : Scheme.{u}} (h : H ⟶ S) (a : X ⟶ S) (r : R ⟶ H) (s t : R ⟶ X) |
| 22 | (hs : IsPullback r s h a) [IsFinite h] [Flat h] [LocallyOfFinitePresentation h] |
| 23 | (e : CategoryTheory.EquivalenceRelation s t) (ha : s ≫ a = t ≫ a) |
| 24 | (hOrbit : ∀ x : X, ∃ U : X.Opens, IsAffineOpen U ∧ |
| 25 | ∀ y, Invariant.Construction.InvariantCore.Related s t x y → y ∈ U) : |
| 26 | ∃ (Q : Scheme.{u}) (π : X ⟶ Q), |
| 27 | IsFinite π ∧ Flat π ∧ LocallyOfFinitePresentation π ∧ Surjective π ∧ |
| 28 | IsKernelPair π s t ∧ |
| 29 | ∀ (T : Scheme.{u}) (f : X ⟶ T), s ≫ f = t ≫ f → |
| 30 | ∃! g : Q ⟶ T, π ≫ g = f := by |
| 31 | have : IsFinite s := MorphismProperty.of_isPullback hs inferInstance |
| 32 | apply FreeInvariant.Construction.FreeInvariantCover.exists_quotient_of_pointwise e |
| 33 | intro x |
| 34 | obtain ⟨B, hB, hxB, n, ⟨b⟩⟩ := SchemeTrivializationBasis.Construction.SchemeTrivialization.exists_basis_neighborhood h (a x) |
| 35 | let : IsAffine B := hB |
| 36 | obtain ⟨U, hU, hOU⟩ := hOrbit x |
| 37 | have hOB : ∀ y, Invariant.Construction.InvariantCore.Related s t x y → y ∈ a ⁻¹ᵁ B := by |
| 38 | rintro y ⟨z, hz, hz'⟩ |
| 39 | have he : a x = a y := by |
| 40 | simpa only [Scheme.Hom.comp_apply, hz, hz'] using congrArg (fun f => f z) ha |
| 41 | change a y ∈ B |
| 42 | exact he ▸ hxB |
| 43 | obtain ⟨D, hD, hOD, _, hDB⟩ := AffineNeighborhoodOpen.Construction.AffineNeighborhood.exists_affineOpen_subset X |
| 44 | {y | Invariant.Construction.InvariantCore.Related s t x y} (Invariant.Construction.InvariantCore.finite_orbit s t x) |
| 45 | U (a ⁻¹ᵁ B) hU hOU hOB |
| 46 | obtain ⟨W, hW, hWD, hWi, hOW⟩ := InvariantAffineEq.Construction.InvariantAffine.exists_invariant_affine e x D hD |
| 47 | (fun _ hy => hOD hy) (by |
| 48 | intro E hE hED |
| 49 | let : IsAffine E := hE |
| 50 | exact ⟨n, LocalSource.Construction.LocalSourceBasis.exists_basis_over_open h a r s hs B E (hED.trans hDB) b⟩) |
| 51 | let : IsAffine W := hW |
| 52 | exact ⟨⟨W, hW, hWi, n, |
| 53 | LocalSource.Construction.LocalSourceBasis.exists_basis_over_open h a r s hs B W (hWD.trans hDB) b⟩, |
| 54 | hOW x (Invariant.Construction.InvariantCore.related_refl e x)⟩ |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrbitQuotientExists.Construction.OrbitQuotient |