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.AbelianScheme.IsogenyQuotient.AmbientComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockStability |
| 3 | |
| 4 | /-! # Stability -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.Stability.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Turn all-test subgroup stability into the exact native scheme equation |
| 12 | used to descend the integral action through ReferenceFamily's quotient family. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {S : Scheme.{u}} {dim : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme dim S) (P : Over S) |
| 22 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.scheme P) (R : F.Model) |
| 23 | |
| 24 | /-- The canonical inclusion into ReferenceFamily's ordinary pullback family. -/ |
| 25 | def nativeSubgroupInclusion : (Subgroup.Construction.subgroupGroupScheme F R).X ⟶ (A.pullback P.hom).scheme := |
| 26 | (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom ≫ (AmbientComparison.Construction.ambientPullbackIso P A).hom |
| 27 | |
| 28 | theorem nativeSubgroupInclusion_isMonHom : IsMonHom (nativeSubgroupInclusion A P F R) := by |
| 29 | have : IsMonHom (AmbientComparison.Construction.ambientPullbackIso P A).hom := AmbientComparison.Construction.ambientPullbackIso_isMonHom P A |
| 30 | have : IsMonHom (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom := |
| 31 | (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.isMonHom_hom |
| 32 | exact inferInstanceAs |
| 33 | (IsMonHom ((Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom ≫ (AmbientComparison.Construction.ambientPullbackIso P A).hom)) |
| 34 | |
| 35 | theorem nativeSubgroupInclusion_closedImmersion : |
| 36 | IsClosedImmersion (nativeSubgroupInclusion A P F R).left := by |
| 37 | have : IsClosedImmersion (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom.left := |
| 38 | Kernel.Inclusion.Construction.subgroupInclusion_closedImmersion F R |
| 39 | have : IsIso (AmbientComparison.Construction.ambientPullbackIso P A).hom.left := |
| 40 | (Over.forget P.left).map_isIso (AmbientComparison.Construction.ambientPullbackIso P A).hom |
| 41 | exact inferInstanceAs |
| 42 | (IsClosedImmersion ((Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom.left ≫ (AmbientComparison.Construction.ambientPullbackIso P A).hom.left)) |
| 43 | |
| 44 | theorem nativeSubgroupInclusion_projection : |
| 45 | (nativeSubgroupInclusion A P F R).left ≫ pullback.fst A.scheme.hom P.hom = R.toGroup.left := by |
| 46 | change ((lift R.toBase R.toGroup).left ≫ (pullbackSymmetry P.hom A.scheme.hom).hom) ≫ |
| 47 | pullback.fst A.scheme.hom P.hom = R.toGroup.left |
| 48 | rw [Category.assoc, pullbackSymmetry_hom_comp_fst] |
| 49 | exact congrArg (fun a => a.left) (lift_snd R.toBase R.toGroup) |
| 50 | |
| 51 | set_option backward.isDefEq.respectTransparency false in |
| 52 | /-- Restrict a stable endomorphism to the actual subgroup model. The |
| 53 | resulting square is an equality of morphisms over the parameter scheme. -/ |
| 54 | theorem native_subgroup_stability |
| 55 | (b : A.scheme ⟶ A.scheme) (hstable : Action.Construction.RelativeSubgroupStable F b) : |
| 56 | ∃ r : (Subgroup.Construction.subgroupGroupScheme F R).X ⟶ (Subgroup.Construction.subgroupGroupScheme F R).X, |
| 57 | nativeSubgroupInclusion A P F R ≫ (Over.pullback P.hom).map b = |
| 58 | r ≫ nativeSubgroupInclusion A P F R := by |
| 59 | have hi : R.toGroup ∈ F.points R.carrier R.toBase := |
| 60 | (R.points_iff _ _ _).mpr ⟨𝟙 _, Category.id_comp _, Category.id_comp _⟩ |
| 61 | obtain ⟨r, hrbase, hrgroup⟩ := (R.points_iff _ _ _).mp |
| 62 | (hstable R.carrier R.toBase R.toGroup hi) |
| 63 | let rP : (Subgroup.Construction.subgroupGroupScheme F R).X ⟶ (Subgroup.Construction.subgroupGroupScheme F R).X := |
| 64 | Over.homMk r.left (congrArg (fun a => a.left) hrbase) |
| 65 | refine ⟨rP, ?_⟩ |
| 66 | apply Over.OverMorphism.ext |
| 67 | apply pullback.hom_ext |
| 68 | · have hb : ((Over.pullback P.hom).map b).left ≫ pullback.fst A.scheme.hom P.hom = |
| 69 | pullback.fst A.scheme.hom P.hom ≫ b.left := pullback.lift_fst _ _ _ |
| 70 | have hiP := nativeSubgroupInclusion_projection A P F R |
| 71 | change ((nativeSubgroupInclusion A P F R).left ≫ ((Over.pullback P.hom).map b).left) ≫ |
| 72 | pullback.fst A.scheme.hom P.hom = |
| 73 | (r.left ≫ (nativeSubgroupInclusion A P F R).left) ≫ pullback.fst A.scheme.hom P.hom |
| 74 | rw [Category.assoc, hb, ← Category.assoc, hiP, Category.assoc, hiP] |
| 75 | exact (congrArg (fun a => a.left) hrgroup).symm |
| 76 | · exact (nativeSubgroupInclusion A P F R ≫ (Over.pullback P.hom).map b).w.trans |
| 77 | (rP ≫ nativeSubgroupInclusion A P F R).w.symm |
| 78 | |
| 79 | set_option backward.isDefEq.respectTransparency false in |
| 80 | /-- The scheme equation needed by quotient action descent follows from |
| 81 | the constructed subgroup restriction and the quotient's kernel equation. -/ |
| 82 | theorem native_stable_kernel_equation |
| 83 | (b : A.scheme ⟶ A.scheme) (hstable : Action.Construction.RelativeSubgroupStable F b) |
| 84 | {B : Over P.left} [GrpObj B] (f : (A.pullback P.hom).scheme ⟶ B) |
| 85 | (hkernel : nativeSubgroupInclusion A P F R ≫ f = 1) : |
| 86 | nativeSubgroupInclusion A P F R ≫ (Over.pullback P.hom).map b ≫ f = 1 := by |
| 87 | obtain ⟨r, hr⟩ := native_subgroup_stability A P F R b hstable |
| 88 | rw [← Category.assoc, hr, Category.assoc, hkernel, MonObj.comp_one] |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.Stability.Construction |