{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "Decay",
 "ref": "Decay#482b",
 "hash": "sema:Decay#mh:SHA-256:482b97f7196f35c8c50be1b2537ec6e04410a4920fcd8409bec735db3278737a",
 "stub": "482b",
 "layer": "Physics",
 "type": "Primitives",
 "summary": "Automatic expiration of stale state",
 "mechanism": "Gradual attenuation: without reinforcement, Value#37fd V decreases over time. `half_life` determines the rate. Reinforcement resets or boosts V. V descends to `floor_value` and stops there; reaching the floor triggers a State#4f25 change, and removal only where the floor is zero.",
 "invariants": [
  "Monotone absent reinforcement: V does not increase unless reinforced.",
  "V never descends below `floor_value`."
 ],
 "parameters": [
  {
   "name": "floor_value",
   "type": "Float",
   "range": "[0.0, 0.5]",
   "description": "Minimum value, never decays below"
  },
  {
   "name": "half_life",
   "type": "Duration",
   "range": "[1min, 30d]",
   "description": "Time for value to halve"
  }
 ],
 "signature": [],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [
  "Unreachable removal: `floor_value` is above zero, so V never reaches zero and a removal trigger set at zero never fires."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "Decay",
 "builds_on": [
  {
   "alias": "state",
   "relation": "references",
   "library": "bootstrap",
   "slug": "State",
   "ref": "State#4f25",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/State"
  },
  {
   "alias": "value",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Value",
   "ref": "Value#37fd",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Value"
  }
 ],
 "related": [
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "StateTransition",
   "ref": "StateTransition#bdc0",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/StateTransition"
  }
 ],
 "used_by": [
  {
   "slug": "Crystallize",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Crystallize"
  },
  {
   "slug": "CurriculumReplay",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/CurriculumReplay"
  },
  {
   "slug": "EpistemicCalibrate",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/EpistemicCalibrate"
  },
  {
   "slug": "ExpiringToken",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ExpiringToken"
  },
  {
   "slug": "GlacialVault",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/GlacialVault"
  },
  {
   "slug": "Resonate",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Resonate"
  },
  {
   "slug": "Stigmergy",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Stigmergy"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/Decay",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/Decay.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
