# Question 5534: Complete Mapping Mismatch Indices and Ordered Values

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

[← Question derivation index](https://ocme.evemisslab.com/en/questions/) · [Original question batch](https://ocme.evemisslab.com/en/practice/batch-20261008-advance-20261012-r07-function-mapping-foundations/#q-20261008-advance-20261012-r07-function-mapping-0084)

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.

R0010-05534 · q-20261008-advance-20261012-r07-function-mapping-0084



## Original question and givens

The complete total map f:Fin(3)→Fin(8) has images=[0, 2, 0] indexed from 0; Fin(3)={0,…,2}. Every table entry must lie in the target type. A second complete total map g on the same types has other=[0, 3, 0]. Give (increasing mismatch indices, aligned [f(i),g(i)] value pairs).


- G001 — The complete total map f:Fin(3)→Fin(8) has images=[0, 2, 0] indexed from 0; Fin(3)={0,…,2}. Every table entry must lie in the target type. A second complete total map g on the same types has other=[0, 3, 0]. Give (increasing mismatch indices, aligned [f(i),g(i)] value pairs).





## 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-function-mapping](https://ocme.evemisslab.com/en/mko/mko-function-mapping/)





## Step-by-step derivation

S001 · impliesBefore

f:Fin(3)→Fin(8);source indices start at0

After

complete total map,not a partial program function

Conditions: none

Every legal source element has one codomain value.Fin(0) is empty;an outside query is ill-typed,not a hole of a partial function at a legal input.

Step identifiers and dependenciesRule: total_finite_mapping_scope · Uses: G001





S002 · impliesBefore

f input=0∈Fin(3)

After

f(0)=0∈Fin(8)

Conditions: none

Audit source and codomain eligibility for every entry;an unqueried entry may not be illegal.

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





S003 · impliesBefore

f input=1∈Fin(3)

After

f(1)=2∈Fin(8)

Conditions: none

Audit source and codomain eligibility for every entry;an unqueried entry may not be illegal.

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





S004 · impliesBefore

f input=2∈Fin(3)

After

f(2)=0∈Fin(8)

Conditions: none

Audit source and codomain eligibility for every entry;an unqueried entry may not be illegal.

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





S005 · impliesBefore

g input=0∈Fin(3)

After

g(0)=0∈Fin(8)

Conditions: none

Audit source and codomain eligibility for every entry;an unqueried entry may not be illegal.

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





S006 · impliesBefore

g input=1∈Fin(3)

After

g(1)=3∈Fin(8)

Conditions: none

Audit source and codomain eligibility for every entry;an unqueried entry may not be illegal.

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





S007 · impliesBefore

g input=2∈Fin(3)

After

g(2)=0∈Fin(8)

Conditions: none

Audit source and codomain eligibility for every entry;an unqueried entry may not be illegal.

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





S008 · impliesBefore

source index=0;f(i)=0;g(i)=0

After

different=No

Conditions: none

Compare the same source index pointwise;the value pair is[f(i),g(i)],without exchanging the maps.

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





S009 · impliesBefore

source index=1;f(i)=2;g(i)=3

After

different=Yes

Conditions: none

Compare the same source index pointwise;the value pair is[f(i),g(i)],without exchanging the maps.

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





S010 · impliesBefore

source index=2;f(i)=0;g(i)=0

After

different=No

Conditions: none

Compare the same source index pointwise;the value pair is[f(i),g(i)],without exchanging the maps.

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





S011 · impliesBefore

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

After

functions equal on the full source=No

Conditions: none

Two complete maps of the same declared type are equal exactly when all source values agree;an empty source has no mismatches.

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









## Reverse checks


- S011 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S010 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S009 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S008 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S007 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S006 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- 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

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

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: 25c276745cb1119907f9e057420524f4ffda70c4fd6bb9b73fac3e9217db1678
- candidate record SHA-256: 49edbc05fa3540e866aca3347e337fe25128f957b26819253119283a2544c7a4
- semantic review receipt SHA-256: 0328166a2e335aac7a5fb34556e68c80ba7d16612e822b3999c8ac348a9ca06f
- question-first witness SHA-256: 0da18e4e6cf71ece5ec5f00dd0cd161217b6d251672bc0b46d79fe7e6253f5fc
- Lean: NOT_RUN · human review: NOT_PERFORMED

[Same-source full JSON](https://ocme.evemisslab.com/data/question-derivations/questions/q-20261008-advance-20261012-r07-function-mapping-0084.json)




