Original question and givens
The binary relation has source A={-2, -1, 0}, target B={2, 3, 4}, and R={(-2, 2), (-1, 3), (0, 4)}⊆A×B. List its actual domain Dom(R) in increasing order with each element once.
G001 — The binary relation has source A={-2, -1, 0}, target B={2, 3, 4}, and R={(-2, 2), (-1, 3), (0, 4)}⊆A×B. List its actual domain Dom(R) in increasing order with each element once.
Step-by-step derivation
S001 · implies
Before
source roles = [qf-relation-domain-projection, [A, B, R, operation]]
After
derived = [domain_projection, no-invented-domain]
Conditions: none
Separate source banks:legacy RAW SAFE with unbounded derived BigInts versus BASE Number.isInteger without invented SAFE/million caps.Operations,domains and permissive/exact keys follow THIS bank.Keep ORIGINAL JSON intact.
Step identifiers and dependencies
Rule: R68_BANK_specific_keys_operations_and_numeric_guards · Uses: G001
S002 · implies
Before
source roles = [relation ORIGINAL source A, [-2, -1, 0]]
After
derived = [[-2, -1, 0]]
Conditions: none
THIS LDL set has0..100 DISTINCT RAW SAFE labels,with the empty set allowed.Sort only the derived representation;preserve original JSON order.Do not import another BASE set protocol.
Step identifiers and dependencies
Rule: LDL_RAW_distinct_SAFE_set_empty_allowed · Uses: G001, S001
S003 · implies
Before
source roles = [relation ORIGINAL target B, [2, 3, 4]]
After
derived = [[2, 3, 4]]
Conditions: none
THIS LDL set has0..100 DISTINCT RAW SAFE labels,with the empty set allowed.Sort only the derived representation;preserve original JSON order.Do not import another BASE set protocol.
Step identifiers and dependencies
Rule: LDL_RAW_distinct_SAFE_set_empty_allowed · Uses: G001, S002
S004 · implies
Before
source roles = [0, [-2, 2]]
After
derived = [[-2, 2]]
Conditions: none
Type EVERY raw R pair as EXACTLY TWO SAFE coordinates BEFORE deduplication.Identical repeated pairs are legal,but deduplication must not hide an unvalidated cell.
Step identifiers and dependencies
Rule: Relation_RAW_EVERY_pair_typed_BEFORE_dedup · Uses: G001, S003
S005 · implies
Before
source roles = [1, [-1, 3]]
After
derived = [[-1, 3]]
Conditions: none
Type EVERY raw R pair as EXACTLY TWO SAFE coordinates BEFORE deduplication.Identical repeated pairs are legal,but deduplication must not hide an unvalidated cell.
Step identifiers and dependencies
Rule: Relation_RAW_EVERY_pair_typed_BEFORE_dedup · Uses: G001, S004
S006 · implies
Before
source roles = [2, [0, 4]]
After
derived = [[0, 4]]
Conditions: none
Type EVERY raw R pair as EXACTLY TWO SAFE coordinates BEFORE deduplication.Identical repeated pairs are legal,but deduplication must not hide an unvalidated cell.
Step identifiers and dependencies
Rule: Relation_RAW_EVERY_pair_typed_BEFORE_dedup · Uses: G001, S005
S007 · implies
Before
source roles = [[-2, -1, 0], [2, 3, 4], [[-2, 2], [-1, 3], [0, 4]]]
After
derived = [Yes]
Conditions: none
FIRST qualify the COMPLETE R⊆A×B.A relation need not be total,single-valued,injective or onto.Empty R/carriers are allowed when typed.Keep ORIGINAL raw duplicates/order in the source copy.
Step identifiers and dependencies
Rule: Relation_COMPLETE_typed_subset_A_cross_B_NO_function_assumption · Uses: G001, S006
S008 · implies
Before
source roles = [[-2, -1, 0], [2, 3, 4], [[-2, 2], [-1, 3], [0, 4]]]
After
derived = [[-2, -1, 0], {-2, -1, 0}]Conditions: none
Dom(R)collects ONLY first coordinates ACTUALLY appearing in pairs,once each.A may contain unused elements,so do not simply return A.Empty R has empty domain.
Step identifiers and dependencies
Rule: Relation_DOMAIN_actual_FIRST_coordinates_not_declared_A · Uses: G001, S007