Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
pub
caisar
Commits
51daaa18
Commit
51daaa18
authored
2 years ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[interpretation] Rename interpretation theory.
parent
df8cbb79
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/interpretation.ml
+2
-2
2 additions, 2 deletions
src/interpretation.ml
stdlib/caisar.mlw
+1
-1
1 addition, 1 deletion
stdlib/caisar.mlw
tests/interpretation.t
+1
-1
1 addition, 1 deletion
tests/interpretation.t
with
4 additions
and
4 deletions
src/interpretation.ml
+
2
−
2
View file @
51daaa18
...
...
@@ -52,7 +52,7 @@ let term_of_caisar_op engine op =
Term
.
t_app_infer
(
ls_of_caisar_op
engine
op
)
[]
let
caisar_env
env
cwd
=
let
th
=
Env
.
read_theory
env
[
"caisar"
]
"Interpret"
in
let
th
=
Env
.
read_theory
env
[
"caisar"
]
"Interpret
ation
"
in
let
ts_dataset
=
Theory
.
ns_find_ts
th
.
Theory
.
th_export
[
"dataset"
]
in
{
dataset_ty
=
Ty
.
ty_app
ts_dataset
[]
;
...
...
@@ -89,7 +89,7 @@ let builtin_caisar : caisar_env CRE.built_in_theories list =
in
[
(
[
"caisar"
]
,
"Interpret"
,
"Interpret
ation
"
,
[]
,
[
(
"open_dataset"
,
None
,
open_dataset
);
(
"size"
,
None
,
size
)
]
);
]
...
...
This diff is collapsed.
Click to expand it.
stdlib/caisar.mlw
+
1
−
1
View file @
51daaa18
...
...
@@ -81,7 +81,7 @@ theory NN
function relu (a: t): t = if a .> (0.0:t) then a else (0.0:t)
end
theory Interpret
theory Interpret
ation
use bool.Bool
use int.Int
...
...
This diff is collapsed.
Click to expand it.
tests/interpretation.t
+
1
−
1
View file @
51daaa18
Test
interpret
$
caisar
interpret
-
L
.
--
format
whyml
-
2
>&
1
<<
EOF
|
./
filter_tmpdir
.
sh
>
theory
T
>
use
caisar
.
Interpret
>
use
caisar
.
Interpret
ation
>
use
int
.
Int
>
>
goal
G1:
1
+
1
=
2
...
...
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