---
title: "Interpreting mathematical results"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{Interpreting mathematical results}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(collapse = TRUE, comment = "#>")
```

```{r scoped-query}
library(largecardinals)
answer <- query_relation("measurable", "mahlo")
stopifnot(check_derivation(answer$witness)$status == "ESTABLISHED")
answer$status
statement_result("exists_measurable")$status
```

The central question in a large-cardinal calculation is what follows
from which assumptions. A symbolic name such as `kappa` does not
designate a cardinal whose existence the software has established. It
identifies the variable shared by a specification and the conclusions
drawn from that specification.

Four different kinds of work
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\--

`SYMBOLIC` records describe formulas, hypotheses, ordinal expressions
and infinite mathematical objects. `mahlo_iteration_spec(0)` describes
the initial inaccessible class. A successor stage applies stationary
trace within that class; a limit stage takes intersection. This
convention does not silently change to diagonal intersection when the
index becomes large.

For a different stage zero, use `cardinal_iteration_spec`. Its
`initial_class` is explicitly `regular`, `weakly_inaccessible` or
`inaccessible`; its `operator` is `limit_points` or `stationary_trace`.
Successors retain members of the preceding stage satisfying that
operator. A fixed limit index uses intersection. The diagonal class
instead tests membership at every index below the candidate cardinal,
which is a separate mathematical operation.

`FINITE_EXACT` results concern the supplied finite structure. A checked
three-element relation may be well founded and have a transitive
collapse. This supplies no model of ZF: no finite structure satisfies
the ZF axioms. Likewise, a finite Laver table satisfies a finite
algebraic identity; it does not construct an elementary embedding of an
infinite rank segment.

`CATALOGUE` results use curated mathematical statements as trusted
premises. For example, the assertion that every measurable cardinal is
Mahlo is a conditional theorem. Retrieving it does not assert that a
measurable cardinal exists. Some hypotheses, such as the existence and
size of a particular forcing, are recorded in the statement rather than
verified from a concrete object.

`CHECKED_DERIVATION` verifies the steps permitted by the package\'s
limited relation kernel. The kernel checks edge identities, relation
kinds, shared parameters, contexts and the catalogue fingerprint. It
does not formalize or verify the set-theoretic proofs of the catalogue
premises. The same distinction applies to a derivation that contains
only one trusted edge.

Model-relative completeness
===========================

An extender derived from an elementary embedding of an inner model can
have well-founded model ultrapowers without being externally countably
complete. The inner model may omit a countable sequence of constraints
that exists in the ambient universe. The catalogue therefore
distinguishes a well-founded ultrapower, completeness computed inside a
model, and external simultaneous witnesses for countably many extender
components. For embeddings with source the full universe, the countable
family is available in the source and the usual external completeness
argument applies.

Higher-order indices
====================

An indescribability `level` has fields `polarity`, `order` and
`alternations`. In the notation Pi\^m\_n or Sigma\^m\_n, `order` is m
and `alternations` is n: the maximum number of alternating quantifier
blocks, rather than the number of switches between blocks. Type m+1
variables range over m iterated power sets of the domain under full
semantics. The remaining matrix quantifies only lower types. Thus order
1 is second-order reflection, and order 2 is third-order reflection.

Order zero is allowed and denotes ordinary first-order prenex complexity
with a quantifier-free matrix. This differs from the Levy hierarchy,
where bounded set quantifiers are allowed at level zero. A zero block
count means that no quantifier of the highest type occurs. These
declarations classify the requested reflection property; the finite
formula parser does not become an interpreter for infinite full
higher-order semantics.

Transfinite Borel specifications
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\--

`borel_hierarchy_spec(ordinal_term("omega"), "Sigma")` describes a Borel
pointclass at the first infinite rank. The rank must be positive and
countable in the specified model. Sigma rank one is open; higher Sigma
ranks use countable unions of lower-rank Pi sets. Pi is the dual class
and Delta their intersection. This constructor complements the finite
levels accepted by `pointclass_spec`.

An effective specification additionally requires `effective=True` and a
symbolic `ordinal_code`, with any real parameters listed in
`parameters`. That code must supply a recursive ordinal presentation
relative to those parameters, including instructions at limit stages.
Supplying its name does not verify this obligation or decide membership
in the pointclass. An arbitrary countable ordinal must not silently be
treated as recursive.

Status and assumptions
======================

`ESTABLISHED` means established within the result\'s mode and scope.
`REFUTED` records a negative result where the implemented procedure
supports one, such as a false formula in a fully specified finite
structure. `UNKNOWN` means the available procedure or evidence did not
settle the query. It does not mean false, independent of ZFC, or open in
contemporary mathematics.

`NOT_APPLICABLE` reports missing prerequisites or a model mismatch.
`UNSUPPORTED` reports a mathematical operation outside the implemented
contract. `INCONSISTENT_CONTEXT` reports a detected conflict between
declared assumptions. Context validation is incomplete: failure to
detect a conflict is not a proof of consistency. Input and
resource-limit errors are exceptions with classified codes, rather than
mathematical refutations.

ZFC supplies choice and dependent choice. In a ZF context, AD supplies
PD and countable choice for sets of reals. The package does not infer
unrestricted dependent choice from AD. PD applies to projective payoffs,
whereas AD concerns all payoffs in games of length omega with
natural-number moves. A hypothesis about real-move games is a further
distinction.

An inner-model label is significant. Statements fixed to one model
cannot be applied to another merely by renaming the context. The
explicitly parameterized `projective_ordinal` calculation returns
ordinals and aleph indices inside its declared ZF+AD+DC model. If that
model is called `L(R)`, its alephs are not silently identified with the
alephs of an outer ZFC universe.

Reading graph edges
===================

A same-cardinal implication keeps the witness fixed: measurable kappa is
Mahlo at that kappa. An existence implication may supply a different,
smaller witness. An inner-model consequence changes the universe in
which a property holds. Relative consistency compares formal theories;
it does not make either theory true or identify their cardinal
witnesses.

NetworkX and igraph exports retain these distinctions as edge attributes
in directed multigraphs. A path found by a graph library can mix
incompatible meanings. Use `query_relation` and `check_derivation` to
obtain and validate the restricted compositions actually supported by
the package. A graph\'s horizontal or vertical coordinates do not
measure cardinality.

For example, the existence of a strongly compact cardinal gives
determinacy inside `L(R)`. It also supplies a relative-consistency
comparison with infinitely many Woodin cardinals. These are two
separately typed edges; neither labels the strongly compact cardinal
itself as Woodin. Likewise, the strengths below a Woodin cardinal are
bounded by that rank: being strong inside a rank model is different from
being strong in the entire universe.

Conventions that change the mathematics
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\--

Rowbottom uses kappa strictly greater than omega\_1. Its small-color
condition alone would be vacuous at omega\_1. The generalized
nu-Rowbottom convention uses cardinals omega \< nu \< kappa. A single
bound on the colors used across all finite arities is required; separate
bounds cannot silently replace it.

Some literature uses Rowbottom for an ultrafilter with a stronger
property: one measure-one set makes the coloring constant at each arity.
The catalogue calls this `arity_homogeneous_ultrafilter` to distinguish
it from a countable bound on the total color image.

Fineness requires incidence sets to belong to a filter;
kappa-completeness is specified separately. `complete_filter_generation`
uses intersections of fewer than kappa generators. Ordinary filter
generation uses finite intersections. Taking only supersets of
individual generators works only when the generators already form a
filter base.

`relative_normal_ultrafilter` measures only the subsets in its declared
model and tests normality on functions from that model. The iteration
convention `normal_model_ultrafilter` additionally requires weak
amenability. Neither internal condition alone implies external countable
completeness or iterability. Comparison of iterable one-measure premice
orders their iteration-equivalence classes, rather than making all
distinct individual iterates strictly comparable.

Forcing records describe conditional mathematical results. A generic
sequence for normal-measure Prikry forcing remains generic after passing
to an infinite subsequence. For arbitrary tree Prikry systems whose
ultrafilter changes with the finite stem, that conclusion can fail. The
general genericity criterion and the constant-ultrafilter subsequence
theorem therefore have separate records.

For partitions of P\_kappa(gamma), strict inclusion of sets and the
stronger size-separated order are different domains. Unbounded,
stationary and filter-member homogeneous families are different
conclusions. The model supplying colorings can differ from the model
supplying homogeneous witnesses.

`third_order_arithmetic` in `pointclass_spec` represents quantification
over sets of reals. Its Sigma\^2\_1 class is different from the
projective class Sigma\^1\_2. The hierarchy family and the subscript
level are separate inputs.

`difference_hierarchy_spec` uses a decreasing sequence. A point is
selected when its first exit index is odd, with the full length as the
index for a point that never exits. Thus lengths one, two and three
represent A0, A0 minus A1, and (A0 minus A1) union A2. The finite
`difference_layers` function checks these operations on explicit nested
sets. A symbolic effective specification requires a joint sequence code;
a name alone does not prove the required recursive presentation or
definability.

Finite checking and infinite principles
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\--

Natural-number induction requires a base case and a step for every
natural number. Transfinite induction additionally depends on a
well-founded order. Testing many instances supplies neither of these
universal premises. Similarly, testing many finite structures does not
establish first-order validity.

Separation constructs subsets of an already given set. It does not
permit a set of all sets. Replacement collects outputs of a functional
definable rule; it is a scheme over formulas. These axioms supply
mathematical existence principles, which are distinct from allocating a
finite Python or R object.

The package\'s status labels concern mathematical evidence under
declared assumptions. They make no commitment to a philosophical account
of mathematical existence. Historical motivation, formal derivability,
semantic truth and numerical approximation are separate questions.

For example, a real number can be represented mathematically by a
Dedekind cut or by an equivalence class of Cauchy sequences. A finite
decimal is generally an approximation to either representation. In
analysis, a uniform limit of continuous functions is continuous;
pointwise convergence alone is insufficient. Such distinctions
illustrate why a representation and its hypotheses must be specified
before transferring a conclusion. No real-analysis solver is claimed by
this library.

Exact data and reproducibility
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\--

Ordinal terms are syntax trees for operations such as ordinal sum,
product, exponentiation, aleph and beth. They are not floating-point
numbers and the package does not generally decide whether two different
trees denote equal ordinals. For large integer indices, canonical
decimal strings preserve exact values across Python and R.

An ordinal successor is different from a successor cardinal. The ordinal
omega+1 is still countable. Similarly, the `power` ordinal constructor
uses ordinal exponentiation, whereas cardinal exponentiation counts
functions. Use an aleph term with a successor index to describe the next
aleph cardinal.

Serialization uses canonical JSON and SHA-256 fingerprints.
Deserialization rejects malformed and noncanonical typed records. A
valid record or matching hash certifies neither provenance nor
mathematical truth. A derivation bound to an old catalogue must be
regenerated when its trusted catalogue changes.

Research-question records carry dated literature status and remain
questions. A published answer is represented separately as a conditional
statement. Withdrawn claims do not become active implication edges. The
current local version\'s mathematical coverage and proof audit remain
incomplete.

One explicit review item is `isolated_measurable_measure_counts`. It
records the reported construction of an inner model with a prescribed
positive number of normal measures and just one measurable cardinal. The
precise sufficient large-cardinal hypothesis for the general
construction has not been verified. Its `DRAFT` status makes
`statement_result` return `UNKNOWN` in an otherwise applicable context,
even if the caller assumes the entry\'s name. It has no graph edge. This
is a limitation of the catalogue review, not a claim that the
mathematical result is unknown. The reviewed two-measure special case is
`only_measurable_two_normal_measures`;
`forcing_prescribed_normal_measure_count` concerns a forcing extension
and does not assert uniqueness of the measurable cardinal.
