aboutsummaryrefslogtreecommitdiff
path: root/spec/inferred.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-03-24 22:41:38 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-03-24 22:41:38 -0400
commit46e989035fa921a5a32169cc0a9b897ec313cc2e (patch)
treed92737c676f75ef4e752cff095b36fe20a5dfe09 /spec/inferred.md
parent51ddc6a0797452b0f4ae977133038ce2439fbead (diff)
Specify function Undo headers
Diffstat (limited to 'spec/inferred.md')
-rw-r--r--spec/inferred.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/inferred.md b/spec/inferred.md
index 18cd67dc..bfc9dbda 100644
--- a/spec/inferred.md
+++ b/spec/inferred.md
@@ -162,6 +162,10 @@ Inverses of other modifiers and derived functions or modifiers obtained from the
|---------|---------
| `` ` `` | `{!0<=𝕩 β‹„ 𝕨 (Β»π”½βΌΒ¨βŠ’){(βŠβˆΎβŠπ”½1βŠΈβ†“)⍟(1<β‰ )βŠ˜π”½} 𝕩}`
+### Undo headers
+
+An `UndoHead` header specifies how a block function acts when undone. Like ordinary headers, undo headers are searched for a match when a block function `F` is undone, or when `F˜` is undone with two arguments (including the two modifier cases `π”½βŸœk` and `𝔽𝔾k` from the previous section). An `UndoHead` without `"˜"` matches the `F⁼` case while one with `"˜"` matches the `F˜⁼` case. The left and right arguments are matched to `headW` and `headX` as with ordinary headers, and the first matching case is evaluated to give the result of the Undo-derived function.
+
## Under
The Under 2-modifier `⌾` conceptually applies its left operand under the action of its right operand. Setting `zβ†π•¨π”½βŒΎπ”Ύπ•©`, it satisfies `(𝕨𝔽○𝔾𝕩) ≑ 𝔾z`. We might say that `𝔾` transforms values to a new domain, and `βŒΎπ”Ύ` lifts actions `𝔽` performed in this domain to the original domain of values. For example, addition in the logarithmic domain corresponds to multiplication in the linear domain: `+⌾(⋆⁼)` is `Γ—` (but less precise if computed in floating point).