From 68bbcdcca00ae85dcaeae3ba7858dff1aa4802a6 Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Sat, 30 May 2020 18:29:11 +0200 Subject: inhabitation coercion should be syntax, not logical constant! --- spartan/core/Spartan.thy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spartan/core/Spartan.thy b/spartan/core/Spartan.thy index 004ba8d..9a6d884 100644 --- a/spartan/core/Spartan.thy +++ b/spartan/core/Spartan.thy @@ -294,8 +294,8 @@ val _ = Context.>> text \Automatically insert inhabitation judgments where needed:\ -consts inhabited :: \o \ prop\ ("(_)") -translations "CONST inhabited A" \ "CONST has_type {} A" +syntax inhabited :: \o \ prop\ ("(_)") +translations "inhabited A" \ "CONST has_type {} A" section \Lambda coercion\ -- cgit v1.2.3