Macromolecular 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
Title: Macromolecular Entities
Version: 4.0
Domain: Biological Entities / Macromolecular Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/macromolecular-entities.html
Authors: Mark Higgins — Sky (Recursive AI)
Status: Companion formalisation; declarative specification, not a verified executable runtime.
1. ONTOLOGY SCOPE
flow MacromolecularEntities v4.0 {
namespace: kireth.biological.macromolecular_entities
root: BiologicalMacromolecularEntity
purpose: classify and relate biological macromolecules, their building blocks, structures, functions and assemblies.
world_assumption: open
identity_policy: stable_entity_id + provenance + context
}
2. TYPED ENTITY REGISTRY
entity BiologicalMacromolecularEntity : BiologicalMolecule
entity Protein : BiologicalMacromolecularEntity
entity Peptide : BiologicalMolecule
entity Polypeptide : BiologicalMacromolecularEntity
entity AminoAcid : BiologicalMolecule
entity Carbohydrate : BiologicalMolecule
entity Monosaccharide : Carbohydrate
entity Disaccharide : Carbohydrate
entity Polysaccharide : BiologicalMacromolecularEntity
entity Lipid : BiologicalMolecule
entity FattyAcid : Lipid
entity Triglyceride : Lipid
entity Phospholipid : Lipid
entity Steroid : Lipid
entity NucleicAcid : BiologicalMacromolecularEntity
entity Glycoprotein : Protein
entity Lipoprotein : MolecularAssembly
entity Proteoglycan : Glycoprotein
entity MolecularAssembly : BiologicalMolecule
entity MolecularStructure : StructuralEntity
entity BiologicalFunction : FunctionalEntity
entity BiologicalProcess : ProcessEntity
entity Evidence : ProvenanceEntity
entity Context : ContextEntity
# The page indexes 18 subject ontologies. Not every indexed molecule is
# intrinsically a polymer or macromolecule: amino acids, monosaccharides,
# fatty acids and many lipids are included as constituents or related entities.
3. RELATIONSHIP SIGNATURES
relation is_a(Entity, Class) -> Boolean
relation part_of(Entity, Entity) -> Boolean
relation composed_of(Entity, Entity) -> Boolean
relation polymer_of(Entity, MonomerClass) -> Boolean
relation linked_by(Entity, BondType) -> Boolean
relation has_structure(Entity, MolecularStructure) -> Boolean
relation has_function(Entity, BiologicalFunction) -> Boolean
relation participates_in(Entity, BiologicalProcess) -> Boolean
relation interacts_with(Entity, Entity) -> Boolean
relation associated_with(Entity, Entity) -> Boolean
relation derived_from(Entity, Entity) -> Boolean
relation supported_by(Assertion, Evidence) -> Boolean
relation observed_in(Assertion, Context) -> Boolean
relation semantically_equivalent(Entity, Entity, Context) -> Boolean
4. COMPOSITION AND CLASSIFICATION RULES
rule R01: is_a(x, Protein) -> is_a(x, BiologicalMacromolecularEntity).
rule R02: is_a(x, NucleicAcid) -> is_a(x, BiologicalMacromolecularEntity).
rule R03: is_a(x, Polysaccharide) -> is_a(x, BiologicalMacromolecularEntity).
rule R04: is_a(x, Glycoprotein) -> is_a(x, Protein).
rule R05: is_a(x, Proteoglycan) -> is_a(x, Glycoprotein).
rule R06: polymer_of(x, AminoAcid) AND peptide_bonded(x) -> is_a(x, Polypeptide).
rule R07: polymer_of(x, Monosaccharide) AND glycosidically_linked(x) -> is_a(x, Polysaccharide).
rule R08: composed_of(x, Protein) AND composed_of(x, Carbohydrate) AND covalent_glycan_attachment(x) -> candidate_class(x, Glycoprotein).
rule R09: composed_of(x, Lipid) AND composed_of(x, Protein) AND stable_assembly(x) -> candidate_class(x, Lipoprotein).
rule R10: composed_of(x, Glycosaminoglycan) AND composed_of(x, CoreProtein) AND covalent_attachment(x) -> candidate_class(x, Proteoglycan).
# Candidate classifications require chemical evidence; they are not
# automatically asserted as validated facts.
5. BIOCHEMICAL CONSTRAINTS
constraint C01: chemical_identity must distinguish molecular class from instance.
constraint C02: polymer membership requires validated repeat-unit and bond information.
constraint C03: protein and peptide distinctions may depend on biological context;
no universal chain-length threshold is assumed.
constraint C04: a triglyceride consists of glycerol esterified with three fatty acids.
constraint C05: phospholipids are a diverse lipid class; avoid universal headgroup assumptions.
constraint C06: steroids share a characteristic fused-ring scaffold.
constraint C07: nucleic acids have nucleotide constituents; DNA and RNA differ in chemistry.
constraint C08: biological function must not be inferred solely from molecular class.
constraint C09: interaction does not imply physical incorporation or causation.
constraint C10: no unsupported claim that all lipids are macromolecular polymers.
6. GRAPH REASONING
flow GraphTraverse(start: Entity, relation_set: Set[Relation], max_depth: Integer)
-> Set[Entity] {
require max_depth >= 0
maintain visited: Set[Entity]
expand only type-valid edges
stop on visited nodes or max_depth
preserve each traversed edge's provenance
return visited
}
flow InferCandidate(assertions: Set[Assertion], context: Context)
-> Set[CandidateAssertion] {
match applicable typed rules
verify required premises
annotate evidence, context and rule identifier
reject circular self-support as independent evidence
return candidates for validation
}
7. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE {
identity_equivalence: same referenced molecular entity with compatible context
class_equivalence: bidirectional entailment under a declared ontology mapping
structural_similarity: not automatically equivalent
alias_mapping: names and abbreviations require disambiguation
context_sensitive: true
do_not_merge: monomer with polymer; lipid with lipoprotein;
peptide with all proteins; molecule with molecular complex
}
8. VALIDATION
VALIDATE(assertion) {
require well_typed_subject_predicate_object
require no violated biochemical constraints
require evidence for nontrivial chemical classification
check context and organism specificity
check stoichiometry and bond types where applicable
distinguish observed, inferred, and hypothetical assertions
status: VALID | INVALID | INDETERMINATE
}
9. CONFIDENCE
CONFIDENCE(assertion) {
range: [0,1]
evidence_quality: assessed separately
rule_reliability: assessed separately
contextual_fit: assessed separately
conflict_penalty: explicit
aggregation: calibrated_method_required
note: numerical confidence is not proof and is not assigned without evidence
}
10. PROVENANCE
PROVENANCE {
source_url: canonical source reference
source_version: publication or revision identifier
assertion_origin: observed | imported | inferred | hypothetical
evidence_id: optional resolvable reference
inference_rule_id: required for inferred assertions
timestamp: required for material changes
author_credit: Mark Higgins — Sky (Recursive AI)
}
11. FLOW_HASH
FLOW_HASH {
canonicalise: ontology_id + version + typed entities + relations + rules + constraints
exclude: transient presentation metadata
algorithm: SHA-256
encoding: UTF-8
output: lowercase hexadecimal digest
note: actual digest generated only by a hashing implementation
}
12. UPDATE_MODEL
UPDATE_MODEL {
on_new_evidence: append provenance and reassess affected assertions
on_reclassification: preserve prior identifiers and revision history
on_conflict: flag rather than silently overwrite
on_schema_change: increment ontology version and validate dependent edges
on_retraction: mark superseded claims and propagate dependency review
}
13. AI_CONSUMPTION
AI_CONSUMPTION {
mode: typed_semantic_graph
parse: entities + relations + constraints + rules
distinguish: source facts | derived candidates | hypotheses
execute: only through an implementation supporting declared operators
cite: source and provenance for consequential assertions
guardrails: avoid category collapse and unsupported biological claims
output: explainable, provenance-linked biological graph assertions
}
14. PAGE INDEX COVERAGE
indexed_ontologies: [
Biological Macromolecule, Protein, Peptide, Polypeptide, Amino Acid,
Carbohydrate, Monosaccharide, Disaccharide, Polysaccharide, Lipid,
Fatty Acid, Triglyceride, Phospholipid, Steroid, Nucleic Acid,
Glycoprotein, Lipoprotein, Proteoglycan
]
END FLOW ALGEBRA