The batch a term operation runs: every stored sentence that uses a term, restated with
another term in its place or retracted, as one edit!. problems answers what an
operation refuses before a batch is built; batch builds the edit. Nothing here
writes. See docs/api.md, "Contract notes: term operations".
The batch a term operation runs: every stored sentence that uses a term, restated with another term in its place or retracted, as one `edit!`. `problems` answers what an operation refuses before a batch is built; `batch` builds the edit. Nothing here writes. See docs/api.md, "Contract notes: term operations".
(batch kb op mapping)The edit! batch term operation op runs over mapping (problems empty), as
{:add [[sentence context opts?] …] :remove [handle …] :restates [[handle …] …]},
:restates naming the records each add restates, in step with :add. The records are
the premises using a mapped term and the metas naming them, each written as
premise-entries writes it, the adds in the originals' assertion order (docs/api.md,
"Contract notes: term operations"). Throws :nat-map-outside-universe when a
natFormula premise it reaches is stored outside CxUniverse, and :unrestatable-sentex
when a record to restate has no text form or is inert.
The `edit!` batch term operation `op` runs over `mapping` (`problems` empty), as
`{:add [[sentence context opts?] …] :remove [handle …] :restates [[handle …] …]}`,
`:restates` naming the records each add restates, in step with `:add`. The records are
the premises using a mapped term and the metas naming them, each written as
`premise-entries` writes it, the adds in the originals' assertion order (docs/api.md,
"Contract notes: term operations"). Throws `:nat-map-outside-universe` when a
`natFormula` premise it reaches is stored outside CxUniverse, and `:unrestatable-sentex`
when a record to restate has no text form or is inert.The term operations, each by the keyword batch takes.
The term operations, each by the keyword `batch` takes.
(problems kb op mapping)What term operation op over mapping refuses before it builds a batch, as
[{:type :term :message} …], empty when it would run. docs/api.md's table under
"Contract notes: term operations" lists each :type.
What term operation `op` over `mapping` refuses before it builds a batch, as
`[{:type :term :message} …]`, empty when it would run. docs/api.md's table under
"Contract notes: term operations" lists each `:type`.(substitute smap form)form with each symbol smap maps replaced at its use positions (walk-uses).
`form` with each symbol `smap` maps replaced at its use positions (`walk-uses`).
(tautology? sentence)Has the substitution turned sentence into (P x x) of a tautology-functors relation?
Has the substitution turned `sentence` into `(P x x)` of a `tautology-functors` relation?
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |