Protein Entities
Authors:
MArk Anthony Higgins - Sky Recursive Ai
MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: July 6th 2026
Revised Date: July 6th 2026
AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
Protein Entities — Parent Ontology
Kireth Semantic Library | Version 1.0 | 2026-10-15
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/protein-entities.html
Status: Domain-grounded formalisation of the verified parent-page taxonomy; not an extraction of child-page specifications.
flow "ProteinEntities" v1.0
# 01 — DOMAIN AND TYPE SYSTEM
DOMAIN := BiologicalEntity / MolecularEntity / ProteinEntity
TYPE ProteinEntity <: BiologicalMacromolecule
TYPE Polypeptide <: ProteinEntity
TYPE ProteinComplex <: MolecularAssembly
TYPE ProteinSubunit <: ProteinEntity
TYPE ProteinDomain <: StructuralRegion
TYPE ProteinMotif <: SequenceOrStructuralPattern
TYPE AminoAcidSequence <: BiologicalSequence
TYPE ProteinConformation <: MolecularConformation
TYPE ProteinFunction <: BiologicalFunction
TYPE CellularCompartment <: BiologicalLocation
TYPE ProteinInteraction <: BiologicalRelationship
TYPE ProteinEvidence <: EvidenceRecord
TYPE ProteinObservation <: ScientificObservation
TYPE ProteinVariant <: MolecularVariant
TYPE ProteinModification <: MolecularModification
TYPE ProteinState <: BiologicalState
TYPE ConfidenceScore := real[0,1]
# 02 — ONTOLOGY CATEGORIES (VERIFIED PARENT TAXONOMY)
CATEGORY ProteinEntityOntology
CATEGORY StructuralProteinOntology
CATEGORY TransportProteinOntology
CATEGORY StorageProteinOntology
CATEGORY MotorProteinOntology
CATEGORY ReceptorProteinOntology
CATEGORY SignallingProteinOntology
CATEGORY CarrierProteinOntology
CATEGORY MembraneProteinOntology
CATEGORY IntegralMembraneProteinOntology
CATEGORY PeripheralMembraneProteinOntology
CATEGORY NuclearProteinOntology
CATEGORY CytoplasmicProteinOntology
CATEGORY ExtracellularProteinOntology
CATEGORY ProteinDomainOntology
CATEGORY ProteinMotifOntology
CATEGORY ProteinComplexOntology
CATEGORY ProteinSubunitOntology
CATEGORY MisfoldedProteinOntology
CATEGORY PrionProteinOntology
# 03 — TYPED ENTITIES
ENTITY protein: ProteinEntity
ENTITY sequence: AminoAcidSequence
ENTITY conformation: ProteinConformation
ENTITY function: ProteinFunction
ENTITY location: CellularCompartment
ENTITY evidence: ProteinEvidence
ENTITY observation: ProteinObservation
ENTITY complex: ProteinComplex
ENTITY subunit: ProteinSubunit
ENTITY domain: ProteinDomain
ENTITY motif: ProteinMotif
ENTITY variant: ProteinVariant
ENTITY modification: ProteinModification
# 04 — RELATIONSHIP SIGNATURES
RELATION has_sequence(ProteinEntity, AminoAcidSequence)
RELATION has_conformation(ProteinEntity, ProteinConformation)
RELATION has_function(ProteinEntity, ProteinFunction)
RELATION located_in(ProteinEntity, CellularCompartment)
RELATION contains_domain(ProteinEntity, ProteinDomain)
RELATION contains_motif(ProteinEntity, ProteinMotif)
RELATION contains_subunit(ProteinComplex, ProteinSubunit)
RELATION participates_in(ProteinEntity, BiologicalProcess)
RELATION interacts_with(ProteinEntity, ProteinEntity)
RELATION derived_from(ProteinEntity, GeneOrTranscript)
RELATION modified_by(ProteinEntity, ProteinModification)
RELATION has_variant(ProteinEntity, ProteinVariant)
RELATION supported_by(Assertion, ProteinEvidence)
RELATION classified_as(ProteinEntity, ProteinCategory)
RELATION changes_state(ProteinEntity, ProteinState, ProteinState)
# 05 — FUNCTIONAL CLASSIFICATION
RULE structural(p) IF provides_mechanical_support(p) OR contributes_to_scaffold(p)
RULE transport(p) IF facilitates_movement_of_substance(p)
RULE storage(p) IF reversibly_reserves_biological_material(p)
RULE motor(p) IF converts_energy_to_mechanical_work(p)
RULE receptor(p) IF specifically_detects_ligand_or_signal(p) AND transduces_or_recruits_response(p)
RULE signalling(p) IF transmits_or_modulates_biological_signal(p)
RULE carrier(p) IF binds_and_conveys_cargo(p)
RULE membrane(p) IF stably_associated_with_membrane(p)
RULE integral_membrane(p) IF membrane(p) AND embedded_in_lipid_bilayer(p)
RULE peripheral_membrane(p) IF membrane(p) AND non_integral_surface_association(p)
RULE nuclear(p) IF located_in(p, nucleus)
RULE cytoplasmic(p) IF located_in(p, cytoplasm)
RULE extracellular(p) IF located_in(p, extracellular_space)
RULE misfolded(p) IF deviates_from_relevant_functional_fold(p) AND supported_by_structural_evidence(p)
RULE prion_related(p) IF supported_prion_propagation_or_prion_protein_identity(p)
# 06 — NON-EXCLUSIVE CLASSIFICATION CONSTRAINTS
CONSTRAINT functional_categories_may_overlap := true
CONSTRAINT location_categories_may_overlap := true
CONSTRAINT membrane_categories_require_context := true
CONSTRAINT integral_membrane(p) -> membrane(p)
CONSTRAINT peripheral_membrane(p) -> membrane(p)
CONSTRAINT misfolded(p) != prion_related(p)
CONSTRAINT carrier(p) MAY_OVERLAP transport(p)
CONSTRAINT receptor(p) MAY_OVERLAP signalling(p)
CONSTRAINT domain != motif
CONSTRAINT subunit != complex
CONSTRAINT localisation_requires_cell_type_and_condition_when_relevant := true
# 07 — MOLECULAR STRUCTURE
RULE primary_structure(p) := ordered_amino_acid_sequence(p)
RULE secondary_structure(p) := local_backbone_conformation(p)
RULE tertiary_structure(p) := three_dimensional_fold_of_chain(p)
RULE quaternary_structure(c) := spatial_organisation_of_multiple_subunits(c)
RULE protein_complex(c) IF molecular_assembly(c) AND has_protein_component(c)
RULE protein_domain(d) IF independently_recognisable_structural_or_functional_region(d)
RULE protein_motif(m) IF recurrent_sequence_or_structural_pattern(m)
RULE protein_subunit(s,c) IF contains_subunit(c,s)
# 08 — BIOLOGICAL PROCESSES
PROCESS translation(transcript, polypeptide)
PROCESS folding(polypeptide, conformation)
PROCESS post_translational_modification(protein, modification)
PROCESS intracellular_trafficking(protein, source, destination)
PROCESS complex_assembly(subunits, complex)
PROCESS ligand_binding(protein, ligand, state)
PROCESS protein_degradation(protein, pathway)
PROCESS conformational_transition(protein, state_before, state_after)
PROCESS aggregation(protein_population, aggregate)
PROCESS chaperone_assisted_folding(protein, chaperone, result)
# 09 — TRANSITION RULES
RULE translated_product(t,p) IF translation(t,p)
RULE folded_state(p,s) IF folding(p,s) AND validated_conformation(s)
RULE modified_state(p,m) IF post_translational_modification(p,m)
RULE assembled_complex(c) IF required_subunits_present(c) AND assembly_supported(c)
RULE degradation_candidate(p) IF damage_signal(p) OR turnover_signal(p)
RULE functional_change(p) IF conformation_changed(p) AND functional_effect_observed(p)
RULE aggregation_risk(p) IF aggregation_prone_state(p) AND permissive_conditions(p)
# 10 — RECURSIVE ENTITY GRAPH
GRAPH ProteinEntityGraph := (V,E)
V := proteins + domains + motifs + complexes + subunits + functions + locations + processes + evidence
E := typed_relationships(V)
RECURSE expand(entity, depth):
REQUIRE depth >= 0
IF depth == 0 THEN RETURN entity
neighbours := verified_outgoing_relationships(entity)
RETURN entity UNION expand_each(neighbours, depth - 1)
RECURSE infer_function(p, visited):
IF p IN visited THEN RETURN unresolved
visited := visited UNION {p}
direct := experimentally_supported_functions(p)
indirect := functions_from_homology_domains_interactions(p)
RETURN rank_by_evidence(direct UNION indirect, visited)
# 11 — SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE:
"protein entity" <=> ProteinEntity
"protein assembly" <=> ProteinComplex ONLY_IF assembly_contains_protein AND context_matches
"membrane-spanning protein" <=> IntegralMembraneProtein ONLY_IF transmembrane_embedding_supported
"protein isoform" != "protein variant" WITHOUT contextual_qualification
"misfolded protein" != "prion protein"
"protein domain" != "protein motif"
RULE equivalent(a,b) IF same_referent(a,b) AND same_biological_context(a,b) AND no_conflicting_identity_evidence(a,b)
# 12 — CONFIDENCE AND EVIDENCE
CONFIDENCE:
range: [0.0, 1.0]
dimensions: [experimental_support, reproducibility, sequence_identity, structural_support, functional_support, contextual_match]
evidence_classes: [direct_experiment, curated_database, structural_measurement, comparative_inference, computational_prediction]
aggregation: calibrated_evidence_model
missing_evidence: unknown_not_false
conflicting_evidence: retain_conflicts_and_flag_review
RULE high_confidence(assertion) IF calibrated_confidence(assertion) >= 0.90
RULE tentative(assertion) IF calibrated_confidence(assertion) < 0.60
RULE inferred_annotation(assertion) -> mark_inferred(assertion)
RULE predicted_structure(p) -> NOT automatically_experimentally_validated(p)
# 13 — PROVENANCE AND IDENTITY
IDENTITY:
canonical_id: stable_namespace_identifier
accession: optional_external_database_accession
species: required_when_identity_is_species_specific
isoform: optional_isoform_identifier
version: source_release_identifier
PROVENANCE:
source_url: required
evidence_reference: required_for_scientific_assertions
observation_date: optional
retrieval_date: optional
transformation_history: retained
licence: source_specific
# 14 — FLOW HASH
FLOW_HASH:
algorithm: SHA-256
canonicalisation: UTF-8 + normalised_line_endings + deterministic_field_order
input: ontology_id + version + canonical_entities + canonical_relationships + canonical_rules
output: lowercase_hex_digest
validation: recompute_on_semantic_change
note: hash_is_integrity_fingerprint_not_proof_of_truth
# 15 — UPDATE MODEL
UPDATE_MODEL:
trigger: [new_evidence, new_protein_classification, revised_sequence, corrected_structure, updated_function, changed_taxonomy]
action: validate -> compare -> preserve_provenance -> revise -> rehash -> publish
versioning: semantic_revision
rollback: previous_version_retained
conflict_policy: flag_and_review
invariant: do_not_silently_replace_experimental_facts_with_predictions
# 16 — AI CONSUMPTION
AI_CONSUMPTION:
mode: typed_semantic_reasoning
inputs: [protein_entities, evidence, classifications, biological_context]
outputs: [typed_graph, supported_inferences, uncertainty, provenance, flow_hash]
constraints:
- do_not_invent_protein_accessions
- distinguish_observed_from_predicted
- do_not_infer_causality_from_association_alone
- preserve_species_and_cell_context
- treat_category_membership_as_nonexclusive
- expose_uncertainty_and_conflicting_evidence
- distinguish_protein_subunits_from_complexes
validation: type_check + evidence_check + contradiction_check + provenance_check
# 17 — INTEGRITY CONDITIONS
ASSERT all_relationship_endpoints_type_checked
ASSERT no_unresolved_reference_claimed_as_verified
ASSERT each_derived_assertion_has_provenance
ASSERT source_page_taxonomy_preserved
ASSERT no_equivalence_without_context_validation
ASSERT confidence_scores_are_calibrated_or_marked_unavailable
ASSERT update_history_is_append_only
END FLOW