diff options
Diffstat (limited to '')
-rw-r--r-- | .github/isabelle-action/Dockerfile | 2 | ||||
-rw-r--r-- | mltt/core/MLTT.thy | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/isabelle-action/Dockerfile b/.github/isabelle-action/Dockerfile index 34a4adf..dae0c0c 100644 --- a/.github/isabelle-action/Dockerfile +++ b/.github/isabelle-action/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get -y update &&\ apt-get clean # Set up Isabelle -ADD https://isabelle.in.tum.de/dist/Isabelle2020_linux.tar.gz Isabelle.tar.gz +ADD https://isabelle.in.tum.de/website-Isabelle2020/dist/Isabelle2020_linux.tar.gz Isabelle.tar.gz RUN tar xzf Isabelle.tar.gz &&\ mv Isabelle2020 Isabelle &&\ perl -pi -e 's,ISABELLE_HOME_USER=.*,ISABELLE_HOME_USER="\$HOME/.isabelle",g;' Isabelle/etc/settings &&\ diff --git a/mltt/core/MLTT.thy b/mltt/core/MLTT.thy index 19b9563..cd8ae42 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" |