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.IsogenyQuotient.TraceTrivialLineFrame |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ProperFrameNeighborhood |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LocalIsomorphismsIs |
| 4 | |
| 5 | /-! # Trace Triviality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.TraceTriviality.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A line trivialized by a finite-flat map of proper smooth connected |
| 12 | groups becomes trivial near any characteristic-zero fiber on which it |
| 13 | is trivial. The neighborhood and its frame come from the actual trace. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | universe u |
| 19 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 20 | [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 21 | [IsProper B.hom] [Smooth B.hom] [GeometricallyConnected B.hom] |
| 22 | (f : A ⟶ B) [IsFinite f.left] [Flat f.left] [Surjective f.left] |
| 23 | [LocallyOfFinitePresentation f.left] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left) |
| 24 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left ⟶ (L.pullback f.left).sheaf) [IsIso z] |
| 25 | |
| 26 | omit [GrpObj A] [GrpObj B] [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 27 | [Smooth B.hom] [GeometricallyConnected B.hom] [Surjective f.left] [IsIso z] in |
| 28 | def traceTrivialityOpen : S.Opens := ProperFrameNeighborhood.Construction.sectionFrameNeighborhood B.hom (GlobalTraceSection.Construction.finiteFlatTraceSection f.left L z) |
| 29 | |
| 30 | omit [GrpObj A] [GrpObj B] [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 31 | [Smooth B.hom] [GeometricallyConnected B.hom] [Surjective f.left] [IsIso z] in |
| 32 | theorem traceTrivialityOpen_line_trivial : |
| 33 | Nonempty ((L.pullback (B.hom ⁻¹ᵁ traceTrivialityOpen f L z).ι).sheaf ≅ |
| 34 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (B.hom ⁻¹ᵁ traceTrivialityOpen f L z).toScheme) := by |
| 35 | have : IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (B.hom ⁻¹ᵁ traceTrivialityOpen f L z).ι |
| 36 | (GlobalTraceSection.Construction.finiteFlatTraceSection f.left L z)) := |
| 37 | ProperFrameNeighborhood.Construction.sectionFrameNeighborhood_isIso B.hom (GlobalTraceSection.Construction.finiteFlatTraceSection f.left L z) |
| 38 | exact ⟨(asIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (B.hom ⁻¹ᵁ traceTrivialityOpen f L z).ι |
| 39 | (GlobalTraceSection.Construction.finiteFlatTraceSection f.left L z))).symm⟩ |
| 40 | |
| 41 | set_option backward.isDefEq.respectTransparency false in |
| 42 | theorem traceTrivialityOpen_contains_trivial_field_fiber |
| 43 | {k : Type u} [Field k] [CharZero k] (t : Spec (.of k) ⟶ S) |
| 44 | (e : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback B.hom t) ≅ (L.pullback (pullback.fst B.hom t)).sheaf) |
| 45 | (s : Spec (.of k)) : t s ∈ traceTrivialityOpen f L z := by |
| 46 | let A' := (Over.pullback t).obj A |
| 47 | let B' := (Over.pullback t).obj B |
| 48 | let f' := (Over.pullback t).map f |
| 49 | have : IsProper A'.hom := inferInstanceAs (IsProper (pullback.snd A.hom t)) |
| 50 | have : Smooth A'.hom := inferInstanceAs (Smooth (pullback.snd A.hom t)) |
| 51 | have : GeometricallyConnected A'.hom := inferInstanceAs (GeometricallyConnected (pullback.snd A.hom t)) |
| 52 | have : IsProper B'.hom := inferInstanceAs (IsProper (pullback.snd B.hom t)) |
| 53 | have : Smooth B'.hom := inferInstanceAs (Smooth (pullback.snd B.hom t)) |
| 54 | have : GeometricallyConnected B'.hom := inferInstanceAs (GeometricallyConnected (pullback.snd B.hom t)) |
| 55 | have : IsFinite f'.left := MorphismProperty.overPullbackMap (P := @IsFinite) t _ inferInstance |
| 56 | have : Flat f'.left := MorphismProperty.overPullbackMap (P := @Flat) t _ inferInstance |
| 57 | have : Surjective f'.left := MorphismProperty.overPullbackMap (P := @Surjective) t _ inferInstance |
| 58 | have : LocallyOfFinitePresentation f'.left := |
| 59 | MorphismProperty.overPullbackMap (P := @LocallyOfFinitePresentation) t _ inferInstance |
| 60 | let h := CartierDuality.LocalIsomorphismsIs.Construction.LocalIsomorphisms.pullbackMap_isPullback t f |
| 61 | let L' := L.pullback (pullback.fst B.hom t) |
| 62 | let z' := SquareSectionComposition.Construction.pullbackSquareSection f.left f'.left (pullback.fst A.hom t) (pullback.fst B.hom t) h.w z |
| 63 | have : IsIso z' := by |
| 64 | change IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (pullback.fst A.hom t) z ≫ |
| 65 | (PullbackSectionSquares.Construction.sectionPullbackSquareIso f.left f'.left (pullback.fst A.hom t) |
| 66 | (pullback.fst B.hom t) h.w L.sheaf).hom) |
| 67 | infer_instance |
| 68 | have : IsIso (GlobalTraceSection.Construction.finiteFlatTraceSection f'.left L' z') := |
| 69 | TraceTrivialLineFrame.Construction.properGroupTraceSection_isIso_of_trivial_line f' L' e z' |
| 70 | have ht := GlobalTraceBaseChange.Construction.finiteFlatTraceSection_baseChange f.left f'.left |
| 71 | (pullback.fst A.hom t) (pullback.fst B.hom t) h L z |
| 72 | have : IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (pullback.fst B.hom t) (GlobalTraceSection.Construction.finiteFlatTraceSection f.left L z)) := by |
| 73 | rw [ht] |
| 74 | infer_instance |
| 75 | exact ProperFrameNeighborhood.Construction.mem_sectionFrameNeighborhood_of_baseChange_isIso B.hom L |
| 76 | (GlobalTraceSection.Construction.finiteFlatTraceSection f.left L z) t (t s) ⟨s, rfl⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.TraceTriviality.Construction |