AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
TITLE: Indefinite Integral Ontology
VERSION: 1.0
DOMAIN: Mathematical Entities / Calculus and Analysis Entities
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/calculus-and-analysis-entities/indefinite-integral-ontology-2.html
AUTHORS: Mark Higgins — Sky (Recursive AI)
DATE: 2026-10-13
1. PURPOSE
Represent indefinite integration as a typed, verifiable relationship between an integrand and the family of its antiderivatives, with explicit domains, assumptions and constants of integration.
2. ENTITY TYPES
IndefiniteIntegral: formal expression ∫ f(x) dx.
Integrand: function f:D→R (or C where appropriate).
IntegrationVariable: bound variable x.
Domain: interval or specified differentiable region D.
Antiderivative: differentiable function F with F'(x)=f(x) on D.
IntegrationConstant: arbitrary constant C, independently chosen on each connected component.
AntiderivativeFamily: {F+C | C∈R} on a connected interval D.
IntegrationMethod: substitution, integration-by-parts, algebraic simplification, partial fractions, etc.
IntegrationAssumption: domain restrictions, regularity and branch choices.
3. FORMAL SIGNATURE
flow IndefiniteIntegral(f:Function, x:Variable, D:Domain)
requires: f defined on D; antiderivative exists on D
returns: AntiderivativeFamily
semantics: ∫f(x)dx = {F+C : C∈R}, where dF/dx=f on connected interval D
confidence: deductive when derivative check succeeds under stated assumptions
4. CORE AXIOMS AND RULES
A1 [Antiderivative]: F is an antiderivative of f on D iff ∀x∈D, F'(x)=f(x).
A2 [Constant difference]: If F'=G'=f on a connected interval D, then ∃C∈R: F-G=C on D.
A3 [Linearity]: ∫(a f+b g)dx = aF+bG+C for constants a,b and antiderivatives F,G.
A4 [Zero]: ∫0 dx = C on a connected interval.
A5 [Derivative reversal]: ∫F'(x)dx = F(x)+C on a connected interval.
A6 [Substitution]: If H'=f(g(x))g'(x), then ∫f(g(x))g'(x)dx = F(g(x))+C where F'=f.
A7 [Parts]: ∫u(x)v'(x)dx = u(x)v(x)-∫u'(x)v(x)dx, whenever terms are defined.
A8 [Domain sensitivity]: Constants can differ across disconnected components of D.
5. STANDARD IDENTITIES (WITH CONDITIONS)
I1 ∫x^n dx = x^(n+1)/(n+1)+C, n≠-1, on intervals where expression is defined.
I2 ∫1/x dx = ln|x|+C, x≠0, separately on each interval.
I3 ∫e^x dx = e^x+C.
I4 ∫sin(x) dx = -cos(x)+C.
I5 ∫cos(x) dx = sin(x)+C.
I6 ∫1/(1+x²) dx = arctan(x)+C.
I7 ∫1/sqrt(1-x²) dx = arcsin(x)+C, -1<x<1.
6. TYPED RELATIONSHIPS
IndefiniteIntegral --HAS_INTEGRAND--> Integrand
IndefiniteIntegral --WITH_RESPECT_TO--> IntegrationVariable
IndefiniteIntegral --DEFINED_ON--> Domain
IndefiniteIntegral --RETURNS--> AntiderivativeFamily
AntiderivativeFamily --CONTAINS--> Antiderivative
Antiderivative --DIFFERENTIATES_TO--> Integrand
AntiderivativeFamily --PARAMETERISED_BY--> IntegrationConstant
IntegrationMethod --TRANSFORMS--> IndefiniteIntegral
IntegrationAssumption --CONSTRAINS--> IntegrationMethod
IndefiniteIntegral --RELATED_TO--> DefiniteIntegral
7. INFERENCE RULES
R1 If derivative(F,x)=f on D, infer MEMBER(F+C, IndefiniteIntegral(f,x,D)) for each constant C.
R2 If F and G are antiderivatives of f on a connected interval, infer F-G is constant.
R3 If derivative(candidate,x)≠f at any point where both are defined, reject candidate as an antiderivative on that domain.
R4 If D has multiple connected components, retain independent integration constants.
R5 If substitution introduces inverse functions, enforce their domain and branch conditions.
R6 If no elementary antiderivative is known, preserve a symbolic antiderivative or use a special function; do not infer nonexistence of an antiderivative.
8. SEMANTIC DISTINCTIONS
Indefinite integral ≠ definite integral: the former denotes a family of functions, the latter a value when defined.
Antiderivative ≠ derivative: antiderivatives reverse differentiation up to constants.
Integration constant ≠ integration bound: C indexes solutions; bounds specify a definite integral.
Elementary antiderivative ≠ antiderivative: a function can possess an antiderivative without an elementary closed form.
9. VALIDATION
V1 Type-check integrand, variable, domain and returned family.
V2 Differentiate the proposed result and simplify to the integrand under explicit assumptions.
V3 Preserve +C for connected intervals and independent constants for disconnected domains.
V4 Reject transformations that silently cross singularities or change branches.
V5 Check special cases of power rule (n=-1) and real-domain restrictions.
V6 Record whether equality is exact, conditional or numerical approximation.
10. CONFIDENCE
CONFIDENCE: 1.0 for formally verified identities with satisfied assumptions; otherwise record proof status and uncertainty explicitly.
SEMANTIC_EQUIVALENCE: -Expressions are equivalent as antiderivative families when they differ by a constant on each connected component of the stated domain.
11. FLOW_HASH
Canonicalise ontology identifier, version, types, rules, domains, assumptions and dependencies; serialise deterministically as UTF-8; calculate SHA-256 of canonical bytes. Do not present an unevaluated placeholder as an actual hash.
12. UPDATE_MODEL
On amendment: increment version; record changed axioms, identities, domains, provenance and verification outcomes; invalidate dependent cached inferences and regenerate FLOW_HASH.
13. AI_CONSUMPTION
Input: integrand, variable, domain, assumptions, desired representation.
Process: classify pattern → select sound transformation → derive candidate → differentiate and verify → return family with constants and conditions.
Output: typed antiderivative family, steps, restrictions, confidence, validation evidence and provenance.
Failure handling: retain unevaluated integral, request missing domain information when essential, or report that an elementary form is unavailable without claiming the integral is undefined.
END FLOW ALGEBRA