normalize: Canonicalize bound names only; this does not decide logical...

View source: R/core.R

normalizeR Documentation

Canonicalize bound names only; this does not decide logical equivalence

Description

Canonicalize bound names only; this does not decide logical equivalence.

Usage

normalize(expr)

Arguments

expr

A typed expression built by the public syntax constructors.

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 alpha-normalized expression. Other logical equivalences are not simplified.

Examples

normalize(forall(variable("y"), member(variable("x"), variable("y"))))

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