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
8d877d94
Commit
8d877d94
authored
2 years ago
by
François Clément
Browse files
Options
Downloads
Patches
Plain Diff
Add lemmas about id.
parent
496d6561
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Lebesgue/Set_theory/Set_base.v
+7
-0
7 additions, 0 deletions
Lebesgue/Set_theory/Set_base.v
Lebesgue/Set_theory/Set_fun.v
+16
-2
16 additions, 2 deletions
Lebesgue/Set_theory/Set_fun.v
with
23 additions
and
2 deletions
Lebesgue/Set_theory/Set_base.v
+
7
−
0
View file @
8d877d94
...
...
@@ -2491,6 +2491,13 @@ Variable f : U1 -> U2.
(
**
Facts
about
image
.
*
)
Lemma
image_id
:
forall
{
U
:
Type
}
(
A
:
set
U
),
image
id
A
=
A
.
Proof
.
intros
;
apply
set_ext_equiv
;
split
;
intros
x
Hx
.
induction
Hx
as
[
x
Hx
];
easy
.
rewrite
<-
id_eq
;
easy
.
Qed
.
Lemma
image_empty_equiv
:
forall
A1
,
empty
(
image
f
A1
)
<->
empty
A1
.
Proof
.
...
...
This diff is collapsed.
Click to expand it.
Lebesgue/Set_theory/Set_fun.v
+
16
−
2
View file @
8d877d94
...
...
@@ -21,7 +21,20 @@ From Coq Require Import ClassicalChoice.
Require
Import
Set_def
.
Section
Fun_Facts0
.
Section
Fun_Facts0a
.
Context
{
U
:
Type
}
.
(
*
Useful
?
*
)
Lemma
id_eq
:
forall
(
x
:
U
),
id
x
=
x
.
Proof
.
easy
.
Qed
.
End
Fun_Facts0a
.
Section
Fun_Facts0b
.
Context
{
U1
U2
:
Type
}
.
...
...
@@ -53,7 +66,7 @@ Proof.
intros
f
g
h
H1
H2
x
;
now
rewrite
(
H1
x
).
Qed
.
End
Fun_Facts0
.
End
Fun_Facts0
b
.
Section
Fun_Facts1
.
...
...
@@ -110,6 +123,7 @@ Variable f43 : U3 -> U4.
Variable
f32
:
U2
->
U3
.
Variable
f21
:
U1
->
U2
.
(
*
Useful
?
*
)
Lemma
compose_eq
:
forall
(
x1
:
U1
),
compose
f32
f21
x1
=
f32
(
f21
x1
).
Proof
.
easy
.
...
...
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