GithubHelp home page GithubHelp logo

juanbono / tiny-tlaplus-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lostbearlabs/tiny-tlaplus-examples

0.0 1.0 0.0 110 KB

Very small examples of TLA+ features.

License: The Unlicense

TLA 100.00%

tiny-tlaplus-examples's Introduction

tiny-tlaplus-examples

Description

This repo contains very small examples of TLA+ functionality or applications, intended to help you learn TLA+.

For more sophisticated examples, see:

List of Examples

TLA+ works by modeling systems via state machines. If we model an actual state machine this way, how does the generated state graph compare to the machine we're modeling?

#safety

What does it look like to validate the correctness of a procedural algorithm?

#correctness

What does it look like to model a concurrent system?

#concurrency #safety #correctness

What does it look like to specify a temporal condition?

#correctness

How can you use TLA+ to validate formulas in predicate logic?

#correctness

How can you use TLA+ to find deadlocks in a concurrent system?

#concurrency #liveness

What does it look like when two processes interact incorrectly due to a race condition?

#concurrency #safety

How can one module use operators defined in another module?

#modules

How can one module parameterize and/or namespace operators defined in another module?

#modules

Basic functional list operations(Head/Tail/Append/Len/Reverse) on sequences.

#sequences #recursion

Contributing

Contributions are welcome.

  • Please make sure examples are very small.
  • Put each example in its own subfolder with a README.md file. (These examples use README files instead of putting all documentation into the spec itself so that they will be easier to explore on Github. As soon as a user navigates to a folder they will be reading the documentation in their browser, rather than having to navigate into the individual spec file.)
  • Name sub-folders and examples using the existing pattern of "spec-name" for the folder and "SpecName.tla" for the TLA+ file.

tiny-tlaplus-examples's People

Contributors

lostbearlabs avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.