equal: Form equality of two terms

View source: R/core.R

equalR Documentation

Form equality of two terms

Description

Form equality of two terms.

Usage

equal(left, right)

Arguments

left

The left operand, or a condition label for compatibility queries.

right

The right operand, or a condition label for compatibility queries.

Details

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.

Value

An equality formula on two terms, retaining their declared sorts.

Examples

equal(variable("x"), variable("y"))

largecardinals documentation built on Nov. 25, 2026, 5:09 p.m.