Effect4

How to read the site

This guide explains how to read the documentation site. It describes what each page holds, how status marks work, how keys connect parts, and how tools inspect JSON artifacts.

What a page holdspage-structure

Every page presents one topic with structured text. A page belongs to a site category such as guides, semantics, or the specimen.

Each page provides three formats:

The site derives pages from the loaded Lean environment and written Markdown sources. Generated pages show evidence from the repository, while written guides explain design principles.

Status words and marksstatus-marks

The site uses status words to communicate evidence. Each status word renders with a distinct visual mark in the interface:

These words keep evidence kinds distinct. A reader inspects the assigned mark to determine whether a claim rests on verified proofs or pending goals.

Keys and cross referenceskeys

A part of a page carries a unique anchor key. Headings define keys either from explicit attributes or from normalized title text.

A link refers to a key on the same page or across pages:

These keys allow readers and tools to cite exact parts without relying on line numbers.

The open workopen-work

The open work part of the semantics pages lists every open planned goal and every theorem proved modulo goals.

Each entry gives three things:

Dependency chains show how higher milestones depend on open goals. Readers trace these chains to see the remaining verification steps.

Figures and code blocksfigures

A figure draws a requirement's open work as a graph (decisions row 365). Its nodes are the planned goals and the theorems proved modulo them. An arrow goes from a node to a node its proof reaches first. Each node links to its claim or goal, and its mark gives its status.

Below each figure, the figure in words lists every node with its status and the nodes it points to. It serves a reader who does not see the picture, and a screen reader names the figure by its caption.

A code block shows a Lean statement or a definition. A statement longer than eight lines folds under its first line, and opens on demand (decisions row 366).

Reading the site as JSONjson-records

Machine agents read the site through structured JSON files. Every page directory contains a document.json file conforming to the effect4-document/1 format.

The root provides two additional JSON resources:

An automated agent parses these JSON files directly to verify claims, inspect dependency graphs, and follow part references.