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
3aaba82f
Commit
3aaba82f
authored
2 years ago
by
François Clément
Browse files
Options
Downloads
Patches
Plain Diff
Using new Inductive image.
parent
f275bb3b
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/measurable_fun-new.v
+4
-40
4 additions, 40 deletions
Lebesgue/measurable_fun-new.v
with
4 additions
and
40 deletions
Lebesgue/measurable_fun-new.v
+
4
−
40
View file @
3aaba82f
...
...
@@ -29,38 +29,6 @@ Require Import Subset Subset_dec Subset_system_base measurable.
Open
Scope
nat_scope
.
Section
compl1
.
Context
{
E
F
:
Type
}
.
(
*
Universes
.
*
)
Variable
f
:
E
->
F
.
(
*
Function
.
*
)
Variable
AE
:
E
->
Prop
.
(
*
Subset
.
*
)
Variable
AF
:
F
->
Prop
.
(
*
Subset
.
*
)
Inductive
image
:
F
->
Prop
:=
Im
:
forall
x
,
AE
x
->
image
(
f
x
).
Definition
preimage
:
E
->
Prop
:=
fun
x
=>
AF
(
f
x
).
End
compl1
.
Section
compl2
.
Context
{
E
F
:
Type
}
.
(
*
Universes
.
*
)
Variable
f
:
E
->
F
.
(
*
Function
.
*
)
Variable
PE
:
(
E
->
Prop
)
->
Prop
.
(
*
Subset
system
.
*
)
Variable
PF
:
(
F
->
Prop
)
->
Prop
.
(
*
Subset
system
.
*
)
(
*
From
Lemma
524
p
.
93
(
v2
)
*
)
Definition
Image
:
(
F
->
Prop
)
->
Prop
:=
fun
AF
=>
PE
(
preimage
f
AF
).
(
*
From
Lemma
523
p
.
93
(
v2
)
*
)
Definition
Preimage
:
(
E
->
Prop
)
->
Prop
:=
image
(
preimage
f
)
PF
.
End
compl2
.
Section
Measurable_fun_Def
.
Context
{
E
F
:
Type
}
.
...
...
@@ -74,19 +42,15 @@ Definition measurable_fun : (E -> F) -> Prop :=
Lemma
measurable_fun_ext
:
forall
f
g
,
same_fun
f
g
->
measurable_fun
f
->
measurable_fun
g
.
Proof
.
intros
f
g
H
Hf
AE
HAE
;
induction
HAE
as
[
AF
HAF
].
rewrite
<-
(
preimage_ext_fun
f
);
try
easy
.
intros
f
g
H
Hf
A
[
B
HB
];
rewrite
(
proj2
HB
);
apply
Hf
.
exists
B
;
split
;
try
easy
.
apply
preimage_ext_fun
;
easy
.
intros
f
g
H
Hf
AE
[
AF
HAF
].
rewrite
<-
(
preimage_ext_fun
f
);
try
easy
;
apply
Hf
;
easy
.
Qed
.
(
*
Lemma
526
p
.
93
(
v2
)
*
)
Lemma
measurable_fun_cst
:
forall
y
,
measurable_fun
(
fun
_
=>
y
).
Proof
.
intros
y
A
[
B
HB
];
destruct
(
in_dec
B
y
).
;
apply
measurable_Prop
.
intros
y
AE
[
AF
HAF
];
destruct
(
in_dec
AF
y
)
as
[
Hy
|
Hy
].
;
apply
measurable_Prop
.
Qed
.
(
*
Lemma
528
p
.
94
*
)
...
...
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