{
  "hub-canary": {
    "label": "Emmy: x + x",
    "source": "(do (require '[emmy.env :as e]) (e/->TeX (e/simplify (e/+ 'x 'x))))",
    "expected": "2\\,x",
    "auto": true,
    "editable": false
  },
  "proto-arithmetic": {
    "label": "Basic arithmetic",
    "source": "(+ 1 2 3)",
    "expected": "6",
    "editable": true
  },
  "proto-definition": {
    "label": "Define x",
    "source": "(def x 42)",
    "expected": "user/x",
    "editable": true
  },
  "proto-shared-state": {
    "label": "Use x from the preceding cell",
    "source": "(* x 2)",
    "expected": "84",
    "editable": true
  },
  "proto-error-state": {
    "label": "Deliberate error",
    "source": "(this-symbol-does-not-exist 1 2)",
    "editable": true,
    "expectError": true
  },
  "proto-emmy": {
    "label": "Emmy simplifies x + x",
    "source": "(do (require '[emmy.env :as e]) (e/->TeX (e/simplify (e/+ 'x 'x))))",
    "expected": "2\\,x",
    "editable": true
  },
  "sicm-harmonic": {
    "label": "Harmonic-oscillator Lagrange residual",
    "source": "(do\n  (require '[emmy.env :as e])\n  (defn L-harmonic [m k]\n    (fn [local]\n      (let [q (e/coordinate local)\n            v (e/velocity local)]\n        (e/- (e/* (e// 1 2) m (e/square v))\n             (e/* (e// 1 2) k (e/square q))))))\n  (e/simplify\n   (((e/Lagrange-equations (L-harmonic 1 1)) e/cos) 't)))",
    "expected": "0",
    "auto": true,
    "editable": false
  },
  "sicm-figure-1-1": {
    "label": "Figure 1.1: stationary path maximum error",
    "source": "(do\n  (require '[emmy.env :as e])\n  (defn sicm-L-harmonic [m k]\n    (fn [local]\n      (let [q (e/coordinate local)\n            v (e/velocity local)]\n        (e/- (e/* (e// 1 2) m (e/square v))\n             (e/* (e// 1 2) k (e/square q))))))\n  (def sicm-q3\n    (e/find-path (sicm-L-harmonic 1.0 1.0)\n                 0.0 1.0 1.5707963267948966 0.0 3))\n  (let [maximum-error\n        (apply max\n               (map (fn [i]\n                      (let [t (* i 0.01)]\n                        (js/Math.abs (- (sicm-q3 t) (js/Math.cos t)))))\n                    (range 158)))]\n    (str maximum-error \" | book-bound=\" (< maximum-error 0.00017))))",
    "expected": "book-bound=true",
    "auto": true,
    "editable": false
  },
  "clay-emmy": {
    "label": "The browser half of the Clay receipt",
    "source": "(do (require '[emmy.env :as e]) (e/->TeX (e/simplify (e/+ 'x 'x))))",
    "expected": "2\\,x",
    "auto": true,
    "editable": false
  },
  "runtime-canary": {
    "label": "Pinned runtime check",
    "source": "(do (require '[emmy.env :as e]) (e/->TeX (e/simplify (e/+ 'x 'x))))",
    "expected": "2\\,x",
    "auto": true,
    "editable": false
  }
}
