Skip to main content

Pattern Ontology

Structure & Organisation Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 December 2026
Audio Overview
PATTERN ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-02
Authors: Mark Anthony Higgins — Sky Recursive AI (project attribution)
Publisher: Kireth Research | Semantic Library
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/structure-organisation-concepts/pattern-ontology.html
Licence: Open Research Licence (project designation; exact terms not independently verified). Attribution required under stated project policy.
Status: Proposed formalisation; live source and published grammar not independently verified.

1. PURPOSE AND SCOPE
A pattern is an abstract specification of a recognisable arrangement, regularity or relationship that can be instantiated in one or more contexts. A pattern is distinct from an occurrence, the representation of an occurrence, and the process used to detect it. Repetition is one possible characteristic, not a necessary condition of all patterns. Structural, spatial, temporal, behavioural, functional and semantic patterns require explicit matching semantics. Recognition does not establish causation or guarantee future recurrence.

2. CANONICAL ENTITY MODEL
Pattern P = (id, revision, V, R, K, B, M, context, provenance).
V: typed roles or variables; R: required relations; K: constraints; B: boundary and scope; M: matching semantics.
Occurrence O = (id, pattern_revision, subject, mapping, interval, context, evidence, status).
Mapping m assigns roles to subject entities or values. Injectivity is required only when declared by the pattern. Optional roles, negative constraints and cardinalities must be explicit.
PatternFamily = (id, members, generalisation_rule, context).
MatchPolicy = (mode, metric, threshold, missing_data_policy, invariances).
Modes: exact, approximate, probabilistic or rule-based. A similarity score is not automatically a probability.
Pattern kinds: spatial arrangement, temporal sequence, periodicity, graph motif, functional organisation, symbolic expression, statistical regularity and conceptual template.

3. TYPED RELATIONSHIPS
instantiates(O,P): occurrence O satisfies the declared pattern policy for P.
realisedIn(O,S): O is mapped into subject S.
hasRole(P,v): v is a role in P.
constrains(P,k): k is a pattern constraint.
specialises(P2,P1): every admissible P2 occurrence satisfies P1 under a declared mapping.
composes(P3,P1,P2): P3 combines P1 and P2 with explicit shared roles and constraints.
repeats(O1,O2): distinct occurrences satisfy a declared recurrence relation.
derivedFrom(P2,P1): revision or abstraction provenance; does not imply equivalence.

4. FLOW ALGEBRA OPERATORS
Notation: f ; g applies f then g. f || g denotes compatible parallel operations. Result<T> = Success(T) | Failure(reason) | Unknown(reason). Operators are proposed typed specifications, not executable code.
Define: RoleSet × RelationSet × ConstraintSet × Context -> Result<Pattern>
Extract: Subject × Boundary -> Result<ObservationSet>
Abstract: ObservationSet × AbstractionPolicy -> Result<Pattern>
Match: Pattern × Subject × MatchPolicy -> Result<OccurrenceSet>
Score: Pattern × CandidateMapping × MatchPolicy -> Result<Score>
Validate: Occurrence × EvidenceSet -> ValidationReport
Compose: Pattern × Pattern × InterfaceMapping -> Result<Pattern>
Decompose: Pattern × PartitionPolicy -> Result<PatternSet>
Generalise: PatternSet × MappingPolicy -> Result<Pattern>
Specialise: Pattern × ConstraintSet -> Result<Pattern>
Transform: Pattern × Transformation -> Result<Pattern>
Compare: Pattern × Pattern × EquivalencePolicy -> ComparisonReport
Refine: Pattern × ValidationReport × EvidenceSet -> Result<Pattern>
Commit: Pattern × ValidationReport × Authority -> Result<VersionedPattern>

5. COMPOSITE FLOWS
Discovery = Extract ; Abstract ; Match ; Validate ; Review ; Commit.
Recognition = Match ; Validate ; Record.
Composition = Compose ; Match ; Validate ; Review.
Refinement = Match ; Validate ; Refine ; Revalidate ; Commit.
Review, Record and Revalidate are workflow stages: Review returns an acceptance decision, Record preserves an occurrence with its evidence, and Revalidate checks the revised candidate. Carry context, subject, policy and evidence through each stage. Failure or unknown at a mandatory gate blocks acceptance. No search-engine optimisation operators are included.

6. ALGEBRAIC AND LOGICAL LAWS
For exact matching, Match(P,S) contains mappings m satisfying every required role type, relation and constraint. Unknown constraints do not establish a confirmed match.
For a fixed universe U and compatible role mappings, extension Ext(P) = {s in U : P matches s}. If P2 specialises P1, Ext(P2) is a subset of Ext(P1). Adding conjunctive constraints cannot enlarge an exact extension under unchanged semantics.
Conjunction combines constraints by logical AND; disjunction denotes alternatives, not simultaneous satisfaction. Composition requires explicit role alignment and satisfiable joint constraints.
Compatible pure transformations compose associatively: (f ; g) ; h = f ; (g ; h). Identity transformation preserves pattern semantics. Parallel operations commute only if independent and jointly valid.
Pattern equivalence under policy Q requires equal admissible interpretations under Q, not merely equal names or equal observed sample counts.
For approximate matching, an illustrative score is s = sum(w_i * s_i)/sum(w_i), with nonnegative weights, positive denominator and feature scores in [0,1]. Missing required features yield unknown unless a declared policy supplies justified bounds. Acceptance threshold tau must be declared before evaluation. Threshold similarity is not generally transitive.
For a periodic temporal pattern, |(t_j - t_0) - j*T| <= epsilon for declared period T > 0 and tolerance epsilon >= 0. Missing cycles must be represented rather than silently renumbered.

7. STRUCTURAL INVARIANTS
I01 Identity: pattern identifiers and occurrence identifiers occupy distinct namespaces.
I02 Typing: every mapped role satisfies its declared type or has an explicit unresolved status.
I03 Scope: all claims carry context, boundary and pattern revision.
I04 Constraint integrity: confirmed exact matches satisfy every mandatory constraint.
I05 Mapping integrity: cardinality and distinctness requirements are preserved.
I06 Evidence: observed occurrences retain traceable supporting records.
I07 Uncertainty: unknown is not equivalent to false or true.
I08 Equivalence: approximate similarity never automatically merges pattern identities.
I09 Composition: shared roles and interfaces must be compatible.
I10 Temporal integrity: event order and timestamps use declared time semantics.
I11 Revision integrity: refinement preserves historical definitions and occurrence links.
I12 Termination: recursive discovery and refinement have explicit resource bounds and stopping conditions.

8. RECURSIVE PATTERN REFINEMENT
Let P_n be a candidate pattern at iteration n and D_n the evidence available at that iteration. Compute O_n = Match(P_n,S,M), R_n = Validate(O_n,D_n), and P_(n+1) = Refine(P_n,R_n,D_n), where batch validation applies Validate to each occurrence. Maintain immutable revisions and distinguish candidate, accepted and rejected patterns. Stop when no justified change remains, a declared improvement criterion is met, or the iteration/resource limit is reached. A bounded stop does not prove convergence. Evaluate on independent observations where possible to reduce overfitting. Record contradictory occurrences and retain alternatives when evidence is insufficient.

9. EVIDENCE AND PROVENANCE
Each claim records source identifier, observation time, method, subject version, pattern version, mapping, policy, uncertainty and validation outcome. Separate directly observed, inferred, simulated and hypothetical occurrences. Confidence is an epistemic assessment, distinct from match score and occurrence frequency. Repeated copies of the same evidence are not independent confirmations. Absence of detection does not establish absence of a pattern unless coverage and detection capability justify the conclusion.

10. MULTIDISCIPLINARY EXAMPLES
Engineering: a triangular truss motif requires three distinct joint roles and three declared member connections. A graph containing only two connections fails exact matching; geometric similarity alone cannot supply the missing connection.
Computing: a request-response pattern maps a request and response to a common correlation identifier and requires response time after request time. Missing correlation evidence leaves the match unresolved.
Biology: a branching morphology may match a topological template across organisms without implying identical ancestry or biological function.
Mathematics: an arithmetic sequence satisfies a fixed difference between consecutive terms. The finite observations 2,4,6 support the template but do not uniquely determine future terms.
Organisation: a reporting pattern with one supervisor and multiple direct reports requires typed reporting edges; mere group membership is insufficient.

11. CROSS-ONTOLOGY INTEGRATION
Structure: supplies typed arrangements and relations.
Organisation: supplies functional roles and coordination.
Hierarchy: supplies ordered levels and ancestor relations.
Composition and Decomposition: supply compatible pattern assembly and partitioning.
Part, Whole, Component and Assembly: supply constituent identity and occurrence mappings.
Layer and Level: supply scope and abstraction viewpoints.
Configuration: supplies versioned arrangements against which patterns are evaluated.
Identity and Equivalence: distinguish strict identity from pattern correspondence.
State, Event and Process: supply temporal and behavioural observations.
These are proposed semantic mappings, not verified imports of published schemas.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01: Distinct occurrences of the same pattern retain separate identities.
T02: An exact match with a missing mandatory edge is not confirmed.
T03: A role type mismatch rejects the candidate mapping.
T04: A required distinctness violation rejects the candidate mapping.
T05: Adding a conjunctive constraint does not expand exact matches.
T06: Approximate score below the declared threshold is not accepted.
T07: Missing mandatory observations yield unknown rather than fabricated values.
T08: Incompatible shared roles block composition.
T09: A temporal pattern with reversed mandatory order fails validation.
T10: A revised pattern preserves links to historical occurrence revisions.
T11: Duplicate evidence does not count as independent confirmation.
T12: Recursive refinement stops at its declared bound and reports unresolved status.

13. CITATION AND ATTRIBUTION
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Pattern Ontology — Standard Flow Algebra, version 1.0. Kireth Research, Semantic Library. Source URL as listed above.
Integration: Semantic Library > AI Core > Entity Graph > Abstract Concepts > Structure and Organisation Concepts > Pattern Ontology.
Open Research Licence: project attribution designation; consult the publisher for authoritative terms. This document is a newly constructed proposal, not a verified transcription of the source ontology or a certified implementation of the published Flow Algebra grammar.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ