From ad48f9176c58bdd4066389faa7a256fda8b58932 Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Sat, 23 Feb 2019 01:42:34 +0100 Subject: change mixfix pretty-printing indentation --- Prod.thy | 10 +++++----- Sum.thy | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Prod.thy b/Prod.thy index 059932c..afa543a 100644 --- a/Prod.thy +++ b/Prod.thy @@ -15,14 +15,14 @@ section \Basic type definitions\ axiomatization Prod :: "[t, t \ t] \ t" and lam :: "[t, t \ t] \ t" and - app :: "[t, t] \ t" ("(1_ ` _)" [120, 121] 120) + app :: "[t, t] \ t" ("(2_/ ` _)" [120, 121] 120) \ \Application should bind tighter than abstraction.\ syntax - "_Prod" :: "[idt, t, t] \ t" ("(3\'(_: _')./ _)" 30) - "_Prod'" :: "[idt, t, t] \ t" ("(3\_: _./ _)" 30) - "_lam" :: "[idt, t, t] \ t" ("(3\'(_: _')./ _)" 30) - "_lam'" :: "[idt, t, t] \ t" ("(3\_: _./ _)" 30) + "_Prod" :: "[idt, t, t] \ t" ("(2\'(_: _')./ _)" 30) + "_Prod'" :: "[idt, t, t] \ t" ("(2\_: _./ _)" 30) + "_lam" :: "[idt, t, t] \ t" ("(2\'(_: _')./ _)" 30) + "_lam'" :: "[idt, t, t] \ t" ("(2\_: _./ _)" 30) translations "\(x: A). B" \ "(CONST Prod) A (\x. B)" "\x: A. B" \ "(CONST Prod) A (\x. B)" diff --git a/Sum.thy b/Sum.thy index ee132b3..a1c0d34 100644 --- a/Sum.thy +++ b/Sum.thy @@ -11,12 +11,12 @@ begin axiomatization Sum :: "[t, t \ t] \ t" and - pair :: "[t, t] \ t" ("(1<_,/ _>)") and + pair :: "[t, t] \ t" ("(2<_,/ _>)") and indSum :: "[t \ t, [t, t] \ t, t] \ t" syntax - "_Sum" :: "[idt, t, t] \ t" ("(3\'(_: _')./ _)" 20) - "_Sum'" :: "[idt, t, t] \ t" ("(3\_: _./ _)" 20) + "_Sum" :: "[idt, t, t] \ t" ("(2\'(_: _')./ _)" 20) + "_Sum'" :: "[idt, t, t] \ t" ("(2\_: _./ _)" 20) translations "\(x: A). B" \ "(CONST Sum) A (\x. B)" "\x: A. B" \ "(CONST Sum) A (\x. B)" -- cgit v1.2.3