Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Iris
stdpp
Commits
ba2bdb73
Verified
Commit
ba2bdb73
authored
4 years ago
by
Paolo G. Giarrusso
Browse files
Options
Downloads
Patches
Plain Diff
Switch `inj _` to `inj f`, part 1
Code affected by
a00d9bd8
.
parent
eeef6250
No related branches found
No related tags found
1 merge request
!138
Revise uses of inj as discussed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/namespaces.v
+1
-1
1 addition, 1 deletion
theories/namespaces.v
theories/option.v
+2
-2
2 additions, 2 deletions
theories/option.v
with
3 additions
and
3 deletions
theories/namespaces.v
+
1
−
1
View file @
ba2bdb73
...
...
@@ -58,7 +58,7 @@ Section namespace.
intros
Hxy
a
.
unfold
up_close
.
rewrite
!
nclose_eq
,
!
ndot_eq
.
unfold
nclose_def
,
ndot_def
;
rewrite
!
elem_coPset_suffixes
.
intros
[
qx
->
]
[
qy
Hqy
]
.
revert
Hqy
.
by
intros
[
=
?
%
(
inj
_
)]
%
positives_flatten_suffix_eq
.
revert
Hqy
.
by
intros
[
=
?
%
(
inj
encode
)]
%
positives_flatten_suffix_eq
.
Qed
.
Lemma
ndot_preserve_disjoint_l
N
E
x
:
↑
N
##
E
→
↑
N
.
@
x
##
E
.
...
...
This diff is collapsed.
Click to expand it.
theories/option.v
+
2
−
2
View file @
ba2bdb73
...
...
@@ -189,8 +189,8 @@ Lemma fmap_Some_equiv {A B} `{Equiv B} `{!Equivalence (≡@{B})} (f : A → B) m
f
<$>
mx
≡
Some
y
↔
∃
x
,
mx
=
Some
x
∧
y
≡
f
x
.
Proof
.
destruct
mx
;
simpl
;
split
.
-
intros
?
%
(
inj
_
)
.
eauto
.
-
intros
(?
&
->%
(
inj
_
)
&
?)
.
constructor
.
done
.
-
intros
?
%
(
inj
Some
)
.
eauto
.
-
intros
(?
&
->%
(
inj
Some
)
&
?)
.
constructor
.
done
.
-
intros
?
%
symmetry
%
equiv_None
.
done
.
-
intros
(?
&
?
&
?)
.
done
.
Qed
.
...
...
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