Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cpdt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
research
cpdt
Commits
03048e3d
Commit
03048e3d
authored
Oct 22, 2008
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
call-by-name is really call-by-need
parent
0196caaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Equality.v
src/Equality.v
+1
-1
No files found.
src/Equality.v
View file @
03048e3d
...
...
@@ -37,7 +37,7 @@ Theorem reduce_me : pred' 1 = 0.
(
*
begin
thide
*
)
(
**
CIC
follows
the
traditions
of
lambda
calculus
in
associating
reduction
rules
with
Greek
letters
.
Coq
can
certainly
be
said
to
support
the
familiar
alpha
reduction
rule
,
which
allows
capture
-
avoiding
renaming
of
bound
variables
,
but
we
never
need
to
apply
alpha
explicitly
,
since
Coq
uses
a
de
Bruijn
representation
that
encodes
terms
canonically
.
The
delta
rule
is
for
unfolding
global
definitions
.
We
can
use
it
here
to
unfold
the
definition
of
[
pred
'
]
.
We
do
this
with
the
[
cbv
]
tactic
,
which
takes
a
list
of
reduction
rules
and
makes
as
many
call
-
by
-
value
reduction
steps
as
possible
,
using
only
those
rules
.
There
is
an
analogous
tactic
[
lazy
]
for
call
-
by
-
n
ame
reduction
.
*
)
The
delta
rule
is
for
unfolding
global
definitions
.
We
can
use
it
here
to
unfold
the
definition
of
[
pred
'
]
.
We
do
this
with
the
[
cbv
]
tactic
,
which
takes
a
list
of
reduction
rules
and
makes
as
many
call
-
by
-
value
reduction
steps
as
possible
,
using
only
those
rules
.
There
is
an
analogous
tactic
[
lazy
]
for
call
-
by
-
n
eed
reduction
.
*
)
cbv
delta
.
(
**
[[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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