AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
SUPERSCRIPT ONTOLOGY
Kireth Semantic Library | Mathematical Entities > Symbolic Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/symbolic-entities/superscript-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Status: mathematical and semantic model; source page not independently verified
Version: 1.0 | Date: 2026-10-13
01. PURPOSE
flow "SuperscriptOntology" v1.0
domain: symbolic_mathematics
entity: Superscript
intent: represent elevated-position notation without assuming one universal meaning
02. ENTITY TYPES
Superscript := NotationNode(base: -Expression, annotation: -Expression, role: SuperscriptRole, context: Context)
SuperscriptRole := exponent | tensor_index | derivative_order | transpose_marker | inverse_marker | label | unit_power | other
Context := {notation_convention, domain, binding_environment, assumptions}
03. SEMANTIC DISTINCTION
visual_position(Superscript) = above_baseline
visual_position alone DOES_NOT_IMPLY exponentiation
semantic_role = resolve(base, annotation, domain, convention, surrounding_expression)
if ambiguous: preserve alternatives; request disambiguation
04. EXPONENTIATION
parse(x^n, role=exponent) -> Pow(x,n)
for integer n >= 0: x^0 = 1 when x != 0; x^(n+1) = x^n * x
for integer n < 0: x^n = 1/x^(-n), x != 0
x^(a+b) = x^a * x^b when operations and exponent definitions permit
(x^a)^b = x^(a*b) only under applicable domain/branch assumptions
0^0: context-dependent/undefined by default; do not infer universally
05. ALGEBRAIC CONSTRAINTS
typecheck(Pow(base,exponent)) according to algebraic structure
negative_real ^ noninteger_real may require complex-valued interpretation
complex exponentiation: specify logarithm branch when necessary
dimensioned_quantity^n: output_unit = input_unit^n when defined
06. TENSOR AND INDEX NOTATION
T^i -> upper_index(T,i), NOT Pow(T,i), when tensor convention applies
upper indices may be contravariant in differential geometry
repeated-index summation requires an explicit convention and valid index pattern
raising_index(T,metric) is a distinct operation from typographic elevation
07. OPERATOR ANNOTATIONS
A^T -> transpose(A) only if T denotes transpose by convention
A^(-1) -> inverse(A) when inverse exists and notation denotes inverse
f^(n)(x) -> nth_derivative(f,x) when derivative notation is specified
f^(-1) -> inverse_function(f) in function context, not necessarily reciprocal
distinguish superscript prime notation and footnote/reference markers
08. SUBSCRIPT RELATIONSHIP
subscript and superscript are separate syntactic positions
x_i^j may encode two indices or an indexed quantity raised to power j
precedence and notation conventions must resolve parse tree
09. SYMBOLIC RELATIONSHIPS
Superscript --has_base--> Expression
Superscript --has_annotation--> Expression
Superscript --has_role--> SuperscriptRole
Superscript --interpreted_in--> Context
Superscript --may_denote--> Exponentiation | TensorIndex | OperatorAnnotation | Label
Superscript --related_to--> MathematicalSymbol | Variable | Index | Subscript | Operator
10. SEMANTIC EQUIVALENCE
equivalent(x^2, x*x) if multiplication is defined and conventional exponentiation applies
equivalent(A^T, transpose(A)) only under transpose notation
NOT equivalent(T^i, Pow(T,i)) in tensor-index context
equivalence requires compatible types, assumptions and interpretation
11. INFERENCE RULES
IF role=exponent AND exponent=2 AND base=real x THEN x^2 >= 0
IF role=exponent AND base != 0 AND exponent=0 THEN value=1
IF role=tensor_index THEN preserve index variance in transformations
IF role=inverse_marker AND invertible(A) THEN A*A^(-1)=I
IF interpretation unknown THEN status=unresolved; prohibit automatic rewriting
12. NORMALISATION
canonicalize typography to structured Superscript node
preserve original glyph, Unicode and MathML/LaTeX source when available
distinguish superscript minus sign, digits and full expressions
normalise semantic AST only after role resolution
13. VALIDATION
assert base exists
assert annotation exists
assert role belongs to SuperscriptRole
assert context provides sufficient disambiguation OR status=unresolved
assert exponentiation does not silently violate domain restrictions
assert tensor variance is retained through transformations
14. EXAMPLES
2^3 -> Pow(2,3) -> 8
x^2 -> Pow(x,2)
m^2 -> unit_power(m,2) when m is a unit of length
v^i -> upper_index(v,i) in tensor notation
A^T -> transpose(A) under linear algebra convention
f^(-1)(x) -> inverse_function(f)(x) when f is invertible and convention applies
15. CONFIDENCE
confidence := {value:[0,1], basis:explicit_notation|contextual_inference|ambiguous}
explicit declared notation -> high confidence
ambiguous superscript without convention -> low confidence; retain uncertainty
confidence is epistemic metadata, not a mathematical proof
16. PROVENANCE
source_url: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/symbolic-entities/superscript-ontology.html
mathematical_basis: conventional algebra, tensor notation and symbolic semantics
page_verification: not_verified
record: creation_date, revision, author, assumptions, source references
17. FLOW_HASH
canonical_payload := canonical_serialize(entity_types, roles, rules, constraints, version)
FLOW_HASH := SHA256(UTF8(canonical_payload))
do not claim a hash value without computing it
18. UPDATE_MODEL
change_types: correction | extension | deprecation | notation_disambiguation
preserve version history and semantic compatibility notes
revalidate inference rules after changes
recalculate FLOW_HASH on canonical payload change
19. AI_CONSUMPTION
input: mathematical text | LaTeX | MathML | structured expression
process: tokenize -> parse -> attach context -> resolve role -> typecheck -> infer -> validate
output: typed semantic graph + normalised AST + confidence + provenance
safety: never treat typographic position as sufficient semantic evidence
20. CROSS-ONTOLOGY LINKS
MathematicalSymbolOntology: represents symbolic glyphs
VariableOntology: identifies variable entities
OperatorOntology: interprets operator application
OperandOntology: identifies operator arguments
IndexOntology: models index domains and binding
SubscriptOntology: models lowered annotations
NumericValueOntology: represents numerical results
21. FINAL INVARIANTS
meaning(Superscript) depends on role and context
syntax != semantics
type_correctness precedes simplification
semantic equivalence is conditional on assumptions
preserve ambiguity, provenance and original notation
END FLOW ALGEBRA