Documentation

HexNumberFieldMathlib.Order

Partial comparison detects exactly equal imaginary parts and compares real parts.

Successful imaginary-interval probes reject equality.

The bounded partial comparator retains its exact semantics.

Predicate extraction from the reference comparison.

theorem Hex.AlgebraicNumber.rejectProbe_sound (strict : Bool) {p q : ZPoly} (a : RefinedIsolation p) (b : RefinedIsolation q) (v : Unit) (h : rejectProbe strict (↑a).square (↑b).square = some v) :
¬((if strict = true then a.root.re < b.root.re else a.root.re ≤ b.root.re) ∧ a.root.im = b.root.im)

Rejection probes never reject a true complex comparison.

Predicate-specific interval shortcuts preserve complex order.

The executable non-strict comparison has Mathlib's complex semantics.

The executable strict comparison has Mathlib's complex semantics.

@[instance_reducible]
Equations
  • One or more equations did not get rendered due to their size.

Interpretation is an embedding for the complex partial order.

Equations
Instances For