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.Chart |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineQuotientOf |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.RelationRestrictionOn |
| 4 | |
| 5 | /-! # Affine Cover Exists Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineCoverExistsQuotient.Construction.AffineCoverQuotient |
| 8 | |
| 9 | /-! |
| 10 | # Scheme quotients from invariant affine covers |
| 11 | |
| 12 | For an equivalence relation with finite source, an invariant affine cover |
| 13 | with finite-free source restrictions suffices. The local spectra of invariant |
| 14 | rings, their transitions, and the global quotient are all constructed. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | /-- Construct the scheme quotient from invariant affine charts on which the |
| 22 | source of the relation is free of finite rank. The input is geometric chart |
| 23 | data and module bases, with no local or global quotient assumed. -/ |
| 24 | theorem exists_quotient |
| 25 | {R X : Scheme.{u}} (s t : R ⟶ X) [IsFinite s] |
| 26 | (e : CategoryTheory.EquivalenceRelation s t) (𝒰 : X.OpenCover) |
| 27 | [Category.{v} 𝒰.I₀] [Small.{u} 𝒰.I₀] [Quiver.IsThin 𝒰.I₀] [𝒰.LocallyDirected] |
| 28 | [∀ i, IsAffine (𝒰.X i)] |
| 29 | (Rᵢ : 𝒰.I₀ → Scheme.{u}) (jR : ∀ i, Rᵢ i ⟶ R) |
| 30 | (sᵢ tᵢ : ∀ i, Rᵢ i ⟶ 𝒰.X i) |
| 31 | (hs : ∀ i, IsPullback (sᵢ i) (jR i) (𝒰.f i) s) |
| 32 | (ht : ∀ i, tᵢ i ≫ 𝒰.f i = jR i ≫ t) |
| 33 | (n : 𝒰.I₀ → ℕ) |
| 34 | (b : ∀ i, letI := (sᵢ i).appTop.hom.toAlgebra; |
| 35 | Module.Basis (Fin (n i)) Γ(𝒰.X i, ⊤) Γ(Rᵢ i, ⊤)) : |
| 36 | ∃ (Q : Scheme.{u}) (π : X ⟶ Q), |
| 37 | IsFinite π ∧ Flat π ∧ LocallyOfFinitePresentation π ∧ Surjective π ∧ |
| 38 | IsKernelPair π s t ∧ |
| 39 | ∀ (T : Scheme.{u}) (f : X ⟶ T), s ≫ f = t ≫ f → |
| 40 | ∃! g : Q ⟶ T, π ≫ g = f := by |
| 41 | let : ∀ i, IsFinite (sᵢ i) := fun i => |
| 42 | MorphismProperty.of_isPullback (hs i).flip inferInstance |
| 43 | let : ∀ i, IsAffine (Rᵢ i) := fun i => isAffine_of_isAffineHom (sᵢ i) |
| 44 | let eᵢ (i : 𝒰.I₀) := RelationRestrictionOn.Construction.RelationRestriction.equivalenceRelation e |
| 45 | (𝒰.f i) (jR i) (sᵢ i) (tᵢ i) (hs i) (ht i) |
| 46 | have hp (i : 𝒰.I₀) := AffineQuotientOf.Construction.AffineQuotient.projection_properties_of_finiteFree_absolute |
| 47 | (sᵢ i) (tᵢ i) (eᵢ i) (b i) |
| 48 | let d : Chart.Construction.ChartQuotients.Data s t 𝒰 := |
| 49 | { quotient := fun i => AffineRing.Construction.Affine.quotient (sᵢ i).appTop.hom (tᵢ i).appTop.hom |
| 50 | projection := fun i => AffineQuotientOf.Construction.AffineQuotient.projection (sᵢ i) (tᵢ i) |
| 51 | finite := fun i => (hp i).1 |
| 52 | flat := fun i => (hp i).2.1 |
| 53 | finitelyPresented := fun i => (hp i).2.2.1 |
| 54 | surjective := fun i => (hp i).2.2.2.1 |
| 55 | relation := Rᵢ |
| 56 | inclusion := jR |
| 57 | source := sᵢ |
| 58 | target := tᵢ |
| 59 | source_isPullback := hs |
| 60 | target_comp := ht |
| 61 | kernelPair := fun i => (hp i).2.2.2.2 } |
| 62 | exact d.exists_quotient |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineCoverExistsQuotient.Construction.AffineCoverQuotient |