Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Numerical Analysis in Coq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Micaela Mayero
Numerical Analysis in Coq
Commits
b4ca8122
Commit
b4ca8122
authored
1 year ago
by
Pierre Rousselin
Browse files
Options
Downloads
Patches
Plain Diff
Remove the <8.16 compatibility lemmas
parent
403413e9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3
Remove the <8.16 compatibility lemmas
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
LM/R_compl.v
+0
-51
0 additions, 51 deletions
LM/R_compl.v
Lebesgue/R_compl.v
+0
-50
0 additions, 50 deletions
Lebesgue/R_compl.v
with
0 additions
and
101 deletions
LM/R_compl.v
+
0
−
51
View file @
b4ca8122
...
...
@@ -21,57 +21,6 @@ From Coquelicot Require Export Coquelicot.
Open
Scope
R_scope
.
(
*
pris
de
la
lib
std
en
attendant
8.16
pour
tout
le
monde
*
)
Lemma
Rinv_1
:
/
1
=
1.
Proof
.
field
.
Qed
.
Lemma
Rinv_0
:
/
0
=
0.
Proof
.
rewrite
RinvImpl
.
Rinv_def
.
case
Req_appart_dec
.
-
easy
.
-
intros
[
H
|
H
]
;
elim
Rlt_irrefl
with
(
1
:=
H
).
Qed
.
Lemma
Rinv_inv
r
:
/
/
r
=
r
.
Proof
.
destruct
(
Req_dec
r
0
)
as
[
->|
H
].
-
rewrite
Rinv_0
.
apply
Rinv_0
.
-
now
field
.
Qed
.
Lemma
Rinv_mult
r1
r2
:
/
(
r1
*
r2
)
=
/
r1
*
/
r2
.
Proof
.
destruct
(
Req_dec
r1
0
)
as
[
->|
H1
].
-
rewrite
Rinv_0
,
2
!
Rmult_0_l
.
apply
Rinv_0
.
-
destruct
(
Req_dec
r2
0
)
as
[
->|
H2
].
+
rewrite
Rinv_0
,
2
!
Rmult_0_r
.
apply
Rinv_0
.
+
now
field
.
Qed
.
Lemma
pow_inv
x
n
:
(
/
x
)
^
n
=
/
x
^
n
.
Proof
.
induction
n
as
[
|
n
IH
]
;
simpl
.
-
apply
eq_sym
,
Rinv_1
.
-
rewrite
Rinv_mult
.
now
apply
f_equal
.
Qed
.
Lemma
Rsqr_div
'
x
y
:
Rsqr
(
x
/
y
)
=
Rsqr
x
/
Rsqr
y
.
Proof
.
unfold
Rsqr
,
Rdiv
.
rewrite
Rinv_mult
.
ring
.
Qed
.
(
*
fin
des
lemmes
pris
de
8.16
*
)
Section
RC
.
(
*
TODO
:
d
é
couper
cette
section
*
)
Lemma
Runbounded
(
y
:
R
)
:
exists
(
x
:
R
),
x
>
y
.
...
...
This diff is collapsed.
Click to expand it.
Lebesgue/R_compl.v
+
0
−
50
View file @
b4ca8122
...
...
@@ -22,56 +22,6 @@ From Lebesgue Require Import logic_compl.
Section
R_ring_compl
.
(
*
pris
de
la
lib
std
en
attendant
8.16
pour
tout
le
monde
*
)
Lemma
Rinv_1
:
/
1
=
1.
Proof
.
field
.
Qed
.
Lemma
Rinv_0
:
/
0
=
0.
Proof
.
rewrite
RinvImpl
.
Rinv_def
.
case
Req_appart_dec
.
-
easy
.
-
intros
[
H
|
H
]
;
elim
Rlt_irrefl
with
(
1
:=
H
).
Qed
.
Lemma
Rinv_inv
r
:
/
/
r
=
r
.
Proof
.
destruct
(
Req_dec
r
0
)
as
[
->|
H
].
-
rewrite
Rinv_0
.
apply
Rinv_0
.
-
now
field
.
Qed
.
Lemma
Rinv_mult
r1
r2
:
/
(
r1
*
r2
)
=
/
r1
*
/
r2
.
Proof
.
destruct
(
Req_dec
r1
0
)
as
[
->|
H1
].
-
rewrite
Rinv_0
,
2
!
Rmult_0_l
.
apply
Rinv_0
.
-
destruct
(
Req_dec
r2
0
)
as
[
->|
H2
].
+
rewrite
Rinv_0
,
2
!
Rmult_0_r
.
apply
Rinv_0
.
+
now
field
.
Qed
.
Lemma
pow_inv
x
n
:
(
/
x
)
^
n
=
/
x
^
n
.
Proof
.
induction
n
as
[
|
n
IH
]
;
simpl
.
-
apply
eq_sym
,
Rinv_1
.
-
rewrite
Rinv_mult
.
now
apply
f_equal
.
Qed
.
Lemma
Rsqr_div
'
x
y
:
Rsqr
(
x
/
y
)
=
Rsqr
x
/
Rsqr
y
.
Proof
.
unfold
Rsqr
,
Rdiv
.
rewrite
Rinv_mult
.
ring
.
Qed
.
(
*
fin
des
lemmes
pris
de
8.16
*
)
(
**
Complements
on
ring
operations
Rplus
and
Rmult
.
**
)
Lemma
Rplus_not_eq_compat_l
:
forall
r
r1
r2
,
r1
<>
r2
->
r
+
r1
<>
r
+
r2
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment