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 1e42e76
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: BREAKING-CHANGES.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -593,6 +593,33 @@ the downcasting on.
593
593
|---|---|---|
594
594
|`"(2*1.44*(1/sqrt(-5.286))^2-1)^(-1/2)".ToEntity().Evaled`|`5.5500952471953097…`|`-0.804560841963042…i`, as with the downcasting on |
595
595
|`"((1/sqrt(-5.286))*(2*1.44*(1/sqrt(-5.286))^2-1)^(-1/2))^(-3)".ToEntity().Evaled`|`23.335336258472899…`|`-23.335336258472899…`, as with the downcasting on |
596
+
### `subset` is a statement between sets, sets are equal by double containment, and `powerset` is a function
597
+
598
+
`A subset B` — also `A ⊆ B`, and `B superset A` / `B ⊇ A` for the same node — is the statement,
599
+
`Entity.Set.Subsetf`, that every member of `A` is a member of `B`: the relation between sets that
600
+
`in` is between an element and a set. It is decided from the shapes of the two sets — member by
601
+
member for a listed set, along `ZZ+ ⊂ ZZ* ⊂ ZZ ⊂ QQ ⊂ RR ⊂ CC` for the special sets, by the ends for
602
+
two intervals, by the set algebra for symbolic sets, and through the solver for a set builder —
603
+
and is `NaN` with a number or a truth value on a side. **`=` between two sets is decided by
604
+
double containment**, so a pair of sets that are not the same node no longer stays written when
605
+
one is inside the other or one is not. `powerset(A)`, `Entity.Set.Powersetf`, is the set of all
606
+
subsets of `A`: listed for a finite `A`, and for an infinite one an object whose membership is the
607
+
subset test; `card` counts it as `2^card(A)`, and counts a listed set whose members are listed sets
608
+
too ([#1409](https://github.com/asc-community/AngouriMath/issues/1409)). `subset`, `superset` and
609
+
`powerset` are keywords now, and were names.
610
+
611
+
| Input | Was (2.5.0) | Now |
612
+
|---|---|---|
613
+
|`{1, 2} subset {1, 2, 3}`|`subset` was a variable, and the input a juxtaposition |`True`|
614
+
|`{ x in RR : x^2 = 5 } subset ZZ`| — |`False`|
615
+
|`A /\ B subset A`| — |`True`|
616
+
|`{ x in ZZ : x >= 1 } = ZZ`|`{ x in ZZ : x >= 1 } = ZZ` — left as written (`ZZ+` did not parse in 2.5.0; `= ZZ+` is `True` now) |`False`|
617
+
|`[0; 1] = [0; 2]`|`[0; 1] = [0; 2]` — left as written |`False`|
618
+
|`{1, 2} = {1, 2, 3}`|`{ True, False }` — the comparison distributed over the members |`False`|
619
+
|`{1, x} = {1, 2}`|`{ True, False, x = 1, x = 2 }`|`{ 1, x } = { 1, 2 }` — one statement, left as written |
0 commit comments