Documentation

Mathlib.ModelTheory.Algebra.Field.IsAlgClosed

The First-Order Theory of Algebraically Closed Fields #

This file defines the theory of algebraically closed fields of characteristic p, as well as proving completeness of the theory and the Lefschetz Principle.

Main definitions #

Implementation details #

To apply a theorem about the model theory of algebraically closed fields to a specific algebraically closed field K which does not have a Language.ring.Structure instance, you must introduce the local instance compatibleRingOfRing K. Theorems whose statement requires both a Language.ring.Structure instance and a Field instance will all be stated with the assumption Field K, CharP K p, IsAlgClosed K and CompatibleRing K and there are instances defined saying that these assumptions imply Theory.field.Model K and (Theory.ACF p).Model K

References #

The first-order theory of algebraically closed fields, along with the Lefschetz Principle and the Ax-Grothendieck Theorem were first formalized in Lean 3 by Joseph Hua here with the master's thesis here

noncomputable def FirstOrder.Field.genericMonicPoly (n : โ„•) :
FreeCommRing (Fin (n + 1))

A generic monic polynomial of degree n as an element of the free commutative ring in n + 1 variables, with a variable for each of the n non-leading coefficients of the polynomial and one variable (Fin.last n) for X.

Instances For
    theorem FirstOrder.Field.lift_genericMonicPoly {K : Type u_1} [CommRing K] [Nontrivial K] {n : โ„•} (v : Fin (n + 1) โ†’ K) :
    (FreeCommRing.lift v) (genericMonicPoly n) = Polynomial.eval (v (Fin.last n)) โ†‘(((Polynomial.monicEquivDegreeLT n).trans (Polynomial.degreeLTEquiv K n).toEquiv).symm (v โˆ˜ Fin.castSucc))

    A sentence saying every monic polynomial of degree n has a root.

    Instances For
      theorem FirstOrder.Field.realize_genericMonicPolyHasRoot {K : Type u_1} [Field K] [Ring.CompatibleRing K] (n : โ„•) :
      K โŠจ genericMonicPolyHasRoot n โ†” โˆ€ (p : { p : Polynomial K // p.Monic โˆง p.natDegree = n }), โˆƒ (x : K), Polynomial.eval x โ†‘p = 0

      The theory of algebraically closed fields of characteristic p as a theory over the language of rings

      Instances For
        @[reducible]
        noncomputable def FirstOrder.Field.fieldOfModelACF (p : โ„•) (K : Type u_2) [Language.ring.Structure K] [h : K โŠจ Language.Theory.ACF p] :

        A model for the Theory of algebraically closed fields is a Field. After introducing this as a local instance on a particular Type, you should usually also introduce modelField_of_modelACF p M, compatibleRingOfModelField and isAlgClosed_of_model_ACF

        Instances For
          theorem FirstOrder.Field.ACF_categorical {p : โ„•} (ฮบ : Cardinal.{u_2}) (hฮบ : Cardinal.aleph0 < ฮบ) :

          The Theory Theory.ACF p is ฮบ-categorical whenever ฮบ is an uncountable cardinal.

          The Lefschetz principle. A first-order sentence is modeled by the theory of algebraically closed fields of characteristic zero if and only if it is modeled by the theory of algebraically closed fields of characteristic p for infinitely many p.

          Another statement of the Lefschetz principle. A first-order sentence is modeled by the theory of algebraically closed fields of characteristic zero if and only if it is modeled by the theory of algebraically closed fields of characteristic p for all but finitely many primes p.