validate_record: Validate interchange structure and known semantic record...

View source: R/core.R

validate_recordR Documentation

Validate interchange structure and known semantic record types

Description

Validate interchange structure and known semantic record types.

Usage

validate_record(value)

Arguments

value

The value or typed record to validate, serialize or fingerprint.

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

The validated typed record or expression; this is data validation, not mathematical proof.

Examples

validate_record(theory_context())

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