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.PresentationRegularSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.CoordinateProjection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.DerivationPresheaf |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.SectionTransport |
| 5 | |
| 6 | /-! # Regular Sections -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.RegularSections |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Fixed-fiber tensor coefficients are the original regular |
| 13 | sections on the corresponding inverse-image opens, compatibly with |
| 14 | restriction and the actual base constants. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | attribute [local implicit_reducible] AffineDiagram.fixedFiberTensorDiagram AffineDiagram.fixedFiberTensorAlgebras |
| 20 | attribute [local implicit_reducible] Affine.OpenDiagram.familyAffineCoordinateFunctor HilbertConstruction.Affine.CoordinateFunctor.affineCoordinateFunctor HilbertConstruction.AlgebraTensorFunctor.algebraTensorFunctor |
| 21 | |
| 22 | variable (R k : Type) [CommRing R] [CommRing k] [Algebra R k] |
| 23 | (X : Over (Spec (.of R))) |
| 24 | |
| 25 | def fixedFiberRegularSectionEquiv (V : X.left.affineOpens) : |
| 26 | (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) ≃+* |
| 27 | Γ(((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X).left, |
| 28 | CoordinateProjection.fixedFiberAffineOpen R k X V) := by |
| 29 | let G := (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X |
| 30 | let B := CommAlgCat.of k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) |
| 31 | let i : EtaleSplittingAt.EtaleSplitting.affineOver k B ⟶ G := AffineDiagram.fixedFiberTensorInclusion R k X V |
| 32 | have : IsOpenImmersion i.left := AffineDiagram.fixedFiberTensorInclusion_open R k X V |
| 33 | exact (Affine.PresentationRegularSections.affinePresentationRegularSectionEquiv k B G i).trans |
| 34 | (Regular.SectionTransport.regularSectionTransport (CoordinateProjection.fixedFiberTensorInclusion_range R k X V)) |
| 35 | |
| 36 | theorem fixedFiberRegularSectionEquiv_restrict {V W : X.left.affineOpens} (h : V.1 ≤ W.1) |
| 37 | (a : k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W) : |
| 38 | fixedFiberRegularSectionEquiv R k X V (DerivationPresheaf.fixedFiberTensorRestriction R k X h a) = |
| 39 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X).left.presheaf.map |
| 40 | (homOfLE ((CoordinateProjection.fixedFamilyProjection R k X).preimage_mono h)).op (fixedFiberRegularSectionEquiv R k X W a) := by |
| 41 | let G := (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X |
| 42 | let BV := CommAlgCat.of k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) |
| 43 | let BW := CommAlgCat.of k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W) |
| 44 | let iV : EtaleSplittingAt.EtaleSplitting.affineOver k BV ⟶ G := AffineDiagram.fixedFiberTensorInclusion R k X V |
| 45 | let iW : EtaleSplittingAt.EtaleSplitting.affineOver k BW ⟶ G := AffineDiagram.fixedFiberTensorInclusion R k X W |
| 46 | have : IsOpenImmersion iV.left := AffineDiagram.fixedFiberTensorInclusion_open R k X V |
| 47 | have : IsOpenImmersion iW.left := AffineDiagram.fixedFiberTensorInclusion_open R k X W |
| 48 | have hR : iV.left.opensRange ≤ iW.left.opensRange := by |
| 49 | change (AffineDiagram.fixedFiberTensorInclusion R k X V).left.opensRange ≤ (AffineDiagram.fixedFiberTensorInclusion R k X W).left.opensRange |
| 50 | rw [CoordinateProjection.fixedFiberTensorInclusion_range, CoordinateProjection.fixedFiberTensorInclusion_range] |
| 51 | exact (CoordinateProjection.fixedFamilyProjection R k X).preimage_mono h |
| 52 | have hn := Affine.PresentationRegularSections.affinePresentationRegularSectionEquiv_natural k BW G iW BV iV |
| 53 | (DerivationPresheaf.fixedFiberTensorRestriction R k X h) (AffineDiagram.fixedFiberTensorInclusion_natural R k X (homOfLE h)) hR a |
| 54 | exact (congrArg (Regular.SectionTransport.regularSectionTransport (CoordinateProjection.fixedFiberTensorInclusion_range R k X V)) hn).trans |
| 55 | (Regular.SectionTransport.regularSectionTransport_restrict (CoordinateProjection.fixedFiberTensorInclusion_range R k X W) |
| 56 | (CoordinateProjection.fixedFiberTensorInclusion_range R k X V) hR ((CoordinateProjection.fixedFamilyProjection R k X).preimage_mono h) |
| 57 | (Affine.PresentationRegularSections.affinePresentationRegularSectionEquiv k BW G iW a)) |
| 58 | |
| 59 | theorem fixedFiberRegularSectionEquiv_constant (V : X.left.affineOpens) (c : k) : |
| 60 | fixedFiberRegularSectionEquiv R k X V |
| 61 | (algebraMap k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) c) = |
| 62 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X).left.presheaf.map |
| 63 | (homOfLE (show CoordinateProjection.fixedFiberAffineOpen R k X V ≤ ⊤ from le_top)).op |
| 64 | (((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X).hom.appTop |
| 65 | ((Scheme.ΓSpecIso (.of k)).inv c)) := by |
| 66 | let G := (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X |
| 67 | let B := CommAlgCat.of k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) |
| 68 | let i : EtaleSplittingAt.EtaleSplitting.affineOver k B ⟶ G := AffineDiagram.fixedFiberTensorInclusion R k X V |
| 69 | have : IsOpenImmersion i.left := AffineDiagram.fixedFiberTensorInclusion_open R k X V |
| 70 | have hc := Affine.PresentationRegularSections.affinePresentationRegularSectionEquiv_constant k B G i c |
| 71 | exact (congrArg (Regular.SectionTransport.regularSectionTransport (CoordinateProjection.fixedFiberTensorInclusion_range R k X V)) hc).trans |
| 72 | (Regular.SectionTransport.regularSectionTransport_restrict rfl (CoordinateProjection.fixedFiberTensorInclusion_range R k X V) le_top le_top |
| 73 | (G.hom.appTop ((Scheme.ΓSpecIso (.of k)).inv c))) |
| 74 | |
| 75 | theorem fixedFiberRegularSectionEquiv_smul (V : X.left.affineOpens) (c : k) |
| 76 | (a : k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) : |
| 77 | fixedFiberRegularSectionEquiv R k X V (c • a) = |
| 78 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X).left.presheaf.map |
| 79 | (homOfLE (show CoordinateProjection.fixedFiberAffineOpen R k X V ≤ ⊤ from le_top)).op |
| 80 | (((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X).hom.appTop |
| 81 | ((Scheme.ΓSpecIso (.of k)).inv c)) * fixedFiberRegularSectionEquiv R k X V a := by |
| 82 | rw [Algebra.smul_def, map_mul, fixedFiberRegularSectionEquiv_constant] |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.RegularSections |