AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH RESEARCH — SEMANTIC LIBRARY
IP ADDRESS ONTOLOGY — FLOW ALGEBRA v1.0
CATEGORY: Computational Entities > Network Entities
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/network-entities/ip-address-ontology-2.html
SOURCE PAGE REVISED: 03 August 2026
CREATED: 11 November 2026
STATUS: Constructed topic-level Flow Algebra mapping; not a transcription of the inaccessible embedded specification.
PURPOSE
Represent IP addresses as typed, scoped network identifiers and model their parsing, assignment, routing context, validation, and lifecycle through explicit state transitions.
HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = current IP address inputs, interface state, and network observations
R_t = address syntax, allocation, routing, and policy relationships
B_t = version, prefix, scope, uniqueness, and authorisation boundaries
K_t = known network topology, address assignments, and provenance
CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t)
ENTITIES
IPAddress(id, version, binary_value, canonical_text, scope, provenance)
IPv4Address: IPAddress with 32-bit value
IPv6Address: IPAddress with 128-bit value
NetworkPrefix(version, network_bits, prefix_length)
Interface(id, node_id, state)
AddressAssignment(address_id, interface_id, valid_from, valid_until, origin)
Subnet(id, prefix_id)
Route(destination_prefix, next_hop, egress_interface, metric)
AddressPolicy(id, allowed_scopes, allowed_prefixes)
RELATIONSHIPS
IPAddress --belongs_to_prefix--> NetworkPrefix
IPAddress --assigned_to--> Interface
Interface --belongs_to--> NetworkNode
Route --matches_destination--> NetworkPrefix
AddressAssignment --governed_by--> AddressPolicy
IPAddress --identified_by--> canonical_text
INVARIANTS AND BOUNDARIES
B1: IPv4 addresses have exactly 32 bits; IPv6 addresses exactly 128 bits.
B2: Prefix length is 0..32 for IPv4 and 0..128 for IPv6.
B3: An address belongs to prefix p iff its first p bits match the prefix network bits.
B4: Address assignment requires interface existence and applicable policy approval.
B5: Uniqueness is evaluated within the relevant routing or link scope; duplicate addresses may exist in isolated networks.
B6: A private, loopback, link-local, multicast, or unspecified address is not automatically globally routable.
B7: IPv6 link-local address use requires appropriate interface or zone context.
B8: Address ownership and reachability cannot be inferred from syntax alone.
PATHWAYS
P1 PARSE: input text -> version recognition -> binary parse -> canonical form or error.
P2 CLASSIFY: parsed address -> range/prefix checks -> scope classification.
P3 ASSIGN: address + interface + policy -> conflict/scope validation -> assignment or rejection.
P4 ROUTE: destination address + route table -> longest-prefix match -> next hop or no route.
P5 RELEASE: active assignment -> policy/lifecycle check -> remove binding -> update state.
P6 VERIFY: observations + authoritative configuration -> reconcile assignment evidence.
INFERENCE RULES
R1: valid_parse(a) and prefix_match(a,p) -> member_of(a,p).
R2: assigned(a,i) and interface_up(i) does NOT imply reachable(a).
R3: destination(a) and matching_routes(a) -> choose longest applicable prefix, subject to policy and route preference.
R4: overlapping_prefixes(p1,p2) -> check route precedence; overlap alone is not invalid.
R5: duplicate_assignment(a,i,j) within same conflict domain -> raise address_conflict candidate.
R6: expired_assignment(a,i) -> assignment requires renewal or removal.
R7: unknown_provenance(a) -> confidence reduced; no ownership assertion.
MINI RECURSION ENGINE
function FLOW(state, depth, visited):
if depth >= MAX_DEPTH: return BOUNDED_STOP
candidates = expand(state.inputs, state.relationships)
admissible = filter(candidates, state.boundaries)
if admissible is empty: return NO_VALID_CANDIDATE
selected = rank(admissible, state.knowledge)
if selected in visited: return CYCLE_DETECTED
next_state = update(state, selected)
if stable(next_state) or goal_met(next_state): return next_state
return FLOW(next_state, depth + 1, visited union {selected})
EXAMPLE
Input: 192.0.2.17/24
Version: IPv4
Canonical address: 192.0.2.17
Prefix: 192.0.2.0/24
Scope note: 192.0.2.0/24 is reserved for documentation; it is not evidence of a live host.
Outcome: syntactically valid and prefix-consistent, with reachability unverified.
EXECUTION GUARANTEES (CONDITIONAL)
Given finite candidate sets, bounded recursion, and deterministic parsing, the validation flow terminates. Correct routing decisions additionally require accurate route data, policy inputs, and network state. No unconditional guarantee of reachability, ownership, security, or global uniqueness is made.
TRI-MAPPING
Entity: IPAddress -> Relationship: assigned_to -> Boundary: policy and scope
Entity: NetworkPrefix -> Relationship: contains -> Boundary: version and prefix length
Entity: Route -> Relationship: forwards_via -> Boundary: route validity and interface state
CITATION
Mark Anthony Higgins and Sky Recursive AI, "IP Address Ontology — Flow Algebra v1.0", Semantic Library, Kireth Research, 2026.
Source backlink: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/network-entities/ip-address-ontology-2.html
Licence: Consult the current Kireth Research Open Research Licence for reuse terms.