| evaluate_formula | R Documentation |
Evaluate a first-order formula on the specified finite structure only.
evaluate_formula(expr, structure, assignment = list(), max_steps = 100000L)
expr |
A typed expression built by the public syntax constructors. |
structure |
A finite_structure record. No claim that it satisfies ZF is made. |
assignment |
Named assignments of all free variables to members of the finite domain. |
max_steps |
A positive operation budget. Finite algorithms accept at most 10000000; exhaustion raises RESOURCE_LIMIT. |
All conclusions are restricted to the supplied finite data. They do not witness infinite cardinals, genericity over a full infinite model or infinite determinacy. Invalid domains, missing interpretations and exhausted budgets raise classified errors. Tree depth is at most 100. Relation analysis uses at most 100 domain labels. Exhaustive partition queries are intentionally restricted.
Input errors inherit from largecardinals_error and expose a code. No function publishes data or accesses the network.
A FINITE_EXACT query_result with ESTABLISHED or REFUTED and witness fields truth, assignment and domain.
evaluate_formula(forall(variable("x"), predicate("P", variable("x"))),
finite_structure(list("a", "b"), list(P = list(arity = 1, tuples = list(list("a"))))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.