AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
Title: Symbiotic Fungus Ontology
Version: 1.0
Domain: Biological Entities / Fungal Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/fungal-entities/symbiotic-fungus-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Project: Kireth Semantic Library | https://kirethresearch.org
1. PURPOSE
Represent fungi participating in sustained biological associations with other organisms, distinguishing mutualism, commensalism and parasitism using evidence about the particular partners, context and outcomes.
2. TYPED ENTITIES
entity SymbioticFungus <: Fungus
entity PartnerOrganism <: Organism
entity SymbioticAssociation <: BiologicalInteraction
entity MycorrhizalAssociation <: SymbioticAssociation
entity LichenAssociation <: SymbioticAssociation
entity EndophyticAssociation <: SymbioticAssociation
entity FungalAnimalAssociation <: SymbioticAssociation
entity Habitat <: Environment
entity Nutrient <: ChemicalEntity
entity Metabolite <: ChemicalEntity
entity FungalHypha <: FungalStructure
entity HostTissue <: BiologicalTissue
entity EvidenceRecord <: InformationEntity
entity Observation <: EvidenceRecord
entity Taxon <: ClassificationEntity
3. RELATIONSHIP SIGNATURES
participates_in: Organism x SymbioticAssociation -> Boolean
has_partner: SymbioticAssociation x Organism -> Boolean
occurs_in: SymbioticAssociation x Habitat -> Boolean
colonises: SymbioticFungus x HostTissue -> Boolean
transfers: Organism x Nutrient x Organism -> Boolean
produces: Organism x Metabolite -> Boolean
benefits: SymbioticAssociation x Organism -> EvidenceQualifiedBoolean
harms: SymbioticAssociation x Organism -> EvidenceQualifiedBoolean
classified_as: SymbioticAssociation x InteractionType -> EvidenceQualifiedBoolean
supported_by: Assertion x EvidenceRecord -> Boolean
has_taxon: Organism x Taxon -> Boolean
4. CLASSIFICATION AND CONTEXT
InteractionType = {MUTUALISM, COMMENSALISM, PARASITISM, CONTEXT_DEPENDENT, UNRESOLVED}
AssociationContext = (partners, life_stage, habitat, environment, time_interval)
Classification is attached to an association in context, not permanently to a fungal species.
5. SEMANTIC CONSTRAINTS
C1: Every SymbioticAssociation has at least two distinct organism participants.
C2: A fungus may participate in multiple associations with different outcomes.
C3: MycorrhizalAssociation involves fungal and plant partners and a root-associated interface.
C4: LichenAssociation includes a fungal partner and one or more photosynthetic partners (green algae and/or cyanobacteria); additional microbes may be present.
C5: EndophyticAssociation denotes an organism living within plant tissues for at least part of its life cycle; do not infer mutualism solely from endophytic status.
C6: The presence of a partner or colonisation alone does not prove nutrient transfer or benefit.
C7: Partner-specific benefit/harm must be established from evidence and context.
6. INFERENCE RULES
R1: MycorrhizalAssociation(a) AND participates_in(f,a) AND Fungus(f) AND participates_in(p,a) AND Plant(p) -> candidate_relation(f,MYCORRHIZAL_PARTNER,p).
R2: observed_transfer(f,phosphorus,p,a) -> supported_by(transfers(f,phosphorus,p),a) only when evidence directly establishes direction and identity.
R3: benefits(a,x) AND benefits(a,y) AND x != y AND complete_partner_assessment(a) -> candidate_classification(a,MUTUALISM).
R4: benefits(a,x) AND harms(a,y) -> candidate_classification(a,PARASITISM) when x and y are the interacting partners and effects are causally attributed.
R5: has_partner(a,x) AND has_partner(a,y) does NOT imply benefits(a,x) or benefits(a,y).
R6: context_change(a,c1,c2) -> re_evaluate(classified_as(a,type),c2).
R7: contradictory_evidence(assertion) -> flag_for_review(assertion); do not silently overwrite.
7. SEMANTIC EQUIVALENCE
synonym('fungal symbiont','symbiotic fungal partner') when referent and context match.
related_but_not_equivalent('symbiotic fungus','mycorrhizal fungus').
related_but_not_equivalent('symbiosis','mutualism').
related_but_not_equivalent('lichen','fungus'); a lichen is a symbiotic system.
8. CONFIDENCE
CONFIDENCE(assertion) in [0,1]
Factors: direct_observation, experimental_replication, taxonomic_resolution, partner_identification, environmental_context, independent_sources.
Confidence is evidence-derived and never an invented certainty. Unknown evidence -> UNRESOLVED, not 0 or 1 by default.
9. PROVENANCE
PROVENANCE(assertion) = {source_id, author_or_dataset, method, observed_at, retrieved_at, version, licence, evidence_quality}
Keep observational, experimental and inferred assertions separately identifiable.
10. FLOW_HASH
FLOW_HASH = SHA256(canonicalise(version, typed_entities, relations, constraints, rules, assertions, provenance))
Use stable ordering and UTF-8 normalisation; compute the hash when the flow is instantiated. No precomputed digest is asserted here.
11. UPDATE_MODEL
on_new_evidence(record):
validate(record)
link_provenance(record)
update_supported_assertions(record)
recompute_confidence(affected_assertions)
re_evaluate_contextual_classifications()
flag_conflicts_for_review()
recompute_FLOW_HASH()
publish_new_version_without_erasing_history()
12. AI_CONSUMPTION
Input: entity IDs, association IDs, context, evidence records.
Output: typed relationship graph, candidate inferences, explicit unknowns, confidence, provenance and version.
Guardrails: distinguish association from benefit; do not generalise one observed symbiosis to all members of a taxon; mark hypotheses as hypotheses; retain conflicting evidence.
13. EXAMPLE (ILLUSTRATIVE, NOT A CLAIM ABOUT A SPECIFIC SPECIES)
fungus F and plant P participate in mycorrhizal association A.
A occurs in soil habitat H.
Observed phosphorus movement from F to P and carbon movement from P to F are linked to distinct evidence records.
Mutualism is a candidate classification only after evidence supports benefits to both partners in the measured context.
14. VALIDATION
- All relation arguments match declared types.
- Association contains at least two distinct partners.
- Every empirical assertion carries provenance.
- Confidence values are bounded and evidence-backed.
- Classification is context-scoped and revisable.
- FLOW_HASH is recalculated after canonical updates.
END FLOW ALGEBRA