Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Raphaël Cauderlier
math_transfer
Commits
e6432f53
Commit
e6432f53
authored
Mar 25, 2017
by
Raphael Cauderlier
Browse files
Rename coq_naturals into CoqNaturals so that the file generated by
coqine has the same basename
parent
82916e9e
Changes
3
Hide whitespace changes
Inline
Side-by-side
interop/arith/
c
oq
_n
aturals.v
→
interop/arith/
C
oq
N
aturals.v
View file @
e6432f53
File moved
interop/arith/Makefile
View file @
e6432f53
...
...
@@ -2,25 +2,23 @@ include ../../.config_vars
include
../../Makefile.rules
FCL_FILES
=
$(
wildcard
*
.fcl
)
all
:
$(FCL_FILES:.fcl=.dko)
V_FILES
=
$(
wildcard
*
.v
)
all
:
$(FCL_FILES:.fcl=.dko) $(V_FILES:.v=.dko)
INCLUDE_DIRS
=
-I
../../core/logic
-I
../../core/arith
-I
../logic
COQMODULES
=
holtypes Logic Datatypes Wf
VOS
=
$(V_FILES:.v=.vo)
coq__naturals.dk
:
coq_naturals.vo
%.dk
:
%.vo
(
echo
"Require Coqine."
;
\
echo
"Require
coq_naturals
."
;
\
echo
"Require
$*
."
;
\
echo
"Dedukti Export All."
)
|
$(COQTOP)
depend
:
.depend
.depend
:
$(FOCALIZEDEP)
$(FCL_FILES)
>
$@
natural_coq.sk
:
c
oq
__n
aturals.dko
natural_coq.sk
:
C
oq
N
aturals.dko
-include
.depend
clean
:
rm
-f
*
.dko
*
.sk
*
*
.fo
*
.pfc
*
.zv
*
.mangled
*
_fcl.
*
.depend
rm
-f
*
.dko
*
.sk
*
*
.fo
*
.pfc
*
.zv
*
.mangled
*
_fcl.
*
.depend
*
.vo
*
.glob
*
.dk
interop/arith/natural_coq.fcl
View file @
e6432f53
...
...
@@ -212,7 +212,7 @@ species CoqLe =
inherit NatLeMinusZenon, CoqMinus;
logical let le(m : coq_nat, n : coq_nat) = internal bool
external | dedukti -> {* cbool_to_bool(
c
oq
__n
aturals.leb m n) *};
external | dedukti -> {* cbool_to_bool(
C
oq
N
aturals.leb m n) *};
proof of le_zero_n = dedukti proof definition of le, zero
{* (n : cc.eT abst_T => cbool_true). *};
...
...
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