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.PELModuli.CMPoints.EndomorphismParameterDescent |
| 2 | |
| 3 | /-! # Presentations Tuple Parameters -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.PresentationsTupleParameters |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Natural encoding and decoding of actual endomorphism tuples in an |
| 10 | Presentations locus. These identities are checked independently of arithmetic |
| 11 | descent, keeping the latter proof small in the kernel. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem e34_endomorphismEquiv_restrict {S : Scheme} {g : ℕ} |
| 16 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) {T U : Over S} (b : T ⟶ U) |
| 17 | (r : IntegralModel.Finite.Actions.GroupEndRing (A.pullback U.hom)) : |
| 18 | IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A T (IntegralModel.EndomorphismFamiliesId.EndomorphismFamilies.restrict A b r) = |
| 19 | (HilbertScheme.Presentations.Endomorphisms.Core.endomorphismSubfunctor A.scheme).toFunctor.map b.op |
| 20 | (IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A U r) := by |
| 21 | apply Subtype.ext |
| 22 | exact IntegralModel.EndomorphismHom.EndomorphismFamilies.relativeHom_restrict A b r |
| 23 | |
| 24 | variable {S : Scheme.{0}} {g n : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 25 | {B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (A.scheme ⨯ A.scheme)} |
| 26 | {P : Fin n → Polynomial ℚ} |
| 27 | {L : HilbertScheme.Presentations.Loci.Core.HilbertHomLoci A.scheme A.scheme B n P} |
| 28 | {R : HilbertScheme.Presentations.Endomorphisms.Core.FiniteEndomorphismEquations A.scheme n} |
| 29 | (M : HilbertScheme.Presentations.Loci.Core.EndomorphismEquationLoci A.scheme B n P L R) |
| 30 | |
| 31 | def e34TuplePoint (T : Over S) (r : Fin n → IntegralModel.Finite.Actions.GroupEndRing (A.pullback T.hom)) |
| 32 | (hr : HilbertScheme.Presentations.Has.Core.HasGraphPolynomials A.scheme A.scheme n B P |
| 33 | (fun i => IntegralModel.EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A T ((r i).hom _))) : T ⟶ M.endScheme := |
| 34 | (M.endEquivalence.app (.op T)).inv |
| 35 | ⟨fun i => IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A T (r i), (M.end_mem T _).mpr hr⟩ |
| 36 | |
| 37 | def e34TupleValue (T : Over S) (p : T ⟶ M.endScheme) : |
| 38 | Fin n → IntegralModel.Finite.Actions.GroupEndRing (A.pullback T.hom) := |
| 39 | fun i => (IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A T).symm |
| 40 | (((M.endEquivalence.app (.op T)).hom p).val i) |
| 41 | |
| 42 | theorem e34TupleValue_point (T : Over S) |
| 43 | (r : Fin n → IntegralModel.Finite.Actions.GroupEndRing (A.pullback T.hom)) |
| 44 | (hr : HilbertScheme.Presentations.Has.Core.HasGraphPolynomials A.scheme A.scheme n B P |
| 45 | (fun i => IntegralModel.EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A T ((r i).hom _))) (i : Fin n) : |
| 46 | e34TupleValue A M T (e34TuplePoint A M T r hr) i = r i := by |
| 47 | let w : M.endLocus.toFunctor.obj (.op T) := |
| 48 | ⟨fun j => IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A T (r j), (M.end_mem T _).mpr hr⟩ |
| 49 | have hw := (M.endEquivalence.app (.op T)).inv_hom_id_apply w |
| 50 | exact (congrArg (fun v : M.endLocus.toFunctor.obj (.op T) => |
| 51 | (IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A T).symm (v.val i)) hw).trans |
| 52 | ((IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A T).symm_apply_apply (r i)) |
| 53 | |
| 54 | theorem e34Locus_restriction {T U : Over S} (b : T ⟶ U) (p : U ⟶ M.endScheme) : |
| 55 | M.endLocus.toFunctor.map b.op ((M.endEquivalence.app (.op U)).hom p) = |
| 56 | (M.endEquivalence.app (.op T)).hom (b ≫ p) := |
| 57 | (ConcreteCategory.congr_hom (M.endEquivalence.hom.naturality b.op) p).symm |
| 58 | |
| 59 | theorem e34TupleValue_restriction {T U : Over S} (b : T ⟶ U) |
| 60 | (p : U ⟶ M.endScheme) (i : Fin n) : |
| 61 | IntegralModel.EndomorphismFamiliesId.EndomorphismFamilies.restrict A b (e34TupleValue A M U p i) = e34TupleValue A M T (b ≫ p) i := by |
| 62 | apply (IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A T).injective |
| 63 | rw [e34_endomorphismEquiv_restrict] |
| 64 | dsimp only [e34TupleValue] |
| 65 | rw [Equiv.apply_symm_apply, Equiv.apply_symm_apply] |
| 66 | exact congrFun (congrArg Subtype.val (e34Locus_restriction A M b p)) i |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.PresentationsTupleParameters |