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.Countable.PolarizedPair |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.ParameterLines |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.StagedProductRecovery |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.FpqcMixedPoincareRecovery |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.GlobalFunctions |
| 6 | |
| 7 | /-! # Dual Model -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.DualModel.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Full native dual abelian data of a geometric polarized abelian |
| 14 | variety have a countable algebraically closed field of definition, |
| 15 | including the actual Poincare line and both original group comparisons. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 20 | |
| 21 | structure CountableDualModel {k : Type} [Field k] {g : ℕ} |
| 22 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) where |
| 23 | field : Subfield k |
| 24 | [countable : Countable field] |
| 25 | [algebraicallyClosed : IsAlgClosed field] |
| 26 | abelian : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of field)) |
| 27 | dual : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData abelian |
| 28 | sourceRecovery : A.scheme ≅ (abelian.pullback (Spec.map (CommRingCat.ofHom field.subtype))).scheme |
| 29 | dualRecovery : D.abelian.scheme ≅ (dual.abelian.pullback (Spec.map (CommRingCat.ofHom field.subtype))).scheme |
| 30 | sourceGroup : IsMonHom sourceRecovery.hom |
| 31 | dualGroup : IsMonHom dualRecovery.hom |
| 32 | poincare : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass |
| 33 | (AbelianModuli.ReferenceFamily.CartesianMixedProduct.CartesianFamily.mixedMap (Spec.map (CommRingCat.ofHom field.subtype)) dualRecovery sourceRecovery) |
| 34 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf dual.poincare) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare |
| 35 | |
| 36 | attribute [instance] CountableDualModel.countable CountableDualModel.algebraicallyClosed |
| 37 | CountableDualModel.sourceGroup CountableDualModel.dualGroup |
| 38 | |
| 39 | set_option backward.isDefEq.respectTransparency false in |
| 40 | theorem countable_polarized_dual_model_exists |
| 41 | {k : Type} [Field k] [CharZero k] [IsAlgClosed k] {g N : ℕ} {δ : Fin g → ℕ} |
| 42 | (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) : |
| 43 | Nonempty (CountableDualModel A.abelian A.dual) := by |
| 44 | obtain ⟨M⟩ := PolarizedPair.Construction.countable_polarized_pair_model_exists A |
| 45 | let F := M.field |
| 46 | let B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of F)) := M.family false |
| 47 | let E : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of F)) := M.family true |
| 48 | let w := Spec.map (CommRingCat.ofHom F.subtype) |
| 49 | let eA : A.abelian.scheme ≅ (B.pullback w).scheme := M.recovery false |
| 50 | let eD : A.dual.abelian.scheme ≅ (E.pullback w).scheme := M.recovery true |
| 51 | have : IsMonHom eA.hom := M.recovery_group false |
| 52 | have : IsMonHom eD.hom := M.recovery_group true |
| 53 | let X := E.scheme ⊗ B.scheme |
| 54 | have : IsProper X.hom := inferInstanceAs |
| 55 | (IsProper (pullback.fst E.scheme.hom B.scheme.hom ≫ E.scheme.hom)) |
| 56 | let c := StagedProductRecovery.Construction.recoveredProductParameterIso w E.scheme B.scheme eD eA |
| 57 | let L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.algebraSpecOver F k ⊗ X).left := A.dual.poincare.pullback c.inv |
| 58 | obtain ⟨G, hG, hGa, hFG, JG, ⟨hJG⟩⟩ := ParameterLines.Construction.countable_parameter_line_model_exists F X L |
| 59 | let : Countable G := hG |
| 60 | let : IsAlgClosed G := hGa |
| 61 | let v := Spec.map (CommRingCat.ofHom (Subfield.inclusion hFG)) |
| 62 | let u := Spec.map (CommRingCat.ofHom G.subtype) |
| 63 | have hu : u ≫ v = w := (ParameterLines.Construction.subfieldParameterRestriction F G hFG).w |
| 64 | let BG := B.pullback v |
| 65 | let EG := E.pullback v |
| 66 | let eA' := StagedRecovery.Construction.stagedAbelianRecovery B A.abelian v u w hu eA |
| 67 | let eD' := StagedRecovery.Construction.stagedAbelianRecovery E A.dual.abelian v u w hu eD |
| 68 | have : IsMonHom eA'.hom := StagedRecovery.Construction.stagedAbelianRecovery_isMonHom B A.abelian v u w hu eA |
| 69 | have : IsMonHom eD'.hom := StagedRecovery.Construction.stagedAbelianRecovery_isMonHom E A.dual.abelian v u w hu eD |
| 70 | let d := StagedProductRecovery.Construction.productFamilyParameterIso v E.scheme B.scheme |
| 71 | let J : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (EG.scheme ⊗ BG.scheme).left := JG.pullback d.hom |
| 72 | have hq : (Over.homMk u hu : Over.mk w ⟶ Over.mk v) = ParameterLines.Construction.subfieldParameterRestriction F G hFG := rfl |
| 73 | have hs := StagedProductRecovery.Construction.stagedProductRecovery_square B E A.abelian A.dual.abelian v u w hu eA eD |
| 74 | have hr : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (AbelianModuli.ReferenceFamily.CartesianMixedProduct.CartesianFamily.mixedMap u eD' eA') |
| 75 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf J) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf A.dual.poincare := by |
| 76 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (AbelianModuli.ReferenceFamily.CartesianMixedProduct.CartesianFamily.mixedMap u eD' eA') |
| 77 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass d.hom (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf JG)) = _ |
| 78 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, hs, hq, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp] |
| 79 | have hclass : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (ParameterLines.Construction.subfieldParameterRestriction F G hFG ▷ X).left |
| 80 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf JG) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L := Quotient.sound ⟨hJG⟩ |
| 81 | rw [hclass] |
| 82 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass c.hom (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass c.inv |
| 83 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf A.dual.poincare)) = _ |
| 84 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, c.hom_inv_id, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_id] |
| 85 | have : Flat u := inferInstance |
| 86 | have : QuasiCompact u := inferInstance |
| 87 | have : Surjective u := ⟨fun x => ⟨IsLocalRing.closedPoint k, Subsingleton.elim _ x⟩⟩ |
| 88 | let DG := FpqcMixedPoincareRecovery.Construction.fpqcMixedDescendedDualData A.dual BG u eA' EG eD' J |
| 89 | (GlobalFunctions.Construction.fieldAbelian_hasUniversalGlobalFunctions BG) hr |
| 90 | exact ⟨{ |
| 91 | field := G |
| 92 | abelian := BG |
| 93 | dual := DG |
| 94 | sourceRecovery := eA' |
| 95 | dualRecovery := eD' |
| 96 | sourceGroup := inferInstanceAs (IsMonHom eA'.hom) |
| 97 | dualGroup := inferInstanceAs (IsMonHom eD'.hom) |
| 98 | poincare := FpqcMixedPoincareRecovery.Construction.fpqcMixedDescendedDualData_recovery A.dual BG u eA' EG eD' J |
| 99 | (GlobalFunctions.Construction.fieldAbelian_hasUniversalGlobalFunctions BG) hr }⟩ |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.DualModel.Construction |