Releases: tlaplus/CommunityModules
Releases · tlaplus/CommunityModules
202210180059
Add `SequencesExt!Select(Last)In(Sub)Seq`. [Feature]
202210141616
Java module override for `Functions!IsInjective` destructively mutates a
FcnRcdValue.
Thanks to Suraaj Kanniwadi Sureshkannan of Cornell, who found and
reported this issue. Below is the original bug report.
```
--------------------------------- MODULE test
---------------------------------
EXTENDS FiniteSets, Functions, Sequences, Naturals, TLC
MySet == {1,2} \* The set containing 1,2
MySeq == UNION {[1..m -> MySet] : m \in 0..Cardinality(MySet)} \* The
set of sequences of length <=2
ASSUME /\ TRUE
/\ PrintT(MySet)
/\ PrintT(MySeq)
/\ PrintT(Cardinality(MySeq))
\* /\ PrintT(<<2,1>> \in MySeq) \* Line A: This is commented out
\* something == CHOOSE x \in MySeq: IsInjective(x) /\ Len(x) > 3 \*
Line B: This is commented out
=============================================================================
Description:
How to run: Save the specification to test.tla. Also, save an empty
configuration file test.cfg. Run using java -cp tla2tools.jar tlc2.TLC
test
When running with Line A and Line B commented out, the value of MySeq
printed is: {<< >>, <<1>>, <<2>>, <<1, 1>>, <<1, 2>>, <<2, 1>>, <<2,
2>>}
However, when I uncomment Line B, the value of MySeq printed is: {<< >>,
<<1>>, <<2>>, <<1, 1>>, <<1, 2>>, <<2, 2>>}. This was a little strange
to me.
Moreover, when I uncomment Line A and Line B, <<2,1>> \in MySeq
evaluates to TRUE, and the value of MySeq is {<< >>, <<1>>, <<2>>, <<1,
1>>, <<1, 2>>, <<2, 2>>}!
```
[Bug]
202210140037
Add Java module override for SequencesExt!IsPrefix. [Feature]
202210031532
Port TLC commit https://github.com/tlaplus/tlaplus/commit/79dd4eadecf…
202209210100
Add `Statistics!ChiSquare` operator implemented with Apache Commons Math3. [Feature]
202209202254
No need for the module override to be synchronized. [Refactor]
202209190306
Add DyadicRationals module. Closes Github issue #63 https://github.com/tlaplus/CommunityModules/issues/63 Depends on https://github.com/tlaplus/tlaplus/commit/b5736cd6c6944a01dd719ee05ab81bf95a6fa371 [Feature]
202208261745
Fix the order of the arguments in ReduceSet (#76) Fix the order of the arguments in ReduceSet
202204261753
Add Citation file
202204101718
Avoid name clashes with Sum and Product.
Fixes Github issue #62
https://github.com/tlaplus/CommunityModules/issues/62
[Refactor]