Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

FormaSL Formalization Execution Protocol

Status: STABLE
Authority: EXECUTION-PROTOCOL
Normative semantics: NONE
Parent process authority: docs/design/DESIGN-METHOD.md Subject authority: the applicable current formalization contract
Purpose: govern contract-driven mechanization so proof engineering cannot silently choose, weaken, substitute, or complete semantic meaning left unresolved at the contract boundary.

This protocol is operational. It does not create language semantics, change architecture, or replace a subject formalization contract.

PROJECT / SEMANTIC AUTHORITY
-> SUBJECT FORMALIZATION CONTRACT
-> THIS EXECUTION PROTOCOL
-> ACCEPTANCE TYPES
-> PROOF / WITNESS IMPLEMENTATION
-> KERNEL / CHECKER

If this protocol and a subject contract conflict about semantic meaning, the subject contract governs. If a subject contract is materially underdetermined, execution stops; this protocol does not fill the gap.


1. Core boundary

Preserve:

CONTRACT DEFINES THE CLAIM
ACCEPTANCE INTERFACE DEFINES WHAT COUNTS AS DISCHARGE
MECHANIZATION DEFINES HOW DISCHARGE IS CONSTRUCTED
KERNEL CHECKS ONLY THE PROPOSITION ACTUALLY ENCODED

Therefore:

CODE != CONTRACT
TYPECHECK PASS != CONTRACT SATISFACTION
PROOF TERM != CORRECT FORMALIZATION
SIMILAR PROPOSITION != CONTRACT OBLIGATION
CARRIER TOKEN != SEMANTIC RELATION BY DEFAULT

A proof assistant may prove the wrong proposition perfectly. Preventing that is an acceptance-interface responsibility before proof search.


2. Required execution order

For every material formalization subject:

NORMATIVE SEMANTICS / ARCHITECTURE
-> FORMALIZATION CONTRACT
-> AUTHORITY / CONTRACT PREFLIGHT
-> DENOTATION CLOSURE
-> CANONICAL FORMAL OBLIGATION MATRIX
-> CANONICAL ACCEPTANCE PROPOSITIONS
-> MECHANIZATION ACCEPTANCE INTERFACE
-> TYPE-LEVEL DESTRUCTIVE PREFLIGHT
-> PROOF / WITNESS IMPLEMENTATION
-> KERNEL CHECKING
-> FULL DESTRUCTIVE CONTRACT-TO-TYPE VERIFICATION
-> SUFFICIENCY / CLOSURE
-> INDEPENDENT R2 VERIFICATION WHEN REQUIRED

Do not skip from semantic prose to witness implementation.


3. Authority and contract preflight

Before proof implementation:

  1. read repository-level and nested instructions;
  2. identify the current normative owner and subject formalization contract;
  3. verify all normative entrypoints resolve to one current owner;
  4. reject stale amendments, competing owners, or contradictory current-state blocks;
  5. inventory every ACTIVE current-scope material obligation;
  6. verify its claim class;
  7. verify its formal-determinacy status;
  8. verify exact laws for NO-DEFAULT-LAW rows;
  9. verify every required representation bridge or opaque-standing boundary;
  10. verify no current-scope material row is NOT YET MECHANIZABLE.

A material ambiguity produces:

MATERIAL_CONTRACT_FAILURE

not a proof-engineering choice.


4. Denotation closure preflight

For every material normative relation or standing that crosses a representation boundary, reconstruct:

NORMATIVE RELATION / CLAIM
FORMAL VARIABLES / QUANTIFIERS
THEORY / MODEL CONTEXT
REPRESENTATION CARRIER, IF ANY
FORMAL DENOTATION
DENOTATION LEVEL
CARRIER IDENTITY RELEVANCE
SEMANTIC KEY / FIBER KEY
EXACT POSITIVE / NEGATIVE DOMAIN
REPRESENTATION BRIDGE, IF ANY
CANONICAL ACCEPTANCE PROPOSITION

DENOTATION LEVEL must be one of:

TOKEN
FIBER / RELATION
OPAQUE
BRIDGED
NOT APPLICABLE

Interpretation:

  • TOKEN: carrier identity is part of the normative proposition;
  • FIBER / RELATION: one or more carrier values realize the same normative relation instance according to explicit semantic coordinates;
  • OPAQUE: the official standing is consumed through the model interface without inventing additional calculus;
  • BRIDGED: a checked representation theorem determines denotation;
  • NOT APPLICABLE: no material carrier/denotation boundary exists for the claim.

For FIBER / RELATION, the semantic key must be explicit. Example shape:

StandingAt(M,k)
:= exists token.
     SemanticKey(token) = k
     AND EstablishedStanding(M,token)

A negative relation-level claim must refute the complete normative fiber, not one selected representative:

not StandingAt(M,k)

!=
not EstablishedStanding(M,selected-token)

unless the contract explicitly makes selected-token identity normative.

Denotation closure hard stop

If proof engineering must choose:

  • which carrier fields define the normative relation;
  • whether token identity is material;
  • which arguments correspond across two standings;
  • whether negation ranges over one token or a fiber;
  • which candidate domain is quantified;

then:

DENOTATION_CLOSURE = FAIL
FORMAL DETERMINACY = NOT ESTABLISHED FOR THAT DIMENSION
PROOF IMPLEMENTATION = STOP

Return to the contract owner.


5. Canonical claim lock

Before implementing proofs, freeze for every material obligation:

OBLIGATION-ID
ROW STATUS
NORMATIVE AUTHORITY
CLAIM CLASS
FORMAL DETERMINACY
NORMATIVE CLAIM
FORMAL VARIABLES / QUANTIFIERS
MODEL / THEORY CONTEXT
OFFICIAL SEMANTIC RELATIONS
REPRESENTATION CARRIER
FORMAL DENOTATION
DENOTATION LEVEL
CARRIER IDENTITY RELEVANCE
SEMANTIC KEY / FIBER KEY
REPRESENTATION BRIDGE, IF ANY
ANTECEDENT
EXACT CONSEQUENT / TARGET
AUTHORIZED ASSUMPTIONS / LAW BUDGET
REQUIRED ARTIFACT CLASS
ANTI-VACUITY CONDITION
FORBIDDEN SUBSTITUTE
CANONICAL ACCEPTANCE PROPOSITION
EXPECTED ACCEPTANCE TYPE

The claim lock is the only semantic input to proof implementation.

Ordinary proof engineering may change helpers, binders, rewrites, transports, pattern matching, module decomposition, proof terms and witness-local construction details.

It must not silently change any locked semantic dimension.


6. Acceptance type first

Before building a material witness/proof, write or reconstruct the expected acceptance type from the claim lock.

Audit it without reference to the intended proof term:

Does it quantify over the right objects?
Does it bind the required model/theory?
Does it exercise the official relation?
Does it encode the exact denotation level?
Does it use the correct semantic fiber/key?
Does token identity affect acceptance only when normatively material?
Is the antecedent constructively inhabited where required?
Is the exact consequent proved/refuted?
Can the correct obligation ID map to another proposition?
Can a weaker proposition satisfy the same field?
Can an unrelated local predicate/world satisfy it?
Can a representative token substitute for a relation/fiber?
Can a required row be omitted from the final root?

No material proof implementation begins until this preflight passes.


7. Type-level destructive preflight

Run destructive attacks against the acceptance interface before relying on witness fixtures.

Mandatory where applicable:

SUBSTITUTION
SHADOW-WORLD
VACUITY
WEAKENED-CONSEQUENT
ANTECEDENT-DROP
LABEL-TO-CLAIM
INDEXED-WRONG-PROPOSITION
OBLIGATION-OMISSION
CLAIM-CLASS
OPAQUE-STANDING-LAUNDERING
BIDIRECTIONAL-MATERIAL-COVERAGE
CARRIER-MULTIPLICITY / TOKEN-FIBER

Carrier-multiplicity / token-fiber attack

For every material claim whose carrier has representation identity or multiplicity beyond the normative relation coordinates:

  1. construct or reason about t1 and t2 with distinct representation identity;
  2. preserve every semantic coordinate relevant to the normative claim;
  3. vary the standing of t1 and t2 adversarially;
  4. attempt to satisfy the acceptance type with one representative absent while another representative in the same normative fiber is established.

For a fiber/relation-level negative claim, acceptance MUST reject that construction.

For a token-level claim, the contract must explicitly justify why token identity belongs to the proposition.

This attack is required at the acceptance boundary, not merely as a later witness regression.


8. Proof and witness implementation

Only after Sections 3-7 pass may proof implementation begin.

Proofs must use:

  • official relations as interpreted by the required model; or
  • an explicitly authorized and checked representation bridge.

Do not create local semantic predicates/worlds to make obligations easy.

Witnesses instantiate theory; they do not define theory.

CANONICAL WITNESS != SEMANTIC AXIOM
FIXTURE != CLAIM DEFINITION

Where a countermodel is required, preserve in one lawful model:

INHABITED EXACT ANTECEDENT
+
REFUTATION OF EXACT CONSEQUENT

For NO-DEFAULT-LAW, also preserve exact absence from the authorized Core law budget.


9. Sufficiency admission

Before any artifact enters Sufficiency, Verified, Passed, or equivalent, reconstruct:

OBLIGATION-ID
CLAIM LOCK
CANONICAL ACCEPTANCE PROPOSITION
IMPLEMENTED ACCEPTANCE TYPE
ACTUAL ARTIFACT TYPE
MODEL / THEORY
OFFICIAL RELATIONS
DENOTATION / FIBER MAPPING
REPRESENTATION BRIDGE
ASSUMPTION FOOTPRINT
EVIDENCE CLASS
KERNEL / EXTERNAL CHECK STATUS

A declaration name, obligation ID, report, footprint, fixture, or passing kernel cannot substitute for this mapping.

The final root must be structurally impossible to inhabit when an ACTIVE material obligation is missing or replaced by a weaker/different proposition.


10. Verification economics

Use staged verification:

WP START
  -> authority/contract preflight
  -> denotation closure
  -> batch claim-lock freeze
  -> type-level destructive preflight

INNER LOOP
  -> cheapest invalidated checks only

SEMANTIC BLOCK COMPLETE
  -> targeted attacks relevant to that block

FULL CANDIDATE
  -> full kernel/integration gates
  -> complete adversarial suite
  -> failure-pattern regression suite
  -> closure falsification
  -> freeze candidate

POST-FREEZE R2
  -> separate independent destructive verification

Do not run full governance after every helper edit. Do not defer acceptance-interface correctness until the final verification pass.


11. Failure-class escalation

A discovered false-pass is evidence about a possible class, not merely its first row.

Required response:

FIRST MATERIAL FALSE-PASS OF A CLASS
-> preserve reproducer
-> repair instance if authority is sufficient
-> define the failure class
-> scan the complete applicable acceptance surface
-> add a reusable adversarial regression

SECOND INDEPENDENT OCCURRENCE OF SAME CLASS
-> STOP row-by-row patching
-> REOPEN the mechanization acceptance interface
-> perform systemic repair
-> rerun the class-wide scan
-> re-freeze all affected claim/type evidence

Do not wait for a third or sixth occurrence.

A systemic acceptance repair is still not semantic redesign. If it requires changing normative meaning, stop for the normative owner.


12. Regression failure classes

At minimum test for:

FP-01 ARBITRARY PREDICATE SUBSTITUTION
FP-02 CORRECT INDEX / WRONG ACCEPTANCE PROPOSITION
FP-03 LABEL COMPLETION
FP-04 RECORDED BUT SEMANTICALLY IRRELEVANT INPUT
FP-05 ONE-WAY COVERAGE
FP-06 WRONG CLAIM CLASS
FP-07 OPAQUE STANDING REPLACED BY STRUCTURAL PROXY
FP-08 SPLIT-BRAIN AUTHORITY
FP-09 SELF-AUDIT BLIND SPOT
FP-10 REPRESENTATIVE-TOKEN / SEMANTIC-FIBER CONFUSION

FP-10 means:

normative relation/standing is fiber-level
-> representation carrier has additional identity/multiplicity
-> acceptance refutes/proves only one selected carrier value
-> another value in the same semantic fiber can make the normative proposition differ
-> acceptance still succeeds

Any reproduced failure class blocks sufficiency.


13. Full candidate adversarial suite

Before candidate freeze, execute every applicable attack, including:

  1. substitution;
  2. shadow-world;
  3. vacuity;
  4. weakened-consequent;
  5. antecedent-drop;
  6. fixture-overfit;
  7. definitional-laundering;
  8. self-grounding;
  9. law-smuggling;
  10. enumerative-audit;
  11. evidence-class;
  12. model-mixing;
  13. relabeling;
  14. representation-erasure;
  15. label-to-claim;
  16. indexed-wrong-proposition;
  17. obligation-omission;
  18. claim-class;
  19. bidirectional-material-coverage;
  20. opaque-standing-laundering;
  21. authority-discovery;
  22. carrier-multiplicity / token-fiber.

Each attack is an attempt to falsify the current frozen claim set under the subject’s declared acceptance horizon. The suite does not authorize inventing a stronger claim and then treating the candidate’s failure to satisfy that stronger claim as a defect.

A material surviving attack means the candidate is not sufficient even if the kernel is green.


14. Kernel boundary

Kernel checking and claim alignment are separate gates:

KERNEL GATE
AND
CLAIM-ALIGNMENT GATE

A kernel pass means only that the submitted term inhabits the submitted type under the trusted foundation.

After the final relevant edit, rerun every invalidated kernel/integration gate.

Static scans, manifests and reports retain their actual evidence class.


15. Independent R2 verification

For R2 formalization closure, the implementing executor’s self-audit is supporting evidence, not independent verification.

Freeze the whole semantically cohesive candidate, then perform a separate destructive verification in another agent/session or explicitly isolated verification context when available.

The independent verifier:

  • treats all previous PASS, CANDIDATE, lawful, exact, probe names and reports as claims;
  • reconstructs claim locks independently;
  • attacks acceptance types and the final sufficiency root;
  • does not silently remediate findings;
  • returns a minimal reproducer/type mismatch for material failures.

A material finding means FAILED even when kernel checks are green.

15.1 Post-freeze verification jurisdiction

Before independent verification begins, freeze:

CURRENT CLAIM SET
CURRENT ACCEPTANCE HORIZON
CURRENT ACCEPTANCE TYPES / ROOT
CANDIDATE REVISION

Post-freeze verification MAY falsify those frozen claims. It MUST NOT expand them.

The verifier MAY use higher authority to show that a frozen claim directly contradicts an already-applicable requirement. It MUST NOT use higher authority as a pretext to design a richer future calculus, add a new semantic coordinate, strengthen a current theorem, or complete a subject that the current contract explicitly defers.

VERIFICATION MAY FALSIFY THE CONTRACT.
VERIFICATION MAY NOT EXTEND THE CONTRACT.

A plausible alternative semantics is not itself a verification failure.

15.2 Novel finding admission gate

A novel adversarial observation blocks closure only if it satisfies the parent method’s finding-admission rule and is material within the subject’s current acceptance horizon.

At minimum, an admitted finding identifies:

FROZEN CLAIM / GATE
CURRENT ACCEPTANCE HORIZON
CURRENT ACCEPTANCE TYPE / ROOT
CONCRETE COUNTERMODEL / FALSE-PASS / TYPE MISMATCH / OMISSION / AUTHORITY CONTRADICTION
WHY THE CURRENT BOUNDARY CAN PASS WHILE THE FROZEN CLAIM FAILS

Canonical acceptance false-pass shape:

exists artifact/model A.
  CURRENT_ACCEPTANCE(A)
  AND
  not CURRENT_FROZEN_CLAIM(A)

A directly demonstrated contradiction between a frozen claim and a higher current authority, or a demonstrable impossibility of satisfying a required current gate, also qualifies.

The following do NOT block closure without such evidence:

A DIFFERENT SEMANTICS IS POSSIBLE
A RICHER THEORY MAY BE USEFUL LATER
A CARRIER HAS AN UNUSED FIELD
A FUTURE SUBJECT MAY NEED AN EXTRA COORDINATE
A STRONGER THEOREM WOULD BE DESIRABLE
A CLEANER REPRESENTATION EXISTS

Classify those observations as:

NON-BLOCKING OBSERVATION
DEFERRED BY PROCESS
FUTURE DESIGN INPUT
OUTSIDE CURRENT ACCEPTANCE HORIZON

Preserve them when useful, then continue the current gate.


16. Closure questions

Before VERIFIED, all applicable answers must be NO:

  1. Is any accepted artifact weaker/different from its normative obligation?
  2. Is any material denotation or identity-relevance choice left to proof engineering?
  3. Can a representative token substitute for a relation/fiber-level claim?
  4. Can two distinct representation tokens with the same normative semantic key change acceptance incorrectly?
  5. Does any accepted artifact use an unauthorized local/shadow relation or world?
  6. Can an antecedent be omitted or made vacuous?
  7. Does any proof use laws outside its authorized budget?
  8. Is metadata/report/trace presented as stronger semantic evidence?
  9. Can a required ACTIVE obligation be omitted or substituted at the root?
  10. Can a correct obligation ID map to a weaker/different proposition?
  11. Has any claim class weakened?
  12. Has any opaque standing been replaced by an unbridged structural proxy?
  13. Can a governed environment omit a material input?
  14. Do all normative entrypoints resolve to one current owner?
  15. Has any failure class recurred without class-wide escalation and scan?
  16. Are all invalidated kernel gates rerun after the final relevant edit?
  17. Does any current-scope material obligation remain NOT YET MECHANIZABLE?
  18. Did verification expand the frozen claim set instead of falsifying it?
  19. Is any blocking finding based only on a plausible stronger/alternative semantics without concrete violation of a frozen in-horizon obligation?
  20. Is any unresolved question outside the acceptance horizon incorrectly classified as a current blocker?

Any YES blocks VERIFIED. Questions 18-20 also protect the verification process from manufacturing new obligations during closure.


17. Repository and state discipline

Formalization execution must obey repository-specific Git and state rules.

Do not treat transient work-package state as semantic authority.

Do not update normative documents merely to make current implementation appear compliant.

A contract hardening that changes what counts as acceptable evidence invalidates affected prior acceptance/sufficiency claims until revalidation under the hardened interface.

CONTRACT / ACCEPTANCE HARDENING
-> INVALIDATE AFFECTED SUFFICIENCY EVIDENCE
-> REMEDIATE / REVALIDATE
-> NEW CANDIDATE
-> INDEPENDENT VERIFICATION

A governance clarification that only fixes adversarial jurisdiction, acceptance horizon or stop rules and does not change the frozen normative claims, denotations or acceptance propositions does not by itself invalidate otherwise valid proof artifacts. Verification still runs against the repository revision containing that clarification.


18. Terminal principle

The process is complete only when invalid formalizations are blocked at the acceptance boundary, not merely absent from current fixtures.

CORRECT NORMATIVE CLAIM
-> CLOSED DENOTATION
-> EXACT ACCEPTANCE PROPOSITION
-> OFFICIAL MODEL / RELATION
-> CORRECT ARTIFACT CLASS
-> NON-VACUOUS EVIDENCE
-> STRUCTURALLY CLOSED SUFFICIENCY ROOT
-> DESTRUCTIVE ATTACKS REJECTED
-> KERNEL ACCEPTS
-> INDEPENDENT CLOSURE

Adversarial analysis is complete when the complete current frozen acceptance claim set has been attacked under the declared attack model and no admitted material finding remains.

It is not required to exhaust all conceivable alternative semantics, future calculi, stronger theorems or richer representations.

When the subject contract’s terminal gates pass and the required independent verification finds no admitted material finding:

SUFFICIENT FORMALIZATION = PASS
VERIFIED = YES
CURRENT FORMALIZATION SUBJECT = TERMINAL
PROCEED TO THE NEXT AUTHORIZED STAGE

The governing rules are:

Prove the semantic claim, not the representative chosen to encode it.

Falsify the frozen contract; do not expand it during verification.