# Question 31607: Checking a Candidate Solution by Substitution

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

[← Question derivation index](https://ocme.evemisslab.com/en/questions/) · [Original question batch](https://ocme.evemisslab.com/en/practice/batch-20260924-equation-foundations/#q-20260924-equation-solution-verification-0007)

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.

R0062-31607 · q-20260924-equation-solution-verification-0007



## Original question and givens

Over the integers, consider x+(-6)=-2 with candidate x=5. After substitution into the original equation, is the candidate a solution?


- G001 — Over the integers, consider x+(-6)=-2 with candidate x=5. After substitution into the original equation, is the candidate a solution?





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





## Step-by-step derivation

S001 · impliesBefore

source roles = [qf-equation-solution-verification, integers, no-operation-field, x+a=b]

After

derived = [[candidate_YesNo_STRING]]

Conditions: none

Check THIS bank interface:BASE equations use form/domain;BASE events/complement have no operation;factorials have no domain.ext18 uses local hyphens,other legacy operations underscores.Do not force every answer into a tuple or fraction.

Step identifiers and dependenciesRule: R62_EXACT_source_keys_domain_operation_form_AND_output_types · Uses: G001





S002 · impliesBefore

source roles = [-6, -2, x+a=b, integers]

After

derived = [Yes]

Conditions: none

The BASE bank checks integers,not an added SAFE limit.This candidate checks the frozen exact integer slice,not arbitrary unsafe JavaScript-number behavior.Distinguish solutions over Z and Q.

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





S003 · calculationBefore

Equation candidate ORIGINAL x plus a := sum(5, -6)

After

Equation candidate ORIGINAL x plus a = -1

Conditions: none

Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.

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





S004 · calculationBefore

Equation candidate ORIGINAL left minus right := sub(-1, -2)

After

Equation candidate ORIGINAL left minus right = 1

Conditions: none

Use ORIGINAL operands and declared order for exact integer/rational arithmetic,not floats.Bounds are family-specific:do not revalidate derived values as RAW inputs or add blanket SAFE/n64 caps to BASE families.

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





S005 · impliesBefore

source roles = [5, -6, -2]

After

derived = [-1, 1, No]

Conditions: none

Substitute the ORIGINAL candidate in x+a=b;it is a solution ONLY when both sides agree.No rejects THIS candidate,not all equation solutions,and is not a nearness test.

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









## Reverse checks


- S005 · premise_and_result_audit — Reverse-check the ORIGINAL inputs,field roles,domain and premises.Consistency does not imply unique recovery of premises.Keep finite checking,independent review,formal proof and publication separate.
- S004 · premise_and_result_audit — Recompute Equation candidate ORIGINAL left minus right with exact rational arithmetic, not rounded decimals.
- S003 · premise_and_result_audit — Recompute Equation candidate ORIGINAL x plus a with exact rational arithmetic, not rounded decimals.
- S002 · premise_and_result_audit — Reverse-check the ORIGINAL inputs,field roles,domain and premises.Consistency does not imply unique recovery of premises.Keep finite checking,independent review,formal proof and publication separate.
- S001 · premise_and_result_audit — Reverse-check the ORIGINAL inputs,field roles,domain and premises.Consistency does not imply unique recovery of premises.Keep finite checking,independent review,formal proof and publication separate.





## Result

No

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: 366d79a67a9cc50a6103ad387a1a6d9b498a4d9d4624daf794e050303905cd19
- candidate record SHA-256: aa9544fcda72a3ca8797debca0b3a69776c58dd60b108a88e9c1c87c847ab3e7
- semantic review receipt SHA-256: 963099ffc9f754069fdce6792949a85ed350472465eaceb3038fa8011cf672bd
- question-first witness SHA-256: d7655324c5d11528e1af90b757384cebd3313e19dc5f6f5b9b8ea7624fb06f6f
- Lean: NOT_RUN · human review: NOT_PERFORMED

[Same-source full JSON](https://ocme.evemisslab.com/data/question-derivations/questions/q-20260924-equation-solution-verification-0007.json)




