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
e80dd529
Commit
e80dd529
authored
Nov 16, 2009
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port Reflection
parent
5166e535
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
68 deletions
+55
-68
Extensional.v
src/Extensional.v
+2
-2
MoreSpecif.v
src/MoreSpecif.v
+2
-2
Reflection.v
src/Reflection.v
+51
-64
No files found.
src/Extensional.v
View file @
e80dd529
...
...
@@ -487,7 +487,7 @@ Module PatMatch.
Delimit
Scope
source_scope
with
source
.
Bind
Scope
source_scope
with
exp
.
Open
Local
Scope
source_scope
.
Local
Open
Scope
source_scope
.
Fixpoint
typeDenote
(
t
:
type
)
:
Set
:=
match
t
with
...
...
@@ -728,7 +728,7 @@ Module PatMatch.
Implicit
Arguments
merge
[
var
t
result
]
.
Section
elaborate
.
Open
Local
Scope
elab_scope
.
Local
Open
Scope
elab_scope
.
Fixpoint
elaboratePat
var
t1
ts
result
(
p
:
pat
t1
ts
)
{
struct
p
}
:
(
hlist
(
exp
var
)
ts
->
result
)
->
result
->
choice_tree
var
t1
result
:=
...
...
src/MoreSpecif.v
View file @
e80dd529
...
...
@@ -17,7 +17,7 @@ Notation "[ e ]" := (exist _ e _) : specif_scope.
Notation
"x <== e1 ; e2"
:=
(
let
(
x
,
_
)
:=
e1
in
e2
)
(
right
associativity
,
at
level
60
)
:
specif_scope
.
Open
Local
Scope
specif_scope
.
Local
Open
Scope
specif_scope
.
Delimit
Scope
specif_scope
with
specif
.
Notation
"'Yes'"
:=
(
left
_
_
)
:
specif_scope
.
...
...
@@ -88,7 +88,7 @@ Notation "[ P ]" := (partial P) : type_scope.
Notation
"'Yes'"
:=
(
Proved
_
)
:
partial_scope
.
Notation
"'No'"
:=
(
Uncertain
_
)
:
partial_scope
.
Open
Local
Scope
partial_scope
.
Local
Open
Scope
partial_scope
.
Delimit
Scope
partial_scope
with
partial
.
Notation
"'Reduce' v"
:=
(
if
v
then
Yes
else
No
)
:
partial_scope
.
...
...
src/Reflection.v
View file @
e80dd529
This diff is collapsed.
Click to expand it.
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