Active formalization project

State-Based Axioms

Formalizing the Magic: The Gathering Comprehensive Rules as a versioned, dependency-aware state-transition system.

Formal semanticsDependency graphsState transitionsRule consistency

Why this rule system

A serious test for applied formalization

The Comprehensive Rules form a large evolving specification with dense cross-references, exceptions, timing, priority, replacement effects, and state-based actions. Natural-language rules that appear local often depend on definitions or transitions elsewhere in the document.

This makes the project more than a game exercise. It is a controlled setting for methods that also matter in industry: dependency management, specification drift, exception handling, and consistency across versions.

Method

Graph first, formal layer second

  1. Parse and identify rules

    Source layer

    Preserve identifiers, sections, versions, definitions, and explicit cross-references.

  2. Build the dependency graph

    Structural layer

    Make direct and indirect dependencies visible before committing to formal definitions.

  3. Define state and transitions

    Semantic layer

    Represent game objects, zones, events, and state changes with explicit preconditions.

  4. State checkable properties

    Verification layer

    Use the formal layer to study consistency, reachability, and interactions between rules.

Current boundaries

What the project claims today

Established direction

The project has a named scope and a dependency-first formalization plan for a versioned rules corpus.

Not yet claimed

No complete formalization, global consistency theorem, or public verified corpus is claimed at this stage.

Status

Work in progress

The repository is not currently presented as a public release. This page records the research objective and method.

Discuss formalization work