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.FrobeniusKernel.ActiveEtaleTransport |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EtaleMapsFromPoints |
| 3 | |
| 4 | /-! # Active Etale Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ActiveEtalePoints.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Reduced test schemes see exactly the etale factor of the ordinary |
| 12 | active block. This identifies the induced map on the etale plane from |
| 13 | the original native map, and constructs its inverse from geometric |
| 14 | point bijectivity when that bijectivity is available. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (k : Type u) [Field k] (q : ℕ) [Fact q.Prime] [CharP k q] |
| 24 | variable {B B' : Grp (Over (Spec (.of k)))} |
| 25 | variable (e : ChosenOrdinaryKernels.Construction.ActiveOrdinarySplitting k q B) (e' : ChosenOrdinaryKernels.Construction.ActiveOrdinarySplitting k q B') |
| 26 | |
| 27 | /-- The two coordinate maps are inverse on every reduced test scheme. -/ |
| 28 | theorem activeEtaleReduced_projection_inclusion (T : Over (Spec (.of k))) |
| 29 | [IsReduced T.left] (x : T ⟶ B.X) : |
| 30 | (x ≫ (ActiveEtaleTransport.Construction.activeEtaleProjection k q e).hom.hom) ≫ |
| 31 | (ChosenOrdinaryKernels.Construction.chosenActiveEtalePlane k q e).hom.hom = x := by |
| 32 | let M := OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1 |
| 33 | let E := EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q |
| 34 | let t : T ⟶ M.X ⊗ E.X := x ≫ e.hom.hom.hom |
| 35 | have ht : t ≫ fst M.X E.X = 1 := |
| 36 | ReducedHeightOneMaps.Construction.map_from_reduced_of_trivial_frobenius q (Fact.out : q.Prime) |
| 37 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec q k (CharP.cast_eq_zero k q)) _ |
| 38 | (Multiplicative.Construction.ordinaryMultiplicative_relativeFrobenius q k 1) |
| 39 | have hfac : (t ≫ snd M.X E.X) ≫ (AnnihilatorSheaf.Construction.splitSecondInclusion M E).hom.hom = t := by |
| 40 | apply CartesianMonoidalCategory.hom_ext |
| 41 | · change ((t ≫ snd M.X E.X) ≫ lift (1 : E.X ⟶ M.X) (𝟙 E.X)) ≫ fst M.X E.X = _ |
| 42 | rw [Category.assoc, lift_fst, MonObj.comp_one] |
| 43 | exact ht.symm |
| 44 | · change ((t ≫ snd M.X E.X) ≫ lift (1 : E.X ⟶ M.X) (𝟙 E.X)) ≫ snd M.X E.X = _ |
| 45 | rw [Category.assoc, lift_snd, Category.comp_id] |
| 46 | have he : e.hom.hom.hom ≫ e.inv.hom.hom = 𝟙 B.X := |
| 47 | ((Grp.forget _).mapIso e).hom_inv_id |
| 48 | change (x ≫ (e.hom.hom.hom ≫ snd M.X E.X)) ≫ |
| 49 | ((AnnihilatorSheaf.Construction.splitSecondInclusion M E).hom.hom ≫ e.inv.hom.hom) = x |
| 50 | rw [← Category.assoc x, ← Category.assoc, hfac, Category.assoc, he, Category.comp_id] |
| 51 | |
| 52 | def activeEtaleReducedPointsEquiv (T : Over (Spec (.of k))) [IsReduced T.left] : |
| 53 | (T ⟶ B.X) ≃* (T ⟶ (EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q).X) where |
| 54 | toFun x := x ≫ (ActiveEtaleTransport.Construction.activeEtaleProjection k q e).hom.hom |
| 55 | invFun x := x ≫ (ChosenOrdinaryKernels.Construction.chosenActiveEtalePlane k q e).hom.hom |
| 56 | left_inv := activeEtaleReduced_projection_inclusion k q e T |
| 57 | right_inv x := by |
| 58 | have h := congrArg |
| 59 | (fun z : EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q ⟶ EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q => |
| 60 | z.hom.hom) (ActiveEtaleTransport.Construction.chosenActiveEtalePlane_projection k q e) |
| 61 | change (ChosenOrdinaryKernels.Construction.chosenActiveEtalePlane k q e).hom.hom ≫ (ActiveEtaleTransport.Construction.activeEtaleProjection k q e).hom.hom = 𝟙 _ at h |
| 62 | change (x ≫ (ChosenOrdinaryKernels.Construction.chosenActiveEtalePlane k q e).hom.hom) ≫ |
| 63 | (ActiveEtaleTransport.Construction.activeEtaleProjection k q e).hom.hom = x |
| 64 | rw [Category.assoc, h, Category.comp_id] |
| 65 | map_mul' x y := MonObj.mul_comp x y _ |
| 66 | |
| 67 | theorem activeEtaleMap_points_bijective (a : B ⟶ B') |
| 68 | (ha : Function.Bijective ((yonedaGrp.map a).app (op (Over.mk (𝟙 _))))) : |
| 69 | Function.Bijective ((yonedaGrp.map (ActiveEtaleTransport.Construction.activeEtaleMap k q e e' a)).app |
| 70 | (op (Over.mk (𝟙 _)))) := by |
| 71 | let T : Over (Spec (.of k)) := Over.mk (𝟙 _) |
| 72 | have : Smooth T.hom := inferInstanceAs (Smooth (𝟙 (Spec (.of k)))) |
| 73 | have : IsReduced T.left := ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced.Construction.isReduced_smooth_over_field T.hom |
| 74 | let u := activeEtaleReducedPointsEquiv k q e T |
| 75 | let v := activeEtaleReducedPointsEquiv k q e' T |
| 76 | have h := v.bijective.comp (ha.comp u.symm.bijective) |
| 77 | change Function.Bijective (fun x : T ⟶ (EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q).X => |
| 78 | ((x ≫ (ChosenOrdinaryKernels.Construction.chosenActiveEtalePlane k q e).hom.hom) ≫ a.hom.hom) ≫ |
| 79 | (ActiveEtaleTransport.Construction.activeEtaleProjection k q e').hom.hom) at h |
| 80 | change Function.Bijective (fun x : T ⟶ (EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q).X => |
| 81 | x ≫ (ActiveEtaleTransport.Construction.activeEtaleMap k q e e' a).hom.hom) |
| 82 | convert h using 1 |
| 83 | funext x |
| 84 | exact (Category.assoc x (ChosenOrdinaryKernels.Construction.chosenActiveEtalePlane k q e).hom.hom |
| 85 | (a.hom.hom ≫ (ActiveEtaleTransport.Construction.activeEtaleProjection k q e').hom.hom)).symm.trans |
| 86 | (congrArg (fun z => z ≫ (ActiveEtaleTransport.Construction.activeEtaleProjection k q e').hom.hom) |
| 87 | (Category.assoc x (ChosenOrdinaryKernels.Construction.chosenActiveEtalePlane k q e).hom.hom a.hom.hom).symm) |
| 88 | |
| 89 | /-- The inverse of the actual etale-plane map is constructed from its |
| 90 | proved rational-point bijectivity, with all native maps recovered. -/ |
| 91 | def activeEtaleIsoOfPoints (a : B ⟶ B') |
| 92 | (ha : Function.Bijective ((yonedaGrp.map a).app (op (Over.mk (𝟙 _))))) : |
| 93 | EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q ≅ EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q := |
| 94 | EtaleMapsFromPoints.Construction.fieldEtaleIsoOfPoints k (ActiveEtaleTransport.Construction.activeEtaleMap k q e e' a) |
| 95 | (activeEtaleMap_points_bijective k q e e' a ha) |
| 96 | |
| 97 | theorem activeEtaleIsoOfPoints_hom (a : B ⟶ B') |
| 98 | (ha : Function.Bijective ((yonedaGrp.map a).app (op (Over.mk (𝟙 _))))) : |
| 99 | (activeEtaleIsoOfPoints k q e e' a ha).hom = ActiveEtaleTransport.Construction.activeEtaleMap k q e e' a := |
| 100 | EtaleMapsFromPoints.Construction.fieldEtaleIsoOfPoints_hom k _ _ |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ActiveEtalePoints.Construction |