Top Banner
TLA + Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This video should be viewed in conjunction with a Web page. To find that page, search the Web for TLA+ Video Course . The TLA + Video Course Lecture 3 Resources and Tools
72

RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Aug 31, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

TLA+ Video Course – Lecture 3Leslie Lamport

RESOURCES AND TOOLS

This video should be viewed in conjunction with a Web page.To find that page, search the Web for TLA+ Video Course .

The TLA+ Video CourseLecture 3Resources and Tools

Page 2: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The first two lectures gave you an idea of what TLA+ is all about.

This lecture tells you about the resources available to help you learn TLA+,and introduces you to the TLA+ tools.

You will download the Toolbox and start learning to use the TLC modelchecker.

[ slide 2 ]

Page 3: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

TLA+ RESOURCES

[ slide 3 ]

Page 4: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The TLA+ Home Page

Searching the Web for tla home page yields

which links to . . .

The TLA+ home page.

Search the web for tla home page

to find a link to .

[ slide 4 ]

Page 5: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The TLA+ Home Page

Searching the Web for tla home page yields

which links to . . .

The TLA+ home page.

Search the web for tla home page

to find a link to .

[ slide 5 ]

Page 6: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The TLA+ Home Page

Searching the Web for tla home page yields

which links to . . .

The TLA+ home page.

Search the web for tla home page

to find a link to .

[ slide 6 ]

Page 7: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The TLA home page.

For now, think of TLA as shorthand for TLA+.

Going to the Resources for Learning About TLA section . . .

[ slide 7 ]

Page 8: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Think TLA+.

The TLA home page.

For now, think of TLA as shorthand for TLA+.

Going to the Resources for Learning About TLA section . . .

[ slide 8 ]

Page 9: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The TLA home page.

For now, think of TLA as shorthand for TLA+.

Going to the Resources for Learning About TLA section . . .

[ slide 9 ]

Page 10: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The TLA home page.

For now, think of TLA as shorthand for TLA+.

Going to the Resources for Learning About TLA section . . .

[ slide 10 ]

Page 11: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

gets you here. The TLA+ book . . .

is a useful reference, but it was written before the Toolbox was implemented.

The summary of the TLA+ Language . . .

is a useful cheat sheet.

[ slide 11 ]

Page 12: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

gets you here. The TLA+ book . . .

is a useful reference, but it was written before the Toolbox was implemented.

The summary of the TLA+ Language . . .

is a useful cheat sheet.

[ slide 12 ]

Page 13: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

A useful reference book, but

says nothing about the Toolbox.

gets you here. The TLA+ book . . .

is a useful reference, but it was written before the Toolbox was implemented.

The summary of the TLA+ Language . . .

is a useful cheat sheet.

[ slide 13 ]

Page 14: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

gets you here. The TLA+ book . . .

is a useful reference, but it was written before the Toolbox was implemented.

The summary of the TLA+ Language . . .

is a useful cheat sheet.

[ slide 14 ]

Page 15: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

A cheat-sheet.

gets you here. The TLA+ book . . .

is a useful reference, but it was written before the Toolbox was implemented.

The summary of the TLA+ Language . . .

is a useful cheat sheet.

[ slide 15 ]

Page 16: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Print it.

After watching the video, you should download and print it.

[ slide 16 ]

Page 17: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Most TLA+ documentation is in pdf.

You should have a pdf reader.

Adobe Acrobat Reader is popular.

Most of the TLA+ documentation consists of pdf documents.

If your computer doesn’t already have a pdf reader, you should install one.

Adobe Acrobat Reader is the most popular one.

[ slide 17 ]

Page 18: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Most TLA+ documentation is in pdf.

You should have a pdf reader.

Adobe Acrobat Reader is popular.

Most of the TLA+ documentation consists of pdf documents.

If your computer doesn’t already have a pdf reader, you should install one.

Adobe Acrobat Reader is the most popular one.

[ slide 18 ]

Page 19: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Most TLA+ documentation is in pdf.

You should have a pdf reader.

Adobe Acrobat Reader is popular.

Most of the TLA+ documentation consists of pdf documents.

If your computer doesn’t already have a pdf reader, you should install one.

Adobe Acrobat Reader is the most popular one.

[ slide 19 ]

Page 20: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

On the TLA home page . . .

go to the TLA+ Google Group section.

[ slide 20 ]

Page 21: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

On the TLA home page . . .

go to the TLA+ Google Group section.

[ slide 21 ]

Page 22: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Find out what’s happening in the TLA+ community.

Ask other users for help if you have a problem.

Join the group.

The TLA+ Google group is a place to . . .

find out what’s happening in the TLA+ community.

And ask other users for help if you have a problem.

Join the group.

[ slide 22 ]

Page 23: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Find out what’s happening in the TLA+ community.

Ask other users for help if you have a problem.

Join the group.

The TLA+ Google group is a place to . . .

find out what’s happening in the TLA+ community.

And ask other users for help if you have a problem.

Join the group.

[ slide 23 ]

Page 24: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Find out what’s happening in the TLA+ community.

Ask other users for help if you have a problem.

Join the group.

The TLA+ Google group is a place to . . .

find out what’s happening in the TLA+ community.

And ask other users for help if you have a problem.

Join the group.

[ slide 24 ]

Page 25: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Find out what’s happening in the TLA+ community.

Ask other users for help if you have a problem.

Join the group.

The TLA+ Google group is a place to . . .

find out what’s happening in the TLA+ community.

And ask other users for help if you have a problem.

Join the group.

[ slide 25 ]

Page 26: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

DOWNLOADING THE TOOLBOX

[ slide 26 ]

Page 27: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The Toolbox:The Integrated Development Environmentused to create specs and run tools on them.

You will now download it, which involves

– Installing Java, if it’s not already on your computer.

– Downloading a zip file and extracting its files.

– Installing LATEX, required by the pretty-printer.

The Toolbox is the Integrated Development Environment used to createspecs and run tools on them.

You will now download it which involves– Installing Java, if it’s not already on your computer.– Downloading a zip file and extracting its files.– Installing LayTek (or LahTek if you prefer)

which is required by the pretty-printer.

[ slide 27 ]

Page 28: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The Toolbox:The Integrated Development Environmentused to create specs and run tools on them.

You will now download it, which involves

– Installing Java, if it’s not already on your computer.

– Downloading a zip file and extracting its files.

– Installing LATEX, required by the pretty-printer.

The Toolbox is the Integrated Development Environment used to createspecs and run tools on them.

You will now download it which involves– Installing Java, if it’s not already on your computer.– Downloading a zip file and extracting its files.– Installing LayTek (or LahTek if you prefer)

which is required by the pretty-printer.

[ slide 28 ]

Page 29: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The Toolbox:The Integrated Development Environmentused to create specs and run tools on them.

You will now download it, which involves

– Installing Java, if it’s not already on your computer.

– Downloading a zip file and extracting its files.

– Installing LATEX, required by the pretty-printer.

The Toolbox is the Integrated Development Environment used to createspecs and run tools on them.

You will now download it which involves– Installing Java, if it’s not already on your computer.– Downloading a zip file and extracting its files.– Installing LayTek (or LahTek if you prefer)

which is required by the pretty-printer.

[ slide 29 ]

Page 30: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The Toolbox:The Integrated Development Environmentused to create specs and run tools on them.

You will now download it, which involves

– Installing Java, if it’s not already on your computer.

– Downloading a zip file and extracting its files.

– Installing LATEX, required by the pretty-printer.

The Toolbox is the Integrated Development Environment used to createspecs and run tools on them.

You will now download it which involves– Installing Java, if it’s not already on your computer.– Downloading a zip file and extracting its files.– Installing LayTek (or LahTek if you prefer)

which is required by the pretty-printer.

[ slide 30 ]

Page 31: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The Toolbox:The Integrated Development Environmentused to create specs and run tools on them.

You will now download it, which involves

– Installing Java, if it’s not already on your computer.

– Downloading a zip file and extracting its files.

– Installing LATEX, required by the pretty-printer.

The Toolbox is the Integrated Development Environment used to createspecs and run tools on them.

You will now download it which involves– Installing Java, if it’s not already on your computer.– Downloading a zip file and extracting its files.– Installing LayTek (or LahTek if you prefer)

which is required by the pretty-printer.

[ slide 31 ]

Page 32: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

The Toolbox:The Integrated Development Environmentused to create specs and run tools on them.

You will now download it, which involves

– Installing Java, if it’s not already on your computer.

– Downloading a zip file and extracting its files.

– Installing LATEX, required by the pretty-printer.

The Toolbox is the Integrated Development Environment used to createspecs and run tools on them.

You will now download it which involves– Installing Java, if it’s not already on your computer.– Downloading a zip file and extracting its files.– Installing LayTek (or LahTek if you prefer)

which is required by the pretty-printer.

[ slide 32 ]

Page 33: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Stop the video now

and follow the instructions.

Stop the video now and follow the instructions.

[ slide 33 ]

Page 34: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

I will now start showing you how to use the Toolbox.

You should do yourself what I do,stopping the video when you need to.

Begin by starting the Toolbox now.

I will now start showing you how to use the Toolbox.

You should do yourself what I do in the video . . .stopping the video when you need to.

Begin by starting the Toolbox now.

[ slide 34 ]

Page 35: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

I will now start showing you how to use the Toolbox.

You should do yourself what I do,stopping the video when you need to.

Begin by starting the Toolbox now.

I will now start showing you how to use the Toolbox.

You should do yourself what I do in the video . . .stopping the video when you need to.

Begin by starting the Toolbox now.

[ slide 35 ]

Page 36: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

I will now start showing you how to use the Toolbox.

You should do yourself what I do,stopping the video when you need to.

Begin by starting the Toolbox now.

I will now start showing you how to use the Toolbox.

You should do yourself what I do in the video . . .stopping the video when you need to.

Begin by starting the Toolbox now.

[ slide 36 ]

Page 37: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

I will now start showing you how to use the Toolbox.

You should do yourself what I do,stopping the video when you need to.

Begin by starting the Toolbox now.

I will now start showing you how to use the Toolbox.

You should do yourself what I do in the video . . .stopping the video when you need to.

Begin by starting the Toolbox now.

[ slide 37 ]

Page 38: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

If you encounter a problem, check theIf Something Goes Wrong

section of the downloading instructions.

If you can’t solve the problem, try theTLA+ Google group.

If you encounter a problem, check the If Something Goes Wrong section ofthe downloading instructions.

If you can’t solve the problem, try the TLA+ Google group.

[ slide 38 ]

Page 39: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

If you encounter a problem, check theIf Something Goes Wrong

section of the downloading instructions.

If you can’t solve the problem, try theTLA+ Google group.

If you encounter a problem, check the If Something Goes Wrong section ofthe downloading instructions.

If you can’t solve the problem, try the TLA+ Google group.

[ slide 39 ]

Page 40: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

CREATING A SPEC

Creating a specification.

[ slide 40 ]

Page 41: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

THE PRETTY-PRINTER

The pretty-printer.

[ slide 41 ]

Page 42: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

RUNNING TLC

Testing TLC.

[ slide 42 ]

Page 43: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Why Does TLC Report Deadlock?

Deadlock:

Execution stopped when it wasn’t supposed to.

Termination:

Execution stopped when it was supposed to.

[ slide 43 ]

Page 44: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Why Does TLC Report Deadlock?

Deadlock:

Execution stopped when it wasn’t supposed to.

Termination:

Execution stopped when it was supposed to.

[ slide 44 ]

Page 45: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Why Does TLC Report Deadlock?

Deadlock:

Execution stopped when it wasn’t supposed to.

Termination:

Execution stopped when it was supposed to.

[ slide 45 ]

Page 46: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Says nothing aboutwhether an executionshould stop.

[ slide 46 ]

Page 47: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Most systems should not stop.

[ slide 47 ]

Page 48: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

HELP !

[ slide 48 ]

Page 49: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

I know you want to start writing specs,not reading Help pages.

But read the Getting Started sectionbefore going on to the next video.

Take time out from specifying tobrowse through the other sections.

[ slide 49 ]

Page 50: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

I know you want to start writing specs,not reading Help pages.

But read the Getting Started sectionbefore going on to the next video.

Take time out from specifying tobrowse through the other sections.

[ slide 50 ]

Page 51: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

I know you want to start writing specs,not reading Help pages.

But read the Getting Started sectionbefore going on to the next video.

Take time out from specifying tobrowse through the other sections.

[ slide 51 ]

Page 52: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

I know you want to start writing specs,not reading Help pages.

But read the Getting Started sectionbefore going on to the next video.

Take time out from specifying tobrowse through the other sections.

[ slide 52 ]

Page 53: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

THE TLA+ PROOF SYSTEM

The TLA+ proof system.

[ slide 53 ]

Page 54: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

TLA+ has constructs for writing theoremsand formal proofs of those theorems.

TLAPS is a tool for checking those proofs.

It can be run from the Toolbox.

TLA+ has constructs for writing theorems and formal proofs of thosetheorems.

TLAPS, the TLA+ proof system, is a tool for checking those proofs.

It can be run from the Toolbox.

[ slide 54 ]

Page 55: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

TLA+ has constructs for writing theoremsand formal proofs of those theorems.

TLAPS is a tool for checking those proofs.

It can be run from the Toolbox.

TLA+ has constructs for writing theorems and formal proofs of thosetheorems.

TLAPS, the TLA+ proof system, is a tool for checking those proofs.

It can be run from the Toolbox.

[ slide 55 ]

Page 56: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

TLA+ has constructs for writing theoremsand formal proofs of those theorems.

TLAPS is a tool for checking those proofs.

It can be run from the Toolbox.

TLA+ has constructs for writing theorems and formal proofs of thosetheorems.

TLAPS, the TLA+ proof system, is a tool for checking those proofs.

It can be run from the Toolbox.

[ slide 56 ]

Page 57: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

TLAPS can check proofs of correctness of algorithms,but it will be used by few engineers.

Perhaps a future video will describe how to writeand check proofs.

TLAPS can check proofs of correctness of real, publishable algorithms

but it will be used by few engineers.

Perhaps a future video will describe how to write and check proofs.

[ slide 57 ]

Page 58: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

TLAPS can check proofs of correctness of algorithms,but it will be used by few engineers.

Perhaps a future video will describe how to writeand check proofs.

TLAPS can check proofs of correctness of real, publishable algorithms

but it will be used by few engineers.

Perhaps a future video will describe how to write and check proofs.

[ slide 58 ]

Page 59: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

TLAPS can check proofs of correctness of algorithms,but it will be used by few engineers.

Perhaps a future video will describe how to writeand check proofs.

TLAPS can check proofs of correctness of real, publishable algorithms

but it will be used by few engineers.

Perhaps a future video will describe how to write and check proofs.

[ slide 59 ]

Page 60: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

THE UNICODE OPTION

The Unicode option.

[ slide 60 ]

Page 61: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Most engineers prefer the ASCII version of their specs.

I use the pretty-printed version only for publication.

Some people want to see ∈ rather than \in

when writing specs.

We intend to make them happy.

I’ve found that most engineers prefer the ASCII version of their specs.I use the pretty-printed version only for publication.

But some people would prefer to see this set membership symbol ratherthan backslash-i-n when writing specs.

We intend to make them happy.

[ slide 61 ]

Page 62: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Most engineers prefer the ASCII version of their specs.

I use the pretty-printed version only for publication.

Some people want to see ∈ rather than \in

when writing specs.

We intend to make them happy.

I’ve found that most engineers prefer the ASCII version of their specs.I use the pretty-printed version only for publication.

But some people would prefer to see this set membership symbol ratherthan backslash-i-n when writing specs.

We intend to make them happy.

[ slide 62 ]

Page 63: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Most engineers prefer the ASCII version of their specs.

I use the pretty-printed version only for publication.

Some people want to see ∈ rather than \in

when writing specs.

We intend to make them happy.

I’ve found that most engineers prefer the ASCII version of their specs.I use the pretty-printed version only for publication.

But some people would prefer to see this set membership symbol ratherthan backslash-i-n when writing specs.

We intend to make them happy.

[ slide 63 ]

Page 64: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Most engineers prefer the ASCII version of their specs.

I use the pretty-printed version only for publication.

Some people want to see ∈ rather than \in

when writing specs.

We intend to make them happy.

I’ve found that most engineers prefer the ASCII version of their specs.I use the pretty-printed version only for publication.

But some people would prefer to see this set membership symbol ratherthan backslash-i-n when writing specs.

We intend to make them happy.

[ slide 64 ]

Page 65: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Most engineers prefer the ASCII version of their specs.

I use the pretty-printed version only for publication.

Some people want to see ∈ rather than \in

when writing specs.

We intend to make them happy.

I’ve found that most engineers prefer the ASCII version of their specs.I use the pretty-printed version only for publication.

But some people would prefer to see this set membership symbol ratherthan backslash-i-n when writing specs.

We intend to make them happy.

[ slide 65 ]

Page 66: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

We plan to provide an editor option to displaysymbols as Unicode characters.

Check the documentation, the Google Group,or the Toolbox’s Help pages to see if it’s thereand how to use it.

We plan to provide the Toolbox’s module editor with an option to displaysymbols as Unicode characters rather than as ASCII strings.

Check the TLA+ documentation or the TLA+ Google Group or the Toolbox’sHelp pages to see if it’s there and how to use it if it is.

[ slide 66 ]

Page 67: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

We plan to provide an editor option to displaysymbols as Unicode characters.

Check the documentation, the Google Group,or the Toolbox’s Help pages to see if it’s thereand how to use it.

We plan to provide the Toolbox’s module editor with an option to displaysymbols as Unicode characters rather than as ASCII strings.

Check the TLA+ documentation or the TLA+ Google Group or the Toolbox’sHelp pages to see if it’s there and how to use it if it is.

[ slide 67 ]

Page 68: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

We plan to provide an editor option to displaysymbols as Unicode characters.

Check the documentation, the Google Group,or the Toolbox’s Help pages to see if it’s thereand how to use it.

We plan to provide the Toolbox’s module editor with an option to displaysymbols as Unicode characters rather than as ASCII strings.

Check the TLA+ documentation or the TLA+ Google Group or the Toolbox’sHelp pages to see if it’s there and how to use it if it is.

[ slide 68 ]

Page 69: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

We plan to provide an editor option to displaysymbols as Unicode characters.

Check the documentation, the Google Group,or the Toolbox’s Help pages to see if it’s thereand how to use it.

We plan to provide the Toolbox’s module editor with an option to displaysymbols as Unicode characters rather than as ASCII strings.

Check the TLA+ documentation or the TLA+ Google Group or the Toolbox’sHelp pages to see if it’s there and how to use it if it is.

[ slide 69 ]

Page 70: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

We plan to provide an editor option to displaysymbols as Unicode characters.

Check the documentation, the Google Group,or the Toolbox’s Help pages to see if it’s thereand how to use it.

We plan to provide the Toolbox’s module editor with an option to displaysymbols as Unicode characters rather than as ASCII strings.

Check the TLA+ documentation or the TLA+ Google Group or the Toolbox’sHelp pages to see if it’s there and how to use it if it is.

[ slide 70 ]

Page 71: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

Now that you’ve installed the Toolbox and TLC, we can start having fun.

In the next lecture, we’ll play the roles of Bruce Willis and Samuel L. Jacksonin the 1995 action movie Die Hard 3.

But we get to use a weapon that they didn’t have: POW! the TLC modelchecker.

[ slide 71 ]

Page 72: RESOURCES AND TOOLS - Microsoft Azurelamport.azurewebsites.net/video/video3-script.pdf · 2017. 8. 13. · TLA+ Video Course – Lecture 3 Leslie Lamport RESOURCES AND TOOLS This

TLA+ Video Course

End of Lecture 3

RESOURCES AND TOOLS

This is the end of Lecture 3 of the TLA+ Video Course—

Installing the Toolbox.

[ slide 72 ]