Definition hr_abs (x : hr_ConstructiveField) : NonnegativeReals := maxNonnegativeReals (hr_to_NRpos x) (hr_to_NRneg x).
Require Import UniMath.Foundations.Preamble. Require Import UniMath.MoreFoundations.Orders. Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.OrderTheory.Lattice.Lattice. Require Import UniMath.RealNumbers.Prelim. Require Import UniMath.RealNumbers.Sets. Require Import UniMath.RealNumbers.NonnegativeRationals.