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.Divisors.LineBundles.Free.ProjectiveInfinityChart |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.RelativeBaseChangeChart |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.PullbackIso |
| 4 | |
| 5 | /-! # Infinity Chart Open Lift -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Free |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A free infinity chart contained over an open base lifts to a |
| 12 | genuine free infinity chart of the actual projective pullback. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | variable {E X U : Scheme.{0}} {p : E ⟶ X} {L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E} |
| 17 | (i : U ⟶ X) [IsOpenImmersion i] (x : U) |
| 18 | (C : ProjectiveInfinityChart.BundleCycles.FreeProjectiveInfinityChart p L (i x)) (hc : Set.range C.baseMap ⊆ Set.range i) |
| 19 | |
| 20 | def ProjectiveInfinityChart.BundleCycles.FreeProjectiveInfinityChart.openLift : |
| 21 | ProjectiveInfinityChart.BundleCycles.FreeProjectiveInfinityChart (pullback.snd p i) (L.pullback (pullback.fst p i)) x := by |
| 22 | let a := IsOpenImmersion.lift i C.baseMap hc |
| 23 | have ha : a ≫ i = C.baseMap := IsOpenImmersion.lift_fac i C.baseMap hc |
| 24 | let : IsOpenImmersion (a ≫ i) := ha.symm ▸ C.open_base |
| 25 | let : IsOpenImmersion a := IsOpenImmersion.of_comp a i |
| 26 | let q := SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase C.coefficient (C.coefficient × C.module) |
| 27 | let j := Open.RelativeBaseChangeChart.BundleCycles.openRelativeChartLift p q C.baseMap C.totalMap C.square i a ha |
| 28 | exact { |
| 29 | coefficient := C.coefficient |
| 30 | module := C.module |
| 31 | rank := C.rank |
| 32 | basis := C.basis |
| 33 | baseMap := a |
| 34 | totalMap := j |
| 35 | open_base := inferInstance |
| 36 | open_total := inferInstance |
| 37 | contains := by |
| 38 | obtain ⟨u, hu⟩ := C.contains |
| 39 | refine ⟨u, i.isOpenEmbedding.injective ?_⟩ |
| 40 | exact (congrArg (fun k : Spec C.coefficient ⟶ X => k u) ha).trans hu |
| 41 | square := Open.RelativeBaseChangeChart.BundleCycles.openRelativeChartLift_isPullback p q C.baseMap C.totalMap C.square i a ha |
| 42 | idealIso := LineBundle.PullbackIso.Cycles.lineBundlePullbackCompIso L j (pullback.fst p i) ≪≫ |
| 43 | LineBundle.PullbackIso.Cycles.lineBundlePullbackCongrIso L (Open.RelativeBaseChangeChart.BundleCycles.openRelativeChartLift_fst p q C.baseMap C.totalMap C.square i a ha) ≪≫ |
| 44 | C.idealIso } |
| 45 | |
| 46 | theorem ProjectiveInfinityChart.BundleCycles.FreeProjectiveInfinityChart.openLift_rank : (C.openLift i x hc).rank = C.rank := rfl |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Free |