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.AbelianModuli.HilbertConstruction.FiniteIntersection.IntersectionModel |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.OverFunctoriality |
| 3 | |
| 4 | /-! # Model Arrows -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Faithful recovery forces the descended intersection arrows to satisfy all inclusion relations. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {X : Over (Spec (.of R))} |
| 17 | variable [CompactSpace X.left] [IsSeparated X.hom] (M : IntersectionModel.FiniteIntersectionModel X) |
| 18 | |
| 19 | def IntersectionModel.FiniteIntersectionModel.inclusionAlgebraMap {S T : Finite.AffineIntersections.finiteIntersectionIndex X} (h : S.val ⊆ T.val) : |
| 20 | M.algebra S →ₐ[M.coefficients] M.algebra T := M.arrow ⟨(S, T), h⟩ |
| 21 | |
| 22 | theorem IntersectionModel.FiniteIntersectionModel.realization_inclusion {S T : Finite.AffineIntersections.finiteIntersectionIndex X} (h : S.val ⊆ T.val) |
| 23 | (x : M.algebra S) : |
| 24 | M.realization T (M.inclusionAlgebraMap h x) = |
| 25 | Affine.OverMorphisms.affineOverMap R (Arrows.finiteIntersectionArrow X h) (M.realization S x) := |
| 26 | M.realization_arrow ⟨(S, T), h⟩ x |
| 27 | |
| 28 | theorem IntersectionModel.FiniteIntersectionModel.inclusionAlgebraMap_id (S : Finite.AffineIntersections.finiteIntersectionIndex X) : |
| 29 | M.inclusionAlgebraMap (Finset.Subset.refl S.val) = AlgHom.id M.coefficients (M.algebra S) := by |
| 30 | ext x |
| 31 | apply M.realization_injective S |
| 32 | rw [M.realization_inclusion, Arrows.finiteIntersectionArrow_id, Affine.OverFunctoriality.affineOverMap_id] |
| 33 | rfl |
| 34 | |
| 35 | theorem IntersectionModel.FiniteIntersectionModel.inclusionAlgebraMap_comp {S T U : Finite.AffineIntersections.finiteIntersectionIndex X} |
| 36 | (hST : S.val ⊆ T.val) (hTU : T.val ⊆ U.val) : |
| 37 | (M.inclusionAlgebraMap hTU).comp (M.inclusionAlgebraMap hST) = |
| 38 | M.inclusionAlgebraMap (hST.trans hTU) := by |
| 39 | ext x |
| 40 | apply M.realization_injective U |
| 41 | change M.realization U (M.inclusionAlgebraMap hTU (M.inclusionAlgebraMap hST x)) = _ |
| 42 | rw [M.realization_inclusion, M.realization_inclusion, M.realization_inclusion] |
| 43 | rw [← Arrows.finiteIntersectionArrow_comp X hST hTU, Affine.OverFunctoriality.affineOverMap_comp] |
| 44 | rfl |
| 45 | |
| 46 | def IntersectionModel.FiniteIntersectionModel.inclusion {S T : Finite.AffineIntersections.finiteIntersectionIndex X} (h : S.val ⊆ T.val) : |
| 47 | M.chartScheme T ⟶ M.chartScheme S := M.chartArrow ⟨(S, T), h⟩ |
| 48 | |
| 49 | instance IntersectionModel.FiniteIntersectionModel.inclusion_open {S T : Finite.AffineIntersections.finiteIntersectionIndex X} (h : S.val ⊆ T.val) : |
| 50 | IsOpenImmersion (M.inclusion h) := M.chartArrow_open ⟨(S, T), h⟩ |
| 51 | |
| 52 | theorem IntersectionModel.FiniteIntersectionModel.inclusion_id (S : Finite.AffineIntersections.finiteIntersectionIndex X) : |
| 53 | M.inclusion (Finset.Subset.refl S.val) = 𝟙 (M.chartScheme S) := by |
| 54 | change Spec.map (CommRingCat.ofHom (M.inclusionAlgebraMap _).toRingHom) = _ |
| 55 | rw [M.inclusionAlgebraMap_id] |
| 56 | exact Spec.map_id _ |
| 57 | |
| 58 | theorem IntersectionModel.FiniteIntersectionModel.inclusion_comp {S T U : Finite.AffineIntersections.finiteIntersectionIndex X} |
| 59 | (hST : S.val ⊆ T.val) (hTU : T.val ⊆ U.val) : |
| 60 | M.inclusion hTU ≫ M.inclusion hST = M.inclusion (hST.trans hTU) := by |
| 61 | change Spec.map (CommRingCat.ofHom (M.inclusionAlgebraMap hTU).toRingHom) ≫ |
| 62 | Spec.map (CommRingCat.ofHom (M.inclusionAlgebraMap hST).toRingHom) = |
| 63 | Spec.map (CommRingCat.ofHom (M.inclusionAlgebraMap (hST.trans hTU)).toRingHom) |
| 64 | rw [← Spec.map_comp] |
| 65 | exact congrArg (fun f : M.algebra S →ₐ[M.coefficients] M.algebra U => |
| 66 | Spec.map (CommRingCat.ofHom f.toRingHom)) (M.inclusionAlgebraMap_comp hST hTU) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection |