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
60630864
Commit
60630864
authored
3 years ago
by
François Clément
Browse files
Options
Downloads
Patches
Plain Diff
R_AbsRing -> R_Ring.
parent
5dd24100
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
FEM/Finite_dim.v
+7
-5
7 additions, 5 deletions
FEM/Finite_dim.v
with
7 additions
and
5 deletions
FEM/Finite_dim.v
+
7
−
5
View file @
60630864
...
@@ -6,9 +6,9 @@ From LM Require Import check_sub_structure.
...
@@ -6,9 +6,9 @@ From LM Require Import check_sub_structure.
Section
FD
.
Section
FD
.
Context
{
E
:
ModuleSpace
R_AbsRing
}
.
Context
{
E
:
ModuleSpace
R_Ring
}
.
(
*
Imposer
que
la
"base B"
est
libre
?
*
)
Record
FiniteDim
:=
FD
{
Record
FiniteDim
:=
FD
{
dim
:
nat
;
dim
:
nat
;
B
:
nat
->
E
;
B
:
nat
->
E
;
...
@@ -73,7 +73,7 @@ rewrite scal_assoc; easy.
...
@@ -73,7 +73,7 @@ rewrite scal_assoc; easy.
Qed
.
Qed
.
(
*
Check
(
forall
P
:
FiniteDim
,
Sg_ModuleSpace
(
toto
P
)).
*
)
Check
(
forall
P
:
FiniteDim
,
Sg_ModuleSpace
(
FiniteDim_compatible_m
P
)).
End
FD
.
End
FD
.
...
@@ -81,8 +81,8 @@ End FD.
...
@@ -81,8 +81,8 @@ End FD.
Section
FD_bij
.
Section
FD_bij
.
Context
{
E1
:
ModuleSpace
R_
Abs
Ring
}
.
Context
{
E1
:
ModuleSpace
R_Ring
}
.
Context
{
E2
:
ModuleSpace
R_
Abs
Ring
}
.
Context
{
E2
:
ModuleSpace
R_Ring
}
.
Variable
F1
:
@
FiniteDim
E1
.
Variable
F1
:
@
FiniteDim
E1
.
Variable
F2
:
@
FiniteDim
E2
.
Variable
F2
:
@
FiniteDim
E2
.
...
@@ -90,6 +90,7 @@ Variable F2: @FiniteDim E2.
...
@@ -90,6 +90,7 @@ Variable F2: @FiniteDim E2.
Hypothesis
F12_dim
:
dim
F1
=
dim
F2
.
Hypothesis
F12_dim
:
dim
F1
=
dim
F2
.
Definition
F1_to_F2
:
E1
->
E2
.
Definition
F1_to_F2
:
E1
->
E2
.
Proof
.
intros
x
.
intros
x
.
case
(
excluded_middle_informative
(
F1
x
));
intros
H
.
case
(
excluded_middle_informative
(
F1
x
));
intros
H
.
2
:
apply
zero
.
(
*
not
in
F1
*
)
2
:
apply
zero
.
(
*
not
in
F1
*
)
...
@@ -110,6 +111,7 @@ exists L; easy.
...
@@ -110,6 +111,7 @@ exists L; easy.
Qed
.
Qed
.
Definition
F2_to_F1
:
E2
->
E1
.
Definition
F2_to_F1
:
E2
->
E1
.
Proof
.
intros
x
.
intros
x
.
case
(
excluded_middle_informative
(
F2
x
));
intros
H
.
case
(
excluded_middle_informative
(
F2
x
));
intros
H
.
2
:
apply
zero
.
(
*
not
in
F2
*
)
2
:
apply
zero
.
(
*
not
in
F2
*
)
...
...
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