Module mathcomp.reals_stdlib.nsatz_realtype
From Stdlib Require Import Nsatz.From mathcomp Require Import all_ssreflect_compat ssralg ssrint ssrnum.
From mathcomp Require Import boolp reals constructive_ereal.
Import GRing.Theory Num.Theory.
Unset SsrOldRewriteGoalsOrder.
Local Open Scope ring_scope.
Section Nsatz_realType.
Variable T : realType.
Lemma Nsatz_realType_Setoid_Theory : Setoid.Setoid_Theory T (@eq T).
Proof.
Definition
Definition
Definition
ProdNormedZmodule.norm : forall {R : numDomainType} {U V : normedZmodType R}, U * V -> R ProdNormedZmodule.norm is not universe polymorphic Arguments ProdNormedZmodule.norm {R U V} x ProdNormedZmodule.norm is transparent Expands to: Constant mathcomp.reals.prodnormedzmodule.ProdNormedZmodule.norm Declared in library mathcomp.reals.prodnormedzmodule, line 37, characters 11-15
Definition
prod_normE : forall [R : numDomainType] [U V : normedZmodType R] (x : U * V), `|x|%R = Num.max `|x.1|%R `|x.2|%R prod_normE is not universe polymorphic Arguments prod_normE [R U V] x prod_normE is transparent Expands to: Constant mathcomp.reals.prodnormedzmodule.ProdNormedZmodule.Exports.prod_normE Declared in library mathcomp.reals.prodnormedzmodule, line 68, characters 11-21
Definition
Definition
#[global]
Instance Nsatz_realType_Ring_ops:
(@Ncring.Ring_ops T Nsatz_realType0 Nsatz_realType1
Nsatz_realType_add
Nsatz_realType_mul
Nsatz_realType_sub
Nsatz_realType_opp (@eq T)).
Proof.
#[global]
Instance Nsatz_realType_Ring : (Ncring.Ring (Ro:=Nsatz_realType_Ring_ops)).
Proof.
- exact: Nsatz_realType_Setoid_Theory.
- by move=> x y -> x1 y1 ->.
- by move=> x y -> x1 y1 ->.
- by move=> x y -> x1 y1 ->.
- by move=> x y ->.
- exact: add0r.
- exact: addrC.
- exact: addrA.
- exact: mul1r.
- exact: mulr1.
- exact: mulrA.
- exact: mulrDl.
- move=> x y z; exact: mulrDr.
- exact: subrr.
Defined.
#[global]
Instance Nsatz_realType_Cring: (Cring.Cring (Rr:=Nsatz_realType_Ring)).
Proof.
#[global]
Instance Nsatz_realType_Integral_domain :
(Integral_domain.Integral_domain (Rcr:=Nsatz_realType_Cring)).
Proof.
End Nsatz_realType.
Tactic Notation "nsatz" := nsatz_default.