Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
stdpp
Commits
08ea7c37
Commit
08ea7c37
authored
May 29, 2016
by
Robbert Krebbers
Browse files
Functions are inhabited.
parent
9365ea8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/base.v
View file @
08ea7c37
...
...
@@ -306,6 +306,9 @@ Notation "(∘)" := compose (only parsing) : C_scope.
Notation
"( f ∘)"
:
=
(
compose
f
)
(
only
parsing
)
:
C_scope
.
Notation
"(∘ f )"
:
=
(
λ
g
,
compose
g
f
)
(
only
parsing
)
:
C_scope
.
Instance
impl_inhabited
{
A
}
`
{
Inhabited
B
}
:
Inhabited
(
A
→
B
)
:
=
populate
(
λ
_
,
inhabitant
).
(** Ensure that [simpl] unfolds [id], [compose], and [flip] when fully
applied. *)
Arguments
id
_
_
/.
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment