largecardinals for R

See the installed function help and the guide to mathematical scope and evidence. After installation, open it with vignette("semantics", package = "largecardinals").

A native R toolkit for symbolic large cardinals, typed logical relations and bounded exact finite mathematics. No Python runtime is used. Optional igraph exports preserve hypotheses, evidence and relation kinds.

Version 0.1.0 provides symbolic specifications and explicitly scoped evidence. Specifications do not assert the existence of infinite objects. Trusted catalogue theorems are distinguished from the mechanically checked composition of relation steps. The general isolated-measurable measure-count statement has an unverified sufficient hypothesis; its record remains DRAFT, returns UNKNOWN when applicable, and cannot be used as a relation step. See the scope guide for details.

R 4.1 or later, jsonlite and digest are required. From the directory containing the local source archive, install it with:

install.packages("largecardinals_0.1.0.tar.gz", repos = NULL, type = "source")

Install igraph separately for graph export. Development checks use testthat, knitr and rmarkdown; the source vignette builds with Pandoc. The native source has passed CI checks on Linux with R release, oldrel-1 and devel, and on Windows and macOS with R release. This CRAN submission is prepared separately from the GitHub repository.

library(largecardinals)
mahlo <- mahlo_property("kappa")
result <- query_relation("measurable", "mahlo")
stopifnot(result$status == "ESTABLISHED")
check_derivation(result$witness)
graph <- to_igraph(nodes = c("measurable", "ramsey", "weakly_compact", "mahlo"))
plot(graph, vertex.label = igraph::V(graph)$label)

R uses exists_formula, substitute_formula and serialize_record for the operations named exists, substitute and serialize in Python. This keeps base R names available and preserves interoperability with R package tooling.

Copyright RiskDataScience GmbH. Author and maintainer: Dr. Dimitrios Geromichalos, riskdatascience@web.de. Licensed under Apache License 2.0.