AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
STATIONARY POINT ONTOLOGY
Kireth Semantic Library | Entity Graph > Mathematical Entities > Calculus and Analysis Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/calculus-and-analysis-entities/stationary-point-ontology.html
Version: 1.0 | Date: 2026-10-13 | Language: en-GB
Authors: Mark Higgins — Sky (Recursive AI)
1. PURPOSE
Represent stationary points as typed mathematical entities with precise definitions, classifications, proof obligations and inference rules. This flow is an independent formalisation of the named topic; page-specific wording has not been verified.
2. ENTITY TYPES
ENTITY Function {domain: Set, codomain: Set, differentiability: Predicate}
ENTITY Point {coordinates: Vector, belongs_to: Set}
ENTITY StationaryPoint extends Point {function: Function, derivative_zero: Boolean, classification: Classification}
ENTITY CriticalPoint extends Point {function: Function, derivative_zero_or_undefined: Boolean}
ENTITY Gradient {function: Function, at: Point, components: Vector}
ENTITY Hessian {function: Function, at: Point, matrix: SymmetricMatrix}
ENTITY Classification enum {local_minimum, local_maximum, saddle, stationary_inflection, degenerate, undetermined}
3. MATHEMATICAL DEFINITIONS
For differentiable f: U subset R^n -> R on open U, p in U is stationary iff grad f(p) = 0.
For differentiable f: I -> R on open interval I, x0 is stationary iff f'(x0) = 0.
A stationary point is a critical point under the standard critical-point definition; the converse need not hold where derivatives do not exist.
Stationarity alone does not imply a local extremum.
4. RELATIONSHIPS
StationaryPoint --IS_A--> CriticalPoint
StationaryPoint --BELONGS_TO--> Domain
StationaryPoint --IS_STATIONARY_FOR--> Function
StationaryPoint --HAS_ZERO--> Gradient
Function --HAS_DERIVATIVE--> Derivative
Function --HAS_HESSIAN_AT--> Point
Hessian --SUPPORTS_CLASSIFICATION_OF--> StationaryPoint
5. INFERENCE RULES
RULE R1: differentiable(f,p) AND gradient(f,p)=zero_vector => stationary(f,p).
RULE R2: stationary(f,p) AND Hessian(f,p) positive_definite => strict_local_minimum(f,p).
RULE R3: stationary(f,p) AND Hessian(f,p) negative_definite => strict_local_maximum(f,p).
RULE R4: stationary(f,p) AND Hessian(f,p) indefinite => saddle_point(f,p).
RULE R5: stationary(f,p) AND Hessian(f,p) semidefinite_or_singular => second_derivative_test_inconclusive(f,p).
RULE R6: differentiable(f,p) AND interior_local_extremum(f,p) => stationary(f,p) [Fermat's theorem].
RULE R7: f differentiable on an interval, f' changes negative_to_positive at p => strict_local_minimum(f,p).
RULE R8: f differentiable on an interval, f' changes positive_to_negative at p => strict_local_maximum(f,p).
6. EXAMPLES
f(x)=x^2: f'(0)=0, f''(0)=2 > 0 => strict local minimum at 0.
f(x)=-x^2: f'(0)=0, f''(0)=-2 < 0 => strict local maximum at 0.
f(x)=x^3: f'(0)=0, stationary inflection at 0; no local extremum.
f(x,y)=x^2-y^2: grad f(0,0)=0 and Hessian indefinite => saddle at (0,0).
f(x)=x^4: f'(0)=0, f''(0)=0; second derivative test inconclusive, yet strict local minimum exists.
f(x)=abs(x): 0 is a critical point under the undefined-derivative convention, not a stationary point under the differentiable definition.
7. SEMANTIC DISTINCTIONS
STATIONARY_POINT != EVERY_CRITICAL_POINT
STATIONARY_POINT != NECESSARILY_EXTREMUM
ZERO_GRADIENT != NECESSARILY_SADDLE
INFLECTION_POINT != NECESSARILY_STATIONARY
HESSIAN_SINGULAR != NO_EXTREMUM
CONSTRAINED_OPTIMUM != NECESSARILY_ZERO_AMBIENT_GRADIENT
8. VALIDATION
CHECK domain_membership(p,f.domain)
CHECK interior_point(p,f.domain) for standard unconstrained Fermat inference
CHECK differentiability_at(f,p)
CHECK gradient_dimension_matches_domain(f,p)
CHECK exact_or_tolerance_zero_gradient_with_numeric_error_report
CHECK Hessian_symmetry_when_twice_continuously_differentiable
CHECK classification_has_sufficient_evidence
CHECK unresolved_degenerate_cases_are_not_overclassified
9. CONFIDENCE AND PROVENANCE
CONFIDENCE: mathematical_theorem=1.0 when assumptions proven; numerical_stationarity=estimated with tolerance and error bounds; heuristic_classification=explicitly uncertain.
PROVENANCE: record function expression, domain, point, derivative method, assumptions, numerical precision and proof steps.
SEMANTIC_EQUIVALENCE: grad(f,p)=0 <=> all first partial derivatives vanish, provided the full derivative exists at p in Euclidean coordinates.
10. UPDATE MODEL
UPDATE_MODEL: versioned; recompute dependent classifications when function, domain, point, differentiability assumptions or derivative evidence changes. Retain provenance and invalidate obsolete conclusions.
11. FLOW HASH
FLOW_HASH: compute SHA-256 over canonical UTF-8 serialisation of the flow payload, excluding the FLOW_HASH field itself. No digest is asserted without executing canonicalisation and hashing.
12. AI CONSUMPTION
AI_CONSUMPTION:
entity: StationaryPoint
prerequisite: differentiability_at_point
recognition: gradient_equals_zero
classification: derivative_sign_test | Hessian_test | higher_order_analysis
outputs: point, function, classification, assumptions, proof, confidence, provenance
guardrails: do_not_infer_extremum_from_stationarity_alone; do_not_classify_singular_Hessian_without_additional_evidence
END FLOW ALGEBRA