map update syntax
authornipkow
Wed, 15 Mar 2023 13:01:57 +0100
changeset 77669 8f96ac621bfd
parent 77668 5cb7fd36223b
child 77670 b9e9b818d7b0
map update syntax
NEWS
--- a/NEWS	Tue Mar 14 22:00:06 2023 +0100
+++ b/NEWS	Wed Mar 15 13:01:57 2023 +0100
@@ -53,6 +53,12 @@
 
 * Theory HOL.Map:
   - Map.empty has been demoted to an input abbreviation only
+  - Map update syntax "_(_ \<mapsto> _)" now has the same priorities
+    as function update syntax "_(_ := _)". This means:
+    1. "f t(a \<mapsto> b)" becomes "(f t)(a \<mapsto> b)"
+    2. "t(a \<mapsto> b)(c \<mapsto> d)" becomes
+       "t(a \<mapsto> b, c \<mapsto> d)" or
+       "(t(a \<mapsto> b))(c \<mapsto> d)".
 
 * Theory "HOL.Relation":
   - Added predicates irrefl_on and irreflp_on and redefined irrefl and