Skip to content

fix: reject size=1 in RangeTupleCheckerChip constructor#2544

Merged
jonathanpwang merged 1 commit into
develop-v2.0.0-betafrom
fix/range-tuple-reject-size-1
Mar 13, 2026
Merged

fix: reject size=1 in RangeTupleCheckerChip constructor#2544
jonathanpwang merged 1 commit into
develop-v2.0.0-betafrom
fix/range-tuple-reject-size-1

Conversation

@Tuanlinh12312
Copy link
Copy Markdown
Contributor

Resolves INT-6673.

When any dimension has size of 1, the T6 odometer carry constraint degenerates because "wrap" and "stay" produce the same diff (0), breaking the completeness guarantee of lexicographic enumeration.

Add an assert in the Chip constructor to reject this configuration, and a test to verify it panics.

When any dimension has size=1, the T6 odometer carry constraint
degenerates because "wrap" and "stay" produce the same diff (0),
breaking the completeness guarantee of lexicographic enumeration.

Add an assert in the Chip constructor to reject this configuration,
and a test to verify it panics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jonathanpwang jonathanpwang merged commit ea671fa into develop-v2.0.0-beta Mar 13, 2026
7 checks passed
@jonathanpwang jonathanpwang deleted the fix/range-tuple-reject-size-1 branch March 13, 2026 01:30
jpw-axiom pushed a commit that referenced this pull request May 16, 2026
Resolves INT-6673.

When any dimension has size of 1, the T6 odometer carry constraint
degenerates because "wrap" and "stay" produce the same diff (0),
breaking the completeness guarantee of lexicographic enumeration.

Add an assert in the Chip constructor to reject this configuration, and
a test to verify it panics.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
jpw-axiom pushed a commit that referenced this pull request May 18, 2026
Resolves INT-6673.

When any dimension has size of 1, the T6 odometer carry constraint
degenerates because "wrap" and "stay" produce the same diff (0),
breaking the completeness guarantee of lexicographic enumeration.

Add an assert in the Chip constructor to reject this configuration, and
a test to verify it panics.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants