Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| start [2024/10/02 16:41] – fponzi | start [2025/07/15 17:51] (current) – fponzi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Welcome to the TLA+ Wiki ====== | ====== Welcome to the TLA+ Wiki ====== | ||
| + | |||
| This wiki is community driven, and aims to become a useful resource for TLA+ users. | This wiki is community driven, and aims to become a useful resource for TLA+ users. | ||
| - | This wiki was created in response to the [[http:// | + | ===== TLA+ and TLC ====== |
| + | TLA+ is a high-level language for modeling programs and systems--especially concurrent and distributed ones. It's based on the idea that the best way to describe things precisely is with simple mathematics. TLA+ and its tools are useful for eliminating fundamental design errors, which are hard to find and expensive to correct in code. | ||
| - | - **Difficulty in Understanding Existing Codebase and Documentation**: | + | TLC is a model checker |
| - | - **Navigation and Documentation**: | + | < |
| - | | + | ----- MODULE HourClock ----- |
| + | EXTENDS Naturals | ||
| + | VARIABLE hr | ||
| + | HCini == hr \in (1 .. 12) | ||
| + | HCnxt == hr' = IF hr # 12 THEN hr + 1 ELSE 1 | ||
| + | HC == HCini /\ [][HCnxt]_hr | ||
| + | ------------------------ | ||
| + | THEOREM | ||
| + | ======================= | ||
| - | The takeaway also sums up the mission | + | ----- CONFIG HourClock ----- |
| + | (***************************************************************************) | ||
| + | (* This is a TLC configuration file for testing that HCini is an invariant *) | ||
| + | (* of the specification HC *) | ||
| + | (***************************************************************************) | ||
| - | > Streamlining Documentation: | + | SPECIFICATION HC |
| + | \* This statement tells TLC that HC is the specification that it | ||
| + | \* should check. | ||
| - | This is a community-backed effort, so if you find errors or suggestions/ | + | INVARIANT HCini |
| - | + | | |
| - | If you want to contribute, please check [[wiki: | + | \* invariant of the specification--in other words, that the |
| + | \* specification implies | ||
| + | ====================== | ||
| + | </ | ||
| ==== Contributing ==== | ==== Contributing ==== | ||
| + | These are some of the ways you can contribute. | ||
| + | |||
| + | === Wiki === | ||
| - | Contribution | + | Contributions |
| - | In order to contribute you will need to register | + | To contribute you will need to register an account |
| - | You can learn the syntax from [[wiki: | + | You can learn the syntax from [[wiki: |
| + | === Tools === | ||
| - | ==== About ==== | + | Currently the main areas are the [[codebase: |
| - | This wiki is hosted on an Azure VM. The wiki is implemented with the [[https://www.dokuwiki.org/|dokuwiki]] software. If you have questions, suggestions or feedback **about the wiki**, please reach out to fponzi+tlapluswiki at fponzi.me. | + | If you're looking for some inspiration, |
| ---- | ---- | ||