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.Divisors.LineBundles.Finite.BirationalAlgebra |
| 2 | |
| 3 | /-! # Birational Charts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.BirationalCharts.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: a finite birational morphism is an isomorphism over a normal affine chart |
| 11 | -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | universe u |
| 16 | variable {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 17 | (f : X ⟶ Y) [IsFinite f] (hη : f (genericPoint X) = genericPoint Y) |
| 18 | [IsIso (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη)] |
| 19 | |
| 20 | include hη |
| 21 | |
| 22 | theorem finiteBirational_app_isIso (U : Y.Opens) (hU : IsAffineOpen U) |
| 23 | [Nonempty U] [IsIntegrallyClosed Γ(Y, U)] : IsIso (f.app U) := by |
| 24 | let : Nonempty (f ⁻¹ᵁ U) := ⟨⟨genericPoint X, by |
| 25 | change f (genericPoint X) ∈ U |
| 26 | rw [hη] |
| 27 | exact ((genericPoint_spec Y).mem_open_set_iff U.isOpen).mpr |
| 28 | (by simpa using (show Nonempty U from inferInstance))⟩⟩ |
| 29 | let A := Γ(Y, U) |
| 30 | let B := Γ(X, f ⁻¹ᵁ U) |
| 31 | let : Algebra A B := (f.app U).hom.toAlgebra |
| 32 | let : Module.Finite A B := (IsFinite.finite_app f U hU) |
| 33 | let := functionField_isFractionRing_of_isAffineOpen Y U hU |
| 34 | let e := asIso (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη) |
| 35 | let j : B →ₐ[A] Y.functionField := |
| 36 | { toRingHom := e.inv.hom.comp (X.germToFunctionField (f ⁻¹ᵁ U)).hom |
| 37 | commutes' := by |
| 38 | intro a |
| 39 | apply e.hom.hom.injective |
| 40 | have hs := ConcreteCategory.congr_hom (Deformation.FunctionField.BundleCycles.genericFieldMap_germOn f hη U) a |
| 41 | exact (ConcreteCategory.congr_hom e.inv_hom_id _).trans hs.symm } |
| 42 | have hj : Function.Injective j := |
| 43 | e.inv.hom.injective.comp (X.germToFunctionField_injective (f ⁻¹ᵁ U)) |
| 44 | exact (ConcreteCategory.isIso_iff_bijective (f.app U)).mpr |
| 45 | (BirationalAlgebra.BundleCycles.finiteSubalgebra_algebraMap_bijective A B Y.functionField j hj) |
| 46 | |
| 47 | theorem finiteBirational_isIso_of_normal_cover {ι : Type*} |
| 48 | (U : ι → Y.affineOpens) (hU : ⨆ i, (U i : Y.Opens) = ⊤) |
| 49 | [∀ i, Nonempty (U i : Y.Opens)] |
| 50 | (hNormal : ∀ i, IsIntegrallyClosed Γ(Y, (U i : Y.Opens))) : IsIso f := by |
| 51 | apply IsZariskiLocalAtTarget.of_iSup_eq_top |
| 52 | (P := MorphismProperty.isomorphisms Scheme) (fun i => (U i : Y.Opens)) hU |
| 53 | intro i |
| 54 | let := hNormal i |
| 55 | exact (isIso_morphismRestrict_iff_isIso_app f (U i).property).mpr |
| 56 | (finiteBirational_app_isIso f hη (U i) (U i).property) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.BirationalCharts.BundleCycles |