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.ModelArrows |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection.Unions |
| 3 | |
| 4 | /-! # Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The comparison from a descended union intersection to the corresponding model pullback is open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _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 | variable {S T U : Finite.AffineIntersections.finiteIntersectionIndex X} (hST : S.val ⊆ T.val) (hSU : S.val ⊆ U.val) |
| 19 | |
| 20 | abbrev IntersectionModel.FiniteIntersectionModel.overlapPullback : Scheme := pullback (M.inclusion hST) (M.inclusion hSU) |
| 21 | |
| 22 | def IntersectionModel.FiniteIntersectionModel.overlapComparison : M.chartScheme (Unions.finiteIntersectionUnion X T U) ⟶ |
| 23 | M.overlapPullback hST hSU := by |
| 24 | let hT := Unions.finiteIntersection_subset_union_left X T U |
| 25 | let hU := Unions.finiteIntersection_subset_union_right X T U |
| 26 | exact pullback.lift (M.inclusion hT) (M.inclusion hU) |
| 27 | ((M.inclusion_comp hST hT).trans (M.inclusion_comp hSU hU).symm) |
| 28 | |
| 29 | theorem IntersectionModel.FiniteIntersectionModel.overlapComparison_fst : |
| 30 | M.overlapComparison hST hSU ≫ pullback.fst (M.inclusion hST) (M.inclusion hSU) = |
| 31 | M.inclusion (S := T) (T := Unions.finiteIntersectionUnion X T U) |
| 32 | (Unions.finiteIntersection_subset_union_left X T U) := pullback.lift_fst _ _ _ |
| 33 | |
| 34 | theorem IntersectionModel.FiniteIntersectionModel.overlapComparison_snd : |
| 35 | M.overlapComparison hST hSU ≫ pullback.snd (M.inclusion hST) (M.inclusion hSU) = |
| 36 | M.inclusion (S := U) (T := Unions.finiteIntersectionUnion X T U) |
| 37 | (Unions.finiteIntersection_subset_union_right X T U) := pullback.lift_snd _ _ _ |
| 38 | |
| 39 | instance IntersectionModel.FiniteIntersectionModel.overlapComparison_open : IsOpenImmersion (M.overlapComparison hST hSU) := by |
| 40 | have : IsOpenImmersion (M.inclusion hSU) := M.inclusion_open hSU |
| 41 | have hp : IsOpenImmersion (pullback.fst (M.inclusion hST) (M.inclusion hSU)) := inferInstance |
| 42 | have hc : IsOpenImmersion (M.overlapComparison hST hSU ≫ |
| 43 | pullback.fst (M.inclusion hST) (M.inclusion hSU)) := by |
| 44 | rw [M.overlapComparison_fst] |
| 45 | infer_instance |
| 46 | exact @IsOpenImmersion.of_comp _ _ _ (M.overlapComparison hST hSU) |
| 47 | (pullback.fst (M.inclusion hST) (M.inclusion hSU)) hp hc |
| 48 | |
| 49 | instance IntersectionModel.FiniteIntersectionModel.overlapPullback_affine : IsAffine (M.overlapPullback hST hSU) := |
| 50 | by |
| 51 | have (V : Finite.AffineIntersections.finiteIntersectionIndex X) : IsAffine (M.chartScheme V) := |
| 52 | inferInstanceAs (IsAffine (Spec (.of (M.algebra V)))) |
| 53 | exact inferInstanceAs (IsAffine (pullback (M.inclusion hST) (M.inclusion hSU))) |
| 54 | |
| 55 | def IntersectionModel.FiniteIntersectionModel.overlapMap : M.overlapPullback hST hSU ⟶ Spec (.of M.coefficients) := |
| 56 | pullback.snd (M.inclusion hST) (M.inclusion hSU) ≫ M.chartMap U |
| 57 | |
| 58 | instance IntersectionModel.FiniteIntersectionModel.overlapMap_smooth : Smooth (M.overlapMap hST hSU) := |
| 59 | inferInstanceAs (Smooth (pullback.snd (M.inclusion hST) (M.inclusion hSU) ≫ M.chartMap U)) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection |