Siêu thị PDFTải ngay đi em, trời tối mất

Thư viện tri thức trực tuyến

Kho tài liệu với 50,000+ tài liệu học thuật

© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Modelling Computing Systems
PREMIUM
Số trang
507
Kích thước
15.1 MB
Định dạng
PDF
Lượt xem
1439

Modelling Computing Systems

Nội dung xem thử

Mô tả chi tiết

Undergraduate Topics in Computer Science

Modelling

Computing Systems

Faron Moller

Georg Struth

Mathematics for Computer Science

Undergraduate Topics in Computer Science

Undergraduate Topics in Computer Science (UTiCS) delivers high-quality instructional content for un￾dergraduates studying in all areas of computing and information science. From core foundational and

theoretical material to final-year topics and applications, UTiCS books take a fresh, concise, and mod￾ern approach and are ideal for self-study or for a one- or two-semester course. The texts are all authored

by established experts in their fields, reviewed by an international advisory board, and contain numer￾ous examples and problems. Many include fully worked solutions.

For further volumes:

www.springer.com/series/7592

Faron Moller Georg Struth

Modelling

Computing Systems

Mathematics for Computer Science

Faron Moller

Department of Computer Science

Swansea University

Swansea, UK

Georg Struth

Dept. Computer Science

University of Sheffield

Sheffield, UK

Series editor

Ian Mackie

Advisory board

Samson Abramsky, University of Oxford, Oxford, UK

Karin Breitman, Pontifical Catholic University of Rio de Janeiro, Rio de Janeiro, Brazil

Chris Hankin, Imperial College London, London, UK

Dexter Kozen, Cornell University, Ithaca, USA

Andrew Pitts, University of Cambridge, Cambridge, UK

Hanne Riis Nielson, Technical University of Denmark, Kongens Lyngby, Denmark

Steven Skiena, Stony Brook University, Stony Brook, USA

Iain Stewart, University of Durham, Durham, UK

ISSN 1863-7310 Undergraduate Topics in Computer Science

ISBN 978-1-84800-321-7 ISBN 978-1-84800-322-4 (eBook)

DOI 10.1007/978-1-84800-322-4

Springer London Heidelberg New York Dordrecht

Library of Congress Control Number: 2013943907

© Springer-Verlag London 2013

This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of

the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation,

broadcasting, reproduction on microfilms or in any other physical way, and transmission or information

storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology

now known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection

with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and

executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this pub￾lication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s

location, in its current version, and permission for use must always be obtained from Springer. Permis￾sions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable

to prosecution under the respective Copyright Law.

The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication

does not imply, even in the absence of a specific statement, that such names are exempt from the relevant

protective laws and regulations and therefore free for general use.

While the advice and information in this book are believed to be true and accurate at the date of publica￾tion, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors

or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the

material contained herein.

Printed on acid-free paper

Springer is part of Springer Science+Business Media (www.springer.com)

CONTENTS

Contents

￾ 

 



      

Preface xiii

0 Introduction 1

￾ 

 

  



￾    



 

￾     

￾ 

  ! 

 "



￾ #   $ 



%

￾ &

'

 (

￾( 

)

￾) *

+



 '   )

￾  

, " 

, $    *   -

￾ 

. , &



   /

.  

Part I: Mathematics for Computer Science 15

1 Propositional Logic 17

'     0

  1

 

#22

'    # 2 

 '    /$



 *

2  

 0 3  

  3  

 &   

( 4%



)

) 

 '    # 2 )

1 '



 '







1

-  

￾

 " 

2 5 '    # 2 

 $2

* #22



 $

￾

( 4%



 /  2

 

￾ )  2

$ #5  # 2 4%



)

1   



2 Sets 57

 

 *   )

 "

$

 , 4   &    -

 

  ' 



(

 !

6 ' 

CONTENTS

￾ 

 

￾ 



￾￾   



￾ 

  

￾   

￾    

￾ ￾  

! 

 !   

￾

￾ !! 

  !  

  !" 

￾ # !

$ 

%  

￾ ￾ &$'

 ( )   !

 

￾ ￾ ( $

 *+"

,  , "  !

 

￾ &!!

 *-

 

￾ 3 Boolean Algebras and Circuits 87

 .  &$' 

￾ 

,

$ !



.  &$' /

 0% "

1 



 

 ( $

    ! 

$

 

"



 #2

$  "  &!! //

 .

1 3"' //

￾ &!!

$ .

1 3"' /￾

 ."

!

$ 4) &!! /

 ."

!

$ 5" &!! /

 "

$  & 0 $ % /

 &!!

 *-

 /

4 Predicate Logic 109

 !

   ! 5 6

' /

￾ 7"

8  ! . " ! 6

' 

￾ 

,  7"

8



￾￾ *-



 7"

8



￾ . " !! 7"

8



 9" )  7"

8

￾/

# !

$

!

  ( $

 ￾

 &!!

 *-

 ￾

￾ 5 Proof Strategies 131

 & 5

 *- ￾

￾  )   $

 )  





  )   $

 )  3$



  )   $

 )   :" 

 ! *+"

,  ￾

  )   $

 )  

:" 



  )   $

 )  7"

8 

 

,  7"

CONTENTS

￾ 

    

￾  

 ￾

￾   



 ￾

6 Functions 155

   

    ￾￾

 

! 

   "    #

 $%& ' "    

￾  $%&  ' (

)*

 + )

 

￾ ￾ !(

, 

 ! - !(



% 

  



 

7 Relations 179

   

    

  . /

  0

 "      . /

  0￾

 &

     . /

  0

 

&

   0

 1 2

  ' /

  0

 $%& ' /

  00

 !(

%   / '

+ /

 0

 3&

 

 +  . /

  #

 /

4

2

 1

4

2

/

  #

 ).%%

   .%%

 /

  

 !  2

/

  

 

 ' /

  

￾ 2



/

  

 2



$ 

  3     ￾

￾   



 

8 Inductive and Recursive Definitions 201

0 1  2

. 



 )

 #

0 1  2

. 



 ).   )

 #￾

0  - 5  "% #

0 1  2

. 



  !.&

 #

0￾ 1  2

. 



 "    

0 /

2

"    

0 /

2

3



 0

00   



 #

9 Proofs by Induction 223

 $ 2  ' 6 1   2

2





  3% . )( 1   '%



 !(

1   '%

CONTENTS

￾ 

  

￾

   

   

￾ ￾       !

￾" #    $ !

￾ # %&&  ' ￾

￾    ( )

￾! *

  + * "

￾, -'(& 

   %(     

￾￾ # & -'  

10 Games and Strategies 251

")"    +.. .%  

")  )

￾ ")    

") %( 

") /' 

") 0 .

 ￾

")! # & -'  !"

Part II: Modelling Computing Systems 277

11 Modelling Processes 279

""" 1&& $ 2 ,"

"" %(     ,!

"" # 1        ￾

""" $ &   0 ￾

"" #  ' ￾

""    ￾

"" %  ￾

""   0 0  ￾￾

"" -3 &2 0   )

"" # & -'  )

12 Distinguishing Between Processes 309

"" $ 0 & + )￾

" (  + -3 &  "

" 0 & 4& "

" 0 & %&   "￾

￾ " $ 0 & + 4 5 $

2  02 6 

"" 7 &  

" 7 & 0 & + 

" # & -' 

CONTENTS

13 Logical Properties of Processes 333

￾￾  

 



 





￾      



￾  

 ! ￾

￾  "    

#$

 

￾%   

 &

'  

￾ ￾ (

 )' * %+

￾ ￾, -! .' 

%

￾/    01



%

14 Concurrent Processes 357

￾￾ .  

  %,

￾ ( 

+

￾ #2 $ (

  

￾    01

 %

￾￾    



%

￾ 

 3

' /

￾%  

 $ .

' ,￾

￾    &  ,

￾,    01



,,

￾ 15 Temporal Properties 381

￾%￾  .  ' 4

/

￾%￾￾ 2

5 ￾￾ /

￾%￾ 

! 5 ￾ /

￾%￾ 6 5 ￾ 6 /

￾% # 

$ 

/%

￾%￾ .$  # 

$ 07 

/,

￾% )1   . 

//

￾%     8( 

9+

￾% 

 $

-

 )1  

9

￾%￾ 1'  )1  

9

￾%% 01

  .  ' 4

9,

￾%%￾ 2

5 ￾￾ 9/

￾%% 

! 5 ￾ 9/

￾%% 6 5 ￾ 6 9/

￾% )  )1   

99

￾%,    01



List of Figures

￾￾  

    

￾ ￾             

￾  !  " # $

￾  %&  '   

￾ (

#

))  ￾$

$￾ 

 *  ￾ ￾    ￾ ￾+$

$      

 ,-  ￾  ￾+.

$ /

  0   ￾1

$ /

   

 ￾1

1￾ 2  '# 3  ￾￾

￾ &  4 & 50 # 6

        ,♂- #    ,♀-  

.￾ 7

     $

. 8  #

0    #& .

. 9#

   :    6

￾6￾            +1

￾6      ￾ $$

￾6   # $1

￾6  0 #   #& $

￾6+ 

 # $.

￾6$

 0 #   8& 16

￾61  &  

 1￾

￾￾￾    

 6

￾￾  !   #   

￾￾  %(   ;:< :=:7 >##  $

￾￾  

  =78  $ # ￾1 

￾￾+      .

￾￾$ (! #      

 

 .1

LIST OF FIGURES

￾￾  

            

￾￾               

￾￾￾        

￾￾ 

       ￾

￾ 

       ￾

￾￾ !           HML 

￾ "         HML #

￾$￾   %    

￾$ &   ' 

 

￾$  (

     $

￾#￾ "        )( ) ) 

￾# *    ￾# $￾

￾# *     $

￾#$  +!   ,    -   .  $

￾##  +!    ( /    $

￾#  +!   ￾￾￾ $

￾#     (



Preface

￾  

   

  

   

  ￾

  

  

     

￾  

          

   

            

 

               ￾

                  ￾

            !   "

      !    "

# $  

       %&   %&    ' 

         (        ￾   $            $   $

    ￾   

)              * 

     +         ( 

,  

             

      

         + 

    *      $    $   -  

               ￾      

         . 

 ￾    ￾    .                     ￾

                

%  

&

 $             

 ￾           ￾

                 

                $  

      

     $  #  

'                

               / 

   $  #   '                   

)     

  ￾          

,

          / 0

Preface

￾ 

￾  

       





 ￾ ￾

  

         





       

 ￾



      ￾ 

   

    

   ￾

     

! " 

   #$$%

 ￾

 ￾

   

    &

   ￾  

 ' 

       



      ￾        

￾ (  " 

 



 

  ￾  

 ￾



   

  ) ￾

 



 

*  " 

+

￾            ￾ " 

   

       ￾



&

   ￾  

 

 

  

 

    ￾

   

,  

 ￾  

  

 -  

  



   ￾  -   

￾   



  

 

￾  

￾

   

    ￾

  



   ￾ , 

  ￾  ￾  



    

 

  ￾

 ￾

    ￾ ￾        

    

      

  

 

   ! 

  

   

 



 

   &

   ￾  

   



     

(￾ ￾

 ￾

,  ￾

 

  

￾   !  ￾

 





 ￾   ￾  

   



   

￾   . ￾   /

 

￾  ,  

    

(￾ !



   

    



     ￾



    



    ￾





          

    &

   ￾

 ,   

￾ 



    ) 

 

 !  ￾

￾ ￾

  

  





  

0￾   ￾

  



        ,  )    

  1 / ￾  ￾

 

 ￾ 

  '   .   



 ￾ ￾￾ 

 &

   ￾  

       ￾    



 ,       ￾

 

￾  





  ￾  

 ￾

 

!



 Æ ￾ 

      



￾ 



 2    

  











 

     ￾

 

)

Preface

￾  

￾    ￾￾ ￾￾  ￾  ￾￾ ￾

￾  ￾ 

   ￾  ￾

 ￾     

￾ ￾ ￾    

￾   ￾

 ￾

￾  

        ￾  ￾

      

      ￾

           ￾

￾  ￾     ￾  ￾￾  !￾



"￾ #   ￾      "￾ ## ￾

￾￾  ￾

 $    ￾

 

%￾ & 

 ￾

'￾

￾   ￾  "￾ # ￾     ￾

   ￾      ￾

  

 

  

 "￾ ##   

(

   ￾  ￾

￾   ￾   ￾

￾ ￾   

          ) ￾     

      %  ￾    ￾   

 ￾  ￾￾  # ￾

  $ ￾

      ￾ ￾ ￾￾ 

￾￾         ￾       ￾  ￾

￾

    

 ￾     ￾  ￾    ￾￾ ￾  

    ￾ & ￾

￾ ￾  ￾

￾   ￾    ￾

   $       ￾     ￾  * 

     ￾    ￾  ￾

￾

      

 ￾   

(

     ￾  ￾ ￾     $ "

 ￾ ￾ 

 ￾

 

￾￾ ￾￾ (

  ￾   ￾￾ 

  ￾

$      ￾￾               ￾

       ￾  ￾  (



 $       ￾     ++   ￾

￾  

￾      $    ￾ ￾   ￾ ￾ )

   

    ￾  



  ￾



           ￾  !  ￾

￾    ￾

$   ￾ 

 ￾

 %￾ ￾ ,

# ￾        ￾￾    ￾

 $& ￾

        

￾  ￾  ￾   ￾  ￾  

   ￾       ￾

 ￾

  ￾  -

  ￾ 

          ￾         ￾ ￾

  

    ￾

￾ ￾ ￾

   (

     ￾  ￾￾  

￾     ￾

    ￾

￾ 

 ￾

  ￾  ￾ ￾  ￾

 ￾ # ￾

   ￾

 

 ￾

    ￾

￾    ￾ ￾ ￾   ￾

￾  

￾   ￾￾ ￾ ￾   ￾  ￾

￾ ￾  

Tải ngay đi em, còn do dự, trời tối mất!