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
e1b81764
Commit
e1b81764
authored
2 years ago
by
François Clément
Browse files
Options
Downloads
Patches
Plain Diff
Go for an inductive type too...
parent
4c738a7c
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_def_base.v
+4
-2
4 additions, 2 deletions
Lebesgue/Set_theory/Set_def_base.v
with
4 additions
and
2 deletions
Lebesgue/Set_theory/Set_def_base.v
+
4
−
2
View file @
e1b81764
...
...
@@ -37,7 +37,9 @@ Definition subset : Type := set {x : U | A x}.
Definition
subset_system
:
Type
:=
set
subset
.
Definition
subset_system_class
:
Type
:=
set
subset_system
.
Definition
inj
:
subset
->
set
U
:=
Inductive
inj
(
B
:
subset
)
(
x
:
U
)
:
Prop
:=
|
Inj
:
forall
(
Hx
:
A
x
),
B
(
exist
_
_
Hx
)
->
inj
B
x
.
Definition
inj
'
:
subset
->
set
U
:=
fun
B
x
=>
exists
(
Hx
:
A
x
),
B
(
exist
_
_
Hx
).
Definition
trace
:
set
U
->
subset
:=
fun
B
x
=>
B
(
skolem
x
).
...
...
@@ -202,7 +204,7 @@ Ltac set_unfold :=
partition
,
disj
,
samef
,
inclf
,
same
,
incl
,
full
,
nonempty_ex
,
empty
,
(
*
Predicates
.
*
)
swap
,
prod
,
sym_diff
,
diff
,
add
,
inter
,
union
,
compl
,
trace
,
inj
,
skolem
,
(
*
Operators
.
*
)
trace
,
inj
'
,
skolem
,
(
*
Operators
.
*
)
pair
,
singleton
,
prop_cst
,
fullset
,
emptyset
.
(
*
Constructors
.
*
)
Ltac
set_auto
:=
...
...
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