# HG changeset patch # User wenzelm # Date 1728555624 -7200 # Node ID c9f1e926d4ed54a13e3398f58a66200db7272bb3 # Parent 6e6766cddf734e86cba1eec1e3dd07ea8144b63e clarified inner-syntax markup; diff -r 6e6766cddf73 -r c9f1e926d4ed src/CCL/Set.thy --- a/src/CCL/Set.thy Thu Oct 10 12:19:50 2024 +0200 +++ b/src/CCL/Set.thy Thu Oct 10 12:20:24 2024 +0200 @@ -100,7 +100,7 @@ definition mono :: "['a set \ 'b set] \ o" where "mono(f) == (ALL A B. A <= B \ f(A) <= f(B))" -definition singleton :: "'a \ 'a set" (\{_}\) +definition singleton :: "'a \ 'a set" (\(\open_block notation=\mixfix singleton\\{_})\) where "{a} == {x. x=a}" definition empty :: "'a set" (\{}\) diff -r 6e6766cddf73 -r c9f1e926d4ed src/CCL/Term.thy --- a/src/CCL/Term.thy Thu Oct 10 12:19:50 2024 +0200 +++ b/src/CCL/Term.thy Thu Oct 10 12:20:24 2024 +0200 @@ -131,7 +131,7 @@ definition nrec :: "[i,i,[i,i]\i]\i" where "nrec(n,b,c) == letrec g x be ncase(x, b, \y. c(y,g(y))) in g(n)" -definition nil :: "i" (\([])\) +definition nil :: "i" (\[]\) where "[] == inl(one)" definition cons :: "[i,i]\i" (infixr \$\ 80) diff -r 6e6766cddf73 -r c9f1e926d4ed src/FOL/IFOL.thy --- a/src/FOL/IFOL.thy Thu Oct 10 12:19:50 2024 +0200 +++ b/src/FOL/IFOL.thy Thu Oct 10 12:20:24 2024 +0200 @@ -114,7 +114,7 @@ notation (ASCII) not_equal (infixl \~=\ 50) and - Not (\~ _\ [40] 40) and + Not (\(\open_block notation=\prefix ~\\~ _)\ [40] 40) and conj (infixr \&\ 35) and disj (infixr \|\ 30) and All (binder \ALL \ 10) and @@ -743,10 +743,10 @@ where \Let(s, f) \ f(s)\ syntax - "_bind" :: \[pttrn, 'a] => letbind\ (\(\indent=2 notation=\infix letbind\\_ =/ _)\ 10) + "_bind" :: \[pttrn, 'a] => letbind\ (\(\indent=2 notation=\infix let binding\\_ =/ _)\ 10) "" :: \letbind => letbinds\ (\_\) "_binds" :: \[letbind, letbinds] => letbinds\ (\_;/ _\) - "_Let" :: \[letbinds, 'a] => 'a\ (\(\notation=\mixfix let in\\let (_)/ in (_))\ 10) + "_Let" :: \[letbinds, 'a] => 'a\ (\(\notation=\mixfix let expression\\let (_)/ in (_))\ 10) translations "_Let(_binds(b, bs), e)" == "_Let(b, _Let(bs, e))" "let x = a in e" == "CONST Let(a, \x. e)"