1. <subsetOfReals> does not handle both bounds at infinity
<subsetOfReals> appears unable to process sets whose lower and upper bounds are both infinite, whether entered using interval notation or set-builder notation.
Examples that do not appear to work:
<subsetOfReals>{x | -infinity < x < infinity}</subsetOfReals>
or
<subsetOfReals>(-infinity, infinity)</subsetOfReals>
It appears to work when only one endpoint is infinite, but not when both endpoints are.
2. \mathbb is consumed by MathQuill but has no visible effect
MathQuill accepts input such as:
\mathbb R
However, the command appears to consume and ignore the escaped portion and simply render a “R” without rendering a blackboard-bold character or producing any other visible output regarding the escaped command.
3. {} is not recognized as the empty set in answer validation
Using
\{\}
does not appear to be interpreted as the empty set for answer validation purposes.
Instead, {} is rendered as a set containing a blank entry:
\left\{ \_ \right\}
The only approaches I’ve found that validate successfully are:
\varnothing
or selecting the empty-set symbol from the virtual keyboard.
4. No CodeMirror autocomplete for renderMode
The renderMode attribute does not appear in CodeMirror autocomplete suggestions.
5. Inconsistent handling of empty intervals
The following boolean evaluates as true:
<boolean>
<subsetOfReals>12<=x<=5</subsetOfReals>
=
<subsetOfReals>22<=x<=0</subsetOfReals>
</boolean>
which suggests both expressions are being interpreted as the empty set.
However, answer validation behaves differently:
<answer>
<award>
<subsetOfReals>12<=x<=5</subsetOfReals>
</award>
</answer>
Entering
[12,5]
does not validate as correct, while entering
\emptyset
(or \varnothing) does.
This suggests an inconsistency between <boolean> set equality and <answer> validation when an interval represents the empty set.
Related: the component also fails to interpret degenerate closed intervals such as [3,3], but accepts \{3\} for something like
<answer>
<subsetOfReals>3<=x<=3</subsetOfReals>
</answer>