AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
PROTEIN COMPLEX ONTOLOGY
Kireth Semantic Library | Entity Graph > Biological Entities > Protein Entities
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/protein-entities/protein-complex-ontology.html
Version: 1.0 | Date: 2026-10-16 | Encoding: UTF-8
Status: Domain-grounded formalisation; webpage heading verified, embedded rules not available.
01. PURPOSE
Define protein complexes as context-dependent assemblies of interacting protein subunits; model composition, stoichiometry, assembly, localisation, activity, dynamics and evidence without equating an interaction with a stable complex.
02. TYPES
TYPE Entity
TYPE BiologicalEntity <: Entity
TYPE Protein <: BiologicalEntity
TYPE ProteinIsoform <: Protein
TYPE ProteinComplex <: BiologicalEntity
TYPE ComplexAssembly <: ProteinComplex
TYPE ComplexFamily <: Entity
TYPE ProteinSubunit <: Entity
TYPE AssemblyIntermediate <: BiologicalEntity
TYPE Cofactor <: BiologicalEntity
TYPE Ligand <: BiologicalEntity
TYPE CellularCompartment <: Entity
TYPE BiologicalProcess <: Entity
TYPE MolecularFunction <: Entity
TYPE ExperimentalObservation <: Entity
TYPE Evidence <: Entity
TYPE Organism <: Entity
TYPE Condition <: Entity
TYPE TimePoint <: Entity
TYPE Identifier <: Entity
TYPE ProvenanceRecord <: Entity
TYPE ConfidenceScore = Real[0,1]
TYPE Stoichiometry = Integer[1,+infinity)
TYPE InteractionKind = {physical_binding, transient_association, stable_association, catalytic_contact, predicted_association}
TYPE AssemblyState = {unassembled, intermediate, assembled, active, inactive, disassembling, degraded, unknown}
TYPE EvidenceStatus = {observed, curated, inferred, predicted, disputed, unknown}
03. ENTITY ATTRIBUTES
ProteinComplex.id: Identifier
ProteinComplex.name: String
ProteinComplex.organism: Organism?
ProteinComplex.compartment: CellularCompartment?
ProteinComplex.state: AssemblyState
ProteinComplex.condition: Condition?
ProteinComplex.time: TimePoint?
ProteinComplex.function: Set[MolecularFunction]
ProteinComplex.process: Set[BiologicalProcess]
ProteinComplex.evidence: Set[Evidence]
ProteinComplex.provenance: Set[ProvenanceRecord]
ProteinComplex.confidence: ConfidenceScore
ProteinSubunit.protein: Protein
ProteinSubunit.copy_count: Stoichiometry
ProteinSubunit.role: String?
ProteinSubunit.required: Boolean?
04. TYPED RELATIONSHIPS
RELATION HAS_SUBUNIT(ProteinComplex, ProteinSubunit)
RELATION SUBUNIT_IDENTIFIES(ProteinSubunit, Protein)
RELATION HAS_STOICHIOMETRY(ProteinComplex, Protein, Stoichiometry)
RELATION INTERACTS_WITH(Protein, Protein, InteractionKind)
RELATION ASSEMBLES_FROM(ProteinComplex, AssemblyIntermediate)
RELATION ASSEMBLES_IN(ProteinComplex, CellularCompartment)
RELATION LOCALISES_TO(ProteinComplex, CellularCompartment)
RELATION HAS_STATE(ProteinComplex, AssemblyState)
RELATION PARTICIPATES_IN(ProteinComplex, BiologicalProcess)
RELATION ENABLES_FUNCTION(ProteinComplex, MolecularFunction)
RELATION BINDS_LIGAND(ProteinComplex, Ligand)
RELATION REQUIRES_COFACTOR(ProteinComplex, Cofactor)
RELATION REGULATES(ProteinComplex, BiologicalEntity)
RELATION FORMS_UNDER(ProteinComplex, Condition)
RELATION DISASSEMBLES_UNDER(ProteinComplex, Condition)
RELATION SUPPORTED_BY(Entity, Evidence)
RELATION DERIVED_FROM(Entity, ProvenanceRecord)
RELATION HOMOLOGOUS_TO(ProteinComplex, ProteinComplex)
RELATION PART_OF(ProteinComplex, ProteinComplex)
RELATION VARIANT_OF(ProteinComplex, ComplexFamily)
05. CLASSIFICATION
CLASS HomomericComplex <: ProteinComplex
CLASS HeteromericComplex <: ProteinComplex
CLASS StableComplex <: ProteinComplex
CLASS TransientComplex <: ProteinComplex
CLASS EnzymeComplex <: ProteinComplex
CLASS RegulatoryComplex <: ProteinComplex
CLASS StructuralComplex <: ProteinComplex
CLASS TransportComplex <: ProteinComplex
CLASS SignallingComplex <: ProteinComplex
CLASS RibonucleoproteinComplex <: ProteinComplex
CLASS MembraneProteinComplex <: ProteinComplex
RULE homomeric(c): ProteinComplex(c) AND distinct_protein_species(c)=1 -> HomomericComplex(c)
RULE heteromeric(c): ProteinComplex(c) AND distinct_protein_species(c)>1 -> HeteromericComplex(c)
RULE multimeric(c): ProteinComplex(c) AND total_protein_copies(c)>1 -> multimeric(c)
RULE stable(c): evidence_for_persistence(c,context) -> candidate StableComplex(c)
RULE transient(c): evidence_for_reversible_association(c,context) -> candidate TransientComplex(c)
NOTE: Stable/transient categories are contextual, not necessarily intrinsic.
NOTE: A homomer may contain multiple copies of one protein; a monomeric protein is not automatically a protein complex.
NOTE: A protein-protein interaction alone does not prove a biological complex.
06. STRUCTURAL CONSTRAINTS
INVARIANT all subunit copy counts are positive integers.
INVARIANT a defined complex has at least one specified protein species; unresolved components may be marked unknown.
INVARIANT protein isoforms and orthologues are not silently interchangeable.
INVARIANT subunit composition and copy counts are conditional on assembly state and organism.
INVARIANT membership is not identical to direct pairwise physical contact.
INVARIANT cofactors, ligands and nucleic acids are represented separately from protein subunits.
INVARIANT evidence of colocalisation alone does not establish physical binding.
INVARIANT PART_OF must not imply strict identity of parent and child complexes.
07. ASSEMBLY ALGEBRA
LET P = set of protein species.
LET S_c: P -> NonNegativeInteger denote copy counts in complex c.
COMPOSITION(c) = {(p,S_c(p)) | p in P AND S_c(p)>0}
TOTAL_COPIES(c) = sum_{p in P} S_c(p)
DISTINCT_SPECIES(c) = cardinality({p | S_c(p)>0})
ASSEMBLY: subunits + compatible_context -> candidate_complex
ASSEMBLY_VALID(c,context) = compatible_interfaces(c,context) AND feasible_stoichiometry(c,context) AND supporting_evidence(c,context)
NOTE: Feasibility does not by itself establish in-vivo existence.
08. FUNCTIONAL FLOW
FLOW gene_expression -> protein_synthesis -> folding -> localisation -> association -> assembled_complex
FLOW assembled_complex + activating_condition -> active_complex
FLOW active_complex + substrate -> biochemical_action + products
FLOW assembled_complex + dissociation_signal -> dissociated_components
FLOW misfolding_or_damage -> quality_control -> repair_or_degradation
RULE function_assignment(c,f) requires contextual evidence or an explicitly marked inference.
RULE loss_of_subunit(c,p) may alter assembly, stability or function; do not assume complete loss.
RULE perturbation_of_interface(c) may change interaction affinity or composition.
09. DYNAMIC STATE TRANSITIONS
TRANSITION unassembled -> intermediate WHEN association_evidence
TRANSITION intermediate -> assembled WHEN composition_and_structure_supported
TRANSITION assembled -> active WHEN activation_evidence
TRANSITION active -> inactive WHEN inhibition_or_signal_termination
TRANSITION assembled -> disassembling WHEN dissociation_evidence
TRANSITION disassembling -> unassembled WHEN subunits_separated
TRANSITION any_state -> degraded WHEN degradation_evidence
CONSTRAINT transitions are conditional; no universal ordering is imposed.
10. EXAMPLES (ILLUSTRATIVE, NOT EXHAUSTIVE)
EXAMPLE proteasome: multisubunit proteolytic machinery with context-specific regulatory assemblies.
EXAMPLE ribosome: ribonucleoprotein complex containing ribosomal proteins and rRNA.
EXAMPLE ATP_synthase: multisubunit energy-converting membrane-associated complex.
EXAMPLE haemoglobin: tetrameric oxygen-binding protein complex in adult human HbA (alpha2 beta2).
EXAMPLE spliceosome: dynamic RNA-protein assembly with changing components.
NOTE: Examples must be resolved to species, isoforms, conditions and source records when instantiated.
11. RECURSIVE REASONING
FUNCTION RESOLVE_COMPLEX(c, depth, visited):
IF depth <= 0 OR c IN visited: RETURN unresolved_with_trace(c)
visited := visited UNION {c}
components := direct_subunits(c)
FOR EACH component IN components:
VERIFY identity, stoichiometry, evidence and context
IF component is a nested complex:
RESOLVE_COMPLEX(component, depth-1, visited)
RETURN context_qualified_assembly(c, components)
RULE recursion must terminate via depth bound and visited set.
RULE nested complex membership is not automatically transitive to direct subunit membership.
12. CONFIDENCE
CONFIDENCE(c) IN [0,1]
EVIDENCE_WEIGHT(experimentally_resolved_structure) = high
EVIDENCE_WEIGHT(orthogonal_biochemical_validation) = high
EVIDENCE_WEIGHT(curated_interaction_dataset) = contextual
EVIDENCE_WEIGHT(computational_prediction) = model_dependent
RULE confidence combines evidence quality, independence, consistency, coverage and provenance.
RULE correlated evidence must not be counted as independent replication.
RULE conflicting observations lower confidence or create context-specific alternatives.
RULE unknown is distinct from false.
13. SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE(a,b) requires compatible identity, organism, composition, isoforms, stoichiometry and context.
RULE same_name(a,b) does not imply SEMANTIC_EQUIVALENCE(a,b).
RULE similar_function(a,b) does not imply SEMANTIC_EQUIVALENCE(a,b).
RULE homologous_complexes(a,b) may share ancestry without identical composition.
RULE exact_equivalence requires source-supported identity mapping.
RULE partial_overlap may support SEMANTIC_SIMILARITY, not strict equivalence.
14. PROVENANCE
RECORD source_uri, source_title, author, publication_date, retrieval_date, evidence_method, identifier, organism, cell_type, condition, revision, confidence.
RULE all inferred edges retain inference method and input references.
RULE experimental and predicted assemblies must be distinguishable.
RULE unresolved claims are marked provisional.
15. FLOW_HASH
CANONICALISE(c): normalise ontology version, identifiers, ordered subunit list, stoichiometry, organism, state and context.
FLOW_HASH(c) = SHA256(UTF8(CANONICALISE(c)))
RULE canonicalisation sorts unordered subunit memberships by stable identifier.
RULE changing a material composition or context field changes the canonical payload.
RULE hash equality is a reproducibility check, not proof of biological truth.
16. UPDATE_MODEL
UPDATE_MODEL(new_record):
VALIDATE types and source provenance
NORMALISE identifiers and contexts
COMPARE with existing complex versions
IF consistent: merge supported attributes without erasing provenance
IF contradictory: preserve competing context-qualified claims
RECOMPUTE confidence and FLOW_HASH
RECORD revision and affected downstream relations
RETURN updated_version_and_audit_trail
17. AI_CONSUMPTION
AI_CONSUMPTION:
entity_type: ProteinComplex
schema_version: 1.0
preferred_identifiers: [UniProt, ComplexPortal, PDB, GeneOntology]
required_fields: [id, name, organism, subunits, evidence_status, provenance]
optional_fields: [stoichiometry, isoforms, compartment, state, function, condition, confidence]
outputs: [typed_graph, assembly_trace, evidence_summary, context_qualified_inference]
uncertainty_policy: preserve_unknowns_and_conflicts
inference_policy: never_promote_prediction_to_observation
safety_policy: do_not_infer_disease_causality_from_complex_membership_alone
18. VALIDATION TESTS
TEST T01: homomeric complex with two identical subunits -> HomomericComplex.
TEST T02: complex with two distinct protein species -> HeteromericComplex.
TEST T03: zero or negative stoichiometry -> reject.
TEST T04: interaction-only record -> insufficient to assert stable complex.
TEST T05: same label with different species -> not automatically equivalent.
TEST T06: conflicting subunit counts -> preserve alternate models with provenance.
TEST T07: cyclic nested membership -> terminate recursion and flag cycle.
TEST T08: missing experimental support -> classify prediction appropriately.
TEST T09: ligand is nonprotein -> do not count as protein subunit.
TEST T10: composition update -> recalculate canonical hash.
19. LIMITATIONS
This ontology is a formal knowledge representation, not a validated biochemical simulation or a complete catalogue of complexes.
Biological complex composition can be dynamic and tissue-, condition- and species-dependent.
Association, co-expression, co-localisation and function do not independently prove physical assembly.
All biological claims require appropriate experimental or curated evidence for specific instances.
END FLOW ALGEBRA