AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH RESEARCH — AI SEMANTIC LIBRARY
DESIRED STATE ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-04
Authors: Mark Anthony Higgins — Sky Recursive AI
Licence: Open Research Licence (project attribution; exact terms unverified)
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/state-concepts/desired-state-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / State Concepts
Status: Proposed formalisation; published page and grammar not independently verified.
1. CANONICAL DEFINITION
A desired state specifies a preferred condition of a subject within a context, according to an identified goal holder, criteria and temporal scope. It is normative rather than descriptive: desirability does not establish actuality, probability, feasibility or authorisation. A desired state can be a single configuration, a set of acceptable configurations or a predicate over states and trajectories. Multiple desired states may coexist, conflict or change with context. A target is a more specifically operationalised desired state; a forecast is a prediction, not a preference.
2. ENTITY MODEL
D = (id, subject, holder, context, horizon, S, H, P, priority, evidence, version)
S: typed state space; H: hard constraints and mandatory goal predicates; P: soft preferences with declared direction, scale and weights; horizon: validity interval and optional deadline; holder: accountable originator of the preference. Record provenance, authority, uncertainty, revision history and links to actual and predicted states separately.
Assessment = (D.id, D.version, state.id, observationTime, assessmentTime, satisfaction, feasibility, gap, evidence, method)
Satisfaction ∈ {satisfied, unsatisfied, unknown, disputed, not_applicable}.
Feasibility ∈ {reachable, unreachable, unknown}; reachability is relative to a specified model, initial state, admissible actions and horizon. Missing evidence is not negative evidence.
3. CLASSIFICATION
Physical: specified physical configuration or operating range.
Functional: required capability or service outcome.
Computational: intended program or system configuration.
Semantic: desired knowledge representation or validated graph condition.
Operational: preferred process outcome or service level.
Individual or collective: preference of a person or authorised group.
Exact, interval, set-valued or predicate-based: alternative target representations.
Terminal or maintained: goal at a deadline or throughout an interval.
Conditional: applies only when its activation predicate holds.
Aspirational: preferred outcome not yet shown feasible.
4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation. g ∘ f applies f before g. Operators below are proposed local notation, not verified executable grammar.
F_define: (Subject, Holder, Context, GoalCriteria) → DesiredState
F_scope: (DesiredState, Horizon, StateSpace) → ScopedDesiredState
F_observe: (Subject, Context, Time, Evidence) → StateEstimate
F_validate: (DesiredState, Policy, Evidence) → ValidationReport
F_compare: (StateEstimate, ScopedDesiredState) → SatisfactionReport
F_gap: (StateEstimate, ScopedDesiredState, Metric) → GapReport
F_reach: (StateEstimate, ScopedDesiredState, TransitionModel, ActionSet) → FeasibilityReport
F_plan: (FeasibilityReport, Policy, ResourceBudget) → CandidatePlanSet
F_select: (CandidatePlanSet, PreferenceModel) → SelectionReport
F_authorise: (SelectionReport, Authority, Policy) → AuthorisationReport
F_execute: (AuthorisedPlan, Environment) → ExecutionRecord
F_reassess: (ExecutionRecord, Evidence, ScopedDesiredState) → SatisfactionReport
F_revise: (DesiredState, AuthorisedChange, Evidence) → CandidateDesiredState
F_commit: (CandidateDesiredState, ValidationReport, Authority) → VersionedDesiredState
Execution is a distinct, guarded operation; a goal or plan alone grants no permission to act.
5. COMPOSITE FLOWS
Goal definition: F_scope ∘ F_define, with scope parameters supplied explicitly.
Assessment: observe subject; validate goal; compare estimate against goal; compute gap where a valid metric exists.
Planning: observe → assess → reachability analysis → candidate plans → selection → authorisation.
Closed loop: observe → compare → plan → authorise → execute → observe → reassess.
Parallel goal assessment: evaluate each goal independently against the same state version; merge reports by goal identifier, retaining conflicts and uncertainty. Do not average away hard constraint violations.
Goal revision: propose change → validate criteria and authority → commit new version → reassess. Keep original goals and their historical assessments intact.
6. MATHEMATICAL SEMANTICS
Let S be the state space, C the context and T the time domain. Define A(C,t) = {s ∈ S : every mandatory predicate h_i(s,C,t) is true}. A is the acceptable goal region, not necessarily reachable. An empty A indicates incompatible mandatory criteria under the declared model.
For a metric d and nonempty A, gap(s,A) = inf_{a∈A} d(s,a). Zero gap alone implies membership only when A is closed in the metric space. For empty A report infeasible criteria, not a finite gap. For incomparable categorical states use predicates rather than arbitrary numerical distances.
For soft criteria p_i(s) ∈ [0,1], with nonnegative weights w_i and sum_i w_i > 0, U(s) = sum_i w_i p_i(s) / sum_i w_i. Scores are meaningful only under the declared normalisation and preference model. Hard constraints take precedence over U. If weights are unavailable, preserve the vector of criteria and use Pareto dominance rather than inventing a ranking.
Given s_(k+1)=f(s_k,a_k,w_k), where a is an admissible action and w a disturbance, deterministic finite-horizon reachability is existence of an admissible action sequence reaching A by N. Robust reachability requires an admissible policy that succeeds for every disturbance in the declared set. Stochastic reachability uses a probability threshold with an explicit transition distribution; these are different claims.
For a state distribution b(s), P(s∈A)=integral_A b(s) ds (continuous) or sum_{s∈A} b(s) (discrete). A chance criterion P(s∈A) ≥ alpha requires a justified probability model. Unknown distributions cannot be treated as uniform by default.
For terminal goals evaluate s_N∈A. For maintained goals evaluate s_k∈A for all k in the specified interval. A terminal success does not establish maintenance success.
A candidate policy may minimise J = sum_{k=0}^{N-1} c(s_k,a_k) + terminal_loss(s_N), subject to admissible transitions, safety constraints and resource budgets. No optimum is claimed without the relevant existence assumptions or solver evidence.
7. STRUCTURAL INVARIANTS
I01 Every goal has a subject, holder and context.
I02 Actual, desired and predicted states retain distinct semantic roles.
I03 State variables and units must match before numerical comparison.
I04 Hard constraints cannot be compensated by soft preference scores.
I05 Conflicting mandatory criteria are explicitly reported.
I06 Unknown satisfaction cannot be silently converted to failure or success.
I07 Reachability claims include model, action set and horizon.
I08 Goal changes require versioning and appropriate authority.
I09 Observations retain event time and assessment time separately.
I10 A desired state does not confer execution authority.
I11 Historical assessments retain the goal version used.
I12 Recursive termination does not establish truth, feasibility or goal achievement.
8. RECURSIVE VALIDATION
At iteration k maintain G_k, the versioned graph of desired states, observations, criteria, plans and evidence. Compute candidate delta Δ_k from new evidence or authorised goal changes. Validate type compatibility, temporal scope, policy, provenance and conflict status before committing G_(k+1). Invalid candidates are quarantined with reasons. Recompute dependent assessments only against the committed version.
A fixed point G* satisfies R(G*)=G* for a fixed update operator R and unchanged inputs. Finite termination follows if each accepted update strictly decreases a nonnegative integer ranking function; otherwise convergence is not guaranteed. Stop on unchanged canonical graph, exhausted budget, detected repeated graph hash, unresolved conflict or explicit review requirement. Distinguish convergence of the graph from attainment of the desired physical or computational state. Reopen assessment when relevant evidence or criteria change.
9. EVIDENCE AND PROVENANCE
Record source identifier, observation method, event and ingestion times, units, uncertainty, calibration status, context, model version, goal version, assessor and decision rationale. Preference evidence establishes what is wanted, not whether it is achieved. Measurement evidence establishes observed properties only within its validity scope. Preserve conflicting reports rather than overwriting them. Confidence scores are not probabilities unless calibrated and explicitly interpreted as such. Forecasts and simulations must remain labelled as model-derived.
10. WORKED EXAMPLES
E01 Thermal control: desired temperature 20–22 °C; observed 24 °C with negligible uncertainty; gap to closed interval is 2 °C. Cooling is a candidate action, not automatically authorised.
E02 Software: desired service configuration requires version 3 and passing health checks. Version 3 with unknown health checks yields unknown overall satisfaction, not confirmed success.
E03 Engineering: desired load capacity ≥100 kN and mass ≤50 kg. A candidate rated 110 kN but weighing 55 kg violates a mandatory constraint regardless of other benefits.
E04 Logistics: desired delivery by Friday. A forecast of Saturday indicates predicted non-attainment, not an observed missed deadline before Friday.
E05 Robotics: goal region is a permitted destination. A geometric path crossing a forbidden region is inadmissible even if it reaches the destination.
E06 Semantic library: desired graph contains typed, provenance-bearing assertions without prohibited contradictions. A consistent but incomplete graph may still fail mandatory coverage criteria.
E07 Resource planning: two feasible candidates have preference vectors (0.9,0.5) and (0.7,0.8). Neither dominates the other; a justified preference policy is needed to select one.
11. CROSS-ONTOLOGY INTEGRATION
State Concept: common state identity and representation.
Initial State: starting boundary for reachability.
Current State: observation or estimate used for comparison.
Previous State: historical assessments and transition provenance.
Future State: forecast or possible state, separate from desired state.
Condition Concept: activation predicates and mandatory criteria.
Effectiveness: degree of goal attainment; Efficiency: resources consumed in pursuit of goals.
Consistency and Coherence: validate compatibility of goals and knowledge assertions.
Engineering Entity State Graph and Recursive Engineering State: proposed mappings for state transitions and versioned assessment.
Planning and Decision entities: candidate actions and authorised selection. Mappings are conceptual integration proposals, not verified identifiers or equivalence assertions.
12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 Exact target equals observed state: satisfied if all criteria verified.
T02 Observation outside closed interval: unsatisfied; positive metric gap.
T03 Missing required observation: unknown, unless another verified criterion already fails.
T04 Incompatible mandatory predicates: empty goal region and conflict report.
T05 High utility with failed hard constraint: candidate rejected.
T06 Forecast meets target but no observation: predicted satisfaction only.
T07 Target unreachable within model horizon: unreachable under stated model, not universally impossible.
T08 Terminal goal reached after deadline: deadline criterion unsatisfied.
T09 Maintained goal violated during interval: unsatisfied even if terminal state meets target.
T10 Unauthorised goal revision: reject commit; preserve original version.
T11 Repeated graph state in recursive update: stop and report cycle, not successful attainment.
T12 Incompatible units or missing conversion: reject numerical comparison pending resolution.
13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Desired State Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library.
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/state-concepts/desired-state-ontology.html
Original proposed formalisation, not a verified transcription of the source page. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Published grammar compatibility, source content and exact licence terms have not been independently verified. Acceptance tests are proposed, not executed.
END OF SPECIFICATION