Skip to content

Delegate kSubset semantics to KSubsetValue - #130

Merged
lemmy merged 1 commit into
masterfrom
mku-ksubset
Sep 12, 2026
Merged

Delegate kSubset semantics to KSubsetValue#130
lemmy merged 1 commit into
masterfrom
mku-ksubset

Conversation

@lemmy

@lemmy lemmy commented Sep 11, 2026

Copy link
Copy Markdown
Member

TLC owns KSubsetValue, so input validation and boundary cases should be handled there. Pass the original set value through instead of eagerly converting it to SetEnumValue, which rejected unenumerable sets such as Nat and STRING.

Related to tlaplus/tlaplus Github issue #1415
tlaplus/tlaplus#1415

[Refactor][Tests]

@lemmy lemmy self-assigned this Sep 11, 2026
@lemmy lemmy added the enhancement New feature or request label Sep 11, 2026
@lemmy
lemmy force-pushed the mku-ksubset branch 2 times, most recently from f8bcbea to 3d08e1b Compare September 11, 2026 20:09
@lemmy
lemmy marked this pull request as ready for review September 12, 2026 01:36
@lemmy
lemmy force-pushed the mku-ksubset branch 2 times, most recently from 52e97e4 to 09d015b Compare September 12, 2026 02:27
TLC owns KSubsetValue, so input validation and boundary cases should be
handled there.  Pass the original set value through instead of eagerly
converting it to SetEnumValue, which rejected unenumerable sets such as Nat
and STRING.

Related to tlaplus/tlaplus Github issue #1415
tlaplus/tlaplus#1415

[Refactor][Tests]

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Markus Alexander Kuppe <github.com@lemmster.de>
@lemmy
lemmy merged commit 9aae8ea into master Sep 12, 2026
6 checks passed
@lemmy
lemmy deleted the mku-ksubset branch September 12, 2026 02:37
lemmy added a commit to tlaplus/tlaplus that referenced this pull request Sep 12, 2026
FiniteSetsExt!kSubset now preserves a lazy KSubsetValue instead of eagerly
enumerating its base. The test dependency must provide this behavior before
TLC enables the infinite-base k-subset assumptions.

Related to tlaplus/CommunityModules#130
https://github.com/tlaplus/CommunityModules/releases/tag/202609120237

[Build][Tests][TLC]

Co-authored-by: GPT-5.6 Sol <noreply@openai.com>
Signed-off-by: Markus Alexander Kuppe <github.com@lemmster.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

1 participant