# HG changeset patch # User wenzelm # Date 1516093097 -3600 # Node ID 4311845b04126e9a3b574f1cdddea2588b7e2946 # Parent 100247708f314de8544582a265cb2c516ab34432 tuned document; diff -r 100247708f31 -r 4311845b0412 src/HOL/UNITY/Comp/Alloc.thy --- a/src/HOL/UNITY/Comp/Alloc.thy Tue Jan 16 09:58:06 2018 +0100 +++ b/src/HOL/UNITY/Comp/Alloc.thy Tue Jan 16 09:58:17 2018 +0100 @@ -47,7 +47,7 @@ dummy :: 'a \ \dummy field for new variables\ -\ \* Resource allocation system specification *\ +subsubsection \Resource allocation system specification\ definition \ \spec (1)\ @@ -68,7 +68,8 @@ system_spec :: "'a systemState program set" where "system_spec = system_safety Int system_progress" -\ \* Client specification (required) **\ + +subsubsection \Client specification (required)\ definition \ \spec (3)\ @@ -105,7 +106,8 @@ where "client_spec = client_increasing Int client_bounded Int client_progress Int client_allowed_acts Int client_preserves" -\ \* Allocator specification (required) *\ + +subsubsection \Allocator specification (required)\ definition \ \spec (6)\ @@ -168,7 +170,8 @@ where "alloc_spec = alloc_increasing Int alloc_safety Int alloc_progress Int alloc_allowed_acts Int alloc_preserves" -\ \* Network specification *\ + +subsubsection \Network specification\ definition \ \spec (9.1)\ @@ -218,7 +221,8 @@ network_preserves" -\ \* State mappings *\ +subsubsection \State mappings\ + definition sysOfAlloc :: "((nat => clientState) * 'a) allocState_d => 'a systemState" where "sysOfAlloc = (%s. let (cl,xtr) = allocState_d.dummy s diff -r 100247708f31 -r 4311845b0412 src/ZF/UNITY/Mutex.thy --- a/src/ZF/UNITY/Mutex.thy Tue Jan 16 09:58:06 2018 +0100 +++ b/src/ZF/UNITY/Mutex.thy Tue Jan 16 09:58:17 2018 +0100 @@ -27,7 +27,7 @@ abbreviation "u == Var([0,1])" abbreviation "v == Var([1,0])" -axiomatization where \ \* Type declarations *\ +axiomatization where \ \Type declarations\ p_type: "type_of(p)=bool & default_val(p)=0" and m_type: "type_of(m)=int & default_val(m)=#0" and n_type: "type_of(n)=int & default_val(n)=#0" and