Original question and givens
Let X={x12-1, x12-2, x12-3, x12-4} and Y={y12-1, y12-2, y12-3, y12-4, y12-5}. The finite correspondence is x12-1↦y12-1, x12-2↦y12-1, x12-3↦z12, x12-4↦y12-1. Does it define a function f:X→Y? Keep the codomain Y distinct from the actual range.
G001 — Let X={x12-1, x12-2, x12-3, x12-4} and Y={y12-1, y12-2, y12-3, y12-4, y12-5}. The finite correspondence is x12-1↦y12-1, x12-2↦y12-1, x12-3↦z12, x12-4↦y12-1. Does it define a function f:X→Y? Keep the codomain Y distinct from the actual range.
Step-by-step derivation
S001 · implies
Before
source roles = [qf-finite-function-mapping, [codomain, domain, pairs, scenario]]
After
derived = [function, null, null]
Conditions: none
Use THIS bank’s actual fields,operation/domain and types.BASE retains permissible extra metadata.Do not import LDL SAFE/set limits or a different bank’s deduplication rules.
Step identifiers and dependencies
Rule: R70_SOURCE_bank_specific_interface · Uses: G001
S002 · implies
Before
source roles = [[x12-1, x12-2, x12-3, x12-4], [y12-1, y12-2, y12-3, y12-4, y12-5], [[x12-1, y12-1], [x12-2, y12-1], [x12-3, z12], [x12-4, y12-1]]]
After
derived = [one RAW assignment per domain input]
Conditions: none
THIS original finite-function bank requires exactly ONE RAW assignment row for every input.Do not borrow another bank’s duplicate-pair normalization.The codomain may exceed the range;check multiplicity,missing inputs and outside values directly.
Step identifiers and dependencies
Rule: Function_ORIGINAL_labels_RAW_rows_NO_legacy_dedup · Uses: G001, S001
S003 · implies
Before
source roles = [0, x12-1, y12-1]
After
derived = [Yes]
Conditions: none
Check EACH RAW row for x∈A and y∈B.Retain duplicate rows and row indices;never discard a bad row and then announce a function.
Step identifiers and dependencies
Rule: Function_EACH_RAW_assignment_domain_and_codomain · Uses: G001, S002
S004 · implies
Before
source roles = [1, x12-2, y12-1]
After
derived = [Yes]
Conditions: none
Check EACH RAW row for x∈A and y∈B.Retain duplicate rows and row indices;never discard a bad row and then announce a function.
Step identifiers and dependencies
Rule: Function_EACH_RAW_assignment_domain_and_codomain · Uses: G001, S003
S005 · implies
Before
source roles = [2, x12-3, z12]
After
derived = [No]
Conditions: none
Check EACH RAW row for x∈A and y∈B.Retain duplicate rows and row indices;never discard a bad row and then announce a function.
Step identifiers and dependencies
Rule: Function_EACH_RAW_assignment_domain_and_codomain · Uses: G001, S004
S006 · implies
Before
source roles = [3, x12-4, y12-1]
After
derived = [Yes]
Conditions: none
Check EACH RAW row for x∈A and y∈B.Retain duplicate rows and row indices;never discard a bad row and then announce a function.
Step identifiers and dependencies
Rule: Function_EACH_RAW_assignment_domain_and_codomain · Uses: G001, S005
S007 · implies
Before
source roles = [x12-1, [y12-1]]
After
derived = [1, Yes]
Conditions: none
For EVERY domain input,check EXACTLY ONE RAW assignment.Missing inputs fail;even two identical-output rows cannot silently deduplicate in this ORIGINAL contract.
Step identifiers and dependencies
Rule: Function_EACH_input_exactly_ONE_RAW_row · Uses: G001, S006
S008 · implies
Before
source roles = [x12-2, [y12-1]]
After
derived = [1, Yes]
Conditions: none
For EVERY domain input,check EXACTLY ONE RAW assignment.Missing inputs fail;even two identical-output rows cannot silently deduplicate in this ORIGINAL contract.
Step identifiers and dependencies
Rule: Function_EACH_input_exactly_ONE_RAW_row · Uses: G001, S007
S009 · implies
Before
source roles = [x12-3, [z12]]
After
derived = [1, Yes]
Conditions: none
For EVERY domain input,check EXACTLY ONE RAW assignment.Missing inputs fail;even two identical-output rows cannot silently deduplicate in this ORIGINAL contract.
Step identifiers and dependencies
Rule: Function_EACH_input_exactly_ONE_RAW_row · Uses: G001, S008
S010 · implies
Before
source roles = [x12-4, [y12-1]]
After
derived = [1, Yes]
Conditions: none
For EVERY domain input,check EXACTLY ONE RAW assignment.Missing inputs fail;even two identical-output rows cannot silently deduplicate in this ORIGINAL contract.
Step identifiers and dependencies
Rule: Function_EACH_input_exactly_ONE_RAW_row · Uses: G001, S009
S011 · implies
Before
source roles = [[], [], [[2, x12-3, z12]], [y12-1, z12], [y12-1, y12-2, y12-3, y12-4, y12-5]]
After
derived = [No]
Conditions: none
A function A→B requires absence of ALL three violations.Different inputs may share an output;injectivity/surjectivity is not required.The actual range does not replace the declared B.
Step identifiers and dependencies
Rule: Function_COMPLETE_total_single_valued_into_declared_codomain · Uses: G001, S010