Skip to main content

Invalid State Ontology

State Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 December 2026
Audio Overview
KIRETH RESEARCH — AI SEMANTIC LIBRARY
INVALID 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/invalid-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
InvalidState denotes a state for which at least one applicable mandatory constraint is demonstrably violated in a specified context, at a specified reference time and under a specified rule version. Invalidity is relational rather than an intrinsic universal property. A state may be valid under one specification and invalid under another. Unknown validity is not invalidity. Invalidity does not imply non-existence, instability, inactivity, undesirability or unreachability. An invalid state can persist or be an equilibrium. A malformed representation is distinguished from a correctly represented but inadmissible real-world state.

2. ENTITY MODEL
InvalidStateAssessment = (id, subject, state, context, time, ruleVersion, constraints, evaluations, evidence, status, provenance, revision).
Constraint = (id, applicability, predicate, mandatory, tolerance, version, authority).
Violation = (constraintId, observedValue, expectedCondition, witness, severity, time, evidence).
Evaluation status ∈ {satisfied, violated, unknown, disputed, not_applicable}.
Assessment status ∈ {valid, invalid, unknown, disputed, not_applicable}.
RepairCandidate = (sourceState, targetState, action, cost, preconditions, effects, authorisation, validation).
State identity and assessment identity are separate. Multiple assessments may refer to the same state without overwriting its history.

3. CLASSIFICATION
Structural invalidity: required components or relationships violate a schema.
Logical invalidity: a mandatory logical constraint is false under the declared semantics.
Semantic invalidity: meanings, types or relationships violate contextual requirements.
Numerical invalidity: a value violates a domain, range, unit or tolerance constraint.
Temporal invalidity: an ordering, duration or validity interval violates a rule.
Operational invalidity: an operating state breaches a mandatory operating envelope.
Composite invalidity: a subsystem or cross-subsystem constraint required by the composite is violated.
Transition invalidity: a proposed transition violates its guard or transition relation; this does not alone establish that its source state is invalid.
Representation invalidity: the encoding fails syntactic or schema requirements.
Safety invalidity: a mandatory safety constraint is violated; corrective action requires appropriate authority and independent safeguards.

4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation. g ∘ f applies f before g. These operators are proposed local specification notation, not verified executable grammar.
F_context: State × Context × Time → ScopedState
F_rules: ScopedState × RuleRegistry → ApplicableRuleSet
F_observe: ScopedState × Evidence → ObservationSet
F_evaluate: ScopedState × ApplicableRuleSet × ObservationSet → EvaluationSet
F_witness: EvaluationSet → ViolationSet
F_classify: EvaluationSet → AssessmentStatus
F_assess: ScopedState × EvaluationSet × ViolationSet → Assessment
F_propose: Assessment × ActionModel → RepairCandidateSet
F_authorise: RepairCandidateSet × Policy → AuthorisedCandidateSet
F_simulate: AuthorisedCandidateSet × TransitionModel → PredictedStateSet
F_validate: PredictedStateSet × RuleRegistry × Evidence → ValidationSet
F_commit: ValidatedUpdate × Authority × Version → VersionedRecord
F_audit: VersionedRecord → AuditRecord
Each transformation preserves subject identity, context and provenance unless an explicitly recorded mapping changes them. Partial transformations return typed errors or unknown results rather than silently fabricating values.

5. COMPOSITE FLOWS
Assessment:
State →[F_context] ScopedState →[F_rules + F_observe] ScopedEvidenceBundle →[F_evaluate] EvaluationSet →[F_witness + F_classify] AssessmentBundle →[F_assess] Assessment.
Here + denotes parallel branches with a typed join on subject, context, reference time and rule version; shared inputs are retained explicitly.
Corrective planning:
Assessment →[F_propose] RepairCandidateSet →[F_authorise] AuthorisedCandidateSet →[F_simulate] PredictedStateSet →[F_validate] ValidationSet.
Commit requires verified preconditions, policy approval and actual post-action evidence where execution occurs. A simulated valid target is not an observed valid state.
Parallel subsystem assessments must also evaluate cross-subsystem constraints. Conflicting evidence is retained and resolved according to declared policy, not by last-write-wins.

6. MATHEMATICAL SEMANTICS
Let S be the state space and M(c,t,v) the applicable mandatory constraint set for context c, time t and rule version v. Under complete classical evaluation, define A = {s ∈ S : ∀i ∈ M, P_i(s,c,t,v) = true}. Invalid states belong to S \ A. Under incomplete evidence this complement cannot be inferred merely from failure to prove membership.
Define V(s) = {i ∈ M : P_i(s) is demonstrably false}. If V(s) is nonempty, invalidity is established for the scope, provided the witness is not unresolved or disputed. If every applicable mandatory predicate is established true, validity is established. If applicability or evaluation is incomplete, report unknown unless an independent established violation suffices. If no constraints apply, report not_applicable under this specification's policy rather than implying certification.
For numeric constraints g_i(s) ≤ 0, violation magnitude r_i = max(0,g_i(s)). Equality constraints h_i(s)=0 may use a declared tolerance ε_i ≥ 0, giving r_i=max(0,|h_i(s)|−ε_i). Units and measurement uncertainty must be compatible. If a measured interval straddles a threshold, report unknown unless a justified decision rule specifies otherwise.
For a transition relation T ⊆ S × U × S, reachable repair targets satisfy (s,u,s') ∈ T, guard(s,u)=true, s' ∈ A, and policy(s,u,s')=true. Multi-step repair additionally constrains intermediate states according to an explicit recovery policy. An invalid initial state does not license unsafe intermediate actions.
A repair optimisation may minimise J(u,s') = cost(u)+λ d(s,s') subject to mandatory constraints and authorisation. λ and distance units must be declared. If the feasible set is empty, return infeasible; do not relax mandatory constraints automatically. Soft preferences may rank feasible candidates but cannot cancel a mandatory violation.
For uncertain state X with a justified probability model, p_invalid = Pr(∃i ∈ M: ¬P_i(X)). Dependence between violations must be represented. For individual violation probabilities p_i, max_i p_i ≤ p_invalid ≤ min(1,Σ_i p_i), for nonempty finite M. A probability estimate is not proof of a particular actual violation. A risk threshold is a separate decision rule.

7. STRUCTURAL INVARIANTS
I01: Every assessment identifies subject, state, context and reference time.
I02: Mandatory constraints are versioned and applicability is explicit.
I03: Established invalidity requires at least one established applicable mandatory violation.
I04: Missing evidence never becomes a false predicate by default.
I05: Disputed witnesses retain competing evidence and resolution status.
I06: Optional preference failures cannot establish mandatory invalidity.
I07: Units, tolerances and uncertainty policies are explicit.
I08: State invalidity and transition invalidity remain distinct.
I09: Composite assessment includes applicable inter-component constraints.
I10: Repair proposals do not constitute execution or observed success.
I11: Historical records remain immutable; corrections create linked revisions.
I12: No repair may bypass mandatory safety constraints or authorisation.

8. RECURSIVE VALIDATION
Let G_k be a versioned assessment graph, E_k a new evidence delta, and R_k the applicable rule snapshot. Construct candidate H_k = Update(G_k,E_k,R_k). Validate types, provenance, applicability, witnesses and policy before committing G_(k+1). On failure retain G_k and append an audit finding. Reassess dependent conclusions when a rule or observation changes. Preserve historical assessments under their original scope.
A recursive assessment loop may terminate when no material evidence or assessment changes occur, a fixed point is reached, a resource limit is met, or repeated graph hashes indicate oscillation. A fixed point G*=Update(G*,∅,R) indicates computational quiescence under the chosen update rule, not truth or completeness. Convergence requires separate assumptions, such as monotonicity on a finite lattice for an appropriate information-order update. Contradictory evidence or non-monotone repairs may prevent convergence. Escalate unresolved conflicts and infeasible repairs instead of looping indefinitely.

9. EVIDENCE AND PROVENANCE
Record evidence identifier, origin, observation time, ingestion time, method, calibration, uncertainty, rule version, scope and reviewer. A witness should identify the exact violated predicate and the evidence that establishes its failure. Distinguish direct observation, inferred violation, simulated violation and hypothetical violation. Confidence scores are not probabilities unless calibrated. Expired observations cannot automatically establish present invalidity. Retain counterevidence and record any decision policy used to resolve it.

10. WORKED EXAMPLES
Engineering: a measured pressure interval [12,13] bar exceeds a mandatory 10 bar upper limit. The scoped operating state is invalid; any intervention follows approved safety procedures.
Computing: a record with a required integer field containing a string violates the declared schema. The encoding is invalid, not necessarily the represented entity.
Mathematics: x=−1 violates x≥0. A witness is the substitution −1≥0, which is false.
Temporal reasoning: an end time of 09:00 precedes a start time of 10:00 where end≥start is mandatory; the interval representation is invalid.
Knowledge graphs: an asserted relation violates a declared disjointness constraint under the selected ontology semantics. Retain the assertions and violation witness for review.
Operations: an optional performance target is missed but all mandatory requirements are satisfied. The target miss alone does not establish invalidity.
Measurement: a reading interval [9.8,10.2] crosses a 10-unit maximum. Without a specified decision rule or additional evidence, validity is unknown, not automatically invalid.

11. CROSS-ONTOLOGY INTEGRATION
State Concept: supplies state identity and state space.
Valid State: complementary admissibility assessment under complete evidence and identical scope.
Current State and Previous State: distinguish present and historical invalidity.
Desired State and Future State: supply proposed repair targets, not observed outcomes.
Stable State and Equilibrium State: distinguish dynamic behaviour from admissibility.
Active State and Inactive State: activity is independent of validity.
Consistency and Coherence: supply logical and relational constraints without equating all validity with consistency.
Engineering Entity Validation, Engineering Risk and Recursive Engineering Validation: provide proposed mappings for domain rules, risk and audited recursive updates. Mappings require explicit semantic and version compatibility.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01: Mandatory x≤10, x=12 → invalid with witness.
T02: Mandatory x≤10, x=8, complete rule set → valid.
T03: Missing x observation → unknown.
T04: Only optional target fails → no mandatory invalidity.
T05: Rule inapplicable → not_applicable for that rule.
T06: Measurement interval straddles limit → unknown absent decision policy.
T07: Same state, two incompatible rule versions → separate scoped assessments.
T08: Valid source, forbidden transition → transition invalid; source validity unchanged.
T09: Individually valid subsystems violate mandatory interface constraint → composite invalid.
T10: Predicted repair target passes all constraints → predicted valid only; actual state unchanged until verified.
T11: Conflicting evidence for sole alleged violation → disputed pending resolution.
T12: No authorised feasible repair → infeasible or escalation; no automatic constraint relaxation.

13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Invalid 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/invalid-state-ontology.html
Original proposed formalisation, not a verified transcription of the published page. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Published grammar compatibility, page content and exact licence terms have not been independently verified. Acceptance tests are proposed and have not been executed.
END OF SPECIFICATION
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ