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
4d509943
Commit
4d509943
authored
2 years ago
by
François Clément
Browse files
Options
Downloads
Patches
Plain Diff
Add Subset_equiv.
Split Lift_Trace_equiv into Lift_Trace_is_Subset{,_rev}.
parent
466ef8fa
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/Set_theory/Set_system/Set_system_base_base.v
+23
-10
23 additions, 10 deletions
Lebesgue/Set_theory/Set_system/Set_system_base_base.v
with
23 additions
and
10 deletions
Lebesgue/Set_theory/Set_system/Set_system_base_base.v
+
23
−
10
View file @
4d509943
...
...
@@ -341,6 +341,13 @@ Section Subset_Lift_Trace_Facts.
Context
{
U
:
Type
}
.
Variable
A
:
set
U
.
Lemma
Subset_equiv
:
forall
(
P
:
set_system
U
)
(
B
:
set
U
),
Subset
A
P
B
<->
P
B
/
\
incl
B
A
.
Proof
.
intros
P
B
;
split
;
intros
H
;
try
induction
H
;
easy
.
Qed
.
Lemma
Lift_Lift_full
:
forall
(
PA
:
subset_system
A
),
Incl
(
Lift
A
PA
)
(
Lift_full
A
PA
).
Proof
.
...
...
@@ -354,25 +361,31 @@ unfold Lift, Trace; setp_any_unfold.
rewrite
<-
lift_trace
,
image_compose
;
easy
.
Qed
.
Lemma
Lift_Trace_
equiv
:
Lemma
Lift_Trace_
is_Subset
:
forall
(
P
:
set_system
U
),
Inter
P
->
P
A
<->
compose
(
Lift
A
)
(
Trace
A
)
P
=
Subset
A
P
.
Inter
P
->
P
A
->
compose
(
Lift
A
)
(
Trace
A
)
P
=
Subset
A
P
.
Proof
.
intros
P
HP1
;
rewrite
Lift_Trace
;
setp_any_unfold
;
split
;
intros
HP2
.
(
*
*
)
intros
P
HP1
HP2
;
rewrite
Lift_Trace
;
setp_any_unfold
.
apply
Ext_equiv
;
split
;
intros
B
HB
.
(
*
.
*
)
(
*
*
)
induction
HB
as
[
B
HB
];
apply
Sub
.
apply
HP1
;
easy
.
apply
inter_lb_l
.
(
*
.
*
)
(
*
*
)
induction
HB
as
[
P
B
HB1
HB2
].
apply
inter_right
in
HB2
;
rewrite
<-
HB2
;
easy
.
(
*
*
)
apply
Ext_equiv
in
HP2
.
Qed
.
Lemma
Lift_Trace_is_Subset_rev
:
forall
(
P
:
set_system
U
),
Union_seq
P
->
compose
(
Lift
A
)
(
Trace
A
)
P
=
Subset
A
P
->
P
A
.
Proof
.
intros
P
HP1
;
rewrite
Lift_Trace
;
setp_any_unfold
;
intros
HP2
'
.
assert
(
HP2
:
forall
B
,
image
(
inter
A
)
P
B
<->
P
B
/
\
incl
B
A
).
intros
;
rewrite
<-
Subset_equiv
,
<-
HP2
'
;
easy
.
clear
HP2
'
.
Search
inter
incl
.
Admitted
.
...
...
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