FLOW ALGEBRA
COFACTOR ONTOLOGY
Kireth Semantic Library | Biological Entities | Enzyme and Metabolic Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/enzyme-and-metabolic-entities/cofactor-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Status: Domain-grounded formalisation; embedded source rules not independently extracted.
Version: 1.0 | Date: 2026-10-16 | Encoding: UTF-8
01. PURPOSE
Model non-protein chemical participants required for activity of particular enzymes, including metal ions and organic coenzymes. Distinguish tightly bound prosthetic groups from diffusible cosubstrates. Cofactor dependence is enzyme- and reaction-context-specific.
02. TYPES
ENTITY := BiologicalEntity | ChemicalEntity | Process | Evidence | Context
ChemicalEntity := Cofactor | MetalIon | Coenzyme | ProstheticGroup | Cosubstrate | Substrate | Product
BiologicalEntity := Enzyme | Apoenzyme | Holoenzyme | ProteinComplex | MetabolicPathway
Process := Binding | Catalysis | RedoxTransfer | GroupTransfer | Regeneration | Inhibition
Context := Organism | Compartment | pH | Temperature | ReactionCondition
Evidence := Experiment | DatabaseRecord | Publication | AssayResult
03. CORE PREDICATES
IS_A(x, class)
PART_OF(x, y)
REQUIRES(enzyme, cofactor, context)
BINDS(enzyme, cofactor, site, context)
CATALYSES(enzyme, reaction, context)
PARTICIPATES_IN(cofactor, reaction)
TRANSFERS(cofactor, group_or_electron, donor, acceptor)
REGENERATED_BY(cofactor_form, reaction)
SUPPORTED_BY(assertion, evidence)
CONFIDENCE(assertion, value)
04. CLASSIFICATION
RULE C01: IS_A(x, MetalIon) AND REQUIRES(e, x, c) -> IS_A(x, Cofactor).
RULE C02: IS_A(x, Coenzyme) AND REQUIRES(e, x, c) -> IS_A(x, Cofactor).
RULE C03: IS_A(x, ProstheticGroup) -> TIGHTLY_ASSOCIATED(x, host_enzyme_or_complex).
RULE C04: IS_A(x, Cosubstrate) -> TRANSIENTLY_ASSOCIATED(x, enzyme).
RULE C05: IS_A(x, Cofactor) DOES_NOT_IMPLY IS_A(x, Protein).
RULE C06: IS_A(x, Coenzyme) DOES_NOT_IMPLY IS_A(x, ProstheticGroup).
RULE C07: IS_A(x, Cofactor) DOES_NOT_IMPLY UNIVERSALLY_REQUIRED_BY(x, all_enzymes).
05. EXAMPLE INSTANCES
Mg2+ : MetalIon; frequently stabilises nucleotide phosphates in enzyme reactions.
Zn2+ : MetalIon; catalytic or structural role in selected enzymes.
Fe2+/Fe3+ : MetalIon; oxidation state matters in redox catalysis.
NAD+/NADH : Coenzyme; paired oxidised/reduced forms in hydride transfer.
NADP+/NADPH : Coenzyme; paired forms used in many biosynthetic/redox reactions.
FAD/FADH2 : Coenzyme; often tightly bound, but binding varies by enzyme.
Coenzyme A : Coenzyme; acyl-group transfer chemistry.
PLP : Coenzyme; participates in many amino-acid transformations.
Biotin : Coenzyme; often covalently attached in carboxylation enzymes.
Heme : ProstheticGroup; iron-containing group in many hemoproteins.
NOTE: Instances are examples, not exhaustive membership claims for every enzyme.
06. ENZYME STATE TRANSITIONS
APOENZYME(e) + REQUIRED_COFACTOR(c) + SUITABLE_CONTEXT(k)
--BINDING--> HOLOENZYME(e,c,k)
HOLOENZYME(e,c,k) + SUBSTRATE(s)
--CATALYSIS--> HOLOENZYME(e,c',k) + PRODUCT(p)
IF c' differs chemically from c THEN REGENERATION_REQUIRED(c', c, pathway).
NOT_ALL_COFACTORS_CHANGE_CHEMICAL_STATE_DURING_CATALYSIS.
07. REACTION CONSTRAINTS
REQUIRES(e,c,k) AND ABSENT(c,k) -> MAY_REDUCE_ACTIVITY(e,k).
CHELATION(c,k) AND METAL_DEPENDENT(e,c,k) -> MAY_INHIBIT(e,k).
COFACTOR_EXCESS(c,k) -> NOT_NECESSARILY_INCREASE_ACTIVITY(e,k).
TRANSFER_REACTION(r) -> VALIDATE_MASS_AND_CHARGE_BALANCE(r).
REDOX_REACTION(r) -> VALIDATE_ELECTRON_BALANCE(r).
COFACTOR_ROLE(c,e) -> SPECIFY catalytic | structural | electron_carrier | group_carrier.
08. GRAPH RELATIONSHIPS
Enzyme --REQUIRES--> Cofactor
Cofactor --IS_A--> MetalIon | Coenzyme
ProstheticGroup --ASSOCIATED_WITH--> Enzyme
Cosubstrate --PARTICIPATES_IN--> Reaction
Enzyme --CATALYSES--> Reaction
Reaction --PART_OF--> MetabolicPathway
CofactorForm --CONVERTED_TO--> CofactorForm
Assertion --SUPPORTED_BY--> Evidence
09. RECURSIVE REASONING
FLOW CofactorDependency(enzyme, context, visited):
IF enzyme IN visited: RETURN {status: cycle_detected}
visited := visited UNION {enzyme}
FOR each cofactor WHERE REQUIRES(enzyme, cofactor, context):
VALIDATE cofactor identity, form, availability and evidence
IF cofactor regeneration depends on another reaction:
TRACE regeneration pathway with cycle detection
RETURN dependency_graph WITH provenance and uncertainty
10. SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE("enzyme cofactor", "required non-protein enzyme helper") := contextual_only
SEMANTIC_EQUIVALENCE("coenzyme", "organic cofactor") := generally_accepted_with_context
SEMANTIC_EQUIVALENCE("cofactor", "coenzyme") := false_as_global_identity
SEMANTIC_EQUIVALENCE("apoenzyme", "holoenzyme") := false
SEMANTIC_EQUIVALENCE("NAD+", "NADH") := false_as_chemical_identity
ALIASES("pyridoxal phosphate", "PLP") := true
11. CONFIDENCE
CONFIDENCE(assertion) IN [0,1]
CONFIDENCE(assertion) := calibrated_evidence_score(assertion, evidence, context)
DO_NOT_ASSIGN_NUMERIC_CONFIDENCE_WITHOUT_EVIDENCE.
CONFLICTING_EVIDENCE -> retain alternatives and uncertainty.
REQUIRES assertion MUST include enzyme identity, organism or experimental context where available.
12. PROVENANCE
PROVENANCE(assertion) := {source, accession, method, date, organism, conditions}
OBSERVED_BINDING != PROVEN_CATALYTIC_REQUIREMENT.
PREDICTED_DEPENDENCE != EXPERIMENTALLY_CONFIRMED_DEPENDENCE.
13. FLOW_HASH
FLOW_HASH := SHA256(canonical_utf8(ontology_version, typed_entities, relations, rules, provenance))
Canonicalisation MUST preserve chemical charges, oxidation states and directionality.
A changed rule, relationship or chemical identity -> recompute FLOW_HASH.
14. UPDATE_MODEL
UPDATE_MODEL(new_evidence):
validate_source(new_evidence)
map_entities_to_stable_identifiers(new_evidence)
check_chemical_forms_and_context(new_evidence)
compare_against_existing_assertions(new_evidence)
preserve_prior_versions_and_conflicts()
revise_supported_assertions()
recalculate_confidence_when_justified()
recompute_FLOW_HASH()
publish_version_with_provenance()
15. AI_CONSUMPTION
AI_CONSUMPTION:
parse_as: typed_relation_graph
interpretation: formal_rules_with_context
inference: evidence_constrained
preserve: chemical_identity, oxidation_state, stoichiometry, provenance
reject: unsupported_universal_claims
outputs: entity_graph, dependency_trace, uncertainty, evidence_links
execution_note: conceptual rule specification; requires a compatible interpreter
16. VALIDATION TESTS
TEST T01: NAD+ and NADH remain distinct molecular states.
TEST T02: Coenzyme is not globally equivalent to prosthetic group.
TEST T03: Metal ion may be catalytic or structural depending on enzyme.
TEST T04: Cofactor dependency is scoped to enzyme and context.
TEST T05: Recursive regeneration traversal terminates on cycles.
TEST T06: Unsupported numerical confidence is not fabricated.
TEST T07: Every inferred relation retains supporting provenance.
TEST T08: Mass, charge and redox constraints are checked where relevant.
END FLOW ALGEBRA
Download Code
Copy to Clipboard