| parse_formula | R Documentation |
Parse bounded S-expressions: '(forall x (implies (P x) (P x)))'.
parse_formula(source, max_tokens = 10000L)
source |
Source text for the parser, or a symbolic source/model label for a specification. |
max_tokens |
Maximum number of parser tokens; excessively deep inputs are also rejected. |
Expressions are sorted syntactic trees. Normalization changes bound names only, not logical content. Substitution avoids capture. A theory context is a declaration. Integers beyond 2^53-1 must use canonical decimal strings in ordinal terms. Serialization accepts bounded finite JSON data and never evaluates code. Typed deserialization validates against the current catalogue where applicable.
Input errors inherit from largecardinals_error and expose a code. No function publishes data or accesses the network.
A typed expression parsed from the documented bounded prefix syntax.
parse_formula("(forall x (implies (P x) (P x)))")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.