Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jsexplain
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Verified Software
jsexplain
Commits
a0c900b0
Commit
a0c900b0
authored
9 years ago
by
Thomas Wood
Browse files
Options
Downloads
Patches
Plain Diff
No longer any need for constant extraction of var_gen
parent
597c892d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
generator/tests/lambda/Lambda.v
+0
-3
0 additions, 3 deletions
generator/tests/lambda/Lambda.v
generator/tests/lambda/LibVar.ml
+12
-1
12 additions, 1 deletion
generator/tests/lambda/LibVar.ml
generator/tests/lambda/Specif.ml
+4
-0
4 additions, 0 deletions
generator/tests/lambda/Specif.ml
with
16 additions
and
4 deletions
generator/tests/lambda/Lambda.v
+
0
−
3
View file @
a0c900b0
...
...
@@ -130,9 +130,6 @@ Extraction Inline nat_comparable var_comp var_comparable.
(
otherwise
,
useless
errors
will
be
launched
).
*
)
Extraction
Inline
classicT
LibEpsilon
.
Inhab_witness
LibEpsilon
.
epsilon
LibEpsilon
.
epsilon_def
indefinite_description
.
(
*
Suppress
dependency
on
Specif
.
ml
...
*
)
Extract
Constant
var_gen
=>
"failwith ""AXIOM NOT REALISED"""
.
Set
Extraction
AccessOpaque
.
Unset
Extraction
Optimize
.
Unset
Extraction
KeepSingleton
.
...
...
This diff is collapsed.
Click to expand it.
generator/tests/lambda/LibVar.ml
+
12
−
1
View file @
a0c900b0
...
...
@@ -4,6 +4,7 @@ open LibList
open
LibNat
open
LibReflect
open
Peano
open
Specif
let
__
=
let
rec
f
_
=
Obj
.
repr
f
in
Obj
.
repr
f
...
...
@@ -45,7 +46,17 @@ module Variables =
(** val var_gen : vars -> var **)
let
var_gen
=
failwith
"AXIOM NOT REALISED"
let
var_gen
e
=
var_gen_list
(
let
s
=
let
h
=
failwith
"AXIOM TO BE REALIZED"
in
(
match
h
with
|
Coq_true
->
(
fun
_
->
Coq_left
)
|
Coq_false
->
(
fun
_
->
Coq_right
))
__
in
match
s
with
|
Coq_left
->
failwith
"AXIOM TO BE REALIZED"
|
Coq_right
->
failwith
"AXIOM TO BE REALIZED"
)
(** val var_fresh : vars -> var **)
...
...
This diff is collapsed.
Click to expand it.
generator/tests/lambda/Specif.ml
+
4
−
0
View file @
a0c900b0
...
...
@@ -2,3 +2,7 @@ type 'a coq_sig =
'
a
(* singleton inductive, whose constructor was exist *)
type
sumbool
=
|
Coq_left
[
@
f
]
(** Auto Generated Attributes **)
|
Coq_right
[
@
f
]
(** Auto Generated Attributes **)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment