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.PELModuli.CMPoints.FixedCoefficientDiagrams |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.ModelLifts |
| 3 | |
| 4 | /-! # Fixed Arithmetic Diagrams -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.FixedArithmeticDiagrams |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Generic diagrams between fixed arithmetic models extend after |
| 11 | one enlargement of the original rational denominator. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 16 | (B : IntegralModel.Base.ArithmeticBaseExtension K κ) |
| 17 | |
| 18 | def arithmeticModelProjection (X : Over B.base) |
| 19 | {G : Over (Spec (.of B.extension.carrier))} (p : G.left ⟶ X.left) |
| 20 | (hp : p ≫ X.hom = G.hom ≫ B.generic) |
| 21 | (D : ℕ) (hD : D ≠ 0) (hdiv : B.denominator ∣ D) : |
| 22 | G.left ⟶ ((Over.pullback (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv)).obj X).left := |
| 23 | ModelLifts.modelLift X p (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv) (B.withDenominator D hD).generic |
| 24 | (hp.trans (congrArg (fun z => G.hom ≫ z) (ArithmeticBaseMaps.arithmeticEnlargement_generic B D hD hdiv).symm)) |
| 25 | |
| 26 | @[reassoc] |
| 27 | theorem arithmeticModelProjection_fst (X : Over B.base) |
| 28 | {G : Over (Spec (.of B.extension.carrier))} (p : G.left ⟶ X.left) |
| 29 | (hp : p ≫ X.hom = G.hom ≫ B.generic) |
| 30 | (D : ℕ) (hD : D ≠ 0) (hdiv : B.denominator ∣ D) : |
| 31 | arithmeticModelProjection B X p hp D hD hdiv ≫ |
| 32 | pullback.fst X.hom (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv) = p := |
| 33 | ModelLifts.modelLift_fst _ _ _ _ _ |
| 34 | |
| 35 | @[reassoc] |
| 36 | theorem arithmeticModelProjection_snd (X : Over B.base) |
| 37 | {G : Over (Spec (.of B.extension.carrier))} (p : G.left ⟶ X.left) |
| 38 | (hp : p ≫ X.hom = G.hom ≫ B.generic) |
| 39 | (D : ℕ) (hD : D ≠ 0) (hdiv : B.denominator ∣ D) : |
| 40 | arithmeticModelProjection B X p hp D hD hdiv ≫ |
| 41 | pullback.snd X.hom (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv) = |
| 42 | G.hom ≫ (B.withDenominator D hD).generic := |
| 43 | ModelLifts.modelLift_snd _ _ _ _ _ |
| 44 | |
| 45 | theorem finite_morphisms_between_fixed_arithmetic_models_spread |
| 46 | {I J : Type*} [Finite J] (src dst : J → I) |
| 47 | (X : I → Over B.base) (G : I → Over (Spec (.of B.extension.carrier))) |
| 48 | (hX : ∀ i, ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (X i).hom) |
| 49 | (p : ∀ i, (G i).left ⟶ (X i).left) |
| 50 | (hp : ∀ i, IsPullback (p i) (G i).hom (X i).hom B.generic) |
| 51 | (a : ∀ j, G (src j) ⟶ G (dst j)) : |
| 52 | ∃ (D : ℕ) (hD : D ≠ 0) (hdiv : B.denominator ∣ D), |
| 53 | ∃ b : ∀ j, (Over.pullback (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv)).obj (X (src j)) ⟶ |
| 54 | (Over.pullback (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv)).obj (X (dst j)), |
| 55 | ∀ j, arithmeticModelProjection B (X (src j)) (p (src j)) (hp (src j)).w D hD hdiv ≫ |
| 56 | (b j).left = (a j).left ≫ |
| 57 | arithmeticModelProjection B (X (dst j)) (p (dst j)) (hp (dst j)).w D hD hdiv := by |
| 58 | let : Algebra B.R B.extension.carrier := B.toField.toAlgebra |
| 59 | obtain ⟨t, b, hb⟩ := FixedCoefficientDiagrams.finite_morphisms_between_fixed_coefficient_models_descend |
| 60 | src dst X G hX p hp a |
| 61 | obtain ⟨D, hD, hdiv, φ, hφ, hφbase⟩ := ArithmeticCoefficientEnlargement.arithmetic_coefficients_localize B t |
| 62 | let B' := B.withDenominator D hD |
| 63 | let u : B'.base ⟶ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase B.R B.extension.carrier t := |
| 64 | Spec.map (CommRingCat.ofHom φ) |
| 65 | have hu : u ≫ EmptyCoefficientBase.coefficientStructureMap t = ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv := by |
| 66 | change Spec.map (CommRingCat.ofHom φ) ≫ |
| 67 | Spec.map (CommRingCat.ofHom (algebraMap B.R (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R B.extension.carrier t))) = _ |
| 68 | rw [← Spec.map_comp] |
| 69 | exact congrArg (fun f => Spec.map (CommRingCat.ofHom f)) hφbase |
| 70 | have hv : B'.generic ≫ u = ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap B.R B.extension.carrier t := by |
| 71 | change Spec.map (CommRingCat.ofHom B'.toField) ≫ Spec.map (CommRingCat.ofHom φ) = _ |
| 72 | rw [← Spec.map_comp] |
| 73 | exact congrArg (fun f => Spec.map (CommRingCat.ofHom f)) hφ |
| 74 | let Xt i := (Over.pullback (EmptyCoefficientBase.coefficientStructureMap t)).obj (X i) |
| 75 | let pt i := FixedCoefficientModels.fixedCoefficientProjection (X i) (p i) (hp i) t |
| 76 | have hpt i : pt i ≫ (Xt i).hom = (G i).hom ≫ B'.generic ≫ u := |
| 77 | (FixedCoefficientModels.fixedCoefficientProjection_snd (X i) (p i) (hp i) t).trans |
| 78 | (congrArg (fun z => (G i).hom ≫ z) hv.symm) |
| 79 | let pd i := ModelLifts.modelLift (Xt i) (pt i) u B'.generic (hpt i) |
| 80 | let e i := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso (X i) (EmptyCoefficientBase.coefficientStructureMap t) |
| 81 | u (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv) hu |
| 82 | have he i : pd i ≫ (e i).hom.left = |
| 83 | arithmeticModelProjection B (X i) (p i) (hp i).w D hD hdiv := by |
| 84 | exact ModelLifts.modelLift_iterated (X i) (p i) (EmptyCoefficientBase.coefficientStructureMap t) |
| 85 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap B.R B.extension.carrier t) |
| 86 | ((hp i).w.trans (congrArg (fun z => (G i).hom ≫ z) (EmptyCoefficientBase.genericBaseMap_structure t).symm)) |
| 87 | u (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv) hu B'.generic hv _ |
| 88 | have hei i : arithmeticModelProjection B (X i) (p i) (hp i).w D hD hdiv ≫ |
| 89 | (e i).inv.left = pd i := |
| 90 | (((Over.forget _).mapIso (e i)).eq_comp_inv.mpr (he i)).symm |
| 91 | refine ⟨D, hD, hdiv, fun j => (e (src j)).inv ≫ (Over.pullback u).map (b j) ≫ |
| 92 | (e (dst j)).hom, ?_⟩ |
| 93 | intro j |
| 94 | have hm : pd (src j) ≫ ((Over.pullback u).map (b j)).left = (a j).left ≫ pd (dst j) := |
| 95 | ModelLifts.modelLift_map (Xt (src j)) (pt (src j)) u B'.generic (hpt (src j)) |
| 96 | (pt (dst j)) (hpt (dst j)) (a j) (b j) (hb j) |
| 97 | change _ ≫ ((e (src j)).inv.left ≫ |
| 98 | (((Over.pullback u).map (b j)).left ≫ (e (dst j)).hom.left)) = _ |
| 99 | rw [← Category.assoc, hei, ← Category.assoc, hm, Category.assoc, he] |
| 100 | |
| 101 | theorem morphism_between_fixed_arithmetic_models_spreads |
| 102 | (X Y : Over B.base) |
| 103 | (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) (hY : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y.hom) |
| 104 | {G H : Over (Spec (.of B.extension.carrier))} |
| 105 | (p : G.left ⟶ X.left) (q : H.left ⟶ Y.left) |
| 106 | (hp : IsPullback p G.hom X.hom B.generic) |
| 107 | (hq : IsPullback q H.hom Y.hom B.generic) (a : G ⟶ H) : |
| 108 | ∃ (D : ℕ) (hD : D ≠ 0) (hdiv : B.denominator ∣ D), |
| 109 | ∃ b : (Over.pullback (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv)).obj X ⟶ |
| 110 | (Over.pullback (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv)).obj Y, |
| 111 | arithmeticModelProjection B X p hp.w D hD hdiv ≫ b.left = |
| 112 | a.left ≫ arithmeticModelProjection B Y q hq.w D hD hdiv := by |
| 113 | let Z : Bool → Over B.base | false => X | true => Y |
| 114 | let U : Bool → Over (Spec (.of B.extension.carrier)) | false => G | true => H |
| 115 | let π : ∀ i, (U i).left ⟶ (Z i).left | false => p | true => q |
| 116 | have hπ : ∀ i, IsPullback (π i) (U i).hom (Z i).hom B.generic |
| 117 | | false => hp | true => hq |
| 118 | have hZ : ∀ i, ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (Z i).hom | false => hX | true => hY |
| 119 | obtain ⟨D, hD, hdiv, b, hb⟩ := finite_morphisms_between_fixed_arithmetic_models_spread B |
| 120 | (fun _ : Unit => false) (fun _ => true) Z U hZ π hπ (fun _ => a) |
| 121 | exact ⟨D, hD, hdiv, b (), hb ()⟩ |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.FixedArithmeticDiagrams |