# Question 32368: Reading the Range of a Function

[Return to catalogue page 162](https://ocme.evemisslab.com/en/questions/page/162/)

[← Question derivation index](https://ocme.evemisslab.com/en/questions/) · [Original question batch](https://ocme.evemisslab.com/en/practice/batch-20260930-r03-domain-codomain-range-foundations/#q-20260930-r03-function-range-set-0018)

This teaching derivation has second-context AI mathematical and bilingual semantic review, limited to the model and assumptions stated in this question. It has no human review or new Lean proof and does not promote the original question or MKO to Canonical truth.

R0063-32368 · q-20260930-r03-function-range-set-0018



## Original question and givens

Given the explicit declaration A={5, 6, 7, 8}, B={-34, 0, 35}, ordered pairs=[(5, 35), (6, -34), (7, 0), (8, 35)] and a total function f:A→B, list the attained range in increasing order.


- G001 — Given the explicit declaration A={5, 6, 7, 8}, B={-34, 0, 35}, ordered pairs=[(5, 35), (6, -34), (7, 0), (8, 35)] and a total function f:A→B, list the attained range in increasing order.





## Definition and scope

Use the original question domain, assumptions and cited MKO definitions. This item has second-context mathematical and bilingual review, with the model, answer and every arithmetic step independently recomputed from the original parameters; the source question remains a candidate.


- [mko-domain-codomain-range](https://ocme.evemisslab.com/en/mko/mko-domain-codomain-range/)





## Step-by-step derivation

S001 · impliesBefore

source roles = [qf-function-range-set, range, no-required-domain, []]

After

derived = [[ACTUAL_attained_range_set_STRING]]

Conditions: none

BASE sources do not acquire a generic legacy operation/domain or unknown-metadata ban.Retain metadata WITHOUT using it as an answer oracle.PULSE/legacy enforce their exact source keys,operation/domain.Do not impose universal tuples,/1 or input bounds.

Step identifiers and dependenciesRule: R63_SOURCE_bank_keys_operation_domain_output_roles_metadata_not_oracle · Uses: G001





S002 · impliesBefore

source roles = [A declared domain, pulse-function, [5, 6, 7, 8]]

After

derived = [[5, 6, 7, 8]]

Conditions: none

RAW A/B/C are distinct SAFE integers.Legacy injective limits100,but PULSE has NO such cap.Sort ONLY a derived work table,retaining original lists.

Step identifiers and dependenciesRule: Map_RAW_distinct_SAFE_set_BANK_specific_cardinality_bound · Uses: G001, S001





S003 · impliesBefore

source roles = [B declared codomain, pulse-function, [-34, 0, 35]]

After

derived = [[-34, 0, 35]]

Conditions: none

RAW A/B/C are distinct SAFE integers.Legacy injective limits100,but PULSE has NO such cap.Sort ONLY a derived work table,retaining original lists.

Step identifiers and dependenciesRule: Map_RAW_distinct_SAFE_set_BANK_specific_cardinality_bound · Uses: G001, S002





S004 · impliesBefore

source roles = [pulse-function, [[5, 35], [6, -34], [7, 0], [8, 35]]]

After

derived = [[[5, 35], [6, -34], [7, 0], [8, 35]]]

Conditions: none

PULSE rejects EXACT duplicate RAW rows BEFORE totality,not as a legal No.Legacy injective FIRST checks raw length≤200,then normalizes identical rows as one pair.Do not exchange these policies;type-check EVERY raw cell first.

Step identifiers and dependenciesRule: Map_RAW_pairs_arity_SAFE_DUPLICATE_policy_BEFORE_totality · Uses: G001, S003





S005 · impliesBefore

source roles = [pulse-function, 0, 5, 35, [5, 6, 7, 8], [-34, 0, 35]]

After

derived = [Yes, Yes, Yes]

Conditions: none

EVERY row input must belong to A and output to B,including unused/orphan rows.Even an empty A does not waive row typing.

Step identifiers and dependenciesRule: Map_EACH_row_SOURCE_and_TARGET_membership_in_declared_sets · Uses: G001, S004





S006 · impliesBefore

source roles = [pulse-function, 1, 6, -34, [5, 6, 7, 8], [-34, 0, 35]]

After

derived = [Yes, Yes, Yes]

Conditions: none

EVERY row input must belong to A and output to B,including unused/orphan rows.Even an empty A does not waive row typing.

Step identifiers and dependenciesRule: Map_EACH_row_SOURCE_and_TARGET_membership_in_declared_sets · Uses: G001, S005





S007 · impliesBefore

source roles = [pulse-function, 2, 7, 0, [5, 6, 7, 8], [-34, 0, 35]]

After

derived = [Yes, Yes, Yes]

Conditions: none

EVERY row input must belong to A and output to B,including unused/orphan rows.Even an empty A does not waive row typing.

Step identifiers and dependenciesRule: Map_EACH_row_SOURCE_and_TARGET_membership_in_declared_sets · Uses: G001, S006





S008 · impliesBefore

source roles = [pulse-function, 3, 8, 35, [5, 6, 7, 8], [-34, 0, 35]]

After

derived = [Yes, Yes, Yes]

Conditions: none

EVERY row input must belong to A and output to B,including unused/orphan rows.Even an empty A does not waive row typing.

Step identifiers and dependenciesRule: Map_EACH_row_SOURCE_and_TARGET_membership_in_declared_sets · Uses: G001, S007





S009 · impliesBefore

source roles = [pulse-function, 5, [[5, 35], [6, -34], [7, 0], [8, 35]]]

After

derived = [1, Yes]

Conditions: none

Count rows for EACH DECLARED A input;EXACTLY one is required for a total function.Missing rows/multiple distinct outputs fail;do not conceal them with a first-match lookup.

Step identifiers and dependenciesRule: Map_EACH_declared_input_EXACTLY_one_normalized_row · Uses: G001, S008





S010 · impliesBefore

source roles = [pulse-function, 6, [[5, 35], [6, -34], [7, 0], [8, 35]]]

After

derived = [1, Yes]

Conditions: none

Count rows for EACH DECLARED A input;EXACTLY one is required for a total function.Missing rows/multiple distinct outputs fail;do not conceal them with a first-match lookup.

Step identifiers and dependenciesRule: Map_EACH_declared_input_EXACTLY_one_normalized_row · Uses: G001, S009





S011 · impliesBefore

source roles = [pulse-function, 7, [[5, 35], [6, -34], [7, 0], [8, 35]]]

After

derived = [1, Yes]

Conditions: none

Count rows for EACH DECLARED A input;EXACTLY one is required for a total function.Missing rows/multiple distinct outputs fail;do not conceal them with a first-match lookup.

Step identifiers and dependenciesRule: Map_EACH_declared_input_EXACTLY_one_normalized_row · Uses: G001, S010





S012 · impliesBefore

source roles = [pulse-function, 8, [[5, 35], [6, -34], [7, 0], [8, 35]]]

After

derived = [1, Yes]

Conditions: none

Count rows for EACH DECLARED A input;EXACTLY one is required for a total function.Missing rows/multiple distinct outputs fail;do not conceal them with a first-match lookup.

Step identifiers and dependenciesRule: Map_EACH_declared_input_EXACTLY_one_normalized_row · Uses: G001, S011





S013 · impliesBefore

source roles = [pulse-function, [5, 6, 7, 8], [-34, 0, 35], [[5, 35], [6, -34], [7, 0], [8, 35]], Yes]

After

derived = [[Yes, Yes, Yes, Yes], [1, 1, 1, 1], Yes]

Conditions: none

A total function needs BOTH every declared input AND every row qualified.PULSE validity may legally return No;other queries and legacy injective REQUIRE actual totality BEFORE lookup.Empty A/table can be valid;unattained B labels remain.

Step identifiers and dependenciesRule: Map_TOTAL_all_declared_inputs_AND_ALL_rows_before_any_lookup · Uses: G001, S012





S014 · impliesBefore

source roles = [range, [5, 6, 7, 8], [-34, 0, 35], [[5, 35], [6, -34], [7, 0], [8, 35]]]

After

derived = [[-34, 0, 35], {-34, 0, 35}, []]

Conditions: none

Read DECLARED A for domain and DECLARED B for codomain;ONLY the range collects attained outputs.Unattained B remains in the codomain.An empty-domain function has empty range but may have nonempty codomain.

Step identifiers and dependenciesRule: Function_DECLARED_domain_codomain_VERSUS_ACTUAL_range · Uses: G001, S013









## Reverse checks


- S014 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S013 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S012 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S011 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S010 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S009 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S008 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S007 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S006 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S005 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S004 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S003 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S002 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S001 · premise_and_result_audit — Reverse-check ORIGINAL inputs,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.





## Result

{-34, 0, 35}

The full substitutions and premise checks give the original answer; source identity,format and status are unchanged.





## This question review and source binding

Review date: 2026-10-26

Original questions, answers, step expressions, numeric ASTs and historical records are retained. Source candidate labels remain historical and are not overwritten as formal proof.

Source hashes and review receipts
- input commit: 0f7be61e2c22317a4075561dc822c87d881a50db
- original question SHA-256: 554189ba77c0aa04f737c20639ed3e7cd70d408f0945f54cc03cba0289edd4ad
- candidate record SHA-256: 4c35ef235e890340f7459d81db5775edc4c8fc7c840028734e46d34466a0a3f9
- semantic review receipt SHA-256: acf03b776f4855e3869810bcbecf1116e3a2b11dfb1e2a5dfbcf8135ad24a7d0
- question-first witness SHA-256: eadbbac3220988b52754f32450fb536d627217306d1ce28a49134f56c21bfa88
- Lean: NOT_RUN · human review: NOT_PERFORMED

[Same-source full JSON](https://ocme.evemisslab.com/data/question-derivations/questions/q-20260930-r03-function-range-set-0018.json)




