# tlaplus/Examples

A collection of TLA⁺ specifications of varying complexities.

Repository: https://github.com/tlaplus/Examples
Canonical: https://ross.abutalabs.com/products/tlaplus-examples
Language: TLA
License: NOASSERTION
License Family: other
Topics: tlaplus, pluscal
Last push: 2026-08-26T17:18:25+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 3837, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1558, forks 223 (observed 2026-08-28T04:05:03.460532+00:00)

## What it is
A curated collection of TLA+ specifications and PlusCal algorithms of varying complexity, validated by CI. It serves as an example library for learning formal specification, a corpus for testing TLA+ tooling, and a set of case studies.

## Use cases
- learn how to write TLA+ specifications
- find PlusCal algorithm examples
- test TLA+ language tools against a diverse spec corpus
- study formal verification case studies
- find example TLC model configurations using features like symmetry or views
- find models that fail with safety or liveness violations

## When to choose
- you are learning TLA+ or PlusCal and want real-world examples
- you are building TLA+ tooling and need a test corpus
- you want reference specs for distributed algorithms or concurrent systems

## When to avoid
- you need a runnable application or library rather than specifications
- you are not working with formal methods or TLA+

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, developer-tools, testing
- domain: tutorials, developer-tools, education, programming-languages
- platform: cross-platform
- tags: tla-plus, formal-methods, formal-verification, pluscal, specifications, model-checking, examples, tlc, apalache, algorithms

## Member repositories
- tlaplus/Examples (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.460532+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:29:55.416514+00:00, confidence not recorded.
  - readme: https://github.com/tlaplus/Examples (fetched 2026-08-28T04:05:03.460532+00:00, sha 33426aeb661c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
