SYSE.53:4.5 - Obtain a witness or a justified search return
For a finite hand calculation, select an allowed variant for one root, propagate its requirements to the relevant instances, and retain the alternatives still allowed for each. When a choice empties an allowed set, preserve the reasons and return to a choice that can change that result. Explore another allowed branch. Repeat until a complete assignment satisfies the encoded constraints, every allowed branch has a justified exclusion, or the bounded search must stop.
Consider two required roots A and B with a shared D. A1 permits D1 or D2. B1 permits D2; B2 permits D3. All three D editions are available. Trying the preferred newer B2 with A1 empties D’s allowed set. That rejects this branch. Trying B1 instead leaves D2, so A1+B1+D2 is a witness. Rejecting the first branch did not establish overall infeasibility.
Retain the selected identities, features and instance bindings. Check every mandatory and activated conditional requirement against the complete assignment. A witness answers a request for one composition. If different groups retain the right to choose versions independently, determine which choices can coincide and whether every permitted combination still works at the shared interface. A central selection supplies that guarantee only when it can govern the choices concerned. An optimization or complete-list request requires grounds for its additional claim.
Distinguish the possible returns:
| Observation | Supported return |
|---|---|
| A complete assignment satisfies the encoded constraints and the required external premises are qualified. | A supported candidate composition for the named use and conditions; actual realization and task behavior remain to be obtained. |
| The encoded constraints have a witness, but a required semantic or operating premise is unresolved. | That conditional witness and the missing qualification; the whole compatibility claim stays open. |
| Every alternative in the declared finite problem is excluded under supported mandatory conditions. | Infeasibility of that problem, with an inspectable reason; not impossibility of every redesigned arrangement. |
| Search reached its time or resource bound without settling the alternatives. | An incomplete search, with any useful candidate and the unexplored scope. |
| Catalogue or source access is incomplete. | The missing input or coverage limit; absence from the visible set is not evidence about unseen alternatives. |
A resolver’s distinction between success, conflict, unsupported input and interrupted search must be preserved at the receiving interface. If a wrapper flattens them into one failure code, obtain the underlying result before interpreting it.