Exercise 03 — MLR (Mineral Lock‑In Regime)
Crystal–Mycelial Engine — Teaching Exercise Series#
1. Objective#
Students will implement the Mineral Lock‑In Regime (MLR) stage of the CME pipeline by:
- propagating mineral lattice fronts
- encoding domain memory
- producing the canonical
mineral_mapsubstrate
This exercise introduces P and M operator families in their mineral‑domain context.
2. Regime Summary — MLR#
MLR models the final transition into mineral lattice logic:
- crystal lattice propagation
- domain formation
- impurity‑band memory encoding
- resonance‑locked geometry
Envelope Targets
- supersaturation: ≥ 0.85
- thermal shift: −3 to −5 °C
- resonance alignment: TRUE
3. Required Operators#
Students must use:
P.front_propagate— propagate the mineral lattice frontM.domain_memory— encode memory into mineral domains
These produce the canonical mineral_map structure.
4. Expected Output Structure#
The student’s agent should return:
mineral_map = {
"lattice": <data>,
"domains": <data>
}Values may be placeholders or simulated data depending on lesson level.
5. Starter Scaffold#
class MineralDomainAgent:
def crystallize(self, hybrid_layer):
"""
Implement the Mineral Lock-In Regime (MLR).
Required:
P.front_propagate
M.domain_memory
Output:
mineral_map
"""
mineral_map = {
"lattice": None,
"domains": None
}
# TODO: call P.front_propagate
# TODO: call M.domain_memory
return mineral_map6. Student Tasks#
- Accept
hybrid_layerfrom Exercise 02. - Implement
P.front_propagateto generate lattice propagation. - Implement
M.domain_memoryto encode domain memory. - Store results in
mineral_map. - Print the resulting
mineral_mapfor inspection. - Verify envelope targets (supersaturation ≥ 0.85, thermal shift −3 to −5 °C).
7. Completion Criteria#
A student has successfully completed Exercise 03 when:
mineral_map["lattice"]contains a lattice propagation structuremineral_map["domains"]contains domain memory data- envelope targets are acknowledged
- code runs without errors
