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
545cb2e5
Commit
545cb2e5
authored
2 years ago
by
François Clément
Browse files
Options
Downloads
Patches
Plain Diff
Migration of measurable_fun_compose, measurable_fun_swap_var, and
measurable_fun_swap.
parent
b3db4a34
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
Lebesgue/measurable_fun-new.v
+24
-34
24 additions, 34 deletions
Lebesgue/measurable_fun-new.v
with
24 additions
and
34 deletions
Lebesgue/measurable_fun-new.v
+
24
−
34
View file @
545cb2e5
...
...
@@ -22,7 +22,7 @@ COPYING file for more details.
Some
proof
paths
may
differ
.
*
)
(
*
From
Coquelicot
Require
Import
Coquelicot
.
*
)
From
Coquelicot
Require
Import
Coquelicot
.
Require
Import
Subset
Subset_dec
Subset_seq
.
Require
Import
Subset_system_base
Subset_system
measurable
.
...
...
@@ -101,7 +101,7 @@ Qed.
End
Measurable_fun_gen_ext
.
Section
Measurable_fun_
composition
.
Section
Measurable_fun_
Facts1
.
Context
{
E1
E2
E3
:
Type
}
.
...
...
@@ -110,27 +110,21 @@ Variable genE2 : (E2 -> Prop) -> Prop.
Variable
genE3
:
(
E3
->
Prop
)
->
Prop
.
(
*
Lemma
530
p
.
94
*
)
Lemma
measurable_fun_compos
ition
:
Lemma
measurable_fun_compos
e
:
forall
(
f12
:
E1
->
E2
)
(
f23
:
E2
->
E3
),
measurable_fun
genE1
genE2
f12
->
measurable_fun
genE2
genE3
f23
->
measurable_fun
genE1
genE3
(
fun
x1
=>
f23
(
f12
x1
)
).
measurable_fun
genE1
genE3
(
compose
f23
f12
).
Proof
.
intros
f12
f23
H12
H23
.
unfold
measurable_fun
in
*
.
apply
Incl_trans
with
(
Preimage
f12
(
measurable
genE2
)).
apply
H23
.
_
[
A3
HA3
].
apply
H12
.
apply
H23
.
with
(
A2
:=
fun
x1
=>
A2
(
f23
x2
)).
now
apply
H2
.
Qed
.
intros
f12
f23
H12
H23
;
unfold
measurable_fun
.
rewrite
Preimage_compose
.
eapply
Incl_trans
;
[
apply
Preimage_monot
,
H23
|
apply
H12
].
Admitted
.
End
Measurable_fun_
composition
.
End
Measurable_fun_
Facts1
.
Section
Measurable_fun_
swap
.
Section
Measurable_fun_
Facts2
.
Context
{
E1
E2
F
:
Type
}
.
...
...
@@ -138,45 +132,41 @@ Context {genE1 : (E1 -> Prop) -> Prop}.
Context
{
genE2
:
(
E2
->
Prop
)
->
Prop
}
.
Context
{
genF
:
(
F
->
Prop
)
->
Prop
}
.
Let
genE1xE2
:=
Gen_Prod
uct
genE1
genE2
.
Let
genE2xE1
:=
Gen_Prod
uct
genE2
genE1
.
Let
genE1xE2
:=
Gen_Prod
genE1
genE2
.
Let
genE2xE1
:=
Gen_Prod
genE2
genE1
.
Let
swap_var
:=
swap
(
fun
x
:
E1
*
E2
=>
x
).
Lemma
measurable_fun_swap_var
:
measurable_fun
genE2xE1
genE1xE2
swap_var
.
Lemma
measurable_fun_swap_var
:
measurable_fun
genE2xE1
genE1xE2
swap_var
.
Proof
.
intros
A
HA
;
apply
measurable_swap
;
easy
.
intros
A
21
[
A12
HA12
]
;
apply
measurable_swap
;
easy
.
Qed
.
Lemma
measurable_fun_swap
:
forall
f
,
measurable_fun
genE1xE2
genF
f
->
measurable_fun
genE2xE1
genF
(
swap
f
).
Proof
.
intros
f
Hf
.
apply
measurable_fun_compos
ition
with
(
2
:=
Hf
).
apply
measurable_fun_compos
e
with
(
2
:=
Hf
).
apply
measurable_fun_swap_var
.
Qed
.
End
Measurable_fun_
swap
.
End
Measurable_fun_
Facts2
.
Section
Measurable_fun_
continuous
.
Section
Measurable_fun_
Facts3
.
Context
{
E
F
:
UniformSpace
}
.
(
*
Lemma
529
p
.
94
*
)
(
*
Lemma
529
p
.
94
(
v2
)
*
)
Lemma
measurable_fun_continuous
:
forall
(
f
:
E
->
F
),
(
forall
x
,
continuous
f
x
)
->
measurable_fun
open
open
f
.
forall
(
f
:
E
->
F
),
(
forall
x
,
continuous
f
x
)
->
measurable_fun
open
open
f
.
Proof
.
intros
f
H
.
apply
measurable_fun_gen
.
intros
A
HA
.
apply
measurable_gen
.
intros
f
Hf
;
apply
measurable_fun_equiv
.
intros
A
HA
;
apply
measurable_gen
.
intros
x
Hx
.
apply
H
.
apply
H
f
.
now
apply
HA
.
Qed
.
End
Measurable_fun_
continuous
.
End
Measurable_fun_
Facts3
.
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