Skip to main content

Vertex Ontology

Graph and Network Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 14 October 2026
Audio Overview
FLOW ALGEBRA
VERTEX ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Graph and Network Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/graph-and-network-entities/vertex-ontology-2.html
Status: Proposed mathematical formalisation; source-page wording not independently verified.
Authors: Mark Higgins — Sky (Recursive AI)
Website: https://kirethresearch.org

flow "VertexOntology" v1.0

ENTITY_TYPES:
  Graph: {vertex_set: Set[Vertex], edge_set: Set[Edge], directed: Boolean}
  Vertex: {id: Identifier, attributes: Map, graph_id: Identifier}
  Edge: {id: Identifier, endpoints: Tuple[Vertex,Vertex], directed: Boolean}
  VertexSet: Set[Vertex]
  Neighbourhood: Set[Vertex]
  Degree: NonNegativeInteger
  Path: Sequence[Vertex]

DEFINITIONS:
  graph G = (V,E), where V is a set of vertices and E is a set of edges.
  vertex v is a member of V.
  undirected edge {u,v} joins vertices u and v.
  directed arc (u,v) runs from source u to target v.
  adjacent(u,v) iff an edge joins u and v (direction-specific when requested).
  N(v) = {u in V : {u,v} in E} for a simple undirected graph.
  deg(v) = number of incident edge ends; a loop contributes 2 in an undirected multigraph.
  indeg(v) = number of incoming arcs; outdeg(v) = number of outgoing arcs.
  isolated(v) iff deg(v)=0 in an undirected graph.
  pendant(v) iff deg(v)=1 in an undirected graph.

AXIOMS_AND_INVARIANTS:
  A1: forall v in V, v is a Vertex.
  A2: forall e in E, every endpoint of e belongs to V.
  A3: vertex identifiers are unique within the graph's declared identity scope.
  A4: for finite undirected multigraphs, sum(v in V) deg(v) = 2*|E|.
  A5: for finite directed multigraphs, sum(v in V) indeg(v) = sum(v in V) outdeg(v) = |E|.
  A6: vertex attributes do not alter adjacency unless the graph model explicitly derives edges from attributes.

TYPED_RELATIONSHIPS:
  Vertex --MEMBER_OF--> Graph.VertexSet
  Vertex --INCIDENT_TO--> Edge
  Vertex --ADJACENT_TO--> Vertex [when edge exists]
  DirectedEdge --HAS_SOURCE--> Vertex
  DirectedEdge --HAS_TARGET--> Vertex
  Vertex --HAS_ATTRIBUTE--> Attribute
  Vertex --PARTICIPATES_IN--> Path
  Vertex --HAS_DEGREE--> Degree

INFERENCE_RULES:
  R1: edge(u,v) and undirected(G) => adjacent(u,v) and adjacent(v,u).
  R2: arc(u,v) => out_neighbour(u,v) and in_neighbour(v,u).
  R3: deg(v)=0 and undirected(G) => isolated(v).
  R4: deg(v)=1 and undirected(G) => pendant(v).
  R5: path(v0,...,vk) => reachable(v0,vk) [subject to path orientation].
  R6: vertex v absent from V => reject any edge with endpoint v.

SEMANTIC_EQUIVALENCE:
  vertex ~= node [graph-theoretic context].
  vertex != edge.
  vertex != geometric point [unless an embedding maps it to a point].
  vertex_degree != vertex_weight.
  adjacency != reachability.
  directed_in_degree != directed_out_degree.

VALIDATION:
  require unique vertex identifiers in graph scope.
  require all edge endpoints reference declared vertices.
  require degree calculations follow directedness, multiplicity, and loop conventions.
  reject assumptions of simplicity unless explicitly declared.
  verify finite-graph degree-sum identities where applicable.
  distinguish graph vertices from vertices of geometric polygons.

CONFIDENCE:
  mathematical_definitions: high
  source_alignment: unverified
  inferred_relationships: high_given_declared_graph_model

UPDATE_MODEL:
  revision: 1.0
  change_policy: version ontology when entity schema, axioms or relationship semantics change.
  provenance: user-supplied source URL; independently authored formalisation.

FLOW_HASH:
  algorithm: SHA-256
  canonicalisation: UTF-8; LF line endings; exclude FLOW_HASH digest field from hash input.
  digest: compute_on_publication

AI_CONSUMPTION:
  parse entity types before relations.
  validate graph membership and edge endpoints before inference.
  apply rules only under stated directedness and graph-type constraints.
  preserve provenance and distinguish asserted facts from inferred facts.
  report confidence and unresolved graph-model assumptions.

END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ