check_finite_embedding: Check full first-order elementarity between two finite...

View source: R/finite.R

check_finite_embeddingR Documentation

Check full first-order elementarity between two finite relational structures

Description

Check full first-order elementarity between two finite relational structures.

In the full first-order language with equality, an elementary map between finite structures is necessarily an isomorphism onto the target. This test checks that characterization, including constants and relation reflection.

Usage

check_finite_embedding(source, target, mapping, max_steps = 100000L)

Arguments

source

The source finite_structure record.

target

The target finite_structure record. The supplied map must be onto this domain to be elementary between finite structures.

mapping

A total named map from the finite source domain into the finite target domain.

max_steps

A positive operation budget. Finite algorithms accept at most 10000000; exhaustion raises RESOURCE_LIMIT.

Details

All conclusions are restricted to the supplied finite data. They do not witness infinite cardinals, genericity over a full infinite model or infinite determinacy. Invalid domains, missing interpretations and exhausted budgets raise classified errors. Tree depth is at most 100. Relation analysis uses at most 100 domain labels. Exhaustive partition queries are intentionally restricted.

Input errors inherit from largecardinals_error and expose a code. No function publishes data or accesses the network.

Value

A FINITE_EXACT result checking an elementary map between the two finite structures. For finite relational structures this requires an isomorphism onto the entire target.

Examples

check_finite_embedding(finite_structure(list("a", "b"), list(P = list(arity = 1, 
    tuples = list(list("a"))))), finite_structure(list("u", "v"), 
    list(P = list(arity = 1, tuples = list(list("v"))))), list(a = "v", 
    b = "u"))

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