The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Field.MinimalAxioms

1 declarations. Mathlib docs · Source

Minimal Axioms for a Field

This file defines constructors to define a Field structure on a Type, while proving a minimum number of equalities.

Main Definitions

  • Field.ofMinimalAxioms: Define a Field structure on a Type by proving a minimal set of axioms

abbrev Field.ofMinimalAxioms E3 #

(K : Type u) →
  [inst : Add K] →
    [inst_1 : Mul K] →
      [inst_2 : Neg K] →
        [inst_3 : Inv K] →
          [inst_4 : Zero K] →
            [inst_5 : One K] →
              (∀ (a b c : K), a + b + c = a + (b + c)) →
                (∀ (a : K), 0 + a = a) →
                  (∀ (a : K), -a + a = 0) →
                    (∀ (a b c : K), a * b * c = a * (b * c)) →
                      (∀ (a b : K), a * b = b * a) →
                        (∀ (a : K), 1 * a = a) →
                          (∀ (a : K), a ≠ 0 → a * a⁻¹ = 1) →
                            0⁻¹ = 0 → (∀ (a b c : K), a * (b + c) = a * b + a * c) → (∃ x y, x ≠ y) → Field K

Define a Field structure on a Type by proving a minimal set of axioms. Note that this uses the default definitions for npow, nsmul, zsmul, div and sub. See note [reducible non-instances].