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.ReferenceFamily.Affine.ConstantConormalNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.PresentationRegularSections |
| 3 | |
| 4 | /-! # Affine Presentation Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AffinePresentationChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Two actual affine presentations of the same group open determine |
| 11 | their coordinate change. Its etaleness, ambient square, section formula, |
| 12 | and constant-conormal logarithm formula are derived from the open maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable (G : Over Foundations.Scheme.ProjectiveSpace.complexBase) (B D : CommAlgCat ℂ) |
| 18 | (i : AbelianModuli.ReferenceFamily.EtaleSplittingAt.EtaleSplitting.affineOver ℂ B ⟶ G) (j : AbelianModuli.ReferenceFamily.EtaleSplittingAt.EtaleSplitting.affineOver ℂ D ⟶ G) |
| 19 | [IsOpenImmersion i.left] [IsOpenImmersion j.left] |
| 20 | (h : j.left.opensRange = i.left.opensRange) |
| 21 | |
| 22 | /-- The coordinate change is the unique isomorphism of the original |
| 23 | open immersions, with its base compatibility derived from their maps. -/ |
| 24 | def sameOpenAffinePresentationMap : AbelianModuli.ReferenceFamily.EtaleSplittingAt.EtaleSplitting.affineOver ℂ D ⟶ AbelianModuli.ReferenceFamily.EtaleSplittingAt.EtaleSplitting.affineOver ℂ B := by |
| 25 | let e := IsOpenImmersion.isoOfRangeEq j.left i.left (congrArg SetLike.coe h) |
| 26 | refine Over.homMk e.hom ?_ |
| 27 | calc |
| 28 | e.hom ≫ (AbelianModuli.ReferenceFamily.EtaleSplittingAt.EtaleSplitting.affineOver ℂ B).hom = e.hom ≫ (i.left ≫ G.hom) := |
| 29 | congrArg (fun f => e.hom ≫ f) i.w.symm |
| 30 | _ = (e.hom ≫ i.left) ≫ G.hom := (Category.assoc _ _ _).symm |
| 31 | _ = j.left ≫ G.hom := congrArg (fun f => f ≫ G.hom) |
| 32 | (IsOpenImmersion.isoOfRangeEq_hom_fac j.left i.left (congrArg SetLike.coe h)) |
| 33 | _ = (AbelianModuli.ReferenceFamily.EtaleSplittingAt.EtaleSplitting.affineOver ℂ D).hom := j.w |
| 34 | |
| 35 | instance sameOpenAffinePresentationMap_isIso : IsIso (sameOpenAffinePresentationMap G B D i j h).left := by |
| 36 | change IsIso (IsOpenImmersion.isoOfRangeEq j.left i.left (congrArg SetLike.coe h)).hom |
| 37 | infer_instance |
| 38 | |
| 39 | theorem sameOpenAffinePresentationMap_square : |
| 40 | sameOpenAffinePresentationMap G B D i j h ≫ i = j := by |
| 41 | apply Over.OverMorphism.ext |
| 42 | exact IsOpenImmersion.isoOfRangeEq_hom_fac j.left i.left (congrArg SetLike.coe h) |
| 43 | |
| 44 | def sameOpenAffineCoordinateMap : B →ₐ[ℂ] D := |
| 45 | AbelianModuli.ReferenceFamily.Affine.OverMorphismAlgebra.affineOverMorphismAlgebra ℂ D B (sameOpenAffinePresentationMap G B D i j h) |
| 46 | |
| 47 | theorem sameOpenAffineCoordinateMap_square : |
| 48 | AbelianModuli.ReferenceFamily.Affine.AlgebraAutomorphismNaturality.affineOverAlgHom ℂ B D (sameOpenAffineCoordinateMap G B D i j h) ≫ i = j := by |
| 49 | rw [sameOpenAffineCoordinateMap, AbelianModuli.ReferenceFamily.Affine.OverMorphismAlgebra.affineOverMorphismAlgebra_recovery] |
| 50 | exact sameOpenAffinePresentationMap_square G B D i j h |
| 51 | |
| 52 | theorem sameOpenAffineCoordinateMap_etale : |
| 53 | (sameOpenAffineCoordinateMap G B D i j h).toRingHom.Etale := by |
| 54 | have he : Etale (Spec.map (CommRingCat.ofHom |
| 55 | (sameOpenAffineCoordinateMap G B D i j h).toRingHom)) := by |
| 56 | rw [sameOpenAffineCoordinateMap, AbelianModuli.ReferenceFamily.Affine.OverMorphismAlgebra.affineOverMorphismAlgebra_spec] |
| 57 | exact inferInstanceAs (Etale (IsOpenImmersion.isoOfRangeEq j.left i.left |
| 58 | (congrArg SetLike.coe h)).hom) |
| 59 | exact (HasRingHomProperty.Spec_iff (P := @Etale) |
| 60 | (φ := CommRingCat.ofHom (sameOpenAffineCoordinateMap G B D i j h).toRingHom)).mp he |
| 61 | |
| 62 | theorem sameOpenAffineCoordinateMap_sections (a : B) : |
| 63 | AbelianModuli.ReferenceFamily.Affine.PresentationRegularSections.affinePresentationRegularSectionEquiv ℂ D G j (sameOpenAffineCoordinateMap G B D i j h a) = |
| 64 | G.left.presheaf.map (homOfLE h.le).op (AbelianModuli.ReferenceFamily.Affine.PresentationRegularSections.affinePresentationRegularSectionEquiv ℂ B G i a) := |
| 65 | AbelianModuli.ReferenceFamily.Affine.PresentationRegularSections.affinePresentationRegularSectionEquiv_natural ℂ B G i D j |
| 66 | (sameOpenAffineCoordinateMap G B D i j h) |
| 67 | (sameOpenAffineCoordinateMap_square G B D i j h) h.le a |
| 68 | |
| 69 | variable [IsIntegral G.left] [Smooth G.hom] [GrpObj G] |
| 70 | |
| 71 | /-- No derivation or coordinate compatibility is assumed: the original |
| 72 | open maps supply the etale coordinate change and its conormal square. -/ |
| 73 | theorem sameOpenAffineCoordinateMap_unitLog |
| 74 | (l : AbelianModuli.ReferenceFamily.Constructed.IdentityConormal.constructedIdentityConormal ℂ G →ₗ[ℂ] ℂ) (u : Bˣ) : |
| 75 | AbelianModuli.ReferenceFamily.CoefficientUnitLogarithms.coefficientUnitLog ((AbelianModuli.ReferenceFamily.Affine.PresentationConormalLinearity.affinePresentationConormalLinearEquiv G D j).symm (AbelianModuli.ReferenceFamily.ConormalUnitLogCoordinates.coefficientCovector D l)) |
| 76 | (Units.map (sameOpenAffineCoordinateMap G B D i j h).toMonoidHom u) = |
| 77 | sameOpenAffineCoordinateMap G B D i j h |
| 78 | (AbelianModuli.ReferenceFamily.CoefficientUnitLogarithms.coefficientUnitLog ((AbelianModuli.ReferenceFamily.Affine.PresentationConormalLinearity.affinePresentationConormalLinearEquiv G B i).symm |
| 79 | (AbelianModuli.ReferenceFamily.ConormalUnitLogCoordinates.coefficientCovector B l)) u) := |
| 80 | AbelianModuli.ReferenceFamily.Affine.ConstantConormalNaturality.affineConstantConormalUnitLog_natural G B i D j (sameOpenAffineCoordinateMap G B D i j h) |
| 81 | (sameOpenAffineCoordinateMap_etale G B D i j h) |
| 82 | (sameOpenAffineCoordinateMap_square G B D i j h) l u |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AffinePresentationChange.Construction |