AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
PARTICLE SYSTEM ONTOLOGY
Kireth Semantic Library | Entity Graph > Physical Entities > Mechanical Entities
Version: 1.1 | Date: 2026-10-12 | Locale: en-GB
Authors: Mark Higgins — Sky (Recursive AI)
Source URL: https://kirethresearch.org/booksai-core/entity-graph/physical-entities/mechanical-entities/particle-system-ontology.html
Source status: Independent scientific synthesis; live page not verified.
01. PURPOSE
Model collections of interacting or non-interacting particles as mechanical systems with explicit state, forces, constraints, evolution and observable quantities.
02. SCOPE
Classical point-particle systems, many-body mechanics, particle simulations and statistical ensembles. Quantum particles require a separate quantum-state model.
03. TYPES
ParticleSystem <: MechanicalSystem
Particle <: MechanicalEntity
ParticleIdentifier : Identifier
Position : Vector3[metre]
Velocity : Vector3[metre/second]
Acceleration : Vector3[metre/second^2]
Mass : RealPositive[kilogram]
Force : Vector3[newton]
Momentum : Vector3[kilogram*metre/second]
Time : Real[second]
Interaction : Relation[Particle,Particle]
Constraint : Predicate[SystemState]
BoundaryCondition : Predicate[SystemState]
04. CORE ENTITY
ParticleSystem S := (P, X, V, M, F, C, B, t)
P = finite indexed particle set {p_1,...,p_N}; N >= 1.
X : P -> R^3; V : P -> R^3; M : P -> R_positive.
F : P x State x Time -> R^3; C = constraints; B = boundary conditions.
05. IDENTITY
Each particle has a stable unique identifier within S.
Particle identities must not be conflated with indistinguishable physical particles in quantum theory.
06. TYPED RELATIONSHIPS
CONTAINS(S,p) : ParticleSystem x Particle -> Boolean
HAS_POSITION(p,x,t) : Particle x Position x Time -> Boolean
HAS_VELOCITY(p,v,t) : Particle x Velocity x Time -> Boolean
HAS_MASS(p,m) : Particle x Mass -> Boolean
EXERTS_FORCE(p_i,p_j,F_ij,t) : Particle x Particle x Force x Time -> Boolean
CONSTRAINED_BY(S,c) : ParticleSystem x Constraint -> Boolean
EVOLVES_TO(S_t,S_tplusdt) : State x State -> Boolean
PART_OF(p,S) : Particle x ParticleSystem -> Boolean
07. POSITION AND VELOCITY
x_i(t) in R^3; v_i(t) = dx_i/dt; a_i(t) = d^2x_i/dt^2.
Differentiability is assumed for continuous classical trajectories.
08. NEWTONIAN DYNAMICS
m_i * a_i = F_i^external + sum_{j != i} F_ij + F_i^constraint.
Force functions may depend on positions, velocities and time.
09. INTERNAL FORCES
For pairwise Newton-third-law forces F_ij = -F_ji, total internal force cancels.
Angular momentum cancellation additionally requires central pairwise forces or zero net internal torque.
10. CENTRE OF MASS
M_total = sum_i m_i.
R_cm = (1/M_total) * sum_i m_i*x_i.
V_cm = (1/M_total) * sum_i m_i*v_i.
M_total*d^2R_cm/dt^2 = sum_i F_i^external, assuming internal-force cancellation and constant masses.
11. LINEAR MOMENTUM
p_i = m_i*v_i; P_total = sum_i p_i.
dP_total/dt = F_external_total under the assumptions in section 09.
12. ANGULAR MOMENTUM
L_O = sum_i (x_i-O) cross (m_i*v_i).
dL_O/dt = tau_O^external for an inertial fixed origin O when net internal torque vanishes.
13. KINETIC ENERGY
T = (1/2)*sum_i m_i*|v_i|^2.
T = (1/2)*M_total*|V_cm|^2 + T_relative.
14. POTENTIAL ENERGY
If interactions are conservative, F_i = -grad_i U(X).
E = T + U; dE/dt = 0 for time-independent conservative dynamics with ideal workless constraints.
15. PAIR POTENTIAL
For pairwise interactions U(X) = sum_{i<j} U_ij(|x_i-x_j|).
F_ij = -grad_{x_i} U_ij.
Avoid double counting pair contributions.
16. GRAVITATIONAL EXAMPLE
U_ij = -G*m_i*m_j/r_ij for r_ij > 0.
F_ij = -G*m_i*m_j*(x_i-x_j)/|x_i-x_j|^3.
Point-particle collision singularities require special numerical treatment.
17. SPRING NETWORK EXAMPLE
U_ij = (1/2)*k_ij*(|x_i-x_j|-ell_ij)^2.
For a spring edge (i,j), force follows negative gradient of U_ij.
18. CONSTRAINTS
Holonomic: g_k(X,t) = 0.
Nonholonomic: h_k(X,V,t) = 0 where not integrable to position-only constraints.
Constraint enforcement requires a consistent dynamics formulation.
19. LAGRANGIAN FORM
L(q,qdot,t) = T(q,qdot,t) - U(q,t).
d/dt(partial L/partial qdot_a) - partial L/partial q_a = Q_a^nonconservative.
Use generalised coordinates respecting independent degrees of freedom.
20. HAMILTONIAN FORM
p_a = partial L/partial qdot_a; H(q,p,t) = sum_a p_a*qdot_a - L.
qdot_a = partial H/partial p_a; pdot_a = -partial H/partial q_a.
Requires a regular Legendre transformation for the standard canonical form.
21. STATE SPACE
Classical unconstrained state z = (x_1,...,x_N,v_1,...,v_N) in R^(6N).
Constraints reduce accessible state-space dimension.
22. EVOLUTION OPERATOR
Phi_dt : State -> State.
For an autonomous well-posed flow: Phi_0 = identity and Phi_s o Phi_t = Phi_(s+t) wherever defined.
23. NUMERICAL INTEGRATION
Explicit Euler: v_i(next)=v_i+dt*a_i; x_i(next)=x_i+dt*v_i.
Velocity Verlet: x_i(next)=x_i+dt*v_i+0.5*dt^2*a_i;
a_i(next)=acceleration(x(next));
v_i(next)=v_i+0.5*dt*(a_i+a_i(next)).
Numerical methods introduce discretisation error; conservation is not automatic.
24. COLLISIONS
Collision detection tests particle proximity/contact geometry.
Impulse-based resolution enforces chosen restitution and friction models.
Momentum conservation applies to isolated collision subsystems; kinetic energy conservation requires elastic collisions.
25. BOUNDARIES
Boundary types: open, reflecting, periodic, absorbing.
Periodic displacement uses minimum-image convention where appropriate.
26. INTERACTION GRAPH
G=(P,E) where (i,j) in E iff interaction exists under the chosen model.
Graph edges may be directed, weighted or time-varying.
Sparse interaction graphs support efficient neighbourhood computation.
27. COMPLEXITY
Direct all-pairs interactions: O(N^2) pair evaluations per step.
Sparse local interactions: O(N+|E|) when neighbour lists are available.
Tree or mesh acceleration has model-dependent complexity and accuracy.
28. STATISTICAL OBSERVABLES
Number density n=N/V for a homogeneous volume V.
Mass density rho=M_total/V.
Temperature may be inferred from equilibrium kinetic-energy statistics only under stated ensemble assumptions.
29. STOCHASTIC EXTENSION
Langevin dynamics: m_i*dv_i = F_i*dt - gamma_i*v_i*dt + sigma_i*dW_i.
Noise interpretation, units and fluctuation-dissipation assumptions must be specified.
30. MULTISCALE LINKS
RELATES_TO(ParticleSystem, RigidBodySystem)
RELATES_TO(ParticleSystem, DeformableBodySystem)
RELATES_TO(ParticleSystem, FluidModel)
RELATES_TO(ParticleSystem, MolecularDynamics)
RELATES_TO(ParticleSystem, StatisticalMechanics)
31. INFERENCE RULES
IF ISOLATED(S) AND INTERNAL_FORCE_SUM_ZERO(S) THEN CONSERVES_LINEAR_MOMENTUM(S).
IF EXTERNAL_TORQUE_ZERO(S) AND INTERNAL_TORQUE_SUM_ZERO(S) THEN CONSERVES_ANGULAR_MOMENTUM(S).
IF CONSERVATIVE_FORCES(S) AND TIME_INDEPENDENT_POTENTIAL(S) AND WORKLESS_CONSTRAINTS(S) THEN CONSERVES_MECHANICAL_ENERGY(S).
IF PAIRWISE_INTERACTION_GRAPH(S) THEN HAS_GRAPH_REPRESENTATION(S).
Never infer conservation without checking premises.
32. WORKED EXAMPLE: TWO PARTICLES
m1=2 kg; m2=3 kg; x1=(0,0,0) m; x2=(5,0,0) m.
R_cm=((2*0+3*5)/5,0,0)=(3,0,0) m.
For v1=(1,0,0) m/s and v2=(-1,0,0) m/s:
P_total=(2*1+3*(-1),0,0)=(-1,0,0) kg*m/s.
T=0.5*2*1^2+0.5*3*1^2=2.5 J.
33. VALIDATION RULES
ASSERT N >= 1.
ASSERT all masses > 0.
ASSERT all particle identifiers unique.
ASSERT positions, velocities, forces have dimensionally valid units.
ASSERT interaction pairs do not double-count energy.
ASSERT state constraints satisfied within declared numerical tolerance.
ASSERT conservation checks only when assumptions hold.
ASSERT finite timestep and stable integration conditions where required.
34. SEMANTIC EQUIVALENCE
"particle system" ~ "system of particles" within classical mechanics context.
"many-body system" is broader and not always equivalent.
"particle ensemble" may refer to a statistical distribution, not a single trajectory model.
"particle" may mean classical point mass, computational marker or quantum excitation; context disambiguation required.
35. SEMANTIC DIFFERENCE
ParticleSystem != SingleParticle.
ParticleSystem != RigidBody unless rigid constraints explicitly imposed.
ClassicalParticle != QuantumParticleState.
NumericalParticle != PhysicalElementaryParticle unless a mapping is declared.
36. CONFIDENCE
Core Newtonian mechanics: HIGH within classical assumptions.
Numerical approximations: CONDITIONAL on timestep, solver and convergence.
Coarse-grained or stochastic mappings: MODEL_DEPENDENT.
Quantum extrapolations: NOT IMPLIED.
37. PROVENANCE
Origin: Kireth Semantic Library ontology URL above.
Synthesis basis: established classical mechanics and computational modelling.
Webpage text and exact section hierarchy: NOT VERIFIED.
38. FLOW_HASH
Algorithm: SHA-256 over UTF-8 canonicalised body excluding the mutable hash field.
Canonicalisation: LF line endings; Unicode NFC; preserve meaningful whitespace.
Hash value: NOT COMPUTED; calculate after final publication.
39. UPDATE_MODEL
version: 1.1
update_trigger: new validated theory, corrected equations, ontology mapping changes.
update_policy: preserve stable identifiers; log semantic changes; rerun validation.
40. AI_CONSUMPTION
entity_type: ParticleSystem
parse_mode: typed-formal-ontology
reasoning: conditional, unit-aware, provenance-aware
allow_inference: only when assumptions are satisfied
uncertainty_policy: distinguish exact equations from approximations
preferred_output: traceable derivation with declared assumptions
41. COMPLETENESS CHECK
Required: types, relations, dynamics, constraints, conservation, examples, validation, semantic metadata, flow hash specification, update model, AI consumption.
All 41 numbered sections included.
END FLOW ALGEBRA — PARTICLE SYSTEM ONTOLOGY