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
a7114678
Commit
a7114678
authored
2 years ago
by
François Clément
Browse files
Options
Downloads
Patches
Plain Diff
Change variables order.
Add compose_eq and compose_id_{l,r}.
parent
56ec3848
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Lebesgue/Set_theory/Set_fun.v
+21
-4
21 additions, 4 deletions
Lebesgue/Set_theory/Set_fun.v
with
21 additions
and
4 deletions
Lebesgue/Set_theory/Set_fun.v
+
21
−
4
View file @
a7114678
...
...
@@ -106,19 +106,36 @@ Section Fun_Facts2.
(
**
Facts
about
composition
of
functions
.
*
)
Context
{
U1
U2
U3
U4
:
Type
}
.
Variable
f21
:
U1
->
U2
.
Variable
f32
:
U2
->
U3
.
Variable
f43
:
U3
->
U4
.
Variable
f32
:
U2
->
U3
.
Variable
f21
:
U1
->
U2
.
Lemma
compose_eq
:
forall
(
x1
:
U1
),
compose
f32
f21
x1
=
f32
(
f21
x1
).
Proof
.
easy
.
Qed
.
(
*
Useful
?
*
)
Lemma
compose_assoc
:
compose3
f43
f32
f21
=
compose
(
compose
f43
f32
)
f21
.
Proof
Proof
.
easy
.
Qed
.
(
*
Useful
?
*
)
Lemma
compose_id_l
:
compose
id
f21
=
f21
.
Proof
.
easy
.
Qed
.
(
*
Useful
?
*
)
Lemma
compose_id_r
:
compose
f32
id
=
f32
.
Proof
.
easy
.
Qed
.
Lemma
image_compose_fun
:
image
(
compose
f32
f
1
1
)
=
fun
A1
=>
image
f32
(
image
f21
A1
).
image
(
compose
f32
f
2
1
)
=
fun
A1
=>
image
f32
(
image
f21
A1
).
Proof
.
apply
fun_ext
;
intros
A1
;
apply
set_ext_equiv
;
split
;
intros
x3
Hx3
.
induction
Hx3
as
[
x1
Hx1
];
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