FinMatrix.CoqExt.RExt.RExtBase
#[export] Hint Unfold
Rminus
Rdiv
: R.
#[global] Opaque
PI exp sqrt Rpower ln
sin cos tan asin atan acos
up
.
#[export] Hint Resolve
Rlt_0_1
PI_RGT_0
Rabs_pos
Rgt_not_eq
Rlt_not_eq
: R.
R Automation
Ltac ra :=
intros;
try match goal with | |- _ <-> _ => split; intros end;
auto with R;
try (unfold Rsqr in *; lra);
try (unfold Rsqr in *; nra);
try (unfold Rsqr in *; field; auto with R);
autorewrite with R in *; auto with R;
try (unfold Rsqr in *; lra);
try (unfold Rsqr in *; nra);
try (unfold Rsqr in *; field; auto with R)
.
intros;
try match goal with | |- _ <-> _ => split; intros end;
auto with R;
try (unfold Rsqr in *; lra);
try (unfold Rsqr in *; nra);
try (unfold Rsqr in *; field; auto with R);
autorewrite with R in *; auto with R;
try (unfold Rsqr in *; lra);
try (unfold Rsqr in *; nra);
try (unfold Rsqr in *; field; auto with R)
.
R1 = 1
0 <> 1
a * b = a -> a = 0 \/ (a <> 0 /\ b = 1)
a * b = b -> b = 0 \/ (b <> 0 /\ a = 1)