AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
MULTIPLE INTEGRAL ONTOLOGY
Version: 1.0
Date: 2026-10-13
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/calculus-and-analysis-entities/multiple-integral-ontology-2.html
1. PURPOSE
Represent multiple integration over multidimensional domains as typed mathematical entities, operations, conditions, relationships, and verifiable inference flows.
2. ENTITY TYPES
ENTITY MultipleIntegral <: Integral
ENTITY Integrand <: ScalarFunction
ENTITY IntegrationDomain <: MeasurableSet
ENTITY Measure <: Measure
ENTITY CoordinateSystem <: MathematicalStructure
ENTITY IteratedIntegral <: MultipleIntegral
ENTITY DoubleIntegral <: MultipleIntegral
ENTITY TripleIntegral <: MultipleIntegral
ENTITY JacobianDeterminant <: ScalarFunction
ENTITY ChangeOfVariables <: Transformation
ENTITY IntegrationOrder <: Ordering
ENTITY Boundary <: GeometricEntity
ENTITY IntegrabilityCondition <: Predicate
3. TYPED RELATIONSHIPS
MultipleIntegral --integrates--> Integrand
MultipleIntegral --over_domain--> IntegrationDomain
MultipleIntegral --with_respect_to--> Measure
MultipleIntegral --may_be_expressed_as--> IteratedIntegral
IntegrationDomain --has_boundary--> Boundary
ChangeOfVariables --maps_domain_to--> IntegrationDomain
ChangeOfVariables --uses--> JacobianDeterminant
IteratedIntegral --has_order--> IntegrationOrder
4. MATHEMATICAL SEMANTICS
For measurable D subset of R^n and measurable f:D -> R, define I = integral_D f(x) dmu(x) whenever the integral exists in the specified sense.
For Lebesgue integration, absolute integrability means integral_D |f| dmu < infinity.
For continuous f over a compact Jordan-measurable domain, the corresponding Riemann multiple integral exists.
Double integral: integral integral_D f(x,y) dA.
Triple integral: integral integral integral_D f(x,y,z) dV.
The integral is signed for real-valued integrands; geometric volume requires suitable nonnegative integrands.
5. INFERENCE RULES
RULE LINEARITY: if f and g are integrable on D, integral_D (a*f+b*g) dmu = a*integral_D f dmu + b*integral_D g dmu.
RULE MONOTONICITY: if f <= g almost everywhere and both are integrable, integral_D f dmu <= integral_D g dmu.
RULE DOMAIN_ADDITIVITY: for disjoint measurable A,B and integrable f, integral_(A union B) f dmu = integral_A f dmu + integral_B f dmu.
RULE FUBINI: for an integrable f on a product measure space with applicable sigma-finite measure hypotheses, the multiple integral equals either iterated integral.
RULE TONELLI: for nonnegative measurable f on an applicable product measure space, iterated and product integrals agree, potentially taking value +infinity.
RULE CHANGE_OF_VARIABLES: for a suitable C1 diffeomorphism T:U -> D, integral_D f(x) dx = integral_U f(T(u))*|det DT(u)| du, assuming applicable integrability and domain conditions.
6. COORDINATE TRANSFORMS
Cartesian: dA = dx dy; dV = dx dy dz.
Polar (r,theta): dA = r dr dtheta, r >= 0.
Cylindrical (r,theta,z): dV = r dr dtheta dz, r >= 0.
Spherical (rho,phi,theta): dV = rho^2 sin(phi) drho dphi dtheta, rho >= 0 and phi in [0,pi], with phi measured from positive z-axis.
The absolute Jacobian determinant must be included and parameter ranges must be stated.
7. EXECUTABLE FLOW
flow MultipleIntegralEvaluation v1.0:
input: integrand:f, domain:D, measure:mu, coordinates:C, method:M
require: domain_is_measurable(D)
require: function_is_measurable(f,D)
classify: double | triple | n_dimensional
validate: integrability_or_nonnegative_extended_integral(f,D,mu)
select: direct | iterated | transformed | numerical
if method == iterated: verify_fubini_or_tonelli_conditions()
if method == transformed: verify_mapping_and_jacobian()
evaluate: integrate(f,D,mu)
output: value, convergence_status, assumptions, method, provenance, confidence
8. SEMANTIC DISTINCTIONS
MultipleIntegral != IteratedIntegral: an iterated expression is a representation requiring relevant hypotheses for equality.
MultipleIntegral != LineIntegral: a line integral uses a one-dimensional path or curve.
MultipleIntegral != SurfaceIntegral: a surface integral is over a surface with its induced measure.
Integrability != MereMeasurability.
SignedIntegral != GeometricVolume.
JacobianDeterminant != AbsoluteJacobianFactor: the latter is |det DT|.
9. VALIDATION
CHECK domain dimension matches differential measure.
CHECK integration bounds describe the intended domain.
CHECK integrand is measurable and required existence conditions hold.
CHECK singularities, improper limits, and infinite domains.
CHECK order exchange is justified by Fubini or Tonelli or other valid hypotheses.
CHECK coordinate transformations, orientation conventions, and absolute Jacobian.
CHECK numerical output includes error estimates when available.
10. CONFIDENCE AND PROVENANCE
CONFIDENCE: exact proof > independently verified symbolic result > convergent numerical estimate > heuristic.
Attach proof obligations, assumptions, source, method, units, and uncertainty to each computed result.
11. SEMANTIC_EQUIVALENCE
Equivalence of Cartesian and transformed expressions requires valid change-of-variables hypotheses.
Equivalence of integration orders requires applicable interchange conditions.
Canonicalise bound variables without altering domains, orientation, or measures.
12. FLOW_HASH
FLOW_HASH = SHA256(canonical_utf8(flow_version, entity_types, relations, rules, assumptions, expression, domain, measure, coordinate_transform))
The hash identifies a canonical flow representation, not a mathematical proof.
13. UPDATE_MODEL
On change of domain, integrand, measure, coordinates, or hypotheses: invalidate dependent evaluations; recompute validations, provenance, and FLOW_HASH; retain prior version history.
14. AI_CONSUMPTION
Expose typed entities, assumptions, theorem prerequisites, validated transformations, computational outputs, proof obligations, and uncertainty. Never infer equality of iterated and multiple integrals without checking hypotheses. Distinguish exact values from numerical approximations.
END FLOW ALGEBRA