AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
CRYSTAL STRUCTURE ONTOLOGY
Version: 1.1
Domain: Kireth Semantic Library / Entity Graph / Physical Entities / Geological Entities
Source URL: https://kirethresearch.org/booksai-core/entity-graph/physical-entities/geological-entities/crystal-structure-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Site: https://kirethresearch.org
Status: Independent scientific synthesis; source page not independently verified.
01. PURPOSE
Represent periodic atomic arrangements in crystalline geological materials, with explicit symmetry, lattice, unit-cell, mineral and observational semantics.
02. SCOPE
Covers ideal periodic crystals, real defects, polycrystals, phase changes, diffraction and geological occurrence. A crystal structure is not identical to a mineral species or crystal habit.
03. TYPES
TYPE Entity
TYPE Material <: Entity
TYPE Mineral <: Material
TYPE Crystal <: Material
TYPE CrystalStructure <: Entity
TYPE Lattice <: Entity
TYPE Basis <: Entity
TYPE UnitCell <: Entity
TYPE AtomSite <: Entity
TYPE SymmetryOperation <: Entity
TYPE SpaceGroup <: Entity
TYPE PointGroup <: Entity
TYPE CrystalSystem <: Entity
TYPE BravaisType <: Entity
TYPE MillerPlane <: Entity
TYPE ReciprocalLattice <: Entity
TYPE Defect <: Entity
TYPE Grain <: Entity
TYPE Phase <: Entity
TYPE DiffractionObservation <: Entity
TYPE Measurement <: Entity
04. CORE RELATIONS
has_structure(Crystal, CrystalStructure)
has_lattice(CrystalStructure, Lattice)
has_basis(CrystalStructure, Basis)
has_unit_cell(CrystalStructure, UnitCell)
has_site(Basis, AtomSite)
has_space_group(CrystalStructure, SpaceGroup)
has_point_group(CrystalStructure, PointGroup)
has_crystal_system(CrystalStructure, CrystalSystem)
has_bravais_type(Lattice, BravaisType)
contains_grain(Material, Grain)
contains_defect(Crystal, Defect)
produces_pattern(CrystalStructure, DiffractionObservation)
undergoes_transition(Phase, Phase)
05. PERIODIC STRUCTURE
L = {n1*a1 + n2*a2 + n3*a3 | n1,n2,n3 in Z}
Structure = union over R in L of {R + r_j | r_j in basis}
Assumptions: ideal three-dimensional periodic lattice and a finite basis.
06. UNIT CELL
A = [a1 a2 a3], det(A) != 0
V = |det(A)|
Cell lengths: a,b,c > 0; interaxial angles alpha,beta,gamma in (0,180 degrees).
A conventional cell need not be primitive.
07. RECIPROCAL LATTICE
b1 = 2*pi*(a2 cross a3)/[a1 dot (a2 cross a3)]
b2 = 2*pi*(a3 cross a1)/[a1 dot (a2 cross a3)]
b3 = 2*pi*(a1 cross a2)/[a1 dot (a2 cross a3)]
a_i dot b_j = 2*pi*delta_ij
G_hkl = h*b1 + k*b2 + l*b3
For G_hkl != 0: d_hkl = 2*pi/|G_hkl|.
08. SYMMETRY
A space-group operation acts as r -> W*r + t, preserving the ideal structure.
A point group contains rotational and reflection-related operations fixing a point.
A space group additionally encodes translations, screw axes and glide planes.
Crystallographic restriction: allowed proper rotation orders in periodic crystals are 1,2,3,4,6.
09. CRYSTAL SYSTEMS
Seven systems: triclinic, monoclinic, orthorhombic, tetragonal, trigonal, hexagonal, cubic.
Fourteen Bravais lattice types in three dimensions.
230 conventional three-dimensional crystallographic space-group types.
Do not equate seven crystal systems with fourteen Bravais lattices.
10. ATOMIC SITES
AtomSite = (species, fractional_coordinates, occupancy, displacement_parameters)
Fractional position r = A*u where u=(u1,u2,u3).
Require 0 <= occupancy <= 1 for an individually modelled site.
Mixed occupancy may be represented as multiple species with total occupancy <= 1.
11. MINERAL RELATIONSHIPS
Mineral species identity uses composition and crystal structure where applicable.
Polymorphs may share chemical composition while differing in crystal structure.
Example: diamond and graphite are distinct carbon polymorphs.
Crystal habit describes external morphology and is not a complete structure identifier.
12. DIFFRACTION
Bragg relation: n*lambda = 2*d*sin(theta) for suitable constructive interference.
Structure factor: F_hkl = sum_j f_j*occ_j*exp[2*pi*i*(h*x_j+k*y_j+l*z_j)] (simplified model).
Peak positions constrain lattice metrics; intensities constrain atomic arrangement.
Real diffraction analysis also requires corrections for geometry, disorder and instrument effects.
13. DEFECTS
Point defects: vacancy, interstitial, substitutional impurity.
Line defects: dislocations.
Planar defects: stacking faults, grain boundaries, twins.
Volume defects: inclusions and pores.
A real crystal may deviate from ideal periodicity without ceasing to be crystalline.
14. GEOLOGICAL CONTEXT
Crystal structures affect cleavage, density, optical anisotropy, elasticity and phase stability.
Pressure, temperature and composition may govern mineral phase transitions.
Geological provenance must be recorded separately from crystallographic inference.
15. VALIDATION RULES
RULE V01: unit-cell basis vectors are linearly independent.
RULE V02: crystal structure must reference a lattice and basis for ideal periodic representation.
RULE V03: fractional coordinates are interpreted modulo lattice translations.
RULE V04: stated space-group operations must preserve the ideal structure within tolerance.
RULE V05: predicted diffraction peaks must be consistent with lattice parameters and wavelength.
RULE V06: inferred mineral identity requires more than a single matching diffraction peak.
RULE V07: measured values retain units, uncertainty and method.
RULE V08: defects must not be silently discarded from experimental descriptions.
16. INFERENCE RULES
IF same_composition(A,B) AND distinct_structure(A,B) THEN polymorphic_relation(A,B) [when same substance and conditions apply].
IF measured_d_spacing AND indexed_hkl AND known_wavelength THEN constrain_unit_cell.
IF systematic_absences(pattern) THEN constrain_candidate_space_groups, NOT uniquely_identify_space_group.
IF orientation_dependent_property THEN candidate_anisotropy; verify experimentally.
IF structure_changes_with_pressure THEN candidate_phase_transition; require thermodynamic or observational evidence.
17. WORKED EXAMPLE: CUBIC CELL
For cubic lattice with parameter a, V=a^3.
d_hkl = a/sqrt(h^2+k^2+l^2), for nonzero (h,k,l).
If a=0.400 nm, d_100=0.400 nm and d_110=0.28284 nm.
These are geometric results, not proof of a particular material.
18. WORKED EXAMPLE: BRAGG PEAK
Given lambda=0.154 nm, d=0.200 nm, n=1:
sin(theta)=lambda/(2*d)=0.385.
theta approximately 22.64 degrees; 2theta approximately 45.28 degrees.
Assumes a valid Bragg reflection and idealised geometry.
19. SEMANTIC EQUIVALENCE
'crystal lattice' ~ 'periodic translation lattice' only when referring to the translational framework.
'crystal structure' != 'lattice' because structure additionally specifies a basis.
'unit cell' != 'primitive unit cell' without explicit qualification.
'crystal system' != 'space group'.
'crystallite' ~ 'grain' in suitable polycrystalline contexts, not universally.
20. CONFIDENCE
CONFIDENCE model:
source_reliability: [0,1]
measurement_quality: [0,1]
model_fit: [0,1]
interpretation_ambiguity: [0,1]
aggregate: calibrated, provenance-aware; do not fabricate numeric confidence.
Unverified source-page alignment: unknown.
21. FLOW OPERATIONS
FLOW classify_structure(observations) -> candidate_structures
validate observations
extract lattice metrics and reflection conditions
propose candidates
compare predicted and observed diffraction
report candidates, evidence, uncertainty and unresolved alternatives
END
FLOW relate_mineral_structure(mineral, structure) -> relation
check composition, phase conditions and evidence
preserve distinction between confirmed and hypothesised assignment
END
22. UPDATE_MODEL
UPDATE_MODEL:
version: 1.1
triggers: new diffraction data; revised mineral classification; refined structural model
strategy: preserve identifiers; append provenance; revalidate dependent claims
conflict_policy: retain competing interpretations until evidence resolves them
timestamp: source-controlled UTC timestamp at publication
23. FLOW_HASH
FLOW_HASH:
algorithm: SHA-256
input: canonical UTF-8 bytes of stable semantic payload
exclusions: generated hash field and volatile timestamps
value: NOT_COMPUTED
note: compute after canonicalisation; do not invent digest
24. AI_CONSUMPTION
AI_CONSUMPTION:
content_type: text/plain; charset=utf-8
domain: geological crystallography
intended_uses: semantic retrieval; typed graph integration; scientific reasoning assistance
require_provenance: true
preserve_units: true
distinguish_observed_from_inferred: true
caution: not a substitute for crystallographic refinement or laboratory validation
25. CROSS-ONTOLOGY LINKS
RELATED: Mineral Ontology; Rock Ontology; Crystal Ontology; Atomic Orbital Ontology; Material Ontology; Geological Entities.
RELATION: crystal_structure is a structural descriptor of crystalline material, not a synonym for mineral.
26. COMPLETENESS CHECK
Sections 01 through 26 present.
Key formal definitions, relationships, validation, worked examples, confidence, flow hash and AI consumption present.
Source webpage contents not independently verified; ontology is a scientific synthesis.
END FLOW ALGEBRA — CRYSTAL STRUCTURE ONTOLOGY