From 60f32406e8c9712c0689d54a3dd4f8e17d310d52 Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Mon, 25 May 2020 18:50:59 +0200 Subject: Lists + more reorganizing --- spartan/core/Spartan.thy | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'spartan/core') diff --git a/spartan/core/Spartan.thy b/spartan/core/Spartan.thy index b4f7772..50002a6 100644 --- a/spartan/core/Spartan.thy +++ b/spartan/core/Spartan.thy @@ -18,6 +18,11 @@ section \Preamble\ declare [[eta_contract=false]] +syntax "_dollar" :: \logic \ logic \ logic\ (infixr "$" 3) +translations "a $ b" \ "a (b)" + +abbreviation (input) K where "K x \ \_. x" + section \Metatype setup\ @@ -118,8 +123,8 @@ axiomatization where p: \x: A. B x; A: U i; \x. x : A \ B x: U i; - \p. p: \x: A. B x \ C p: U i; - \x y. \x: A; y: B x\ \ f x y: C + \x y. \x: A; y: B x\ \ f x y: C ; + \p. p: \x: A. B x \ C p: U i \ \ SigInd A (\x. B x) (\p. C p) f p: C p" and Sig_comp: "\ -- cgit v1.2.3