Skip to content

An interval whose ends are reversed meets nothing - #1558

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
reversed-interval-meets-nothing
Sep 28, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
reversed-interval-meets-nothing

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

(3; 1) /\ [0; 5] was [0; 5]. It is { } now.

An interval whose ends are reversed holds no number, and membership in it already said so. But IntersectIntervalAndInterval returned the other interval for it, a line it shares with UniteIntervalAndInterval, where returning the other interval is right. The intersection now returns the empty set. A closed interval at one point meets the other in that point or in nothing.

Suite: 141 tests pass on net10.0 in the interval, sets and subset classes, and every target framework builds. The whole suite ran on this branch merged with the other open #1409 and #1540 branches: 13,422 passed, 0 failed. Gate on that merge: passed, with allocation as the baseline says on all 19 gated benchmarks.

BREAKING-CHANGES.md has the entry, with 2.5.0 measured.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

(3; 1) holds no number, and membership in it was decided so, but its
intersection with another interval returned the other interval, as the
union rightly does: (3; 1) /\ [0; 5] was [0; 5]. It is empty now, and a
closed interval at one point meets the other in that point or nothing.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet
Rafael-SOWNet merged commit 225d092 into master Sep 28, 2026
31 checks passed
@Rafael-SOWNet
Rafael-SOWNet deleted the reversed-interval-meets-nothing branch October 29, 2026 00:44
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.

1 participant