# Question 7215: Complete Domain, Codomain, Graph, and Range Inventory

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

[← Question derivation index](https://ocme.evemisslab.com/en/questions/) · [Original question batch](https://ocme.evemisslab.com/en/practice/batch-20261011-advance-20261015-r03-domain-codomain-range-foundations/#q-20261011-advance-20261015-r03-domain-codomain-range-0015)

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.

R0013-07215 · q-20261011-advance-20261015-r03-domain-codomain-range-0015



## Original question and givens

Fin(3)={0,…,2} is the source and Fin(3)={0,…,2} the codomain; complete typed images=[1, 1, 1] are indexed from 0. All entries must be typed, even unused ones. Give ([n,m], all ordered [x,images[x]] rows, increasing range, unused codomain, range size).


- G001 — Fin(3)={0,…,2} is the source and Fin(3)={0,…,2} the codomain; complete typed images=[1, 1, 1] are indexed from 0. All entries must be typed, even unused ones. Give ([n,m], all ordered [x,images[x]] rows, increasing range, unused codomain, range size).





## 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

declared types Fin(3)→Fin(3);0-based source labels

After

domain,codomain and actual range remain distinct

Conditions: none

Fin(0) is empty;a complete total table is not a partial program function,and its actual range need not equal its declared codomain.This audits finite data,not general infinite-set theorems.

Step identifiers and dependenciesRule: typed_domain_codomain_data_scope · Uses: G001





S002 · impliesBefore

source index=0∈Fin(3)

After

image[0]=1∈Fin(3)

Conditions: none

First type-check every cell of the complete original table,not only cells queried later.

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





S003 · impliesBefore

source index=1∈Fin(3)

After

image[1]=1∈Fin(3)

Conditions: none

First type-check every cell of the complete original table,not only cells queried later.

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





S004 · impliesBefore

source index=2∈Fin(3)

After

image[2]=1∈Fin(3)

Conditions: none

First type-check every cell of the complete original table,not only cells queried later.

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





S005 · impliesBefore

complete graph=[[0, 1], [1, 1], [2, 1]]

After

range=[1];unused codomain=[0, 2];range size=1

Conditions: none

The range is the deduplicated output set,while declared n and m still fix domain and codomain sizes.A smaller range does not shrink the codomain.

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









## Reverse checks


- S005 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S004 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S003 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S002 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S001 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.





## Result

([3, 3], [[0, 1], [1, 1], [2, 1]], [1], [0, 2], 1)

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: fd46759ab127397e56888fa10e0f9a3710c26740763c7289f596df0c297f3351
- candidate record SHA-256: 76d4336e5b1347719a1f5280be99af7f98c4b69d8246b92bb72e7496dfb428f8
- semantic review receipt SHA-256: e89fc6d4a50a4a7fc942c6c8939a92f835e30105a9a5850e37dd198f31c1ed59
- question-first witness SHA-256: 0e1039f4cf022bf35af4e5531651c9a2b7ca7a5fdacac34fb1e4bcd9a81f6299
- Lean: NOT_RUN · human review: NOT_PERFORMED

[Same-source full JSON](https://ocme.evemisslab.com/data/question-derivations/questions/q-20261011-advance-20261015-r03-domain-codomain-range-0015.json)




