AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
LIMIT ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Calculus and Analysis Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/calculus-and-analysis-entities/limit-ontology-2.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-13
1. PURPOSE
Represent limits as typed mathematical entities with explicit domains, approach modes, quantifiers, proof obligations, and semantic relationships. Distinguish finite, infinite, one-sided, sequential and multivariable limits without conflating them.
2. ENTITY SCHEMA
entity Limit {function: Function; domain: Set; approach_point: ExtendedPoint; candidate: ExtendedValue; mode: ApproachMode; topology: Topology?; status: {asserted,proved,disproved,undetermined}; assumptions: Set[Proposition]; evidence: Set[Proof]}
entity Function {domain: Set; codomain: Set; mapping: Rule}
entity Neighbourhood {centre: Point; radius: PositiveReal; space: MetricSpace}
entity Sequence {index_set: NaturalNumbers; values: Set; convergence_target: ExtendedPoint?}
entity Continuity {function: Function; point: Point; limit: Limit}
entity Derivative {function: Function; point: Point; difference_quotient_limit: Limit}
entity Asymptote {function: Function; limit: Limit; kind: {vertical,horizontal,oblique}}
enum ApproachMode {two_sided,left,right,at_positive_infinity,at_negative_infinity,along_path,net,filter}
3. CORE SEMANTICS
For f:D subset R -> R, a an accumulation point of D, and L in R:
lim_(x->a) f(x)=L iff for every epsilon>0 there exists delta>0 such that for all x in D, 0<|x-a|<delta implies |f(x)-L|<epsilon.
The punctured-neighbourhood condition excludes x=a; f(a) need not exist.
Uniqueness: a finite limit in a Hausdorff codomain is unique.
Existence: a limit is not guaranteed; the domain must approach a non-vacuously.
4. SPECIALISED LIMITS
Left limit: restrict x to x<a; right limit: restrict x to x>a. A two-sided real limit exists with value L iff both one-sided limits exist and equal L, provided a is approached from both sides of the domain.
Limit at +infinity: for every epsilon>0 exists M such that x in D and x>M implies |f(x)-L|<epsilon; require D unbounded above for a meaningful approach.
Infinite limit +infinity at a: for every B in R exists delta>0 such that 0<|x-a|<delta implies f(x)>B, with appropriate domain restriction.
Sequential criterion (metric spaces): lim_(x->a)f(x)=L iff every sequence x_n in D\{a} with x_n->a satisfies f(x_n)->L.
Multivariable limit: quantify over every admissible approach within the punctured metric neighbourhood; agreement along selected paths alone is insufficient to prove existence.
Topological generalisation: use neighbourhoods, filters or nets; sequential tests need additional hypotheses in general topological spaces.
5. RELATIONSHIPS
Limit --applies_to--> Function
Limit --approaches--> ExtendedPoint
Limit --has_candidate_value--> ExtendedValue
Limit --constrained_by--> Domain
Limit --uses--> ApproachMode
Limit --supported_by--> Proof
Limit --underlies--> Continuity
Limit --underlies--> Derivative
Limit --related_to--> SeriesConvergence
Limit --may_define--> Asymptote
6. INFERENCE RULES
R1 [limit_uniqueness]: proved_limit(f,a,L1) AND proved_limit(f,a,L2) AND Hausdorff(codomain) => L1=L2.
R2 [sum_rule]: finite_limits(f,a,L) AND finite_limits(g,a,M) => limit(f+g,a,L+M).
R3 [product_rule]: finite_limits(f,a,L) AND finite_limits(g,a,M) => limit(f*g,a,L*M).
R4 [quotient_rule]: finite_limits(f,a,L) AND finite_limits(g,a,M) AND M!=0 => limit(f/g,a,L/M), where quotient defined near a.
R5 [squeeze]: f<=g<=h in punctured neighbourhood AND limits(f,a,L) AND limits(h,a,L) => limit(g,a,L).
R6 [composition]: limit(g,x->a,b) AND continuity(f,b) AND valid composition => limit(f(g(x)),x->a,f(b)).
R7 [continuity]: a in D AND limit(f,x->a,f(a)) => continuous_at(f,a), assuming a is an accumulation point of D.
R8 [two_sided]: left_limit(f,a,L) AND right_limit(f,a,L) AND bilateral_domain_approach => two_sided_limit(f,a,L).
R9 [counterexample]: two admissible sequences approaching a with different image limits => no finite limit at a.
All rules require their stated domain, existence and type preconditions; no rule automatically upgrades an asserted limit to a proved limit.
7. SEMANTIC EQUIVALENCE AND DISTINCTIONS
SEMANTIC_EQUIVALENCE: "limit of f as x approaches a" ~ "lim_(x->a) f(x)" when function, domain and approach mode agree.
NOT_EQUIVALENT: limit at a != value f(a); limit != continuity; finite limit != infinite limit; one-sided limit != two-sided limit; pointwise convergence != uniform convergence.
8. VALIDATION
V1 Check typed function, domain, codomain, approach point and approach mode.
V2 Confirm accumulation-point or unbounded-domain precondition as appropriate.
V3 Check quantifier order: forall epsilon exists delta; delta may depend on epsilon.
V4 Ensure inequalities apply only to domain points in punctured neighbourhoods.
V5 Confirm any algebraic inference meets its side conditions.
V6 Separate proof status from numerical approximation or heuristic confidence.
V7 Detect inconsistent candidates for the same fully qualified limit.
9. CONFIDENCE AND PROVENANCE
CONFIDENCE {score: 0..1; basis: {formal_proof,verified_reference,numerical_evidence,heuristic}; limitations: Text}
Formal theorem validity is not a probability: confidence records evidence quality, not a replacement for proof.
PROVENANCE {source_url; source_section?; authored_by; revision_date; verification_status}
10. UPDATE MODEL
UPDATE_MODEL {operation: {create,revise,retract}; entity_id; prior_version?; new_version; change_reason; timestamp; dependent_claims_to_recheck}
Changes to domains, topology, approach mode or assumptions invalidate dependent inferences until reverified.
11. FLOW HASH
FLOW_HASH {algorithm: SHA-256; input: canonical_utf8(serialised_ontology_without_hash); digest: computed_at_ingestion}
Do not invent a digest: calculate after canonical serialisation and final deployment.
12. AI CONSUMPTION
AI_CONSUMPTION {entity_type: Limit; retrieval_keys: [function,approach_point,approach_mode,domain,candidate]; required_context: [domain,codomain,assumptions]; response_policy: distinguish_definition_theorem_proof_and_approximation; contradiction_policy: flag_conflicting_proved_claims; uncertainty_policy: retain_undetermined_status}
13. EXAMPLE
f(x)=(x^2-1)/(x-1), D=R\{1}, a=1.
For x in D, f(x)=x+1; hence lim_(x->1)f(x)=2.
f(1) is undefined, demonstrating that the existence of a limit does not require a function value at the approach point.
END FLOW ALGEBRA