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.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.WittFactor |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.Affinization |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.FieldGeometricConnectedness |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ZeroDimensionalFlat |
| 5 | |
| 6 | /-! # Geometric Connectedness -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.GeometricConnectedness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual map to global functions has geometrically connected fibers for a smooth proper projective scheme over a finite field. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (k : Type u) [Field k] [Finite k] |
| 19 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] |
| 20 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 21 | |
| 22 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra.algebra k X |
| 23 | |
| 24 | omit [Finite k] [Smooth X.hom] in |
| 25 | theorem proper : IsProper (WittFactor.affinization k X) := |
| 26 | AlgebraicGeometry.FormalGeometry.Completion.Proper.Affinization.Construction.proper_toSpecΓ X.hom |
| 27 | |
| 28 | include hprojective in |
| 29 | theorem geometricallyConnected : GeometricallyConnected (WittFactor.affinization k X) := by |
| 30 | let Y := Spec (CommRingCat.of A) |
| 31 | let g : X.left ⟶ Y := WittFactor.affinization k X |
| 32 | let : IsProper g := proper k X |
| 33 | let : IsIso g.appTop := by |
| 34 | change IsIso X.left.toSpecΓ.appTop |
| 35 | rw [Scheme.toSpecΓ_appTop] |
| 36 | infer_instance |
| 37 | let : Finite A := SmoothProper.GlobalFunctionAlgebra.finite k X hprojective |
| 38 | let : Finite Γ(Y, ⊤) := Finite.of_injective (Scheme.ΓSpecIso (CommRingCat.of A)).hom |
| 39 | (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (CommRingCat.of A)).hom).injective |
| 40 | let : IsArtinianRing Γ(Y, ⊤) := isArtinian_of_finite |
| 41 | let : Ring.KrullDimLE 0 Γ(Y, ⊤) := inferInstance |
| 42 | let : _root_.IsReduced A := SmoothProper.GlobalFunctionAlgebra.reduced k X |
| 43 | let : IsReduced Y := inferInstance |
| 44 | let : _root_.IsReduced Γ(Y, ⊤) := inferInstance |
| 45 | constructor |
| 46 | intro L _ t Z fst snd H |
| 47 | let : Flat t := AlgebraicGeometry.FormalGeometry.Completion.ZeroDimensionalFlat.Construction.schemeMap_flat_of_reduced_zeroDimensional_affine t |
| 48 | let : GeometricallyConnected (pullback.snd g t) := |
| 49 | AlgebraicGeometry.FormalGeometry.Completion.Proper.FieldGeometricConnectedness.Construction.proper_flat_field_baseChange_geometricallyConnected g L t |
| 50 | let : ConnectedSpace ↥(pullback g t : Scheme.{u}) := |
| 51 | GeometricallyConnected.connectedSpace_of_subsingleton (pullback.snd g t) |
| 52 | exact H.isoPullback.symm.hom.homeomorph.connectedSpace_iff.mp inferInstance |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.GeometricConnectedness |