src/HOLCF/IOA/meta_theory/RefMappings.thy
author nipkow
Tue, 09 Jan 2001 15:36:30 +0100
changeset 10835 f4745d77e620
parent 4559 8e604d885b54
child 12218 6597093b77e7
permissions -rw-r--r--
` -> $
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3071
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
     1
(*  Title:      HOLCF/IOA/meta_theory/RefMappings.thy
3275
3f53f2c876f4 changes for release 94-8
mueller
parents: 3071
diff changeset
     2
    ID:         $Id$
3071
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
     3
    Author:     Olaf Mueller
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
     4
    Copyright   1996  TU Muenchen
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
     5
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
     6
Refinement Mappings in HOLCF/IOA
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
     7
*)
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
     8
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
     9
RefMappings = Traces  +
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    10
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    11
default term
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    12
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    13
consts
4559
8e604d885b54 added files containing temproal logic and abstraction;
mueller
parents: 3433
diff changeset
    14
3433
2de17c994071 added deadlock freedom, polished definitions and proofs
mueller
parents: 3275
diff changeset
    15
  move         ::"[('a,'s)ioa,('a,'s)pairs,'s,'a,'s] => bool"
3071
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    16
  is_ref_map   ::"[('s1=>'s2),('a,'s1)ioa,('a,'s2)ioa] => bool"
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    17
  is_weak_ref_map ::"[('s1=>'s2),('a,'s1)ioa,('a,'s2)ioa] => bool"
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    18
 
4559
8e604d885b54 added files containing temproal logic and abstraction;
mueller
parents: 3433
diff changeset
    19
3071
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    20
defs
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    21
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    22
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    23
move_def
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    24
  "move ioa ex s a t ==    
3433
2de17c994071 added deadlock freedom, polished definitions and proofs
mueller
parents: 3275
diff changeset
    25
    (is_exec_frag ioa (s,ex) &  Finite ex & 
2de17c994071 added deadlock freedom, polished definitions and proofs
mueller
parents: 3275
diff changeset
    26
     laststate (s,ex)=t  &     
10835
nipkow
parents: 4559
diff changeset
    27
     mk_trace ioa$ex = (if a:ext(ioa) then a>>nil else nil))"
3071
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    28
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    29
is_ref_map_def
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    30
  "is_ref_map f C A ==                          
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    31
   (!s:starts_of(C). f(s):starts_of(A)) &        
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    32
   (!s t a. reachable C s &                      
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    33
            s -a--C-> t                 
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    34
            --> (? ex. move A ex (f s) a (f t)))"
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    35
 
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    36
is_weak_ref_map_def
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    37
  "is_weak_ref_map f C A ==                          
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    38
   (!s:starts_of(C). f(s):starts_of(A)) &        
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    39
   (!s t a. reachable C s &                      
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    40
            s -a--C-> t     
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    41
            --> (if a:ext(C) 
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    42
                 then (f s) -a--A-> (f t)
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    43
                 else (f s)=(f t)))" 
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    44
4559
8e604d885b54 added files containing temproal logic and abstraction;
mueller
parents: 3433
diff changeset
    45
3071
981258186b71 New meta theory for IOA based on HOLCF.
mueller
parents:
diff changeset
    46
end