Documentation

HexNumberFieldMathlib.RootOrder

The deterministic enumeration key, distinct from the complex partial order.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The executable enumeration comparator is lexicographic comparison of its key.

    theorem Hex.AlgebraicNumber.rootLe_trans (a b c : AlgebraicNumber) (hab : a.rootLe b = true) (hbc : b.rootLe c = true) :

    Enumeration comparison is transitive.

    Any two canonical numbers are comparable for enumeration.

    theorem Hex.AlgebraicNumber.eq_of_rootKey {a b : AlgebraicNumber} (ha : a.isReal = false) (hb : b.isReal = false) (h : a.rootKey = b.rootKey) :
    a = b

    Nonreal enumeration keys determine the canonical value.

    The lower member precedes its upper conjugate.

    theorem Hex.AlgebraicNumber.between_conjugates (a b : AlgebraicNumber) (ha : a.side = RootSide.lower) (hab : a.rootLe b = true) (hba : b.rootLe a.conj = true) :
    b = a ∨ b = a.conj

    A nonreal lower root and its conjugate have no other canonical value between them.

    Integer root enumeration is sorted by its canonical centre key.

    The conjugate of every listed root is listed too.