This note consolidates the operational modes of DIRAC — established piecewise across Prop. 1, Prop. 2 and Prop. 3 — into a single framework. A DIRAC mode is defined in Def. 5; this note enumerates the modes, their transforms, and their status.

Framing

DIRAC compiles a directed causal model into an energy landscape (Prop. 1) and then reshapes that landscape to answer a causal query; each mode (Def. 5) produces one job — the pair of Def. 7.

The preceding phases produced three distinct reshaping operations — a clamp penalty (Prop. 2), a mechanism swap (Prop. 3), and its soft/global specialisations — this framework collects them as one interface. Its job is to make the comparison between modes measurable.


The modes

Mode 0 — Joint sampling

  • Query: none — the unconditioned joint .
  • Transform: none; compile and sample directly.
  • Procedure: map each CPT to ; sample the resulting energy model.
  • Exactness: exact, and by Prop. 1 — a free correctness check.
  • Status: reference. The exact baseline, and the natural first implementation target on toy graphs (chain, fork, collider — factor census) before any intervention is added.

Mode 1 — Evidence Clamp

  • Query: — observational conditioning (level 1 in causal hierarchy of The Book of Why by Judea is seeing).
  • Transform: , with the evidence indices and target (clamping).
  • Procedure: keep the original graph; add a diagonal bias of strength pushing each evidence variable toward ; sample .
  • Exactness: as , with finite- leakage and (Prop. 2). Choice of follows the floor/ceiling/stop rule of Phase 5.
  • Status: reference — proven observational conditioning.

Mode 2 — Hard Intervention Reference

  • Query: — hard intervention (level 2 : doing).
  • Transform: delete the incoming edges of and replace its factor by the point mass ; equivalently with (Prop. 3, Def. 8 hard case).
  • Procedure: mutilate the DAG, install the point-mass CPT, recompile, sample.
  • Exactness: exact in the ideal model (). The point mass reintroduces zero entries, so its implementation inherits the / treatment of note 2.
  • Status: reference — the standard causal answer against which the physical pathways are judged.

Mode 3 — Soft Intervention Reference

  • Query: mechanism replacement , or the parent-free .
  • Transform: swap the factor; with (Prop. 3 soft case).
  • Procedure: install , recompile, sample.
  • Exactness: exact at every scale when is strictly positive — no limit and no leakage, unlike Mode 1.
  • Status: reference.

To be tested

Pure clamping on the unmutilated graph reproduces conditioning, not intervention: its distance to the do-reference flattens at the confounding-bias floor that no clamp strength closes. Recovering genuine intervention on the hardware therefore needs a mechanism that removes the incoming factor.

Mode 4 — Physical Clamp Test

  • Intuition: realise the intervention physically — reconfigure the backend so the parent-to- coupling terms vanish ( for ), performing graph mutilation directly rather than recompiling a mutilated model, then sample.
  • Aim: reproduce the Mode 2 reference by physical surgery.
  • Open: whether the backend supports the reconfiguration at all, its latency and cost, and whether the sampled distribution matches Mode 2. Not fixed — intuition only.
  • Status: to be tested.

Mode 5 — Virtual Mutilation

  • Intuition: leave the couplings untouched and inject a compensating field that cancels the incoming mechanism, reproducing mutilation virtually, then sample.
  • Aim: reproduce the modes 2, 3 & 4 without rewiring.
  • Open: feasibility within dynamic range, the higher-order/auxiliary cost of the order- compensating term (note 3), and fidelity to Mode 2. Not fixed — intuition only.
  • Status: to be tested.

Summary

ModeCausal queryTransform on Exact?StatusResult
0 — Joint samplingnone (baseline)none; sample exact, referenceProp. 1
1 — Evidence Clamplimit-exact, leakagereferenceProp. 2
2 — Hard Intervention Referencedrop parent edges + point massideal-exact; zeros → /referenceProp. 3
3 — Soft Intervention Referencemechanism swap factor for exact at every scale ()referenceProp. 3
4 —Physical Clamp Testrealise physicallyreconfigure (physical mutilation)open — intuitionto be tested
5 — Virtual Mutilationrealise virtuallycompensating field open — intuitionto be tested

The reference rows fix what the answer should be, still to be confirmed in a tryout; the two to-be-tested rows are the candidate ways of producing intervention on the hardware.


Deterministic entries: -smoothing

Any mode whose compiled energy contains a zero CPT entry — Mode 2’s point mass, and deterministic base CPTs generally — carries an infinite barrier that no finite-range backend can hold. -smoothing lifts every entry to a positive floor, capping the required dynamic range at (note 2, Phase 5). By Cor. 3.1 it is mechanically the global soft intervention , so it preserves and each mode’s exactness up to a target bias . It runs underneath the modes wherever a zero entry would otherwise diverge; its purpose is numerical faithfulness, not a query of its own.


Realisation as a job

Every mode compiles to a single job — the pair of Def. 7; no job edit is local (note 5). Mode 1’s clamp is therefore a job re-write rather than a live bias: cheap while (the matrix scale is unchanged) and a full re-emit once becomes the largest entry and sets the scale. Which side a given clamp lands on is a compiler decision taken in the driver, not a property of the mode.