{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "Simulation",
 "ref": "Simulation#1058",
 "hash": "sema:Simulation#mh:SHA-256:1058e7090079e846251ed480d7afec0328809d22bebb6b205425b2de614787c3",
 "stub": "1058",
 "layer": "Mind",
 "type": "Strategy",
 "summary": "A virtualized execution",
 "mechanism": "Forks the current World State#4f25 (W) into W', executes an action in W', discards W' and returns the Outcome#7537. W remains immutable. The fork is what provides isolation, which is also its limit: only effects that flow through W are contained, so a Sandbox#7106 is required wherever simulated code can reach resources the fork did not copy.",
 "invariants": [
  "Isolation within the fork: side effects on W' do not propagate to W.",
  "Isolation extends only to state captured by the fork. Effects reaching resources outside W require a Sandbox#7106 boundary."
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [
  "W is forkable — the world state can be snapshotted at the fidelity the simulation requires"
 ],
 "postconditions": [],
 "failure_modes": [],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "Simulation",
 "builds_on": [
  {
   "alias": "sandbox",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Sandbox",
   "ref": "Sandbox#7106",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Sandbox"
  },
  {
   "alias": "state",
   "relation": "references",
   "library": "bootstrap",
   "slug": "State",
   "ref": "State#4f25",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/State"
  },
  {
   "alias": "outcome",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Outcome",
   "ref": "Outcome#7537",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Outcome"
  }
 ],
 "related": [],
 "used_by": [
  {
   "slug": "CognitiveEcho",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/CognitiveEcho"
  },
  {
   "slug": "EmpathySim",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/EmpathySim"
  },
  {
   "slug": "Estimate",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Estimate"
  },
  {
   "slug": "HypothesisEngine",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/HypothesisEngine"
  },
  {
   "slug": "MentalSim",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/MentalSim"
  },
  {
   "slug": "PropheticQuorum",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/PropheticQuorum"
  },
  {
   "slug": "SimulationTrace",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/SimulationTrace"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/Simulation",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/Simulation.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
