Explore related knowledge and questions →

Question 8271: Three Closed-Interval Membership Tests and Signed Slacks

On this page
  1. Original question and givens
  2. Definition and scope
  3. Step-by-step derivation
  4. Reverse checks
  5. Result
  6. This question review and source binding

Return to catalogue page 42

← Question derivation index · Original question batch

R0015-08271 · q-20261012-advance-20261017-r04-order-relation-0071

Original question and givens

Use the usual total order on R, restricted to exact rational inputs whose original denominators are positive. Output reduced fractions with positive denominators, retaining /1; do not extrapolate to arbitrary partial orders or complex numbers. Interval=[-20/3, 20/2], queries=[0/1, -20/3, 21/2]. Give (interval endpoints, normalized queries, three membership flags, each [query−lower, upper−query] signed slack pair).

  • G001 — Use the usual total order on R, restricted to exact rational inputs whose original denominators are positive. Output reduced fractions with positive denominators, retaining /1; do not extrapolate to arbitrary partial orders or complex numbers. Interval=[-20/3, 20/2], queries=[0/1, -20/3, 21/2]. Give (interval endpoints, normalized queries, three membership flags, each [query−lower, upper−query] signed slack pair).

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.

Step-by-step derivation

S001 · implies

Before

usual total order on R;all original denominators positive

After

closed endpoints included;negative scaling reverses;zero collapses

Conditions: none

These exact rationals use the usual real total order,not complex numbers or an arbitrary partial order.Original denominators must be positive;normalizing a negative input denominator does not waive that contract.

Step identifiers and dependencies

Rule: real_rational_order_scope · Uses: G001

S002 · calculation

Before

query0 x-lower := sub(0, -20/3)

After

query0 x-lower = 20/3

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S001

S003 · calculation

Before

query0 upper-x := sub(10, 0)

After

query0 upper-x = 10

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S002

S004 · implies

Before

query0=0/1;signed slacks=[20/3, 10/1]

After

both nonnegative=Yes

Conditions: none

Both signed slacks must be nonnegative.Zero includes a closed endpoint;do not take absolute values of negative slacks.

Step identifiers and dependencies

Rule: closed_interval_both_signed_slacks · Uses: G001, S003

S005 · calculation

Before

query1 x-lower := sub(-20/3, -20/3)

After

query1 x-lower = 0

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S004

S006 · calculation

Before

query1 upper-x := sub(10, -20/3)

After

query1 upper-x = 50/3

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S005

S007 · implies

Before

query1=-20/3;signed slacks=[0/1, 50/3]

After

both nonnegative=Yes

Conditions: none

Both signed slacks must be nonnegative.Zero includes a closed endpoint;do not take absolute values of negative slacks.

Step identifiers and dependencies

Rule: closed_interval_both_signed_slacks · Uses: G001, S006

S008 · calculation

Before

query2 x-lower := sub(21/2, -20/3)

After

query2 x-lower = 103/6

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S007

S009 · calculation

Before

query2 upper-x := sub(10, 21/2)

After

query2 upper-x = -1/2

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S008

S010 · implies

Before

query2=21/2;signed slacks=[103/6, -1/2]

After

both nonnegative=No

Conditions: none

Both signed slacks must be nonnegative.Zero includes a closed endpoint;do not take absolute values of negative slacks.

Step identifiers and dependencies

Rule: closed_interval_both_signed_slacks · Uses: G001, S009

Reverse checks

  • 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 — Recompute query2 upper-x with exact rational arithmetic, not rounded decimals.
  • S008 · premise_and_result_audit — Recompute query2 x-lower with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute query1 upper-x with exact rational arithmetic, not rounded decimals.
  • S005 · premise_and_result_audit — Recompute query1 x-lower with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute query0 upper-x with exact rational arithmetic, not rounded decimals.
  • S002 · premise_and_result_audit — Recompute query0 x-lower with exact rational arithmetic, not rounded decimals.
  • S001 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.

Result

([-20/3, 10/1], [0/1, -20/3, 21/2], [Yes, Yes, No], [[20/3, 10/1], [0/1, 50/3], [103/6, -1/2]])

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: aac236e2c9a85b1291e57372f17e1c1da1a1e79016b0613b45a3e4323bb176e9
  • candidate record SHA-256: 73406285e2e659cf97ee2f8613bb6c3f52595622b4ffce8471e5b2f065b3e1e1
  • semantic review receipt SHA-256: 6ecad9d909199221a07e923f87425e80b3bdec3eed46fe5910d04fca694cae18
  • question-first witness SHA-256: e8f00458977a09493b5f9f05ab9e6feec72debaf4c7d1c609d1fc95900a35a1b
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON