You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 007a362
Browse filesBrowse the repository at this point in the historyBrowse files
Membership in a set operation is decided by Kleene's connectives (#2221)
Unionf.TryContains returned the right side's verdict whenever the left
did not say yes, so a left side that left membership open and a right
side that excluded the element made the union False. 2^89 - 1 is a
Mersenne prime, past the machine word, where PP leaves membership open:
(2^89 - 1) in (PP \/ [0; 1]) False, on 2.6.0 and master
(2^89 - 1) in ([0; 1] \/ PP) left as written
A union contains what either side contains. It is now Kleene's or: a
member where either side decides it is, outside where both decide it is
not, and open otherwise.
Intersectionf and SetMinusf were not wrong. Each decided only where both
sides did. They are now Kleene's and: an element one side decides is
outside, or that a difference's right side decides is inside, is outside
whatever the other side says. So (2^89 - 1) in ([0; 1] \ PP) and
(2^89 - 1) in (PP \ [0; 10^30]) are False, where they were left open.
Contains.cs pinned 1 in {x} \ {1} as undecided. 1 is in {1}, so it is
outside the difference whatever x is, and the row now expects it decided
False. Every other row of that table is unchanged.
MembershipInASetOperationTest: 17 cases, of which 5 fail on master,
the three union answers and the two differences.
Fixes#2219.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
0 commit comments