validate_context: Check negation and AC/AD conflicts after a fixed closure of...

View source: R/core.R

validate_contextR Documentation

Check negation and AC/AD conflicts after a fixed closure of named axioms

Description

Check negation and AC/AD conflicts after a fixed closure of named axioms.

In ZF, AD_R implies AD, AD implies PD and AC_omega_reals, and DC implies AC_omega_reals. Full AC supplies DC. No converse is assumed.

Usage

validate_context(context)

Arguments

context

An explicit theory_context record, or NULL/None for the default ZFC context.

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

A SYMBOLIC query_result: INCONSISTENT_CONTEXT for a detected conflict, otherwise UNKNOWN; witness lists detected conflicts.

Examples

validate_context(theory_context("ZFC", list()))

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