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
Merge requests
!288
Make sum_inhabited_r not a copy of sum_inhabited_l
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Make sum_inhabited_r not a copy of sum_inhabited_l
Blaisorblade/stdpp:sum-inhabited-r
into
master
Overview
8
Commits
1
Pipelines
0
Changes
1
Merged
Paolo G. Giarrusso
requested to merge
Blaisorblade/stdpp:sum-inhabited-r
into
master
3 years ago
Overview
8
Commits
1
Pipelines
0
Changes
1
Expand
This existed at least as far back as
361308c7
, 8 years ago.
0
0
Merge request reports
Compare
master
version 1
5c44d8d8
3 years ago
master (base)
and
latest version
latest version
cedb9df5
1 commit,
3 years ago
version 1
5c44d8d8
1 commit,
3 years ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
theories/base.v
+
2
−
2
Options
@@ -749,8 +749,8 @@ Global Arguments sum_map {_ _ _ _} _ _ !_ / : assert.
Global
Instance
sum_inhabited_l
{
A
B
}
(
iA
:
Inhabited
A
)
:
Inhabited
(
A
+
B
)
:=
match
iA
with
populate
x
=>
populate
(
inl
x
)
end
.
Global
Instance
sum_inhabited_r
{
A
B
}
(
iB
:
Inhabited
A
)
:
Inhabited
(
A
+
B
)
:=
match
iB
with
populate
y
=>
populate
(
in
l
y
)
end
.
Global
Instance
sum_inhabited_r
{
A
B
}
(
iB
:
Inhabited
B
)
:
Inhabited
(
A
+
B
)
:=
match
iB
with
populate
y
=>
populate
(
in
r
y
)
end
.
Global
Instance
inl_inj
{
A
B
}
:
Inj
(
=
)
(
=
)
(
@
inl
A
B
)
.
Proof
.
injection
1
;
auto
.
Qed
.
Loading