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.FamilyMorphism.TensorCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.RegularSections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.PresentationSectionMorphism |
| 4 | |
| 5 | /-! # Regular Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyMorphism.RegularSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The literal fixed-fiber tensor morphism is exactly the original |
| 12 | scheme pullback on regular sections over compatible affine subfamilies. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver FixedFiber.AffineDiagram.fixedFiberTensorDiagram FixedFiber.AffineDiagram.fixedFiberTensorAlgebras |
| 18 | attribute [local implicit_reducible] Affine.OpenDiagram.familyAffineCoordinateFunctor HilbertConstruction.Affine.CoordinateFunctor.affineCoordinateFunctor HilbertConstruction.AlgebraTensorFunctor.algebraTensorFunctor |
| 19 | |
| 20 | variable (R k : Type) [CommRing R] [CommRing k] [Algebra R k] |
| 21 | {X Y : Over (Spec (.of R))} (f : X ⟶ Y) |
| 22 | (V : X.left.affineOpens) (W : Y.left.affineOpens) (h : V.1 ≤ f.left ⁻¹ᵁ W.1) |
| 23 | |
| 24 | include h |
| 25 | |
| 26 | theorem familyMorphismFixedFiber_open_le : |
| 27 | FixedFiber.CoordinateProjection.fixedFiberAffineOpen R k X V ≤ |
| 28 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).map f).left ⁻¹ᵁ FixedFiber.CoordinateProjection.fixedFiberAffineOpen R k Y W := by |
| 29 | let B := CommAlgCat.of k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R Y W) |
| 30 | let C := CommAlgCat.of k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) |
| 31 | let G := (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X |
| 32 | let H := (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj Y |
| 33 | let F : G ⟶ H := (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).map f |
| 34 | let i : EtaleSplittingAt.EtaleSplitting.affineOver k B ⟶ H := FixedFiber.AffineDiagram.fixedFiberTensorInclusion R k Y W |
| 35 | let j : EtaleSplittingAt.EtaleSplitting.affineOver k C ⟶ G := FixedFiber.AffineDiagram.fixedFiberTensorInclusion R k X V |
| 36 | have : IsOpenImmersion i.left := FixedFiber.AffineDiagram.fixedFiberTensorInclusion_open R k Y W |
| 37 | have : IsOpenImmersion j.left := FixedFiber.AffineDiagram.fixedFiberTensorInclusion_open R k X V |
| 38 | let q := TensorCoordinates.familyMorphismTensorCoordinates R k f V W h |
| 39 | have hi : Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k B C q ≫ i = j ≫ F := TensorCoordinates.familyMorphismTensorCoordinates_inclusion R k f V W h |
| 40 | have hR := Affine.PresentationSectionMorphism.openRange_preimage_of_square (Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k B C q).left i.left j.left F.left |
| 41 | (congrArg Over.Hom.left hi) |
| 42 | change (FixedFiber.AffineDiagram.fixedFiberTensorInclusion R k X V).left.opensRange ≤ F.left ⁻¹ᵁ |
| 43 | (FixedFiber.AffineDiagram.fixedFiberTensorInclusion R k Y W).left.opensRange at hR |
| 44 | rw [FixedFiber.CoordinateProjection.fixedFiberTensorInclusion_range, FixedFiber.CoordinateProjection.fixedFiberTensorInclusion_range] at hR |
| 45 | exact hR |
| 46 | |
| 47 | theorem fixedFiberRegularSectionEquiv_morphism (a : k ⊗[R] Family.AffineTangentLifts.familyAffineRing R Y W) : |
| 48 | FixedFiber.RegularSections.fixedFiberRegularSectionEquiv R k X V (TensorCoordinates.familyMorphismTensorCoordinates R k f V W h a) = |
| 49 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).map f).left.appLE |
| 50 | (FixedFiber.CoordinateProjection.fixedFiberAffineOpen R k Y W) (FixedFiber.CoordinateProjection.fixedFiberAffineOpen R k X V) (familyMorphismFixedFiber_open_le R k f V W h) |
| 51 | (FixedFiber.RegularSections.fixedFiberRegularSectionEquiv R k Y W a) := by |
| 52 | let B := CommAlgCat.of k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R Y W) |
| 53 | let C := CommAlgCat.of k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) |
| 54 | let G := (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X |
| 55 | let H := (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj Y |
| 56 | let F : G ⟶ H := (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).map f |
| 57 | let i : EtaleSplittingAt.EtaleSplitting.affineOver k B ⟶ H := FixedFiber.AffineDiagram.fixedFiberTensorInclusion R k Y W |
| 58 | let j : EtaleSplittingAt.EtaleSplitting.affineOver k C ⟶ G := FixedFiber.AffineDiagram.fixedFiberTensorInclusion R k X V |
| 59 | have : IsOpenImmersion i.left := FixedFiber.AffineDiagram.fixedFiberTensorInclusion_open R k Y W |
| 60 | have : IsOpenImmersion j.left := FixedFiber.AffineDiagram.fixedFiberTensorInclusion_open R k X V |
| 61 | let q := TensorCoordinates.familyMorphismTensorCoordinates R k f V W h |
| 62 | have hi : Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k B C q ≫ i = j ≫ F := TensorCoordinates.familyMorphismTensorCoordinates_inclusion R k f V W h |
| 63 | have hR := Affine.PresentationSectionMorphism.openRange_preimage_of_square (Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k B C q).left i.left j.left F.left |
| 64 | (congrArg Over.Hom.left hi) |
| 65 | have hn := Affine.PresentationSectionMorphism.affinePresentationRegularSectionEquiv_morphism k B C G H i j F q hi hR a |
| 66 | exact (congrArg (Regular.SectionTransport.regularSectionTransport (FixedFiber.CoordinateProjection.fixedFiberTensorInclusion_range R k X V)) hn).trans |
| 67 | (Affine.PresentationSectionMorphism.regularSectionTransport_appLE F.left (FixedFiber.CoordinateProjection.fixedFiberTensorInclusion_range R k Y W) |
| 68 | (FixedFiber.CoordinateProjection.fixedFiberTensorInclusion_range R k X V) hR (familyMorphismFixedFiber_open_le R k f V W h) |
| 69 | (Affine.PresentationRegularSections.affinePresentationRegularSectionEquiv k B H i a)) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyMorphism.RegularSections |