Skip to main content

Functional Ontology

Function and Mapping Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
FUNCTIONAL ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Function and Mapping Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/function-and-mapping-entities/functional-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | 2026-10-13
Source status: Formal mathematical synthesis; source page not independently verified.

01. ONTOLOGY_IDENTITY
ontology.id: kireth.math.function.functional
ontology.label: Functional Ontology
ontology.parent: Function and Mapping Entities
ontology.subject: Functions whose inputs are functions or elements of function spaces
ontology.distinguish_from: ordinary scalar functions; function operators; functionals in programming

02. CORE_DEFINITION
Let X be a space of admissible functions and K a scalar field (usually R or C).
A scalar-valued functional is a mapping F: X -> K.
For f in X, F[f] denotes its scalar output.
A functional may be nonlinear, linear, continuous, differentiable, bounded, or unbounded.
A functional's exact properties depend on X, K, and their structures.

03. TYPED_ENTITIES
entity Functional { id: URI; domain: FunctionSpace; codomain: ScalarField; rule: -Expression; assumptions: Set[Constraint] }
entity FunctionSpace { id: URI; carrier: Set[Function]; topology?: Topology; norm?: Norm; measure?: Measure }
entity Evaluation { functional: Functional; input: Function; value: Scalar; status: defined|undefined }
entity LinearFunctional extends Functional { linearity: verified }
entity BoundedLinearFunctional extends LinearFunctional { bound: NonNegativeReal }
entity VariationalFunctional extends Functional { integrand?: -Expression; admissible_set: FunctionSpace }

04. DOMAIN_AND_CODOMAIN
DOMAIN(F) = X; CODOMAIN(F) = K.
VALID_INPUT(F,f) iff f in X and all additional domain restrictions hold.
OUTPUT(F,f) in K whenever VALID_INPUT(F,f).
Image(F) = { F[f] : f in DOMAIN(F) } subseteq K.
Domain is not automatically every mathematically expressible function.

05. EXAMPLES
Point evaluation: E_t[f] = f(t), on functions defined at t.
Integral functional: I[f] = integral_a^b f(x) dx, for integrable f.
Norm functional: N[f] = ||f||, generally nonlinear.
Energy functional: J[f] = integral_a^b (f'(x)^2 + f(x)^2) dx on a suitable Sobolev space.
Inner-product functional: L_g[f] = <f,g>, linear in f under the chosen inner-product convention.

06. LINEARITY
LINEAR(F) iff for all f,g in X and scalars a,b,
  F[a*f + b*g] = a*F[f] + b*F[g].
Precondition: X is a vector space and F maps to a compatible scalar field.
LINEAR(F) implies F[0_X] = 0 and F[-f] = -F[f].
Counterexample: N[f] = ||f|| is not linear on a nontrivial normed space.

07. CONTINUITY_AND_BOUNDEDNESS
CONTINUOUS_AT(F,f) iff for each epsilon>0 there exists delta>0 such that
  ||g-f||_X < delta implies |F[g]-F[f]| < epsilon.
For a linear functional on a normed space, continuity iff boundedness:
  exists C>=0 such that |F[f]| <= C*||f||_X for all f in X.
Operator norm: ||F|| = sup{ |F[f]| : ||f||_X <= 1 }.
Do not infer boundedness of a general nonlinear functional from continuity alone.

08. DUAL_SPACE
Continuous dual X* = { F: X -> K | F linear and continuous }.
Algebraic dual X' = { F: X -> K | F linear }.
On infinite-dimensional normed spaces, X* may be a proper subset of X'.
Dual pairing: <F,f> = F[f].

09. VARIATIONAL_FUNCTIONALS
J[f] = integral_a^b L(x,f(x),f'(x)) dx.
Admissibility may impose boundary conditions, differentiability, integrability, or constraints.
First variation: delta J[f;h] = lim_(epsilon->0) (J[f+epsilon*h]-J[f])/epsilon,
  when the directional derivative exists.
For sufficiently smooth L and fixed-endpoint variations,
  stationarity yields d/dx (partial L/partial f') - partial L/partial f = 0.
Stationarity alone does not imply a global minimum.

10. DERIVATIVES
Gateaux derivative at f in direction h: D_G F(f;h) = lim_(t->0) (F[f+t*h]-F[f])/t.
Frechet differentiability at f: exists bounded linear A such that
  F[f+h] = F[f] + A[h] + o(||h||_X).
Frechet differentiability implies Gateaux directional derivatives with D_G F(f;h)=A[h].
The converse is not guaranteed without additional conditions.

11. COMPOSITION
If T: Y -> X and F: X -> K, then (F o T): Y -> K.
(F o T)[g] = F[T(g)].
If F and T are differentiable in compatible senses,
  D(F o T)(g) = DF(T(g)) o DT(g).

12. SEMANTIC_RELATIONSHIPS
Functional --is_a--> Mapping
Functional --has_domain--> FunctionSpace
Functional --has_codomain--> ScalarField
Functional --evaluates--> Function
Functional --returns--> Scalar
LinearFunctional --subclass_of--> Functional
BoundedLinearFunctional --subclass_of--> LinearFunctional
VariationalFunctional --subclass_of--> Functional
ContinuousDual --collects--> BoundedLinearFunctional
Functional --may_have_property--> Continuity|Convexity|Differentiability|Linearity

13. SEMANTIC_EQUIVALENCE
Equivalent representations require identical domain assumptions and output semantics.
E_t[f] equivalent_to f(t) only for admissible f and defined t.
Two integral expressions are equivalent only under appropriate integrability and transformation conditions.
Equality of functional outputs for one input does not establish functional equality.
F = G on X iff for every f in X, F[f] = G[f].

14. INFERENCE_RULES
RULE R1: Functional(F) and f in DOMAIN(F) => F[f] in CODOMAIN(F).
RULE R2: Linear(F) => F[0_X] = 0.
RULE R3: Linear(F) and Continuous(F) and NormedSpace(X) => F in X*.
RULE R4: BoundedLinear(F) => Continuous(F).
RULE R5: FrechetDifferentiable(F,f) => GateauxDifferentiable(F,f).
RULE R6: FunctionalEquality(F,G,X) => forall f in X: F[f]=G[f].
RULE R7: Stationary(J,f) does_not_imply GlobalMinimum(J,f).

15. VALIDATION
CHECK domain and codomain are explicitly typed.
CHECK function input satisfies regularity, boundary and integrability requirements.
CHECK scalar field is specified and complex linearity conventions are consistent.
CHECK claimed linearity with additivity and homogeneity.
CHECK claimed continuity against stated topology or norm.
CHECK integral existence and differentiation-under-integral hypotheses.
CHECK equality and equivalence preserve domain restrictions.
CHECK no conflation of functional and function-valued operator.

16. TEST_CASES
PASS: I[f]=integral_0^1 f(x) dx is linear on C([0,1],R).
PASS: E_0[f]=f(0) is bounded linear on C([0,1],R) with supremum norm.
PASS: ||f||_2 is nonlinear as a functional on nonzero L2 space.
PASS: J[f]=integral_0^1 f(x)^2 dx is nonlinear and nonnegative on real L2.
FAIL: classify norm as linear on a nontrivial normed space.
FAIL: evaluate E_0 on functions lacking a well-defined point value at 0.
FAIL: infer minimiser solely from vanishing first variation.

17. CONFIDENCE
Mathematical definitions: high, conditional on specified structures.
Application-specific claims: unverified until evidence and hypotheses supplied.
Confidence labels must not substitute for proof obligations.

18. PROVENANCE
ontology_source_url: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/function-and-mapping-entities/functional-ontology.html
source_page_verified: false
basis: established functional analysis and calculus of variations
attribution: Mark Higgins — Sky (Recursive AI)
research_site: https://kirethresearch.org

19. FLOW_HASH
Canonicalise ontology ID, version, typed entities, rules, and assumptions using UTF-8 NFC.
Sort unordered maps by key; retain mathematical expression order.
Compute SHA-256 over canonical serialisation at ingestion.
flow_hash: COMPUTE_AT_INGESTION (not fabricated)

20. UPDATE_MODEL
On revision: increment version; preserve prior revision ID.
Revalidate changed definitions, dependent rules and semantic mappings.
Invalidate cached derived assertions when assumptions or domains change.
Record provenance and a newly computed flow hash.

21. AI_CONSUMPTION
input: { functional_id, function_id, assumptions, requested_operation }
operations: [classify, evaluate, check_linearity, check_continuity, differentiate, compare, infer]
output: { result, type, assumptions_used, proof_or_counterexample, confidence, provenance }
Never evaluate an undefined functional or omit its admissibility conditions.
Never promote a heuristic numerical result to an exact theorem.

22. EXECUTION_FLOW
START -> RESOLVE_ONTOLOGY -> TYPE_FUNCTIONAL -> VALIDATE_DOMAIN
-> PARSE_EXPRESSION -> CHECK_ASSUMPTIONS -> APPLY_RULES
-> VERIFY_RESULT -> ATTACH_PROVENANCE -> COMPUTE_FLOW_HASH
-> EMIT_AI_CONSUMPTION_RECORD -> TERMINATE

23. TERMINATION
status: COMPLETE
end_of_flow: true
END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ