aboutsummaryrefslogtreecommitdiff
path: root/mltt
diff options
context:
space:
mode:
authorJosh Chen2021-04-10 22:06:24 +0100
committerJosh Chen2021-04-10 22:06:24 +0100
commit54df7336797dfa07124652a9eb75aac978a1a359 (patch)
tree7fae961d00834ceb4f66682584c0e7f001cf7a9b /mltt
parentaf3b0ccf72ec0d22b635e413fd24f6ab47cd27a0 (diff)
small rename
Diffstat (limited to 'mltt')
-rw-r--r--mltt/core/MLTT.thy6
1 files changed, 3 insertions, 3 deletions
diff --git a/mltt/core/MLTT.thy b/mltt/core/MLTT.thy
index 18bd2b7..ea6462a 100644
--- a/mltt/core/MLTT.thy
+++ b/mltt/core/MLTT.thy
@@ -372,11 +372,11 @@ translations "\<lambda>x. b" \<leftharpoondown> "\<lambda>x: A. b"
section \<open>Lambda coercion\<close>
\<comment> \<open>Coerce object lambdas to meta-lambdas\<close>
-abbreviation (input) lambda :: \<open>o \<Rightarrow> o \<Rightarrow> o\<close>
- where "lambda f \<equiv> fn x. f `x"
+abbreviation (input) to_meta :: \<open>o \<Rightarrow> o \<Rightarrow> o\<close>
+ where "to_meta f \<equiv> fn x. f `x"
ML_file \<open>~~/src/Tools/subtyping.ML\<close>
-declare [[coercion_enabled, coercion lambda]]
+declare [[coercion_enabled, coercion to_meta]]
translations "f x" \<leftharpoondown> "f `x"