Skip to content

Section 22 of 26

Effects and realization

Effects are inferred, not trusted annotations

Checking derives separate facts such as:

Do not collapse these into one pure: bool, and do not let an annotation lie a stronger property into existence.

Opaque/native backs must be confined to host-call/capability envelopes compatible with the semantic contract.

Provenance: #4070, #4071.


Realization invariance

Enforce the constitutional substitution law:

Changing the selected back may change performance, placement, resource use and evidence; it may not silently change authored semantic meaning outside explicitly admitted variability.

Default back eligibility requires the authored kind's semantic contract and compatible checked fore, not merely a same-shaped interface.

Therefore:

This law applies equally to model providers, audio sinks, mask stages, native/SIMD optimizations and other realization families.

Provenance: #4051, #3997, #4070.


Replay, retry, movement, fusion and memoization

These are legal only when checked meaning proves the exact required law.

Effect-free deterministic bounded work may be eligible for recomputation/fusion.

Effectful work may be replayed only under a stronger explicit semantic law such as idempotency/transactional protection/known-not-committed effect.

Replan must not duplicate a committed external effect merely to reconstruct graph progress.

No blanket retryable, memoize, or safe trust annotation.

Provenance: #4072.