# Question 8157: Whole Candidate Inverse Type Check and Two Independent Identities

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

[← Question derivation index](https://ocme.evemisslab.com/en/questions/) · [Original question batch](https://ocme.evemisslab.com/en/practice/batch-20261012-advance-20261017-r02-inverse-function-foundations/#q-20261012-advance-20261017-r02-inverse-function-0032)

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.

R0015-08157 · q-20261012-advance-20261017-r02-inverse-function-0032



## Original question and givens

Use the complete total map Fin(2)={0,…,1}→Fin(2) with images=[0, 1] in source-index order. Validate every image in the declared codomain first. Equal finite cardinalities do not make the given map bijective. Candidate g:Fin(2)→Fin(2) has g=[0, 2]. Give (images, per-cell g type mask, whole-g eligibility, g∘f values, f∘g values, first identity?, second identity?). If any g cell is untyped, use not-evaluated in the last four fields.


- G001 — Use the complete total map Fin(2)={0,…,1}→Fin(2) with images=[0, 1] in source-index order. Validate every image in the declared codomain first. Equal finite cardinalities do not make the given map bijective. Candidate g:Fin(2)→Fin(2) has g=[0, 2]. Give (images, per-cell g type mask, whole-g eligibility, g∘f values, f∘g values, first identity?, second identity?). If any g cell is untyped, use not-evaluated in the last four fields.





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





## Step-by-step derivation

S001 · impliesBefore

n=2;m=2;images=[0, 1]

After

complete typed total map;inverse is not reciprocal

Conditions: none

Validate the whole original total table first.Equal finite cardinalities do not ensure this particular table is bijective,and a zero function value does not prohibit an inverse.

Step identifiers and dependenciesRule: inverse_typed_map_scope · Uses: G001





S002 · impliesBefore

target=0;original images=[0, 1]

After

fiber=[0];unique=Yes

Conditions: none

Scan every original input and list all preimages of this declared target.An empty or multiple-preimage fiber cannot supply a cell of a total inverse.

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





S003 · impliesBefore

target=1;original images=[0, 1]

After

fiber=[1];unique=Yes

Conditions: none

Scan every original input and list all preimages of this declared target.An empty or multiple-preimage fiber cannot supply a cell of a total inverse.

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





S004 · impliesBefore

n=2;m=2;fibers=[[0], [1]]

After

bijective=Yes

Conditions: none

For the already total map,exactly one preimage per codomain target is equivalent to bijectivity.The empty-to-empty map qualifies;checking n=m alone is insufficient.

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





S005 · impliesBefore

candidate g=[0, 2];target Fin(2)

After

mask=[Yes, No];whole table eligible=No

Conditions: none

Every candidate cell must be typed,including cells not reached by f.If any cell is invalid,neither composition is evaluated;do not skip that cell.

Step identifiers and dependenciesRule: whole_inverse_candidate_type_guard · 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

([0, 1], [Yes, No], No, not-evaluated, not-evaluated, not-evaluated, not-evaluated)

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: b055e2e7d6c75d7fc9906f030a326c0029d3914ef53480e1868657a5fd3751ef
- candidate record SHA-256: 4cac2daa54932cae7f61d64a70a0e008be0b23c88996178a5c2e6d2a598f1f57
- semantic review receipt SHA-256: 6ecad9d909199221a07e923f87425e80b3bdec3eed46fe5910d04fca694cae18
- question-first witness SHA-256: e8f00458977a09493b5f9f05ab9e6feec72debaf4c7d1c609d1fc95900a35a1b
- Lean: NOT_RUN · human review: NOT_PERFORMED

[Same-source full JSON](https://ocme.evemisslab.com/data/question-derivations/questions/q-20261012-advance-20261017-r02-inverse-function-0032.json)




