Effect4

What the evidence means

This guide explains how to interpret formal evidence across Effect4. It covers theorems, planned goals, theorems proved modulo goals, the trust ceiling on axioms, and why claims restrict to explicit fragments and observations.

The standard of proofproof-standard

Effect4 states its runtime semantics as Lean definitions. Every claim in the semantics registry names the theorem that states it (tools/ProofGraph/Registry.lean).

No status is written by hand. The semantics report reads each theorem's proof in the built Lean environment and derives its status: proved, modulo or a planned goal.

Theorems and verified claimstheorems

A theorem is a Lean declaration whose type is a proposition, accepted by the kernel within the trust ceiling.

When a claim points to a theorem whose proof depends on no planned goals, the site marks the claim proved.

A proved theorem guarantees its conclusion whenever its hypotheses hold. However, theorems remain conditional on stated premises and do not establish facts outside their formal boundaries.

Planned goals and open obligationsplanned-goals

A planned goal is a theorem declared by proof_goal with a sorry body. It places a question in the theory before its proof exists (decisions row 203).

The site marks a claim that points to such a declaration as a goal.

Planned goals allow developers to state and verify downstream theorems before completing upstream proofs. Having no open planned goals does not mean the semantics is finished.

Proofs modulo planned goalsproofs-modulo

A theorem is proved modulo when its proof path reaches one or more planned goals. The site marks claims backed by such theorems as modulo.

A theorem proved modulo:

The open work part of the semantics pages lists each planned goal and the theorems that rest on it.

The trust ceiling on axiomstrust-ceiling

The repository enforces a strict trust ceiling on all proof declarations. The allowed axioms are propext (propositional extensionality) and Quot.sound (quotient soundness).

An automated axiom gate checks every declaration in Effect4 and Test:

So a proved claim rests on Lean's kernel and those two axioms, and on no postulate of the repository.

Fragments and observationsfragments-and-observations

No theorem in Effect4 relates two behaviours without naming the observation it compares. Each such theorem also names the fragment of programs it holds on.

A fragment defines a restricted set of programs or tapes where a theorem applies:

An observation is the part of a run that a theorem compares, such as the exits and the stores. An equal-observation theorem says that two behaviours give the same observation on every program of its fragment.

Equal observations do not imply that underlying runtime states are identical. Restricting claims to explicit fragments and observations prevents unjustified generalizations.

What evidence does not claimevidence-boundaries

A formal proof establishes exactly what its proposition states, subject to four strict boundaries:

Readers must inspect the formal proposition to identify the hypotheses, fragment, and observation governing each claim.