Jump to text
On this page
Copy and source
Published source confirmed at last check

Source changed 2026-11-26 21:07:53 UTC · snapshot created 2026-11-26 21:08:36 UTC · last check 2026-11-29 22:30:10 UTC

C.3.A:4 - Normative guard macros

Names such as Guard_TypedClaim are editorial handles. A context may alias them only when the same objects, values, and refusal distinctions remain recoverable.

C.3.A:4.1 - Guard_TypedClaim — declaration-level admission

Intent. Decide whether claim C, quantified over local kind k_claim, may enter a receiving use restricted to kind k_receive in TargetSlice, without claiming anything yet about an unnamed candidate.

Guard_TypedClaim(C, k_claim, claimSignatureEdition, k_receive, receiveSignatureEdition, TargetSlice, thresholds?) SHALL:

  1. recover the exact KindSignature declaration episteme editions whose respective EntityOfConcern values are k_claim and k_receive, and whose evaluation domains and effective reference schemes cover the declared use; when both roles use the same kind and edition, state that identity rather than duplicating the declaration;
  2. establish declaration-level kind compatibility:
    • the kinds are identical or SubkindOfObtains(k_receive, k_claim; effectiveReferenceScheme) holds under C.3.1, with an identified R_sub : U.SubkindOf occurrence only when occurrence identity is needed; or
    • for a required directional correspondence between independently identified distinct kinds, an obtaining KindBridge relates exact source k_claim and target k_receive under the paired source and target KindSignature editions, and a separate current bridge assertion states the mapping, applicability, loss, evidence, admitted receiving use, and any CL^k required by the consumed assurance or calibration account;
  3. require U.ClaimScope(C) to cover the exact TargetSlice, preserve every declared slice selector, and name an explicit Gamma_time when membership depends on time under A.2.6;
  4. apply only the justified bridge consequences to R;
  5. check evidence freshness separately when the admission implies reliance; and
  6. check the policy-required expression properties on the exact claim or declaration episteme under C.2.3; a threshold is meaningful only on its named, justified local scale.

The subkind direction above is contravariant only for restricting a universally quantified claim: a claim over Vehicle may enter a PassengerCar-restricted use when PassengerCar is a subkind of Vehicle. It is not a generic compatibility direction for producer outputs, operation arguments, mutable positions, or arbitrary typed slots; each such use states its own variance rule.

The inclusion or correspondence must cover the receiving candidates for which the claim will be used. Inclusion established on one closed roster supports restriction to that roster. Applying the rule to an additional candidate needs grounds covering that candidate. For distinct kinds, establish that the mapping covers the required target cases and preserves the premise and consequence the receiver needs. An unrestricted target use requires that ground across its entire domain.

This guard MUST NOT invent an anonymous candidate or infer a candidate classification from declaration compatibility.

C.3.A:4.2 - Guard_CandidateUse — apply a typed claim to an exact candidate

Intent. Decide whether claim C, quantified over k_claim, may be used for exact target-side candidate candidate in a receiving use restricted to k_receive.

Guard_CandidateUse(C, candidate, k_claim, claimSignatureEdition, k_receive, receiveSignatureEdition, TargetSlice) SHALL:

  1. identify the candidate under its direct governor before classification;
  2. perform the declaration, kind-compatibility, and Scope/time checks in Guard_TypedClaim steps 1–3 for the same editions and slice;
  3. check receiving admissibility; refuse on not-applicable without forming a judgment, otherwise evaluate J(candidate, k_receive, receiveSignatureEdition, TargetSlice);
  4. continue candidate-bearing use only on true: for a proper subkind, the already established SubkindOfObtains(k_receive, k_claim; RS) supplies the monotone claim-kind consequence; for a bridged use, rely only through the obtaining KindBridge and its current assertion, without inventing a source-context candidate judgment;
  5. refuse on known false while retaining that value;
  6. refuse on unknown while retaining the missing dependency or unavailable support reason; and
  7. for a true receiving judgment, complete the R, freshness, and policy checks in Guard_TypedClaim steps 4–6 before allowing use.

Evidence may support a classification assertion, but record presence, bridge presence, or guard invocation MUST NOT make the candidate satisfy the receiving criterion. When k_claim and k_receive are identical under one declaration edition, record that identity and evaluate the candidate once.

C.3.A:4.3 - Guard_TypedJoin — compose typed producers and consumers

Intent. Compose producer A, which declares output kind k_A, with consumer B, which expects input kind k_B.

Guard_TypedJoin(A, k_A, edition_A; B, k_B, edition_B; TargetSlice) SHALL:

  1. pin both declaration episteme editions;
  2. establish output-to-input compatibility in the covariant flow direction:
    • the kinds are identical or SubkindOfObtains(k_A, k_B; effectiveReferenceScheme) holds; or
    • for a bridged flow, an obtaining KindBridge maps k_A to exact, independently identified distinct target-side kind k_A', its separate assertion carries the current mapping and loss basis, and k_A' is identical to k_B or SubkindOfObtains(k_A', k_B; targetReferenceScheme) holds;
  3. compute serial scope as the intersection of the two governed scopes and require coverage of TargetSlice;
  4. when a produced candidate enters B, check admissibility and evaluate J(candidate, k_B, edition_B, TargetSlice) only for an admissible request; continue only on true, retaining not-applicable, false, and unknown as distinct refusal grounds; and
  5. route justified bridge consequences to R and check freshness before allowing use.

Declaration compatibility alone MUST NOT classify a future or actual output. Scope widening MUST NOT repair a type mismatch. The universal-claim variance rule in Guard_TypedClaim does not reverse this producer-to-consumer direction. For a promise covering every permitted output, check that compatibility holds over the producer’s full permitted output domain. An inclusion proved on one batch covers that batch.

C.3.A:4.4 - Guard_MaskedUse — exact RoleMask use

Intent. Use exact candidate candidate under a named RoleMask declaration in TargetSlice.

Guard_MaskedUse(artifact, candidate, kind, kindSignatureEdition, roleMaskEdition, TargetSlice) SHALL:

  1. recover the exact C.3.4 RoleMask declaration episteme, its base kind, pinned base signature edition, intended use, candidate-feature constraints, bindings, dependencies, and definedness;
  2. for cross-context use, compare base-kind identity and recover target declarations; when this use requires a correspondence between distinct kinds, establish the KindBridge relation and assertion under C.3.3 and recover any needed MaskAdapter declaration;
  3. check artifact scope separately through USM;
  4. check receiving admissibility; refuse on not-applicable without forming a judgment, otherwise evaluate J_mask(candidate, kind, kindSignatureEdition, roleMaskEdition, TargetSlice);
  5. continue only on true, refuse while preserving known false, and fail closed while preserving unknown;
  6. keep context predicates out of the candidate-feature criterion; and
  7. apply any justified bridge consequence to R and complete required freshness and policy checks before allowing use.

A mask name is not a kind synonym. Repeated mask use can trigger review for a separately identified local kind and independently obtaining U.SubkindOf relation; no guard or catalog action performs that admission.

C.3.A:4.5 - Guard_SpanUnion_Typed — parallel support lines

Intent. Publish SpanUnion for the same typed claim supported by independent lines.

For each line, the guard SHALL:

  1. recover the same governed claim, quantified kind, and signature edition;
  2. perform the declaration, kind-compatibility, and Scope/time checks in Guard_TypedClaim steps 1–3 for that line’s slice;
  3. when a line’s evidence is candidate-specific, bind each exact candidate, check admissibility, and retain its judgment when admissible;
  4. complete that line’s R, freshness, and policy checks, preserving its bridge consequences;
  5. provide the USM independence justification; and
  6. include no slice outside the union of covered line scopes.

If lines quantify over different kinds, normalize through separately justified kind relations or publish distinct claims; do not hide the difference in SpanUnion.

C.3.A:4.6 - Guard_XContext_Typed — cross-context typed reuse

Intent. Reuse claim C from a source context in target TargetSlice while keeping scope translation, kind correspondence, and target classification separate.

Guard_XContext_Typed(C, sourceKind, sourceSignatureEdition, targetKind, targetSignatureEdition, TargetSlice, candidate?) SHALL:

  1. compare source and target kind identity and establish declaration-level compatibility under §4.1 steps 1–2; if that compatibility relies on a directional correspondence between distinct kinds, recover the obtaining KindBridge and its assertion with pinned scheme/signature editions, mapping, definedness, loss, evidence, admitted use, and any CL^k required by the consumed assurance or calibration account;
  2. recover the independently identified target KindSignature edition;
  3. when the receiving claim requires Scope translation, recover the obtaining Scope Bridge and its applicable congruence assessment, the separate affirmative translation-use claim, and the current reliance branch under A.2.6;
  4. require Claim scope, translated when needed, to cover the exact TargetSlice with all its declared selectors, including any Gamma_time required by A.2.6;
  5. when the receiving use is candidate-bearing, check receiving admissibility and evaluate J(candidate, targetKind, targetSignatureEdition, TargetSlice) only for an admissible request; continue candidate-bearing use only on true, retaining not-applicable, false, and unknown as distinct refusal grounds;
  6. apply only justified scope- and kind-bridge consequences to R and complete required freshness and policy checks; and
  7. make the separate allow/refuse decision.

Use an earlier judgment for the target only when its conditions apply or its result entails the answer under the receiving criterion. Carry out any separately required assessment. For declaration-level use, omit step 5 and complete the use without forming a candidate judgment.