Explore related knowledge and questions →

Question 11173: Linear Halfspace Closure at Qualified Endpoints

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 56

← Question derivation index · Original question batch

R0021-11173 · q-20261013-advance-20261024-r07-convex-set-0073

Original question and givens

Convexity means every pair of set members and every lambda in [0,1] has lambda*left+(1−lambda)*right in the set. Positive cases use complete algebraic certificates, not sampled lambda values. One exact counterexample suffices to refute convexity; a failed counterexample does not prove convexity. normal=[1, 1], bound=24, left=[0, 0], right=[23, 0], lambda=23/25∈[0,1]. Both endpoints must satisfy normal·point≤bound. Give (normal,bound,left,right,left dot product,right dot product,lambda,weighted point,its dot product,inside?). Use exact rational arithmetic, reduce fractions to positive denominators and omit /1 for integer outputs.

  • G001 — Convexity means every pair of set members and every lambda in [0,1] has lambda*left+(1−lambda)*right in the set. Positive cases use complete algebraic certificates, not sampled lambda values. One exact counterexample suffices to refute convexity; a failed counterexample does not prove convexity. normal=[1, 1], bound=24, left=[0, 0], right=[23, 0], lambda=23/25∈[0,1]. Both endpoints must satisfy normal·point≤bound. Give (normal,bound,left,right,left dot product,right dot product,lambda,weighted point,its dot product,inside?). Use exact rational arithmetic, reduce fractions to positive denominators and omit /1 for integer outputs.

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 · calculation

Before

left endpoint dot term0 := mul(1, 0)

After

left endpoint dot term0 = 0

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001

S002 · calculation

Before

left endpoint dot term1 := mul(1, 0)

After

left endpoint dot term1 = 0

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S001

S003 · calculation

Before

left endpoint dot sum := sum(0, 0)

After

left endpoint dot sum = 0

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S002

S004 · calculation

Before

right endpoint dot term0 := mul(1, 23)

After

right endpoint dot term0 = 23

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S003

S005 · calculation

Before

right endpoint dot term1 := mul(1, 0)

After

right endpoint dot term1 = 0

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S004

S006 · calculation

Before

right endpoint dot sum := sum(23, 0)

After

right endpoint dot sum = 23

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S005

S007 · implies

Before

normal=[1, 1];bound=24;left dot=0;right dot=23

After

both endpoints satisfy the closed halfspace inequality

Conditions: none

First qualify both endpoint memberships.Do not infer them from the desired convexity;the same inequality also handles a zero normal.

Step identifiers and dependencies

Rule: halfspace_endpoint_membership · Uses: G001, S006

S008 · calculation

Before

halfspace point complementary weight := sub(1, 23/25)

After

halfspace point complementary weight = 2/25

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S007

S009 · implies

Before

halfspace point:raw lambda=[23, 25];lambda=23/25;one-minus-lambda=2/25

After

in_closed_unit_interval=Yes;lambda weights left

Conditions: none

Lambda weights the left endpoint and1−lambda the right.Lambda0 selects right,1 selects left.Outside values still define the affine expression,but not a convex combination;do not clip.

Step identifiers and dependencies

Rule: two_point_direction_and_qualification · Uses: G001, S008

S010 · implies

Before

halfspace point:ordered vectors=[[0, 0], [23, 0]];aligned weights=[23/25, 2/25]

After

dimension=2;preserve duplicates and order

Conditions: none

Preserve vector order,duplicates and coefficient pairing.Sum every vector's contribution within the same coordinate.

Step identifiers and dependencies

Rule: ordered_vector_weight_pairing · Uses: G001, S009

S011 · calculation

Before

halfspace point coordinate0 term0 := mul(23/25, 0)

After

halfspace point coordinate0 term0 = 0

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S010

S012 · calculation

Before

halfspace point coordinate0 term1 := mul(2/25, 23)

After

halfspace point coordinate0 term1 = 46/25

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S011

S013 · calculation

Before

halfspace point coordinate0 sum := sum(0, 46/25)

After

halfspace point coordinate0 sum = 46/25

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S012

S014 · calculation

Before

halfspace point coordinate1 term0 := mul(23/25, 0)

After

halfspace point coordinate1 term0 = 0

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S013

S015 · calculation

Before

halfspace point coordinate1 term1 := mul(2/25, 0)

After

halfspace point coordinate1 term1 = 0

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S014

S016 · calculation

Before

halfspace point coordinate1 sum := sum(0, 0)

After

halfspace point coordinate1 sum = 0

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S015

S017 · calculation

Before

combined point dot term0 := mul(1, 46/25)

After

combined point dot term0 = 46/25

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S016

S018 · calculation

Before

combined point dot term1 := mul(1, 0)

After

combined point dot term1 = 0

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S017

S019 · calculation

Before

combined point dot sum := sum(46/25, 0)

After

combined point dot sum = 46/25

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S018

S020 · calculation

Before

halfspace bound slack := sub(24, 46/25)

After

halfspace bound slack = 554/25

Conditions: none

Compute exactly with this step's specified roles,retaining signs,denominators and original pairings.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S019

S021 · implies

Before

normal dot z=46/25;endpoint dots=(0,23);lambda=23/25;bound=24

After

normal dot z=lambda*0+(1-lambda)*23<=24;inside=Yes

Conditions: none

Linearity makes the new dot product a nonnegative unit-weighted sum of endpoint values.Each is≤bound,so the result is≤bound.This algebraic reason is universal;the numbers instantiate it.

Step identifiers and dependencies

Rule: halfspace_linear_universal_reason · Uses: G001, S020

Reverse checks

  • S021 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S020 · premise_and_result_audit — Recompute halfspace bound slack with exact rational arithmetic, not rounded decimals.
  • S019 · premise_and_result_audit — Recompute combined point dot sum with exact rational arithmetic, not rounded decimals.
  • S018 · premise_and_result_audit — Recompute combined point dot term1 with exact rational arithmetic, not rounded decimals.
  • S017 · premise_and_result_audit — Recompute combined point dot term0 with exact rational arithmetic, not rounded decimals.
  • S016 · premise_and_result_audit — Recompute halfspace point coordinate1 sum with exact rational arithmetic, not rounded decimals.
  • S015 · premise_and_result_audit — Recompute halfspace point coordinate1 term1 with exact rational arithmetic, not rounded decimals.
  • S014 · premise_and_result_audit — Recompute halfspace point coordinate1 term0 with exact rational arithmetic, not rounded decimals.
  • S013 · premise_and_result_audit — Recompute halfspace point coordinate0 sum with exact rational arithmetic, not rounded decimals.
  • S012 · premise_and_result_audit — Recompute halfspace point coordinate0 term1 with exact rational arithmetic, not rounded decimals.
  • S011 · premise_and_result_audit — Recompute halfspace point coordinate0 term0 with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute halfspace point complementary weight 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 right endpoint dot sum with exact rational arithmetic, not rounded decimals.
  • S005 · premise_and_result_audit — Recompute right endpoint dot term1 with exact rational arithmetic, not rounded decimals.
  • S004 · premise_and_result_audit — Recompute right endpoint dot term0 with exact rational arithmetic, not rounded decimals.
  • S003 · premise_and_result_audit — Recompute left endpoint dot sum with exact rational arithmetic, not rounded decimals.
  • S002 · premise_and_result_audit — Recompute left endpoint dot term1 with exact rational arithmetic, not rounded decimals.
  • S001 · premise_and_result_audit — Recompute left endpoint dot term0 with exact rational arithmetic, not rounded decimals.

Result

([1, 1], 24, [0, 0], [23, 0], 0, 23, 23/25, [46/25, 0], 46/25, Yes)

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: fe9ecc5ab89ae14b4b0b3b417b479391f8640488f1170da16c8192c38b5559a8
  • candidate record SHA-256: abd70c6c21d0b5e61349d0e07b1bb0e7b29fd7baf7b1124de0cde1bc2957f7e4
  • semantic review receipt SHA-256: 47d23d3735987d68e27733b051bdfa80a3616d44fb223b82bf2e6c8e46d49258
  • question-first witness SHA-256: a857db558000724020d2d5e815cb6bc3e2c9e2933df295bf33eb478d3c695139
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON