Skip to content

Wolfram Language conformance gaps

Known places where Woxi's output differs from wolframscript's. Every entry was found by diffing the two engines and verified against the Wolfram Language; none of them is fixed yet.

Where an entry says not reproducible, the difference comes from a choice Wolfram makes internally (an algorithm's tie-break, a library's rounding, a front-end representation) that cannot be recovered from its output — those are recorded so they are not investigated twice.

Output form, ordering and rendering

StandardForm boxes of Piecewise are its plain call

ToBoxes[Piecewise[{{a, b}, {c, d}}, 0]] is RowBox[{"Piecewise", "[", …, "]"}] in Woxi. wolframscript builds the same braced GridBox (tagged "Piecewise", the default in a TagBox["True", "PiecewiseDefault", …] row, shown even when it is 0) as in TraditionalForm, and wraps a held one in TagBox[…, HoldForm]. Only the TraditionalForm boxes are implemented.

DownValues shows a named list pattern as name_List

A definition such as h[g : {__}, n_] := … matches exactly like Wolfram's (h[{}, 1] stays unevaluated), but DownValues[h] and Definition[h] print its left-hand side as h[g_List, n_] instead of h[g:{__}, n_]: the named list pattern is compiled into a List head plus an element condition, and the display rebuilds the pattern from the head alone.

Show of a 3D plot drops the default surface boundary

Plot3D and ContourPlot3D outline where a surface meets the plot box in their own picture, but that default outline is not part of the extracted Graphics3D primitives (wolframscript keeps it implicit too, through Method -> {"DefaultBoundaryStyle" -> …}). Woxi's Graphics3D renderer does not reconstruct it, so Show[ContourPlot3D[…], …] draws a clipped isosurface without the dark rim wolframscript shows at the box walls. An explicit BoundaryStyle -> style is kept as Line primitives and survives Show.

Inline box code in a graphics Text is never italic

Inside graphics, Wolfram sets the single-letter symbols of typeset math in italics, including those of a string carrying inline box code: Graphics[Text[TraditionalForm["\!\(\*SuperscriptBox[\(x\), \(2\)]\)"]]] shows an italic x². Woxi's graphics Text folds such box code to plain Unicode text (x²) before any italic decision, so the letter stays upright. Graphics[Text[TraditionalForm[x^2]]] (an expression, not a box string) is italic as in Wolfram. Exported on its own (not inside graphics), the same math is upright in both.

Displaying held Graphics[…] evaluates its primitives

A front end draws a typeset GraphicsBox as it stands. Woxi's typeset display (the Playground/Studio SVG of a result) turns the box back into a Graphics[…] expression and renders it with the ordinary Graphics renderer, which evaluates the content. So the display of Hold[Graphics[{n++; Point[{0, 0}]}]] increments n. Messages raised by that drawing (Part::pkspec1 from a held Graphics[Line[pts[[i]]]] inside a Table) are discarded, but side effects are not undone.

Rationalize[x, dx] sometimes picks a different approximation

Fuzzed against wolframscript on 2026-11-12: Woxi agrees on 188 of 200 random Rationalize[x, dx] calls. In the rest wolframscript passes over the first continued-fraction semiconvergent within dx for a later one closer to x — Rationalize[-1.1864498315073577, 1/7] is -6/5 (error 0.014) rather than -5/4 (error 0.064), Rationalize[-18.74513989, 0.001] is -881/47 rather than -806/43 — without a rule that fits all cases (neither "convergents only", which gets 158, nor "semiconvergents with k ≥ a/2", which gets 189). The default tolerance, including leaving machine reals beyond 2^38 unchanged, agrees.

The sixteenth digit of RealDigits of a machine real

RealDigits[x] of a machine real gives the 16 significant digits of the exact binary value, correctly rounded, and an explicit length truncates those (fuzzed against wolframscript on 2026-11-12: 285 of 300 random calls agree). In the rest wolframscript's sixteenth digit is one off the correctly rounded one — RealDigits[9648.194244925962] ends in …6, 3 although the value is 9648.19424492596226…, and RealDigits[0.40866721094200176] ends in …1, 7 for 0.408667210942001757… — and for some values it stops a digit early with Indeterminate (RealDigits[0.9150242254297728, 10, 17]). That points to a limited-precision conversion whose exact rule has not been decoded.

ToString[N[1/1000000, 20]] shows 19 mantissa digits in wolframscript and 20 in Woxi: wolframscript stores the number in binary, just below 10^-6, while Woxi's arbitrary-precision reals are decimal.

ToString does not bracket a ! inside a sum or a difference

wolframscript's OutputForm text brackets a prefix Not that is an operand of + or -: ToString[a + !x] is "a + (!x)", ToString[b - !x] is "b - (!x)". Woxi's printed form brackets it (a + ( !x)) but its ToString text gives "a + !x". (ToString drops the space before ! as wolframscript does — ToString[{1, !x}] is "{1, !x}" — while the InputForm text keeps it: ToString[!x, InputForm] is " !x".)

Woxi and Wolfram usually agree on the value and disagree on how it is printed. This is by far the largest group.

InputForm does not normalize function spellings to operator syntax

ToString[…, InputForm] (and plain output) prints the function-call spelling where WL prints the operator, so the two spellings of the same expression render differently:

# In a result (an unevaluated ReplaceAll is what a failed replacement returns):
wolframscript -code 'ToString[ReplaceAll[x, 5], InputForm]'         # x /. 5
woxi eval 'ToString[ReplaceAll[x, 5], InputForm]'                   # ReplaceAll[x, 5]

# In a held expression:
wolframscript -code 'ToString[Unevaluated[ReplaceRepeated[x, 5]], InputForm]'   # x //. 5
woxi eval 'ToString[Unevaluated[ReplaceRepeated[x, 5]], InputForm]'             # ReplaceRepeated[x, 5]

The affected heads are ReplaceAll (/.) and ReplaceRepeated (//.). Map, Apply, MapApply, MapAll and Part print with their operators.

InputForm brackets more than the printed form does

wolframscript's ToString[…, InputForm] brackets things its top-level output leaves bare, so the two disagree only when the InputForm string is compared:

wolframscript -code 'Hold[{1, 2}?f]'                          # Hold[{1, 2}?f]
wolframscript -code 'ToString[(Hold[{1, 2}?f]), InputForm]'   # Hold[({1, 2})?f]

Woxi prints Hold[{1, 2}?f] in both. A Graph's options are the same story: InputForm wraps them in a List (and reorders them into its own canonical order), the printed form does not.

The same holds for FullForm: FullForm[a || Xor[b, c]] prints FullForm[a || Xor[b, c]] (Woxi too), while ToString[…, InputForm] of it is FullForm[a || (Xor[b, c])] — a comparison of the two is a harness artifact.

A logical connective as the operand of ^, !, ;; or a held +

InputForm brackets Xor/Nand/Nor/Xnor/Equivalent calls by their operator's precedence (215). Woxi does so under &&, ||, !, an evaluated +/*, unary minus, comparisons and a call head, but not yet as a Power operand, a Factorial operand, a Span side, or a term of a held Plus:

wolframscript -code 'ToString[{a^Xor[b, c], Xor[b, c]!, Hold[Xor[a, b] + c]}, InputForm]'
# {a^(Xor[b, c]), (Xor[b, c])!, Hold[(Xor[a, b]) + c]}

A held Rational[n, d] call prints as the fraction

Woxi stores a rational number as a Rational[n, d] call, so the literal call held unevaluated cannot be told apart from the number: Hold[Rational[1, 2]] prints Hold[1/2] (WL: Hold[Rational[1, 2]]) and Hold[Rational[1, 2]] === Hold[1/2] is True (WL: False).

DateString of a year beyond the machine range

WL's date code overflows for machine-integer years of about 10^15 and more (DateString[{10^16, 4, 15}, "ISODate"] is "1874919424-04-15"), and a bignum year gets a leading + ("+200000000000000000007-04-15") and, when negative, a day one off. Woxi keeps such dates unevaluated. Not reproducible (overflow artifacts).

NumberForm around a product with a rational coefficient

ToBoxes[NumberForm[x/3, 3]] is TagBox[FractionBox["x", <3>], …] in WL; Woxi boxes the coefficient as its own fraction, RowBox[{FractionBox[<1>, <3>], " ", "x"}].

A nested Plus/Times operand is not bracketed

Times and Plus only flatten once they evaluate, so a held expression can carry one inside another. wolframscript brackets the inner one so the printed form re-reads as the same tree; Woxi prints the flat spelling, which re-reads as the flattened expression:

wolframscript -code 'ToString[Hold[Times[Times[a, b], c]], InputForm]' # Hold[(a*b)*c]
woxi eval 'ToString[Hold[Times[Times[a, b], c]], InputForm]'          # Hold[a*b*c]
wolframscript -code 'ToString[Hold[Plus[Plus[a, b], c]], InputForm]'  # Hold[(a + b) + c]
woxi eval 'ToString[Hold[Plus[Plus[a, b], c]], InputForm]'            # Hold[a + b + c]

The values agree — the two trees are equal once evaluated — and Woxi's reader never builds a nested one, so this only shows on an expression written in function form under a hold, or produced by a head replacement on a held division (Hold[a/(b c) d] /. Power -> pp).

Unary minus inside a pure function round-trips as a subtraction

wolframscript -code 'ToString[Unevaluated[-# &], InputForm]'  # -#1 &
woxi eval 'ToString[Unevaluated[-# &], InputForm]'            # 0 - #1 &

Same family as the known Not[#2] vs !#2 rendering gap.

Association inside Unevaluated echoes with the wrong spelling

wolframscript -code 'ToString[Unevaluated[<|1 -> a|>], InputForm]'  # Association[1 -> a]
woxi eval 'ToString[Unevaluated[<|1 -> a|>], InputForm]'            # <|1 -> a|>

Cosmetic, and confined to held echoes: ToString[<|1 -> a|>, InputForm] agrees on both engines.

A unary minus inside Backslash is not bracketed

Backslash (precedence 460) binds looser than unary minus (480), yet wolframscript brackets a negated operand anyway; Woxi prints it bare. Both re-parse to the same tree.

wolframscript -code 'ToString[Hold[Backslash[-a, b]], InputForm]'   # Hold[(-a) ∖ b]
woxi eval 'ToString[Hold[Backslash[-a, b]], InputForm]'             # Hold[-a ∖ b]

-a/b groups differently, and a held reciprocal is not canonicalized

Woxi groups -a/b as -(a/b) where wolframscript groups it as (-a)/b — a parse-precedence difference rather than a rendering one. Hold[-1/x] prints -1/x where wolframscript canonicalizes to -x^(-1). - -x and !!a are parse errors in Woxi (the grammar forbids a second prefix operator).

ToString renders 1D where wolframscript renders 2D ASCII art

wolframscript -code 'ToString[a/b]'   # a over a bar over b
woxi eval 'ToString[a/b]'             # a/b

wolframscript -code 'ToString[x^2]'   # a raised 2 above x
woxi eval 'ToString[x^2]'             # x^2

The bare top-level echo is 1D in both engines — only ToString (and an explicit OutputForm wrapper) triggers the 2D layout. Sqrt[x] and matrices already agree. Switching the default ToString path to Woxi's existing 2D renderer would move a great many snapshots at once, so fractions and powers are still 1D.

Consequences elsewhere: ToString[-48/2033], ToString[-10/3], ToString[1.5*^10] and 2D rationals inside most built-in message text all print flat (see "Message repetition and 2D layouts").

NumberForm does not switch to scientific notation

wolframscript -code 'ToString[NumberForm[123456789.]]'  # 1.23457 × 10^8
woxi eval 'ToString[NumberForm[123456789.]]'            # 123457000.

Also NumberForm[1000000.] (WL 1. × 10^6) and NumberForm[1.5*10^-8] (WL 1.5 × 10^-8). In-range reals — roughly 10^-5 ≤ |x| < 10^6 — agree.

A NumberForm nested in a list or call shows its head

At the top level a number-display form prints as its formatted number, but inside another expression Woxi keeps the wrapper:

wolframscript -code '{NumberForm[1.23456789, 9], 2.5}'  # {1.23456789, 2.5}
woxi eval '{NumberForm[1.23456789, 9], 2.5}'            # {NumberForm[1.23456789, 9], 2.5}

The same happens under ToString and for f[NumberForm[…]].

NumberForm/ScientificForm round half-to-even, wolframscript rounds half-up

wolframscript -code 'ToString[ScientificForm[12345., 4]]'  # 1.235 × 10^4
woxi eval 'ToString[ScientificForm[12345., 4]]'            # 1.234 × 10^4

Only at an exact-half significant-figure boundary; anything with a non-zero tail agrees. A latent edge in the same area: a decimal that rounds up across 10^6 (999999.6) stays 1000000. in the box path instead of switching to 1.×10^6.

NumberFormat and BaseForm of a real are unimplemented

NumberForm[…, NumberFormat -> f] stays unevaluated where WL renders 1234.5e, and BaseForm[0.5, 2] stays unevaluated where WL gives 0.1 over a subscript 2.

TextString falls back to ToString for symbolic expressions

WL writes a FullForm-like linear form with numericized leaves — x + y → "Plus[x, y]", Sqrt[x] → "Power[x, 0.5]", a/b → "Times[a, Power[b, -1]]", but f[1/2] → "f[0.5]". Woxi keeps the ordinary 2D ToString form. (TextString[100!] is "∞" in wolframscript — a formatter overflow that is deliberately not reproduced.)

TeXForm orders the terms of a sum by monomial degree

wolframscript -code 'ToString[TeXForm[1 + x + x^2]]'      # x^2+x+1
woxi eval 'ToString[TeXForm[1 + x + x^2]]'                # x+x^2+1

wolframscript -code 'ToString[TeXForm[a x^2 + b x + c]]'  # a x^2+b x+c
woxi eval 'ToString[TeXForm[a x^2 + b x + c]]'            # c+b x+a x^2

wolframscript -code 'ToString[TeXForm[Sin[x] + Cos[y]]]'  # \sin (x)+\cos (y)
woxi eval 'ToString[TeXForm[Sin[x] + Cos[y]]]'            # \cos (y)+\sin (x)

Woxi keeps the canonical order and only moves numbers (and complex atoms) to the end; Wolfram sorts by the monomial, highest degree first. Neither "reverse the canonical order" nor "stable sort by total degree" reproduces all the samples — 3 + a + b stays a+b+3 (not reversed) while Cos[y] + Sin[x] does reverse, and x^3 + x^2 y^2 keeps x^3 first even though its total degree is lower — so this needs WL's actual lexicographic monomial comparison. Everything else in a 211-expression TeXForm sweep agrees.

TraditionalForm boxes share the order, and a Demonstration that keys a lookup table on ToString[f, TraditionalForm] (NewtonsMethod) then misses the saved control value:

wolframscript -code 'ToString[Sin[x] + 3 Cos[x], TraditionalForm]'  # sin(x) + 3 cos(x) boxes
woxi eval 'ToString[Sin[x] + 3 Cos[x], TraditionalForm]'            # 3 cos(x) + sin(x) boxes

More samples of the order: a + b + Sin[a] is a+sin(a)+b, 3 + a + Cos[b] is a+cos(b)+3, and Cos[x] + Sin[x] + Tan[x] is sin(x)+cos(x)+tan(x).

Terms that tie in TraditionalFormDumpordplus(the same variables to the same powers) keep the order of the older typesetting, which is only known from samples: partial fractions read1/x,1/(x + 2),1/(x - 1)(stored Demonstration output). Woxi sorts tied terms of equal power by the canonical order of their boxes less the numeric coefficient, which reproduces those samples; other ties (1/(x + 1) + 1/(x + 2),Sin[x] + Sin[2 x]`) are unverified.

TeXForm writes a rational exponent's quotient with a \left. bar

wolframscript -code 'ToString[TeXForm[x^(1/(2 y))]]'  # x^{\left.\frac{1}{2}\right/y}
woxi eval 'ToString[TeXForm[x^(1/(2 y))]]'            # x^{\frac{1}{2 y}}

(Whether a rational coefficient folds into its factor's fraction — \frac{f(x)}{2} against \frac{1}{2} \log \left(x^2+1\right) — now follows a box-count estimate of the factor that reproduces every probed case; see tex_box_weight in src/functions/string_ast.rs.)

TeXForm orders a product's factors by Woxi's own Times order

wolframscript -code 'ToString[TeXForm[Sin[x]^2 Star[a, b]]]'  # \sin ^2(x) (a*b)
woxi eval 'ToString[TeXForm[Sin[x]^2 Star[a, b]]]'            # (a*b) \sin ^2(x)

wolframscript -code 'ToString[TeXForm[(1 + x) y (a + b)]]'    # (x+1) y (a+b)
woxi eval 'ToString[TeXForm[(1 + x) y (a + b)]]'              # y (a+b) (x+1)

wolframscript -code 'ToString[x^2 Sqrt[a^2 - x^2], InputForm]'  # x^2*Sqrt[a^2 - x^2]
woxi eval 'ToString[x^2 Sqrt[a^2 - x^2], InputForm]'            # Sqrt[a^2 - x^2]*x^2

The renderer shows the factors in the order the evaluated Times holds them (moving symbols ahead of a constant-free sum, as WL does). The difference is upstream, in how Woxi sorts Star[a, b] against a power, one sum against another, and a power of a sum against a power of a symbol; see the Times ordering entries below.

A minus written in front of a held rational coefficient

wolframscript -code 'ToString[TeXForm[HoldForm[-(4/3) Subst[a, b]]]]'  # \frac{1}{3} (-4) \text{Subst}(a,b)
woxi eval 'ToString[TeXForm[HoldForm[-(4/3) Subst[a, b]]]]'            # -\frac{4}{3} \text{Subst}(a,b)

WL boxes the held Times[Times[-1, Times[4, Power[3, -1]]], Subst[a, b]] piecewise, leaving (-4) stranded behind the \frac{1}{3}; Woxi gathers the coefficient into one signed fraction, as both engines do for the evaluated Times[Rational[-4, 3], Subst[a, b]]. Not reproduced on purpose.

A held 1/x loses its explicit 1 in FullForm and Part

wolframscript -code 'ToString[FullForm[Hold[1/(2 y) z]]]'  # Hold[Times[Times[1, Power[Times[2, y], -1]], z]]
woxi eval 'ToString[FullForm[Hold[1/(2 y) z]]]'            # Hold[Times[Power[Times[2, y], -1], z]]

wolframscript -code 'Hold[1/(2 y)][[1, 1]]'  # 1
woxi eval 'Hold[1/(2 y)][[1, 1]]'            # 2*y

WL reads 1/(2 y) as Times[1, Power[Times[2, y], -1]] and keeps the 1 while the expression is held; Woxi's parse tree is the quotient itself, so Part sees the divisor and the exponent as its two parts. The evaluated expression is the same in both.

TraditionalForm boxes are written out inline instead of as TemplateBoxes

ToBoxes[TraditionalForm[…]] differs in representation, not in picture: wolframscript hands every special function to a named front-end template — TemplateBox[{"n","x"}, "LegendreP"], {"x"}, "Gamma", {"s"}, "Zeta" — while Woxi writes the same layout out as SubscriptBox/SubsuperscriptBox rows, because it has no front end and its own box renderers have to draw it. Only the outer TagBox[FormBox[…, TraditionalForm], …] wrapper is common; n! and Subscript[a, b] do conform.

Row is a template in both ({"2","x","t"}, "RowDefault") — but only in the box escape an InputForm string carries, which nothing has to draw. The box builder that feeds Woxi's own renderers keeps flattening it: ToString[Row[{"a", 1}], TraditionalForm] is RowBox[{a, 1}] against WL's TemplateBox[{"a", 1}, RowDefault], and ToBoxes[Row[{"a", 1}]] writes the call's own source out as a RowBox. ToBoxes there also takes only one argument where WL takes a form as the second.

Smaller TraditionalForm typesetter differences, all in representation:

  • An inverse trig function is arctan(x), WL writes tan^-1(x) (SuperscriptBox["tan", RowBox[{"-", "1"}]]).
  • A held call keeps its StandardForm spelling in WL — Hold[TraditionalForm[ Style[x, Red]]] boxes as Style[x, Red] and Exp[x] as exp(x), Column[…] as its GridBox — where Woxi typesets the call.
  • Times[-1, Pi, a] is -π a; WL writes π (-a).
  • A curried call h[x][y, z] gets WL's extra row around the arguments.
  • EulerGamma, GoldenRatio and Catalan are TagBoxes in WL, bare glyphs in Woxi, and keep their canonical place in a product where the numeric constants (numbers, ⅈ, ⅇ, π, °) move to the front in both.
  • ToString[TraditionalForm[…]] and the InputForm of a held TraditionalForm[…] write Row as its template and a styled string with its quotes, as WL does; ToString[…, TraditionalForm] keeps the flat RowBox, the U+2147/U+2148 letters and the U+2009 gap Woxi's own renderers draw, where WL writes the template, \[ExponentialE] and " ".

The same goes for Binomial[n, k] (WL: TemplateBox[{n, k}, "Binomial"], Woxi: RowBox[{"(", GridBox[{{n}, {k}}], ")"}]), the hypergeometric family (WL: a nest of TagBoxes with InterpretTemplate, Woxi: the SubscriptBox["", p]/SubscriptBox["F", q] row with ;-separated parameters, and F̃ with a combining tilde for the regularized ones) and Grad/Div/Curl/Laplacian with a coordinate list (WL: TemplateBox[{f, {x, y}}, "Grad", SyntaxForm -> Del], Woxi: a SubscriptBox["∇", {x, y}] row). The pictures agree.

TraditionalForm of a held product cannot see the source's parentheses

WL's parser keeps a parenthesized product as a nested Times, and TraditionalForm brackets such a group as one factor: (a b) c is (a b) c, (a e/b) c is ((a e) c)/b, and (-a) b keeps its (-a). Woxi's held tree is the binary a*b chain, which is the same with or without the parentheses. A quotient written as the left factor of a product is therefore read as the parenthesized group ((8 π G/c⁴) T sets as (8 π G) T/c⁴, as in WL), so the unparenthesized a e/b c, flat in WL, sets as ((a e) c)/b; and (a b) c sets flat, -a b and (-a) b both as -(a b):

wolframscript -code 'ToString[ToBoxes[TraditionalForm[HoldForm[a e/b c]]], InputForm]'
# …FractionBox[RowBox[{"a", " ", "e", " ", "c"}], "b"]…
woxi eval 'ToString[ToBoxes[TraditionalForm[HoldForm[a e/b c]]], InputForm]'
# …FractionBox[RowBox[{RowBox[{"(", RowBox[{"a", " ", "e"}], ")"}], " ", "c"}], "b"]…

The fix is a parser that records a parenthesized Times as its own node.

Two smaller ones in the same typesetter: an exponent that is a quotient stays a stacked FractionBox (WL writes it inline, SuperscriptBox["x", RowBox[{"a", "/", "b"}]], and x^(1/3) as RadicalBox), and a large operator's body follows its ∑/∫ after a " " item WL does not write.

ToBoxes in StandardForm drops a held TagBox

The TraditionalForm builder keeps a held TagBox; the StandardForm one does not. (ToBoxes[Style[x, Red]] is StyleBox["x", RGBColor[1, 0, 0], StripOnInput -> False] in both, as in wolframscript.)

StandardForm boxes: inline exponent fractions, I, logical operands of a sum

wolframscript -code 'InputForm[ToBoxes[x^(3/2)]]'   # SuperscriptBox[x, RowBox[{3, /, 2}]]
woxi eval 'InputForm[ToBoxes[x^(3/2)]]'             # SuperscriptBox[x, FractionBox[3, 2]]

A quotient in an exponent (x^(a/b), E^(x/2)) is written inline with / by WL and as a FractionBox by Woxi. The imaginary unit boxes as "I" rather than \[ImaginaryI] (U+F74E), and the odd shape WL gives an inexact complex coefficient's parts (a trailing " " token after the real part) is not reproduced. A logical operand of a sum is not parenthesized: ToBoxes[x + (a && b)] gives RowBox[{x, +, RowBox[{a, &&, b}]}], WL wraps the && in parentheses (the infix &&/||/|/! operands themselves are parenthesized by precedence).

A box segment mid-string is not shown as DisplayForm

WL renders a \!\(\*…\) box segment anywhere in a string as DisplayForm[<box>] in terminal OutputForm; Woxi only does it when the string starts with the segment. Generalizing it would break plot labels, whose SVG renderer typesets the raw markers — the real fix needs a "terminal text" vs "text handed to a typesetter" distinction the form system does not have.

\!\(…\) without \* is full 2D linear syntax; WL parses it into a RowBox, Woxi leaves it literal.

Machine reals in grid cells render at six significant figures

TableForm/Grid/MatrixForm cells and typeset labels round machine reals to 6 significant figures with a ×10^exp switch outside [-5, 5], matching WL's StandardForm. The CLI eval InputForm keeps full precision, as wolframscript -code does. This is a deliberate display rule, listed here because it makes the two layers disagree with each other.

A pure function's message prints a one-argument Plus as +x

wolframscript -code 'Plus[##2] &[]'   # Function::slots: SlotSequence[2] in +##2 &  cannot be filled from (+##2 & )[].
woxi eval 'Plus[##2] &[]'             # Function::slots: SlotSequence[2] in Plus[##2] &  cannot be filled from (Plus[##2] & )[].

The result, ##2, matches; only the message text differs. Outside a message (Plus[x] &, Hold[Plus[x]]) both engines print Plus[x].

Canonical ordering of Plus and Times

Times does not fold a real coefficient into an imaginary one

wolframscript -code 'ToString[FullForm[-2 I x]]'
# Times[Complex[0, -2], x]
woxi eval 'ToString[FullForm[-2 I x]]'
# Times[-2, Complex[0, 1], x]

Wolfram multiplies all numeric factors of a product into one coefficient, complex ones included; Woxi keeps the real coefficient and the imaginary unit apart whenever a symbolic factor is present (-I alone is Complex[0, -1] in both). The printed form agrees, but Length, Part and patterns see three factors instead of two. Held printing compensates: a held Times[-1, I, x] prints -I*x (Wolfram brackets the literal call as -(I*x)) because in Woxi it is also the evaluated form of -I x.

A rational multiple of a sum is ordered against a product by its own rule

Rescale[x, {-1, 1}, {a, b}] is ((-a + b)*x)/2 + (a + b)/2 in Woxi and (a + b)/2 + ((-a + b)*x)/2 in wolframscript. (Terms over a common power of a sum, -(a/(-a + b)) + x/(-a + b), follow Order and conform.)

A coefficient times a sum of calls sorts before a lone call

wolframscript -code 'Cos[x] + 2 (Sin[x] + Sin[2 x])'        # Cos[x] + 2*(Sin[x] + Sin[2*x])
woxi eval 'Cos[x] + 2 (Sin[x] + Sin[2 x])'                  # 2*(Sin[x] + Sin[2*x]) + Cos[x]
wolframscript -code 'a/(a^2 + b^2) - 2 b/(a^2 + b^2)'       # a/(a^2 + b^2) - (2*b)/(a^2 + b^2)
woxi eval 'a/(a^2 + b^2) - 2 b/(a^2 + b^2)'                 # (-2*b)/(a^2 + b^2) + a/(a^2 + b^2)

Plus puts a multiple of a sum of calls ahead of a call, and orders two quotients over the same denominator by their coefficient before their numerator. Sort agrees with wolframscript on the stripped terms. It shows in ComplexExpand (I*(Sin[x] + Sin[2*x]) + Cos[x]).

WaveletPsi[MexicanHatWavelet[1], t] keeps the polynomial factor's sign

wolframscript -code 'WaveletPsi[MexicanHatWavelet[1], t]'  # (-2*(-1 + t^2))/(Sqrt[3]*E^(t^2/2)*Pi^(1/4))
woxi eval 'WaveletPsi[MexicanHatWavelet[1], t]'            # (2*(1 - t^2))/(Sqrt[3]*E^(t^2/2)*Pi^(1/4))

The values are equal, and Woxi's form is what both engines print for the product typed in directly. WL builds it from the second derivative of a Gaussian, which leaves -2 (-1 + t^2) unexpanded.

Woxi has three independent canonical-order comparators (one for Sort, one for Order, one for Plus terms) and they drift from each other as well as from Wolfram. Diagnose an ordering divergence by testing Sort[…], Order[a, b] and the bare a + b separately.

The Plus comparator follows Wolfram for every term led by a function call (plus_call_led_ordering in tests/interpreter_tests/arithmetic.rs): calls sort after the symbols, powers and products, by head name, then from the last factor of a product by that call's arguments, its exponent and the remaining factors. What is left are the entries below.

A symbol sorts before I*(sum) and before 1/(E^x*(1 + E^x)) in Plus

wolframscript -code 'x + I*(a + b)'                # I*(a + b) + x
woxi eval 'x + I*(a + b)'                          # x + I*(a + b)
wolframscript -code 'x + 1/(E^x*(1 + E^x))'        # 1/(E^x*(1 + E^x)) + x
woxi eval 'x + 1/(E^x*(1 + E^x))'                  # x + 1/(E^x*(1 + E^x))

Found by the differential fuzzer (2026-11-12) through TrigToExp[x + Tan[x]], which prints its x first. 2*(a + b) + x, I/(a*b) + x and 1/((a + b)*E^x) + x conform. Sort[{x, I*(a + b)}] agrees with wolframscript, so only the Plus comparator is off for the first form; Sort[{x, 1/(E^x*(1 + E^x))}] diverges as well.

Sort puts a symbol before a sum, and a call before its curried form

wolframscript -code 'Sort[{c, a + b}]'          # {a + b, c}
woxi eval 'Sort[{c, a + b}]'                    # {c, a + b}

wolframscript -code 'Sort[{f[x][y], f[x]}]'     # {f[x], f[x][y]}
woxi eval 'Sort[{f[x][y], f[x]}]'               # {f[x][y], f[x]}

Wolfram compares a sum against a symbol from the sum's last term (b < c) and a curried call after the plain call with the same head. The Plus comparator has both rules (h[a + b] + h[c], f[x] + f[x][y]); the Sort comparator still orders by expression class first.

Cardano roots of a parametric cubic: term order and a shared denominator

wolframscript -code 'Solve[z^3 + a z^2 + b == 0, z][[1]]'
# {z -> (-a + (2^(1/3)*a^2)/(…)^(1/3) + (…)^(1/3)/2^(1/3))/3}
woxi eval 'Solve[z^3 + a z^2 + b == 0, z][[1]]'
# {z -> -1/3*a + (2^(1/3)*a^2)/(3*(…)^(1/3)) + (…)^(1/3)/(3*2^(1/3))}

wolframscript -code 'Solve[a z^3 + b z^2 + c z + d == 0, z][[1]]'
# {z -> -1/3*b/a - (2^(1/3)*(-b^2 + 3*a*c))/(3*a*C) + C/(3*2^(1/3)*a)}
woxi eval 'Solve[a z^3 + b z^2 + c z + d == 0, z][[1]]'
# {z -> -1/3*b/a + C/(3*2^(1/3)*a) - (2^(1/3)*(-b^2 + 3*a*c))/(3*a*C)}

The roots are the same (solve_symbolic_cubic in tests/interpreter_tests/algebra.rs checks them numerically). Two things differ. Some first roots WL writes over one denominator (z^3 - z^2 + c, 2 z^3 + c z^2 + 1, z^3 + a z^2 + b), and no rule for which ones has been found yet. And the Plus comparator orders p X^(-1/3) after X^(1/3) when the sum X mentions p, where WL compares the product from its last factor (X^(-1/3) before X^(1/3)). It also orders a compound numeric factor (Sqrt[3], 2 + I, 1 + I Sqrt[3]) as a factor rather than as a coefficient:

wolframscript -code 'InputForm[(1 + c)^(1/3) + Sqrt[3]/(1 + c)^(1/3)]'  # Sqrt[3]/(1 + c)^(1/3) + (1 + c)^(1/3)
woxi eval 'InputForm[(1 + c)^(1/3) + Sqrt[3]/(1 + c)^(1/3)]'            # (1 + c)^(1/3) + Sqrt[3]/(1 + c)^(1/3)
wolframscript -code 'InputForm[x^2 + (1 + Sqrt[3]) x]'                  # (1 + Sqrt[3])*x + x^2
woxi eval 'InputForm[x^2 + (1 + Sqrt[3]) x]'                            # x^2 + (1 + Sqrt[3])*x

The discriminant is written expanded (with its integer content outside the root) unless that makes it more than two leaves larger, a threshold fitted to thirteen WL cubics.

Two rational-function arguments of the same head

wolframscript -code 'ToString[Subst[f[(Sqrt[2] - 2 x)/(-1 + Sqrt[2] x - x^2)], x] + Subst[f[(Sqrt[2] + 2 x)/(-1 - Sqrt[2] x - x^2)], x], InputForm]'
# Subst[f[(Sqrt[2] + 2*x)/(-1 - Sqrt[2]*x - x^2)], x] + Subst[f[(Sqrt[2] - 2*x)/(-1 + Sqrt[2]*x - x^2)], x]
woxi eval 'ToString[Subst[f[(Sqrt[2] - 2 x)/(-1 + Sqrt[2] x - x^2)], x] + Subst[f[(Sqrt[2] + 2 x)/(-1 - Sqrt[2] x - x^2)], x], InputForm]'
# Subst[f[(Sqrt[2] - 2*x)/(-1 + Sqrt[2]*x - x^2)], x] + Subst[f[(Sqrt[2] + 2*x)/(-1 - Sqrt[2]*x - x^2)], x]

Wolfram decides this pair by the denominators (-1 - Sqrt[2] x - x^2 before -1 + Sqrt[2] x - x^2); Woxi's argument comparison reaches the numerators first. Surfaces in one intermediate sum of Rubi's Int[Sqrt[Tan[x]], x] step display.

A symbolic multiple of Infinity cancels against itself

wolframscript -code 'a Infinity - a Infinity'   # a*-Infinity + a*Infinity
woxi eval 'a Infinity - a Infinity'             # 0

Woxi collects the two terms as like terms; WL leaves the sum (its two DirectedInfinity products are not combined). Numeric multiples agree (Infinity - Infinity is Indeterminate in both), though the Infinity::indet message names -Infinity + Infinity where WL says ComplexInfinity + ComplexInfinity for ComplexInfinity - ComplexInfinity.

Held symbols compare by short name

wolframscript -code 'BeginPackage["Foo`"]; Int::usage = "x"; EndPackage[]; Hold[Foo`Int] === Hold[Global`Int]'  # False
woxi eval 'BeginPackage["Foo`"]; Int::usage = "x"; EndPackage[]; Hold[Foo`Int] === Hold[Global`Int]'            # True

Foox === Globalx is False in both, but inside a compound expression Woxi's structural comparison sees the two symbols under their short name.

Plus orders a reciprocal monomial before a power of a sum

wolframscript -code 'ToString[1/x + Sqrt[1 - x^(-2)], InputForm]'  # Sqrt[1 - x^(-2)] + x^(-1)
woxi eval 'ToString[1/x + Sqrt[1 - x^(-2)], InputForm]'            # x^(-1) + Sqrt[1 - x^(-2)]

Only the reciprocal monomial diverges — x + Sqrt[1 - x^2] agrees, and the Times counterpart of the rule is implemented.

A symbol against a sum with a fractional multiple of it

wolframscript -code 'Order[x, 1 + x/2]'                # -1
woxi eval 'Order[x, 1 + x/2]'                          # 1
wolframscript -code 'Order[x^2, 1 + x^2/2]'            # 1
woxi eval 'Order[x^2, 1 + x^2/2]'                      # -1
wolframscript -code 'Sort[{Pi, 95 + Pi/78}]'           # {95 + Pi/78, Pi}
woxi eval 'Sort[{Pi, 95 + Pi/78}]'                     # {Pi, 95 + Pi/78}
wolframscript -code '(95 + Pi/78)/19 - Pi'             # (95 + Pi/78)/19 - Pi
woxi eval '(95 + Pi/78)/19 - Pi'                       # -Pi + (95 + Pi/78)/19

Found by diff-fuzz seed 9707 (2026-11-13). Wolfram compares x with the sum's last term x/2 (so the sum goes first), and x^2 as a power with the sum as a base (x before 1 + x^2/2). Sort gets the first two right and Order does not; making Order delegate to Sort for a sum against a non-sum fixes them but reorders Times factors elsewhere (Pi*r^2*Sqrt[…]), since that comparator serves Times too, and Sort itself misplaces the constant Pi against 95 + Pi/78.

x^2 + (a + b) x keeps Woxi's order

WL prints (a + b) x + x^2. The products-compare-from-the-last-factor rule is implemented for Sort and Order but not for the Plus comparator, which is the delicate one (it is not strictly transitive and its sort is wrapped in a panic guard with a string-key fallback).

The same rule decides a sum over a reciprocal symbol and the factors of a product with a sum and a call:

wolframscript -code 'e*u + (a + b)/u'          # (a + b)/u + e*u
woxi eval 'e*u + (a + b)/u'                    # e*u + (a + b)/u
wolframscript -code 'c*v + (a + b)/u'          # (a + b)/u + c*v
woxi eval 'c*v + (a + b)/u'                    # c*v + (a + b)/u
wolframscript -code 'f[z] (a + Cos[z])'        # (a + Cos[z])*f[z]
woxi eval 'f[z] (a + Cos[z])'                  # f[z]*(a + Cos[z])

D[MathieuCPrime[a, q, z], z] shows the second one: WL prints (-a + 2*q*Cos[2*z])*MathieuC[a, q, z], Woxi the factors swapped.

A power of a function call sorts before everything

wolframscript -code 'Sort[{g[x]^2, x}]'   # {x, g[x]^2}
woxi eval 'Sort[{g[x]^2, x}]'             # {g[x]^2, x}

WL gives a Power its base's place in the order, so g[x]^2 sorts where g[x] does — after f[x] and after every bare symbol. Woxi's Power[g[x], 2] falls through to the generic "a function call sorts after atoms" rule and so leads unconditionally. All three comparators are affected (Sort, Order and the Plus one), which is why the divergence also shows up in printed sums: g[x]^2 + x*f[x] is x*f[x] + g[x]^2 in WL. A symbol base is unaffected (Sort[{y^2, x}] agrees, via the string fallback).

Surfaces in Variance[GompertzMakehamDistribution[l, x]], whose closed form holds both an E^x ExpIntegralEi[-x]^2 and an x HypergeometricPFQ[…] term: WL puts the ExpIntegralEi one first (E < H), Woxi the other. Value identical, display only — the unit test pins the value by substituting parameters and rounding.

A scaled sum is ordered by its last term, not its first

FunctionExpand[Gamma[0, z]] is -ExpIntegralEi[-z] + (-Log[-z^(-1)] + Log[-z])/2 - Log[z] in WL and (-Log[-z^(-1)] + Log[-z])/2 - ExpIntegralEi[-z] - Log[z] in Woxi — same three terms, different order. WL compares a c (p + q) term against its neighbors using the sum's last (greatest) element: Aa[z] + (Log[w] + Log[y])/2 keeps Aa[z] first because Log[y] > Aa[z], while ExpIntegralEi[-z] + (b + c)/2 puts the sum first because c < ExpIntegralEi[-z]. Woxi's Plus comparator always puts the scaled sum first, so it happens to agree with WL on the second shape and not the first. Adopting the last-element key means reworking compare_plus_terms's hybrid has_transcendental_subexpr branch, which currently keys on the earliest variable — the same delicate comparator the x^2 + (a + b) x entry above describes. Value identical, display only.

The negative-order incomplete gammas carry that same group, and WL regroups around it as well: FunctionExpand[Gamma[-2, z]] collects the elementary part over the single denominator E^z z^3 (-((-z/2 + z^2/2)/(E^z z^3)) + …) where Woxi leaves the two reciprocal powers apart, and FunctionExpand[ExpIntegralE[2, z]] distributes the leading z^(n-1) inward (E^(-z) - z (…)) where Woxi keeps the product. The half-integer orders regroup the same way once past the two WL writes bare — Gamma[1/2, z] and Gamma[3/2, z] match exactly, Gamma[-1/2, z] differs only in whether the leading -2 is distributed. All are value-identical — the unit tests check the Gamma[a, z] = (Gamma[a + 1, z] - z^a E^-z)/a recurrence and compare numerically against ExpIntegralE.

A bare symbol sorts before a scaled sum that ends in it

wolframscript -code 'ToString[x + 2 (-1 + x), InputForm]'      # 2*(-1 + x) + x
woxi eval 'ToString[x + 2 (-1 + x), InputForm]'                # x + 2*(-1 + x)
wolframscript -code 'ToString[y + 0.5 (-0.5 - x), InputForm]'  # 0.5*(-0.5 - x) + y
woxi eval 'ToString[y + 0.5 (-0.5 - x), InputForm]'            # y + 0.5*(-0.5 - x)

Every sign and coefficient (2 (1 - x), 0.5 (-1 - x), (-1/2 - x)/3) puts the product first in WL, while x + 2 (y + z) and z + 0.5 (y + z) keep the symbol first in both. Same comparator as the entry above: WL keys the scaled sum on its last term (x ties with x, and a sum then sorts before the bare symbol, the -1 + x < x rule of Sort). Value identical, display only.

Two numeric-base powers whose exponents differ by a factor

wolframscript -code '4^x 2^(-2 x)'   # 1
woxi eval '4^x 2^(-2 x)'             # 4^x/2^(2*x)
wolframscript -code '2. 2.^x'        # 2.^(1 + x)
woxi eval '2. 2.^x'                  # 2.*2.^x

Woxi multiplies numeric bases under an identical or opposite exponent (2^x 3^x is 6^x, 6^x/2^x is 3^x) and adds the exponents of one base, machine reals included. WL also folds 4^x 2^(-2 x) to 1 and 8^x 2^(-x) to 4^x, yet leaves 2^(2 x) 3^x and 4^x 3^(2 x) alone, so the exponent-ratio rule is not simply "pull the numeric factor into the base". A machine-real coefficient equal to a power's base (2. 2.^x) is split off as the numeric coefficient before the bases are grouped; an exact one (2 2^x) merges.

Multivariate FindRoot from a start whose full Newton step overflows

A 6-equation liquid-liquid equilibrium system (Exp of rational activity terms; IslandTypeLiquidLiquidEquilibriumDiagrams) started at {x2 -> 0.1, x1 -> 0.2, xp2 -> 0.8, xp1 -> 0.1, L -> 0.05, Lp -> 0.5}: wolframscript's first step is 1/80 of the Newton step (the merit at the full step is ~10^40) and it converges to {x2 -> 0.0629, x1 -> 0.5137, …}. Woxi's damped Newton halves the step to 1/64, settles in a local minimum of the merit function (~1.16) and returns the starting point; a quadratic and cubic Armijo search (as the single-variable form uses) and step clipping each converge elsewhere or not at all. WL's "LineSearch" step control (its curvature condition) would have to be matched.

A complex iterator with a fractional span

wolframscript -code 'Table[k, {k, I, I + 1.5}]'   # {I, 1 + I}
woxi eval 'Table[k, {k, I, I + 1.5}]'             # Table::iterb, unevaluated

Table, Do, Range and Product accept a complex start only when the span (max - min)/step is an exact integer ({k, I, I + 1} works). WL takes the floor of any non-negative real span. Sum handles it.

A machine complex number inside a symbolic sum is not bracketed

wolframscript -code 'x + 1.5 I'   # (0. + 1.5*I) + x
woxi eval 'x + 1.5 I'             # 1.5*I + x
wolframscript -code 'a + 0. I'    # (0. + 0.*I) + a
woxi eval 'a + 0. I'              # 0. + 0.*I + a

In WL the machine Complex is one atom, printed with its 0. real part and bracketed among the other summands. Woxi stores it as re + im*I terms of the surrounding Plus, so there is no atom to bracket. Values agree.

Mixed sharing/non-sharing numerators over a shared denominator

(5 + x)/(3 + x) + b/(3 + x)^2 — WL puts the b term first, Woxi keeps the sharing term first. Same for a*x/(1 - x) + b/(1 - x)^2. The all-sharing and all-non-sharing cases are decoded and implemented.

c/x^2 + x^(-1) (a monomial rather than sum base) also diverges: WL puts c/x^2 first.

Together does not hoist a numerator monomial for multi-factor denominators

wolframscript -code 'ToString[Together[x/(1-x) + x/(2-x)], InputForm]'
# -((x*(-3 + 2*x))/((-2 + x)*(-1 + x)))
woxi eval 'Together[x/(1-x) + x/(2-x)]'
# keeps the numerator expanded: (3*x - 2*x^2)/(...)

Related: after a cancellation Woxi returns an expanded numerator and denominator where WL reconstructs from the surviving factors — Together[(x^2 (1+x))/((1-x) x)] is -((x (1+x))/(-1+x)) in WL. And Together[(x^2+x)/((x-1)(x+1))] stays put in Woxi where WL gives x/(-1+x).

Radical quotient canonicalization

WL folds integer coefficients into radicals of rationals and combines radical quotients where Woxi keeps them split:

wolframscript -code 'ToString[Numerator[Sqrt[11]/Sqrt[7]], InputForm]'
woxi eval 'Numerator[Sqrt[11]/Sqrt[7]]'

Concretely 3*Sqrt[11/3] → Sqrt[33], Sqrt[30]/Sqrt[6] → Sqrt[5], and Numerator[-3 Sqrt[16]/(Sqrt[2] Sqrt[11])] is -6 Sqrt[2] in WL against Woxi's -12. Woxi's Simplify is also non-confluent here: given the already-distributed sum, Simplify[-6 Sqrt[399] + 6 Sqrt[2261]] returns -6*(Sqrt[399] - Sqrt[2261]), while the product form it came from is fixed.

Diff-fuzz seed 1794000670664151000 also minimized to Simplify[(Sqrt[15] - 1)/5]: Woxi keeps (-1 + Sqrt[15])/5, while Wolfram returns -1/5 + Sqrt[3/5] (verified 2026-11-06). The original common-radical numerator case from that run now uses the same radical extraction as a standalone sum; this rational-radical redisplay remains.

Sqrt[1/(2 Pi)] and constants outside a radical

Sqrt[1/(2 Pi)] stays as written instead of 1/Sqrt[2 Pi], and a constant sitting outside the radical does not fold in: Pi/(2 Sqrt[2 Pi]) stays where WL gives Sqrt[Pi/2]/2.

A rational power's base is not kept primitive

Woxi normalizes (3/11)^(2/3) to (9/121)^(1/3), where WL keeps the primitive base and even rewrites the other direction.

Powers of integer bases that share a prime do not merge

A coefficient is absorbed into a power of an integer base the way WL does it (2^x/12 → 2^(-2 + x)/3, 6^x/4 → 2^(-2 + x)*3^x), but two powers sharing a prime are not split and merged:

wolframscript -code '6^x 2^y'      # 2^(x + y)*3^x
woxi eval '6^x 2^y'                # 2^y*6^x
wolframscript -code '2 6^x 10^y'   # 2^(1 + x + y)*3^x*5^y
woxi eval '2 6^x 10^y'             # 2^(1 + x)*3^x*10^y
wolframscript -code '6 2^x 3^x'    # 6^(1 + x)
woxi eval '6 2^x 3^x'              # 2^(1 + x)*3^(1 + x)

Rational bases are left out of the absorption: WL splits them into their primes and recombines, choosing between a base and its reciprocal in a way not yet pinned down (4/9 (2/3)^x → (3/2)^(-2 - x), 2/3 (2/3)^x → (2/3)^(1 + x), 3 (2/3)^x → 2^x*3^(1 - x)).

A complex coefficient blocks the negative-exponent fold

wolframscript -code 'ToString[TrigToExp[Sin[x]], InputForm]'   # …I/2/E^(I*x)…
woxi eval 'ToString[TrigToExp[Sin[x]], InputForm]'             # …I/2*E^(-I*x)…

Real, integer and symbolic coefficients all fold correctly (1/2 E^(-I x) → 1/(2*E^(I*x))); only a complex or imaginary coefficient fails. Coth and Csch are left unevaluated by TrigToExp for the related reason that their denominators carry a negative real E-power, which Woxi prints as -(1/E^x). ArcSin/ArcCos/ArcCsch/ArcSech are omitted because the Log-argument Plus order diverges.

Expand leaves rational coefficients unfolded

wolframscript -code 'ToString[Expand[(x - 1/2)(x + 1/2)], InputForm]'  # -1/4 + x^2
woxi eval 'Expand[(x - 1/2)(x + 1/2)]'                                # -1/4 - x/2 + x/2 + x^2

Within a term the folding is fixed; across terms it is not, because the sum-level combiner keys Rational[1,2]*x and Rational[-1,2]*x differently. Two smaller residues: Expand[-x/3] prints x*-1/3 where WL gives -1/3*x, and Expand[(a-b)^2/12]'s middle term prints (2*a*b)/12 instead of (a*b)/6.

Trig powers are not canonicalized to reciprocal functions

Wolfram rewrites 1/Sin[x] → Csc[x], Cos[x]/Sin[x] → Cot[x] and Sin[x]^2/Cos[x] → Sin[x] Tan[x]. Woxi ships only the self-contained reciprocal-pair subset (Sin[x] Csc[x] → 1 and friends); lone reciprocals and the cross-function rewrites stay as written.

Simplify factors where wolframscript keeps an expanded quotient

Simplify[(-2 + x + 5x^2 + 2x^3)/(-5)] gives (-1/5)(1+x)(2+x)(-1+2x) in Woxi against WL's (2 - x - 5x^2 - 2x^3)/5. Wolfram also factors numerators of combined fractions further than Woxi does (collecting in x with factored coefficients), so Woxi keeps a sum of quotients where WL prints one fraction — Together alone matches exactly on the same inputs.

Simplify, FullSimplify and TrigReduce pick a different form

Found by the differential fuzzer (2026-11-12):

wolframscript -code 'Simplify[Tan[2 x] + x - Tan[3 x]]'   # x + Tan[2*x] - Tan[3*x]
woxi eval 'Simplify[Tan[2 x] + x - Tan[3 x]]'             # x - Sec[2*x]*Sec[3*x]*Sin[x]
wolframscript -code 'FullSimplify[1 + 5 x + 5 x^3]'       # 1 + 5*(x + x^3)
woxi eval 'FullSimplify[1 + 5 x + 5 x^3]'                 # 1 + 5*x + 5*x^3
wolframscript -code 'TrigReduce[1 + Tan[x]^2]'            # Sec[x]^2
woxi eval 'TrigReduce[1 + Tan[x]^2]'                      # 2/(1 + Cos[2*x])

The values are equal. TrigReduce[Tan[x]^2] conforms; WL keeps Sec[…]^2 as a factor once the sum around it reduces to it, and distributes it over the reduced terms of a larger sum.

TrigExpand of a Tan sum keeps a constant term apart

wolframscript -code 'TrigExpand[1 + Tan[2 x]]'
# Cos[x]^2/(Cos[x]^2 - Sin[x]^2) + (2*Cos[x]*Sin[x])/(Cos[x]^2 - Sin[x]^2) - Sin[x]^2/(Cos[x]^2 - Sin[x]^2)
woxi eval 'TrigExpand[1 + Tan[2 x]]'
# 1 + (2*Cos[x]*Sin[x])/(Cos[x]^2 - Sin[x]^2)

Found by the differential fuzzer (2026-11-12). WL puts the whole sum over the common denominator and splits it by the numerator's monomials.

Series leading terms and coefficient forms

wolframscript -code 'Series[Cos[y], y -> 0]'          # SeriesData[y, 0, {1}, 0, 2, 1]
woxi eval 'Series[Cos[y], y -> 0]'                    # SeriesData[y, 0, {1}, 0, 1, 1]
wolframscript -code 'Series[y^2 + Sin[y], {y, 1, 2}]' # SeriesData[y, 1, {1 + Sin[1], 2 + Cos[1], 1 - Sin[1]/2}, 0, 3, 1]
woxi eval 'Series[y^2 + Sin[y], {y, 1, 2}]'           # SeriesData[y, 1, {1 + Sin[1], 2 + Cos[1], (2 - Sin[1])/2}, 0, 3, 1]

The leading term of an even function carries wolframscript's knowledge that the next power vanishes; Woxi puts the order term one power past the leading one. The coefficient values agree. A SeriesData times an unevaluated Series[f, {q x, 0, n}] (after Series::ivar) comes out as the series of f in wolframscript; Woxi expands the unevaluated Series[…] as an unknown function.

Solve with a symbolic coefficient: radical form of the roots

wolframscript -code 'Solve[{ez a ex + ez == 0, ex^2 + ez^2 == 1}, {ex, ez}]'
# {{ex -> -a^(-1), ez -> -(Sqrt[-1 + a^2]/a)}, {ex -> -a^(-1), ez -> Sqrt[-1 + a^2]/a}, {ex -> -1, ez -> 0}, {ex -> 1, ez -> 0}}
woxi eval 'Solve[{ez a ex + ez == 0, ex^2 + ez^2 == 1}, {ex, ez}]'
# {{ex -> -a^(-1), ez -> -Sqrt[1 - a^(-2)]}, {ex -> -a^(-1), ez -> Sqrt[1 - a^(-2)]}, {ex -> -1, ez -> 0}, {ex -> 1, ez -> 0}}

Woxi back-substitutes ex into ex^2 + ez^2 == 1 and keeps the radical of the result; wolframscript pulls the parameter out of the square root. The two agree for a > 0 only, and the solutions are ordered differently when the parameter is a product (a q).

PolynomialExtendedGCD cofactor forms

wolframscript -code 'PolynomialExtendedGCD[a x + b, c x + d, x]'
# {1, {-(c/(-(b*c) + a*d)), a/(-(b*c) + a*d)}}
woxi eval 'PolynomialExtendedGCD[a x + b, c x + d, x]'
# {1, {c/(b*c - a*d), -(a/(b*c - a*d))}}
wolframscript -code 'PolynomialExtendedGCD[2 x^5 - 2 x, (x^2 - 1)^2, x]'
# {-1 + x^2, {x/4, (-4 - 2*x^2)/4}}
woxi eval 'PolynomialExtendedGCD[2 x^5 - 2 x, (x^2 - 1)^2, x]'
# {-1 + x^2, {x/4, (-2 - x^2)/2}}

The values are equal. Woxi passes each cofactor through Together (which agrees with wolframscript's Together on them); wolframscript returns the cofactors in forms its Together would not produce, including the unreduced (-4 - 2*x^2)/4.

Simplify expands factored denominators that wolframscript keeps

wolframscript -code '{Simplify[1/(x (1 + y))], Simplify[(a + b)/(e^2 (2 + p)^2)], Simplify[1/(e (1 + p) (2 + p))]}'
# {1/(x*(1 + y)), (a + b)/(e^2*(2 + p)^2), 1/(e*(2 + 3*p + p^2))}
woxi eval '{Simplify[1/(x (1 + y))], Simplify[(a + b)/(e^2 (2 + p)^2)], Simplify[1/(e (1 + p) (2 + p))]}'
# {(x + x*y)^(-1), (a + b)/(4*e^2 + 4*e^2*p + e^2*p^2), (2*e + 3*e*p + e*p^2)^(-1)}

simplify_division works on the expanded numerator and denominator and only restores a (sum)^n denominator afterwards. WL is not simply cost-minimal here: (x + x*y)^(-1) has the lower SimplifyCount (8 against 11), yet Simplify[1/(x (1 + y))] keeps the factored input. It expands only some denominators: 1/((1 + x) (2 + y)) becomes (2 + 2*x + y + x*y)^(-1), and x/(y (1 + y)) becomes x/(y + y^2). Which candidates WL generates is not decoded. Together, Cancel, ExpandDenominator and Factor all match on these inputs. DifferenceRoot values with symbolic parameters go through Simplify and inherit this gap.

Simplify can be pathologically slow

Simplify[(z+1)*(1/(z+1) + PolyGamma[0,2] + (z+1)*(PolyGamma[0,2]^2 + PolyGamma[1,2]))/(z+1)] takes tens of seconds where wolframscript is instant. The time is spent re-evaluating the result tree after simplification completes, not inside Simplify itself.

Three-factor sign flip

(-1/3)*(-2+x)*y diverges because Woxi evaluates BinaryOp pairs left-associatively and flips the inner pair, while WL sees a flat Times. Needs parser-level Times flattening.

Eliminate clears denominators differently

Eliminate[{x + y == 1, x - y == 2}, y] is x == 3/2 in Woxi and 2*x == 3 in WL, which keeps integer coefficients.

Unevaluated calls are re-evaluated wherever they are copied

n = 20; rules = Flatten[Table[{{(i-1) n + j, (i-1) n + j} -> 4.1}, {i, n}, {j, n}]];
A = SparseArray[rules, {n, n^2}];       (* posd: stays unevaluated *)
x = LinearSolve[A, N[Range[n^2]]];      (* stays unevaluated *)
Max[Abs[A . x - N[Range[n^2]]]]

The last line takes 0.0003 s in wolframscript and 4.8 s in Woxi, which re-evaluates the unevaluated SparseArray[…] and LinearSolve[…] in every element of the product (and re-emits their messages until General::stop). Wolfram marks an expression as evaluated and skips it the next time. At n = 60 (found by the crash fuzzer, 2026-11-13) Woxi needs 22 GB. Woxi has no evaluated mark yet.

Numeric precision and floating point

High-precision logarithms and powers are quadratic in the precision

wolframscript -code 'AbsoluteTiming[Precision[10^-15.95`100000]]'   # {0.0895, 99998.43961339409}
woxi eval 'Precision[10^-15.95`100000]'                             # 99998.43502362391 (10 s)

astro-float computes ln by a series whose cost grows with the square of the precision (0.15 s at 10^4 digits, 10 s at 10^5), where wolframscript's grows nearly linearly. The interpret fuzzer keeps producing such literals (a precision tag of 395301709), which then time out. The reported precision differs slightly at this size too.

A machine real divided by an exact quotient differs in the last digit

wolframscript -code 'Divide[2.9, Divide[Pi + 11/2, Pi]]'   # 1.0542754166531756
woxi eval 'Divide[2.9, Divide[Pi + 11/2, Pi]]'             # 1.0542754166531754

Found by the differential fuzzer (2026-11-12). The exact quotient (11/2 + Pi)/Pi is numericized at machine precision as part of the division, and the two engines round the intermediate steps differently.

Machine Cos/Sin last-bit differences

Machine Cos/Sin call the platform libm, so their last bit depends on the OS. glibc rounds Cos[2.0943951023931953] (N[2 Pi/3]) correctly to -0.4999999999999998, while wolframscript — like Apple's libm — gives -0.49999999999999983, one ulp away (the exact cosine is -0.4999999999999998010…). Combinatorica's CircularEmbedding coordinates (CompleteGraph[3], …) show it on Linux. Matching Wolfram everywhere would need its own trigonometric kernel.

Machine Binomial of a real with an integer k

Woxi computes Binomial[x, k] for a machine real x and an integer k >= 0 as the falling factorial over k!, so Binomial[-2.5, 3] is -6.5625, the exact value. wolframscript goes through its own Gamma or log-Gamma kernel and gives -6.562499999999997; likewise Binomial[7.5, 2] is 24.375000000000036 there, while Binomial[2.5, 3] is exactly 0.3125. Neither a plain Gamma ratio nor the exponential of log-Gamma differences (computed with libm) reproduces all of these, so the kernel is not identified.

Machine ArcTanh differs from high-precision rounding

Seed 1794077442250731000 (2026-11-07) found ArcTanh[-0.7]: Woxi returns -0.8673005276940531, while Wolfram's machine result is -0.8673005276940532. Evaluating N[ArcTanh[SetPrecision[-0.7,80]],60] gives -0.86730052769405310735082903360028..., agreeing with Woxi's rounding. SetPrecision preserves the exact binary machine input for this comparison. The remaining mismatch is the numerical backend's last-bit choice.

SpherePoints differs in the last bit, and small n is missing

SpherePoints[n] lays the points on the golden spiral Wolfram uses (the same z values exactly, longitude k times the golden angle), but the x and y coordinates come out up to two ulps away from Wolfram's — its trigonometric evaluation rounds differently. The n Wolfram takes from a table of optimal arrangements (2–12, 14, 16, 18, 20, 22, 24, 30, 32, 40, 55, 60) are not implemented and stay unevaluated.

NMinimize ignores WorkingPrecision

NMinimize[Total[EuclideanDistance[{a, b, c}, #] & /@ pts], {a, b, c}, WorkingPrecision -> 30] gives 30-digit numbers in wolframscript; Woxi answers with machine numbers (located to about 8 digits).

Arbitrary-precision complex numbers print every working digit

N[(1 + I)/3, 20] is right but shows 58 digits per part, 0.3333…333420., where wolframscript shows 38,0.3333333333333333333333333333333333333320.. Only a complex result of a one-argument function (N[Sin[1 + I], 20]) gets wolframscript's per-part precision markers; others, including complex powers like N[(1 + 2 I)^(3/2), 20], carry a flat 20. where WL tracks 19.10381839395503 and 20.148756595204922. So does a one-argument result whose input is tiny next to its output (N[Log[-10^-17 + I/10^40], 10], WL 10.149… and 9.0536…), and the imaginary part of Log of a negative arbitrary-precision real (Log[-2.520]: WL36.75…, Woxi20.497…`, the accuracy of the real part).

Inverse trigonometric functions of arbitrary-precision reals off their real domain stay unevaluated

wolframscript -code 'ArcSin[3`20]'  # 1.5707963267948966192313216916397514421`36.42616338166145 - 1.76274717403908605046521864995958461806`20.220613765883606*I
woxi eval 'ArcSin[3`20]'            # ArcSin[3.`20.]

N[ArcSin[3], 20] of an exact argument is complex as in Wolfram, but an already arbitrary-precision argument (ArcCos[-2.30],ArcCosh[0.520] except at 0) stays unevaluated: the functions' own arbitrary-precision paths are real-only.

Inexact Solve of b^x == v with negative v is 1 ULP off

wolframscript -code 'InputForm[Solve[2^x == -3., x]]'  # {{x -> 1.584962500721156 + 4.532360141827194*I}}
woxi eval 'InputForm[Solve[2^x == -3., x]]'            # {{x -> 1.5849625007211563 + 4.532360141827194*I}}

Woxi inverts through Log[b, v], which matches wolframscript for positive v (Solve[2^(x - 2) == 15., x]) and for Log[2, -3.] itself. Inside Solve, wolframscript rounds the real part of a negative v differently (Log[3.]/Log[2.]), but not consistently: Solve[3^x == -15., x] differs in the last digit of the imaginary part instead. The same applies to the complex roots of Solve[2^b + 4^b == 6., b].

GaussianMatrix differs in the last digits

wolframscript -code 'InputForm[GaussianMatrix[{{2}, 1}]]'  # {0.05088223571170066, 0.21183832321622456, 0.47455888214414965, …}
woxi eval 'InputForm[GaussianMatrix[{{2}, 1}]]'            # {0.05088223571170065, 0.2118383232162245, 0.4745588821441496, …}

Woxi builds the kernel from machine BesselI values; wolframscript's round differently, and neither is the correctly rounded kernel (0.050882235711700655). The derivative matrices (GaussianMatrix[r, {n1, n2}]) follow the same construction and differ by up to about 1e-15 relative, 1e-14 at radius 50.

NIntegrate`GaussRuleData differs in the last digits

Woxi finds the Gauss–Legendre nodes by Newton iteration in machine arithmetic; wolframscript's own computation rounds differently from 3 points on (5/18 is 0.2777777777777776 there, 0.27777777777777635 in Woxi). Only MachinePrecision is implemented — a numeric precision leaves the call unevaluated — and the 1-point rule gives the weight 1. where wolframscript divides by zero ({{0.5}, {ComplexInfinity}, {}}).

FindMinimum/FindMaximum with two starting values stop at a different last digit

wolframscript -code 'FindMaximum[Sin[x], {x, 1, 2}]'   # {1., {x -> 1.5707963267114806}}
woxi eval 'FindMaximum[Sin[x], {x, 1, 2}]'             # {1., {x -> 1.5707963267948966}}

{x, x0, x1} makes Wolfram use a derivative-free method that stops at its own tolerance. Woxi runs its Newton search from x0 and lands on the extremum to machine precision. The extremum is the same; the digits past about 1e-10 are not.

Erf, Erfc and Erfi of complex machine numbers differ in the last digits

wolframscript -code 'Erf[1. + 0.5 I]'   # 0.9507097283189574 + 0.18797346722338326*I
woxi eval 'Erf[1. + 0.5 I]'             # 0.9507097283189571 + 0.18797346722338332*I

Woxi sums the Maclaurin series for |Re z| < 2 and uses the Erfc continued fraction beyond that. Both are correct to about 1e-13 relative, but not correctly rounded the way Wolfram's arbitrary-precision kernel is.

NSolve lists the solutions of a polynomial system in a different order

wolframscript -code 'NSolve[x == 0.47 ss + 0.13 && y == 0.85 ss + 0.99 && (-0.039 + x)^2 + (-1.015 + y)^2 == 0.034, {x, y, ss}]'
# {{x -> 0.04187863964178423, …, ss -> -0.18749225608131015}, {x -> 0.19667891812798455, …}}
woxi eval 'NSolve[x == 0.47 ss + 0.13 && y == 0.85 ss + 0.99 && (-0.039 + x)^2 + (-1.015 + y)^2 == 0.034, {x, y, ss}]'
# {{x -> 0.19667891812798463, …}, {x -> 0.04187863964178421, …, ss -> -0.1874922560813102}}

Not reproducible from the output alone. The solution set is the same, but Wolfram's order comes from its internal polynomial-system solver. It is ascending in some samples and descending in others (NSolve[x == 1 + ss && y == 2 ss && x^2 + y^2 == 3., {x, y, ss}] lists the larger x first), with no consistent key. Code that picks a solution by position (… [[2]]) can see a different root.

Rationalize[x, 0] and ContinuedFraction[x] of a machine real stop one convergent off

wolframscript -code 'Rationalize[0.64894397210534, 0]'   # 204604909/315289020
woxi eval 'Rationalize[0.64894397210534, 0]'             # 25217905/38859911
wolframscript -code 'ContinuedFraction[Sqrt[2.]]'        # {1, 2, … (20 twos)}
woxi eval 'ContinuedFraction[Sqrt[2.]]'                  # {1, 2, … (19 twos)}

Not reproducible from the output alone. WL's results are always continued-fraction convergents of the double's exact binary value, but neither function stops by a fixed error bound. No symmetric interval (relative or in ulps) and no float-equality test fits all the samples. Woxi accepts the first convergent within 0.65 $MachineEpsilon |x|. That matched 41 of 42 random reals sampled across magnitudes. ContinuedFraction usually equals the Rationalize list with its last term dropped, which Woxi always returns. On the same sample it matched 35 of 42. In the misses WL's list is one term longer or shorter (Sqrt[2.]), or is the full Rationalize list (469.4554167169332).

Inexact zero loses WL's accuracy tracking

wolframscript -code 'ToString[PascalBinomial[6.0, -2], InputForm]'  # 0``15.954589770191005
woxi eval 'PascalBinomial[6.0, -2]'                                 # 0.

Binomial[6.0, -2] has the same reference value but drifts further — Woxi returns an exact 0 there, losing the inexactness too. WL returns an arbitrary-precision zero whose accuracy is $MachinePrecision — not a machine 0., whose accuracy is 323.6. Reproducing it needs precision/accuracy tracking through the Gamma-ratio path starting from a machine-real argument.

Machine floats overflow where wolframscript promotes to arbitrary precision

Overflow of Exp[x.], a.^b, products, quotients and sums of machine reals is promoted to an arbitrary-precision number (up to a decimal exponent of 6*10^8), but not everywhere:

wolframscript -code 'Exp[-1000.]'      # General::munfl: Exp[-1000.] is too small to represent as a normalized machine number; precision may be lost.
                                       # 0.
woxi eval 'Exp[-1000.]'                # 0.  (no General::munfl)

Machine underflow collapses to 0. without General::munfl — wolframscript's own numeric routines do not emit it either, but a top-level Exp[-1000.] or 0.5^2000. does. Functions other than Exp and Power (Cosh, Sinh, Gamma, …) still return Infinity past the machine range (Cosh[1000.]), where wolframscript gives a number.

The arbitrary-precision type has a 32-bit binary exponent, so numbers end near 10^646456993 where wolframscript's $MaxNumber is near 10^1355718576299609. Past a decimal exponent of 6*10^8 a machine result is Infinity (Exp[2.*^9]) and an arbitrary-precision one is Overflow[]/Underflow[] with General::ovfl/General::unfl (Exp[10.3010],10-1100329811.30), where wolframscript still shows a number.

Last digit of the accuracy of a cancelled arbitrary-precision sum

wolframscript -code 'x = 1.5`20*^50000; x - x'   # 0``-49980.47712125473
woxi eval 'x = 1.5`20*^50000; x - x'             # 0``-49980.47712125472

Woxi computes -Log10 of the error correctly rounded. wolframscript's value matches (Log2[m] + e) Log10[2] of the binary mantissa and exponent for this case, but that formula misses its accuracy of 1.520 - 1.520 by one unit in the last place too, so the rule is not known.

High-multiplicity roots of a machine-coefficient polynomial

A root of multiplicity m of a polynomial with machine coefficients is only determined to about $MachineEpsilon^(1/m). wolframscript's Solve reports such a root m times up to m = 5. From m = 6 on it returns the copies scattered by rounding: Solve[Expand[(z - 3.7)^9 (z^2 + 1)] == 0, z] gives nine real roots between 3.5737 and 3.8321, with I listed before -I for odd m. For (x - 1.1)^m (x - 1.2) the copies are already scattered at m = 4, and at m = 7 all eight roots come out near 1.1125. The scatter depends on wolframscript's own eigenvalue rounding, so it cannot be reproduced. Woxi merges the copies into the m-fold root for every m. Expressions that only depend on the coefficients, such as the power sums of the roots, agree.

Precision tags of inexact Solve roots

Solve[(x^2 - 1.)/(x - 1) == 2 x^2, x] is {{x -> -0.515.954589770191003}, {x -> 1.15.954589770191003}} in wolframscript (machine-precision numbers written as arbitrary-precision ones) and {{x -> -0.5}, {x -> 1.}} in Woxi. The roots and their count agree.

Overflow[] is not absorbing, and its head is not Real

Woxi returns Overflow[]/Underflow[] for a power past $MaxNumber, but the object itself is inert rather than WL's absorbing one:

wolframscript -code 'ToString[Overflow[] + 1, InputForm]'   # Overflow[]
woxi eval 'ToString[Overflow[] + 1, InputForm]'             # 1 + Overflow[]

wolframscript -code 'Head[Overflow[]]'                      # Real
woxi eval 'Head[Overflow[]]'                                # Overflow

Between 10^5 and the $MaxNumber boundary Woxi also keeps a rational power symbolic (2^(10^10/3) stays 2^(10000000000/3)) where WL materializes the extracted integer factor.

Positive and Sign underflow on a rational below the double range

wolframscript -code 'Positive[10^-400]'   # True
woxi eval 'Positive[10^-400]'             # False

wolframscript -code 'Sign[10^-400]'       # 1
woxi eval 'Sign[10^-400]'                 # 0

Power and the comparison operators compare such values exactly, but Positive, Negative and Sign still route through f64, where the value underflows to 0.0.

An accuracy-form literal's precision differs in the last digit

1.5``20 stores its precision as 20 + log10(1.5). Woxi computes that with f64::log10 and gets 20.17609125905568; wolframscript computes it at arbitrary precision and gets 20.176091259055685. Visible whenever the precision tag is printed. Accuracy[1.5] differs in the last ULP for the same reason.

A symbolic constant raised to a BigFloat exponent stays symbolic

Pi^0.520` staysPi^0.520., so N[Gamma[1/2], 20] comes out malformed and N[Gamma[3/2], 20] gives 0.520.*Pi^0.520.. Routing it through N[base, p] produces numbers but with a different precision tag (20.30 against WL's 20.46, which accounts for the base magnitude) and a last mantissa digit off by one — an arbitrary-precision rounding problem rather than a dispatch one.

N[I] stays exact

N[I] is I in Woxi and 0. + 1.*I in wolframscript, so N[Gamma[I]] and N[LogGamma[I]] echo instead of numericizing. Fixing it needs scalar * (0. + c*I) to fold first, and that non-fold is deliberate: a pure imaginary product is left as the c*I monomial so it still merges inside an enclosing Plus. Both changes were tried and reverted.

BesselJ/PolyGamma at complex numeric arguments are separately unimplemented.

An inexact number does not numericize a complex-valued term

Plus/Times with a machine number numericize a NumericQ term only when it is real-valued (Zeta[3] + 0.); a complex-valued one stays symbolic:

wolframscript -code 'ZetaZero[1] + 1.'     # 1.5 + 14.134725141734695*I
woxi eval 'ZetaZero[1] + 1.'               # 1. + ZetaZero[1]
wolframscript -code 'Zeta[1/2 + I] + 1.'   # 1.1439364270771886 - 0.7220997435316738*I
woxi eval 'Zeta[1/2 + I] + 1.'             # 1. + Zeta[1/2 + I]

The fallback in try_eval_to_f64 only produces an f64.

ZetaZero machine values and precision

N[ZetaZero[k], p] returns the machine value; WL computes p digits. Woxi's machine values are the correctly rounded doubles, which WL's are not everywhere — not reproducible: N[ZetaZero[6709]] is 7005.062866174921 in Woxi and 7005.062866174927 in WL, whose own 25-digit value is 7005.06286617492058…, and Im[ZetaZero[1]] - 14. is off in WL's last digits compared to Im[N[ZetaZero[1]]] - 14..

Complex[Real, Real] has the wrong head

wolframscript -code 'Head[Complex[0., 0.]]'   # Complex
woxi eval 'Head[Complex[0., 0.]]'             # Plus

Woxi has no dedicated Complex expression variant, so a real-real complex is rewritten to Plus[Real, Times[Real, I]] during evaluation. The printed string matches; the head does not.

Code that has to tell a complex with a zero imaginary part from a real must therefore go by "extracts as complex but not as a real" rather than by the head — see reject_non_real_base in math_ast/elementary.rs. Such a value also renders with an explicit * where WL's messages use a space:

wolframscript -code 'CubeRoot[2. + 0. I]'   # …The parameter 2. + 0. I should be…
woxi eval 'CubeRoot[2. + 0. I]'             # …The parameter 2. + 0.*I should be…

Binomial[n, real] carries Gamma-error noise

Binomial[10, 3.] is 119.99999999999987 in Woxi and 120. in WL; Binomial[100, 3.] is 161699.999999994 against 161700.0000000032. WL's exactness is unpredictable — it depends on the magnitudes of the Gamma arguments, not of the result, so Binomial[26, 13.] is f64-exact there and Binomial[27, 13.] is not. Returning the exact BigInt fixes the small cases and introduces new divergences wherever WL is itself inexact. Not reproducible.

Variance and friends differ in the last ULP

Variance[{1., 2., 3.}] is 1. in Woxi and 1.0000000000000002 in WL, whose accumulation matches none of the textbook formulas (Σ(x-m)²/(n-1), (Σx² − n m²)/(n-1), (n Σx² − (Σx)²)/(n(n-1)), mean-of-squared-deviations scaled, or Welford; also not compensated or exactly rounded — a 40-sample battery found every candidate off by up to 3 ULPs). Affects Variance, Correlation, Kurtosis, Cumulant, Variance of an Audio, and the machine bandwidth and Variance of a KernelMixtureDistribution of machine data (built on the sample standard deviation). Not reproducible.

PageRankCentrality[CycleGraph[4]] is {0.25000000000000006, …} against WL's clean {0.25, …} — power-iteration noise in the same class.

FresnelF and FresnelG lose accuracy through composition

Woxi composes them from FresnelS/FresnelC; wolframscript uses dedicated rational approximations. Real outputs differ in the last 1–2 digits for small |x|, and the cancellation as S, C → 1/2 degrades relative accuracy to ~1e-13 by x = 10. Not reproducible without WL's coefficients.

Machine Bessel, Airy and Struve values are not correctly rounded in WL

Woxi rounds machine BesselJ, BesselY, BesselI, BesselK, StruveH, StruveL and the four Airy functions from a 64-bit evaluation, so they are correctly rounded (checked against 20-digit values of the exact double arguments). wolframscript's agree on most probes but not all, and drift further for large arguments: BesselJ[0, 100.] is …223327 against the correctly rounded …223122, BesselJ[1, 3.8] …731658 against …7317, BesselY[0, 2.4] …7439 against …7438, AiryAi[20.] …6705310*^-27 against …6705404*^-27 and AiryAiPrime[-1.] is off by 4e-14. Anything built on them inherits the difference — N[BesselJZero[1, 1]] is …5125 (the root is 3.83170597020751231…) against WL's …512, and GaussianFilter's kernel and PDF[VonMisesDistribution[2, 3], 2.5] differ in the last digit. Not reproducible.

Machine special-function values differ in the last digits

Woxi's machine LogGamma is msun's lgamma (accurate to an ulp); it matches wolframscript on most arguments but not all — LogGamma[1.5] is …4522 (the correctly rounded value) against WL's …4526, LogGamma[10.3] …355 against …359, LogGamma[4.0] …055 (Log[6.], correctly rounded) against …0552. The same 1–3 ULP class: InverseErf[0.5] (…698 vs …6993, Woxi nearer). Not reproducible without WL's own approximations.

Diff-fuzz seed 1794016680256839000 (2026-11-07) confirms the same class for InverseErf[-0.2]: Woxi's -0.1791434546212917 agrees with the rounded high-precision value of the exact binary input, while Wolfram's machine result is -0.17914345462129166. Seed 1794033740867996000 also found InverseErf[-0.9]: Woxi returns -1.1630871536766743, Wolfram's machine evaluation returns -1.163087153676674, and Wolfram's N[InverseErf[SetPrecision[-0.9,70]]] agrees with Woxi.

Seed 1794021370602620000 (2026-11-07) found LogGamma[0.8]: Woxi returns 0.15205967839983756, Wolfram returns 0.15205967839983753, and N[N[LogGamma[SetPrecision[0.8,70]],60]] agrees with Woxi.

Machine arithmetic-geometric means near the largest double

Machine ArithmeticGeometricMean was decoded on 2026-11-12 (305 random pairs, all identical): wolframscript iterates (a + b)/2, Sqrt[a b] in plain double precision until the two meet or stop changing — which is why ArithmeticGeometricMean[1.8,1.2] is 1.4848082617417828, an ulp above the correctly rounded value, and why ArithmeticGeometricMean[1.*^-200,2.*^-200] underflows to 0.. A product that overflows is redone on power-of-two scaled arguments. Woxi does the same. What still differs: when a + b itself overflows (ArithmeticGeometricMean[1.7*^308, 1.*^308]) wolframscript leaves machine arithmetic and returns an arbitrary-precision real (1.3268198717019798578538786220580735445916.078…*^308`), while Woxi returns the machine value.

Seed 1794045270718263000 finds LogIntegral[3.]: Woxi's 2.1635885946671918 agrees with the rounded 80-digit reference, while Wolfram's direct machine result is 2.163588594667192.

Machine cosine integrals differ from high-precision rounding

The same seed found CosIntegral[5.8]. After replacing the cancellation-prone machine series with the guarded complex exponential-integral core, Woxi returns -0.09944066468937861, matching the high-precision result rounded to a machine real. Wolfram's machine approximation is -0.09944066468937793. The large-argument asymptotic stopping rule and negative-real branch were also corrected; this remaining difference is in the oracle approximation.

Machine exponential integrals are not correctly rounded in WL

Woxi rounds machine ExpIntegralE, ExpIntegralEi, LogIntegral, Gamma[a, z] and Gamma[x] from a 64-bit evaluation, so they are correctly rounded (checked against 40-digit values of the exact double arguments). WL's Gamma[x] is correctly rounded too and the two agree, but its exponential integrals are not: LogIntegral[0.3] is …8946 against the correctly rounded …894, ExpIntegralE[2, 0.2] …031 against …032, ExpIntegralE[1, 0.7] …0923 against …092, ExpIntegralEi[3.] …414 against …416, ExpIntegralE[3, 10.] is off by 1.6e-14 and ExpIntegralEi[300.] by 2e-14. Next to li's root WL loses whole digits: LogIntegral[1.4513692348] is -2.2383719991068265*^-10 in WL and -2.2383724226744812*^-10 (correct) in Woxi. Not reproducible.

Diff-fuzz seed 1794008323899532000 reproduced this class on 2026-11-06: LogIntegral[1.2] is -0.9337872926672578 in Woxi versus -0.933787292667258 in Wolfram. Wolfram's own N[N[LogIntegral[SetPrecision[1.2,70]],60]] agrees with Woxi. Seed 1794009243473726000 also found LogIntegral[5.]: Woxi returns 3.634588310032652, Wolfram returns 3.634588310032651, and Wolfram's N[N[LogIntegral[5],60]] agrees with Woxi. Seed 1794019526553002000 found ExpIntegralE[1,4.9]: Woxi returns 0.0012914833627059846, Wolfram returns 0.0012914833627059848, and N[N[ExpIntegralE[1,SetPrecision[4.9,70]],60]] agrees with Woxi. Seed 1794035699370760000 found ExpIntegralE[4,5.7]: Woxi returns 0.00035851619983733805, Wolfram returns 0.0003585161998373378, and N[ExpIntegralE[4,SetPrecision[5.7,70]]] agrees with Woxi. The minimized ExpIntegralE[1,5.7] similarly gives 0.0005085464802750315 in Woxi versus 0.0005085464802750316 in Wolfram; the higher-precision reference agrees with Woxi.

The guard digits WL prints past the precision of N[LogIntegral[3/10], 30], N[ExpIntegralE[2, 2/10], 30] and N[Gamma[0, 2/10], 30] differ from Woxi's from about the 35th digit; Woxi's are the true ones (they agree with WL's own 60-digit values). For a complex result such as N[ExpIntegralE[1, -2], 20] WL tags each part with its own precision (20.077…, 19.879…), Woxi with the requested one.

Machine PolyGamma and Hurwitz Zeta values are not correctly rounded in WL

Woxi rounds machine PolyGamma and Zeta[s, a]/HurwitzZeta from an arbitrary-precision evaluation, so they are correctly rounded (checked with mpmath at 30 digits). wolframscript agrees on most arguments but not all: PolyGamma[-7.7] is …6933 against WL's …7003, PolyGamma[2, 0.3] …72604 against …72617, Zeta[3, -2.5] …413456 against …41346 and the real part of HurwitzZeta[0.5, -0.5] …216304 against …21629. Next to the root of ψ WL loses digits: PolyGamma[1.46] is -0.0015805619870834522 (mpmath: -0.00158056198708345210…) against WL's …0833398. At a negative s the drift reaches the third digit: Zeta[-5.817415911509695, 0.1295065568974257] is -0.0033395080665649794 in Woxi and mpmath and -0.0033354818170026833 in WL. Not reproducible. The last-digit cases are compared with a tolerance by the unit-test conformance check (NEAR_MATCH); the negative-s one is skipped.

PolyGamma of a fractional order is unimplemented

wolframscript -code 'PolyGamma[0.5, 1.9]'   # 0.7474244588681002
woxi eval 'PolyGamma[0.5, 1.9]'             # PolyGamma[0.5, 1.9]

WL continues ψ⁽ⁿ⁾ to non-integer orders by fractional calculus; neither Espinosa–Moll's e^(-γs) ∂s[e^(γs) ζ(s+1, z)/Γ(-s)] (0.8274… here) nor Γ(ν+1) ζ(ν+1, z) reproduces its values, so Woxi leaves the call unevaluated.

Trig equations whose roots wolframscript leaves as ArcTan forms

wolframscript -code 'Solve[Sin[t] == Sin[t + 2 Pi/5], t]'
# {{t -> ConditionalExpression[ArcTan[Sqrt[2*(3 + Sqrt[5])]/(3*Sqrt[5 + 2*Sqrt[5]]
#   - Sqrt[5*(5 + 2*Sqrt[5])])] + 2*Pi*C[1], …]}, {t -> … -Pi - ArcTan[…] …}}
woxi eval 'Solve[Sin[t] == Sin[t + 2 Pi/5], t]'
# {{t -> ConditionalExpression[(-7*Pi)/10 + 2*Pi*C[1], …]},
#  {t -> ConditionalExpression[(3*Pi)/10 + 2*Pi*C[1], …]}}

The ArcTan expressions are 3π/10 and -7π/10; Woxi solves Sin[A] == Sin[B] through A == B + 2πk || A == π - B + 2πk and gets the multiples of π directly. Reduce over a bounded interval differs the same way.

Reduce keeps a common equation inside each branch

wolframscript -code 'Reduce[z == Sin[t] && Sin[t] == 1/2 && 0 <= t < 2 Pi && z > 0, {z, t}, Reals]'
# z == 1/2 && (t == Pi/6 || t == (5*Pi)/6)
woxi eval 'Reduce[z == Sin[t] && Sin[t] == 1/2 && 0 <= t < 2 Pi && z > 0, {z, t}, Reals]'
# (z == 1/2 && t == Pi/6) || (z == 1/2 && t == (5*Pi)/6)

When to factor a shared equation out of the disjunction is not decoded: Reduce[{x == 2, y^2 == x + 2}, {x, y}] factors (x == 2 && (y == -2 || y == 2)), but Reduce[{x^2 == 1, y == 1}, {x, y}] distributes and puts y first ((y == 1 && x == -1) || (y == 1 && x == 1)), and Woxi does the opposite in both.

A definite integral up to a symbol carries no condition

wolframscript -code 'Integrate[2 (1 + 3 x)^(-1/2), {x, 0, t}]'
# ConditionalExpression[(4*(-1 + Sqrt[1 + 3*t]))/3, Re[t] > 0 || …]
woxi eval 'Integrate[2 (1 + 3 x)^(-1/2), {x, 0, t}]'
# -4/3 + (4*Sqrt[1 + 3*t])/3

Woxi returns F[t] - F[0] unconditionally and does not collect it.

x*(a*x)^n orders its factors the other way round

wolframscript -code '{x (a x)^n, Sort[{(a x)^n, x}]}'   # {x*(a*x)^n, {x, (a*x)^n}}
woxi eval '{x (a x)^n, Sort[{(a x)^n, x}]}'             # {(a*x)^n*x, {(a*x)^n, x}}

A power of a product compares by its base, and x precedes a*x (the last-factor rule), but canonical_cmp and sort_symbolic_factors put the power first; Order[x, (a x)^n] is right. So Integrate[(a x)^n, x] prints ((a*x)^n*x)/(1 + n) where WL prints (x*(a*x)^n)/(1 + n).

RegionCentroid of a region difference

RegionCentroid[RegionDifference[outer, hole]] is worked out exactly only when the hole lies inside outer. wolframscript also handles a hole that sticks out (Disk[{2, 2}, 1] at a corner of Rectangle[{0, 0}, {2, 2}] gives {(2*(26 - 3*Pi))/(3*(16 - Pi)), …}), where Woxi stays unevaluated; and for an inexact disk it integrates over a discretized disk, so Disk[{0.38, 0.38}, 0.55] gives -0.11783686539341964 against the exact -0.11841487309694458.

HighlightImage returns the image at its own size

wolframscript -code 'ImageDimensions[HighlightImage[ConstantImage[Black, {200, 100}], {Red, Point[{5, 5}]}]]'
# {400, 200}
woxi eval 'ImageDimensions[HighlightImage[ConstantImage[Black, {200, 100}], {Red, Point[{5, 5}]}]]'
# {200, 100}

HighlightImage returns a Graphics (the image as an inset with the marks over it) in both. Measuring it rasterizes that picture: wolframscript does so through the front end at the display's scale (twice the pixels on a Retina Mac) and with a minimum height ({20, 10} becomes {40, 33}), Woxi at the image's own size. Not reproducible across machines.

A mask image as the mark (HighlightImage[img, mask]) is drawn into the pixels and returned as an Image. wolframscript outlines the mask instead, as a GraphicsComplex holding a FilledCurve. Its contour order has not been decoded.

Radicals of the reciprocal of a negative numeric sum

Sqrt[1/(-1 - Sqrt[2])] gives I/Sqrt[1 + Sqrt[2]] in both. The other forms do not match yet:

wolframscript -code '{1/(-1 - Sqrt[2]), (1/(-1 - Sqrt[2]))^(1/3), Sqrt[2/(-1 - Sqrt[2])]}'
# {-(1 + Sqrt[2])^(-1), (-(1 + Sqrt[2])^(-1))^(1/3), I*Sqrt[2/(1 + Sqrt[2])]}
woxi eval '{1/(-1 - Sqrt[2]), (1/(-1 - Sqrt[2]))^(1/3), Sqrt[2/(-1 - Sqrt[2])]}'
# {(-1 - Sqrt[2])^(-1), ((-1 - Sqrt[2])^(-1))^(1/3), (I*Sqrt[2])/Sqrt[1 + Sqrt[2]]}

wolframscript takes the sign out of the reciprocal of a numeric sum whose leading term is negative, and keeps a rational factor under the root. A symbolic sum keeps its sign ((-1 - x)^(-1) stays). Woxi keeps the sign inside the numeric sum and splits the rational factor off.

Exact generalized eigenvectors are scaled differently

wolframscript -code 'Eigenvectors[{{{2, 0}, {0, 1}}, {{2, 1}, {1, 1}}}]'
# {{-1, Sqrt[2]}, {1, Sqrt[2]}}
woxi eval 'Eigenvectors[{{{2, 0}, {0, 1}}, {{2, 1}, {1, 1}}}]'
# {{-(1/Sqrt[2]), 1}, {1/Sqrt[2], 1}}

Woxi takes the eigenvectors of a pencil {a, b} from Inverse[b] . a, which scales them so their last component is 1. The kernel's exact generalized eigenvectors clear that radical denominator; the rule behind its scaling is not known yet. Eigenvalues and machine eigenvectors agree.

Machine eigenvectors have other signs

wolframscript -code 'Eigenvectors[{{2., 1.}, {1., 2.}}]'   # {{0.707…, 0.707…}, {-0.707…, 0.707…}}
woxi eval 'Eigenvectors[{{2., 1.}, {1., 2.}}]'             # {{-0.707…, -0.707…}, {-0.707…, 0.707…}}

An eigenvector's sign is LAPACK's choice in wolframscript and follows no normalization of its components that Woxi could copy ({{-1., 0.}, {0., -1.}} for {{4., 0.}, {0., 1.}}, {{0., 1.}, {-1., 0.}} for {{2., 0.}, {0., 3.}}). Anything built on them inherits it, e.g. the directions of MultivariateStatisticsEllipsoidQuantile`. Not reproducible.

Equations in a radical and its reciprocal

wolframscript -code 'Solve[Sqrt[x] + 1/Sqrt[x] == 3, x]'
# {{x -> (7 - 3*Sqrt[5])/2}, {x -> (7 + 3*Sqrt[5])/2}}
woxi eval 'Solve[Sqrt[x] + 1/Sqrt[x] == 3, x]'
# {{x -> Root[-1 + 18*#1 - 79*#1^2 + 18*#1^3 - #1^4 & , 2, 0]}, …}

Woxi does not substitute u = Sqrt[x] (or u = (2 + y)^(1/3)), so Solve answers with Root objects or stays unevaluated, and NSolve falls back to a numeric search that lands a few ULPs off (159.83316151184493 for 79 + 33 Sqrt[6], correctly 159.83316151184488). wolframscript's NSolve also lists such roots in the reverse of Solve's order.

Sort puts a sum before a lone monomial of a call

wolframscript -code 'Sort[{Pi + 2 Pi C[1], 2 Pi C[1], -Pi/3 + 2 Pi C[1]}]'
# {2*Pi*C[1], -1/3*Pi + 2*Pi*C[1], Pi + 2*Pi*C[1]}
woxi eval 'Sort[{Pi + 2 Pi C[1], 2 Pi C[1], -Pi/3 + 2 Pi C[1]}]'
# {-1/3*Pi + 2*Pi*C[1], Pi + 2*Pi*C[1], 2*Pi*C[1]}

canonical_cmp's class rule for sums (decoded on polynomials in x) sorts these sums before the monomial; Order[2 Pi C[1], Pi + 2 Pi C[1]] is 1 in both. Solve's trig families sort with their own key for this reason.

Piecewise integrals with parametric bounds under assumptions

wolframscript -code 'Integrate[Piecewise[{{1, 0 <= u <= 1}}, 0], {u, 0, w}, Assumptions -> w > 0]'
# Piecewise[{{1, w > 1}}, w]
woxi eval 'Integrate[Piecewise[{{1, 0 <= u <= 1}}, 0], {u, 0, w}, Assumptions -> w > 0]'
# Piecewise[{{1, w > 1}, {w, Inequality[0, Less, w, LessEqual, 1]}}, 0]

The values agree for every w > 0, but WL folds the last piece into the default using the assumption. Which bound binds at a tie (a numeric lower bound, else the first; the last upper bound, with the integration limits counted after the condition) and the order of the pieces (the Sort order of their values) are fitted to wolframscript's results for intervals linear in one parameter. Nonlinear bounds (u <= v^(1/3) - 1) give Root objects in WL and radicals in Woxi.

Isolated powers of a linear expression

wolframscript -code 'Solve[(1 + y)^2 == c, y]'   # {{y -> -1 - Sqrt[c]}, {y -> -1 + Sqrt[c]}}
woxi eval 'Solve[(1 + y)^2 == c, y]'             # {{y -> (-2 - 2*Sqrt[c])/2}, {y -> (-2 + 2*Sqrt[c])/2}}
wolframscript -code 'Solve[(a + b y)^3 == v, y]' # {{y -> (-a + v^(1/3))/b}, …}
woxi eval 'Solve[(a + b y)^3 == v, y]'           # {{y -> -(a/b) + (b^6*v)^(1/3)/b^3}, …}

WL isolates the power and takes the root of the other side, simplified as if the base were positive. Its fifth powers come back as Root objects and its sixth powers as nested radicals. Woxi solves cubes by Cardano's formula and the other degrees with roots of unity.

NDSolve returns a complex solution as two real interpolations

wolframscript -code 'NDSolve[{x'"'"'[t] == I x[t], x[0] == 1}, x, {t, 0, 1}]'
# {{x -> InterpolatingFunction[{{0., 1.}}, <>]}} with complex values
woxi eval 'NDSolve[{x'"'"'[t] == I x[t], x[0] == 1}, x, {t, 0, 1}]'
# {{x -> Function[{NDSolve$z}, InterpolatingFunction[…][NDSolve$z] + I InterpolatingFunction[…][NDSolve$z]]}}

Woxi's integrator carries a real state vector, so a complex system is solved as the real system of its parts (ComplexExpand of each equation) and recombined. The values agree; the shape of the solution does not.

NDSolve's default steps lose a long chaotic orbit sooner than WL's

# Restricted three-body orbit, μ = 0.028, from (1.16, -0.16) with
# velocity (0.02, -0.36), integrated over {t, 0, 100}
# wolframscript: stays inside x ∈ [-0.93, 1.21], y ∈ [-0.88, 0.94]
# woxi:          leaves that region (x down to -1.18, y up to 1.46)

A smooth problem first runs on a grid of 1000 RK4 steps, each bisected only until a step-doubling estimate is below 1e-7 relative. Over a hundred time units its Jacobi constant drifts by ~1e-4 where WL's adaptive steps keep it to ~1e-8, and a chaotic orbit amplifies the difference until it reaches a different region. Simply tightening the grid's tolerance stops the grid from noticing the close encounters it hands to the adaptive Dormand–Prince method, which made other orbits worse; the fix is to give the grid's step control the error per unit step of the adaptive method.

$MinNumber, $MaxNumber and exponents past 32 bits

wolframscript -code '{$MinNumber, 1.5`20*^-4000000000}'
# {6.22968824967532196119819746965503015872`15.954589770191005*^-1355718576299610, 1.5`20.*^-4000000000}
woxi eval '{$MinNumber, 1.5`20*^-4000000000}'
# {$MinNumber, 1.5`20.}

A Woxi BigFloat keeps its digits with the decimal point shifted into place, so it cannot hold the arbitrary-precision range limits. A literal exponent outside i32 is read as 0, which silently changes the value. $MinMachineNumber and $MaxMachineNumber agree.

CovarianceFunction of a concrete ARMA(1, 1) past lag 1

wolframscript -code 'CovarianceFunction[ARMAProcess[{1/2}, {3/10}, 2], 3]'   # 259/300
woxi eval 'CovarianceFunction[ARMAProcess[{1/2}, {3/10}, 2], 3]'             # 46/75

Woxi gives the textbook value a^(h-1) (a + b) (1 + a b) v/(1 - a^2), which is also what WL's own symbolic CovarianceFunction[ARMAProcess[{a}, {b}, v], h] gives with these numbers substituted; WL's result for concrete parameters differs from lag 2 on. Other orders agree exactly (an ARMA(2, 2) checked to lag 4). For a nearly nonstationary machine process the value agrees to about 8 digits only: WL's 1.2819544533776392*^8 against Woxi's 1.2819544632769972*^8 for ARMAProcess[{1.997…, -0.997…}, {0.268…}, 1], whose exact value is 1.28195445098…*^8.

Guard digits of small arbitrary-precision numbers

WL shows the decimal digits of its binary value, which is rounded to whole 64-bit limbs below the binary point (see wl_fraction_digits). Woxi rounds N[rational, p] to that grid too, which makes e.g. N[3/700000000, 20] (…428572) match, but for some magnitudes WL's last displayed digit is one lower than the nearest grid point gives: N[10^-8/7, 20] is …285715 in Woxi and …285713 in WL, and N[10^-9/7, 45] …715 against …714. Truncating instead of rounding to the grid fixes those and breaks as many others, so the rule is not decoded yet.

Arbitrary-precision Root padding

N[Root[#^3 - # - 1 &, 1], 10] prints ~40 digits in both engines, but only the first ~17 are the ones that were asked for; past that the two continuations disagree. Woxi's is the correct one (checked against the plastic constant to 40 digits) — wolframscript pads with digits of its own. Same for N[Root[#^4 - # - 1 &, 1], 15].

MidDate on sub-second instants

Woxi carries an instant as one f64 count of seconds since the epoch, whose resolution near 1.7e9 is ~2.4e-7 s, so averaging instants that carry fractional seconds differs from wolframscript's exact mean in the 8th decimal. A midpoint that lands on a whole second is reported exactly, as an integer, matching wolframscript.

Dates before year 1 and beyond 2^53

wolframscript -code 'DateString[{-500, 3, 1}]'   # Fri 1 Mar 500 BC 00:00:00
woxi eval 'DateString[{-500, 3, 1}]'             # Fri 1 Mar -500 00:00:00
wolframscript -code 'DateList[-10^12]'           # {-29790, 4, 6, 22, 13, 20.}
woxi eval 'DateList[-10^12]'                     # {-29789, 4, 6, 22, 13, 20.}

Wolfram has no year zero: year -n is n BC (astronomical 1 - n), and 0 reads as -1. Woxi's date arithmetic treats negative years as astronomical, so only JulianDate and the weekday (DayName, DateString's day name) follow the BC convention; day counts across year 0 and the "BC" spelling do not.

Date components travel as f64, so a year beyond 2^53 is not read at all: DateString[{200000000000000000007, 4, 15}, "ISODate"] stays unevaluated where wolframscript prints +200000000000000000007-04-15 (found by the interpret fuzzer, which used to hang on it). Past 2^31 wolframscript's own weekday formats wrap (DateString[{10^12, 4, 15}] prints year -727379968).

Image filters accumulate in a different width

RecurrenceFilter and Sharpen on an Image differ from wolframscript by one Real32 ULP in single taps (0.7749999761581421 against 0.7750000357627869): Woxi accumulates in f64 and snaps the result to the stored Real32 pixel, wolframscript accumulates in Real32 throughout. Not reproducible without matching its accumulation order.

N does not push into Cos[real*Pi]

N[Cos[Pi/28], 8] leaves Cos[0.0357*Pi] unevaluated.

NIntegrate, NSum and NProduct accuracy

NIntegrate never matches wolframscript digit for digit on any input — test against the exact value with a tolerance, not against WL. Specific gaps:

  • NIntegrate[x^(-0.99), {x, 0, 1}] gives 30.86 for 100. The tail decays like distance^0.01, past what double precision can represent; wolframscript does not converge either (it warns ::ncvb and reports 100.0036). Not reproducible.
  • NIntegrate[1/Sqrt[x], {x, 0, 1}] is off by 1.8e-5.
  • NProduct on a slowly convergent infinite product is ~2e-6 off where WL is ~3e-11 (NProduct[1 + 1/n^2, {n, 1, Infinity}] → 3.676076175562187 against 3.6760779100585657). Finite products are exact. NSum is more accurate than WL.

Numeric optimization lands on different points

Wolfram's interior-point method answers FindMinimum[{x^2, x >= 1}, x] with 1.000000013282579 where Woxi returns the exact optimum, and NArgMax[{x + y, x^2 + y^2 <= 1}, {x, y}] with 0.7071076183816036. A three-variable equality constraint lands within 1.5e-8 in Woxi rather than exactly. Neither engine is wrong; bit-equality is not achievable.

wolframscript -code 'ToString[FindMaximum[{-((x - 2)^2 + (y - 3)^2), 0 < x < 10 && 0 < y < 10}, {{x, 5}, {y, 5}}], InputForm]'
# {1.7763568394002505*^-15, {x -> 2.0000000012019776, y -> 3.0000000006105285}}
woxi eval 'FindMaximum[{-((x - 2)^2 + (y - 3)^2), 0 < x < 10 && 0 < y < 10}, {{x, 5}, {y, 5}}]'
# {0., {x -> 2., y -> 3.}}

An objective the optimizer can only sample (a distribution's CDF, say) diverges the same way: FindMaximum[{CDF[NormalDistribution[], x - 3], 0 < x < 5}, {x, 1}] stops at x -> 4.999998363890543 in WL against Woxi's x -> 5.. Assertions over either have to round.

StepMonitor step counts for an unconstrained FindMinimum

Woxi fires the monitor once per accepted step of its own damped Newton iteration, whatever Method is requested, so the number of steps (and the intermediate points) can differ from WL's "QuasiNewton" or "ConjugateGradient" runs. Quadratics, which WL also solves in one step, agree.

Erf's last ULP, and the far tail of a correlated normal CDF

Erf[0.7071067811865475] is 0.6826894921370859 in WL (correctly rounded) and 0.6826894921370857 here, so anything built on it — Erfc, a normal CDF, CDF[MultinormalDistribution[…]] — can differ in the last printed digit. Woxi's bivariate normal CDF (Genz's algorithm) otherwise agrees to about 15 digits, but its relative error grows in the far tail, where WL carries extra internal precision: CDF[MultinormalDistribution[{0, 0}, {{1., 0.2}, {0.2, 1.}}], {-3., 1.}] is 0.001288249693033831 in WL against 0.001288249693033744 here.

FindRoot options and damping schedule

WorkingPrecision, AccuracyGoal and PrecisionGoal are ignored. WL's answer under WorkingPrecision carries iteration residue past the requested precision, so matching it needs its exact iteration and rounding schedule. Its damping schedule for an oscillating Newton also differs (FindRoot[x^3 - 2x + 2, {x, 0}, MaxIterations -> 4] is 0.816037292480469 in WL, 0.8142908074786004 here), and the three-argument secant form differs in the last digit.

FindRoot with two starting points keeps WL's iteration residue

A two-point spec ({x, x0, x1}) makes WL build its Jacobian from the secant through the two points rather than from a derivative, and stop as soon as the step is under tolerance — so the answer carries a couple of ULP of that Jacobian's error even when the exact root is representable:

wolframscript -code 'FindRoot[{x + y - 1 == 0, x - y - 0.5 == 0}, {x, 0.1, 0.2}, {y, 0.1, 0.2}]'
# {x -> 0.7500000000000002, y -> 0.2500000000000001}
woxi eval 'FindRoot[{x + y - 1 == 0, x - y - 0.5 == 0}, {x, 0.1, 0.2}, {y, 0.1, 0.2}]'
# {x -> 0.75, y -> 0.25}

The secant slope of x + y - 1 between x = 0.1 and x = 0.2 is 1.0000000000000009, not 1, which is exactly where WL's two low bits come from; Woxi uses the symbolic Jacobian and lands on the exact root. The same shows up on FindRoot[5 == 50*x^0.6, {x, 0.001, 0.9}] (0.021544346900318832 in WL, 0.021544346900318825 here) and on an opaque _?NumericQ system, where Woxi's Broyden iterate is 1 ULP off WL's. Matching it means reproducing WL's Broyden update, line search and convergence test bit for bit — and being less accurate than the exact root.

Arbitrary-precision Tanh, Erf and Gamma carry a different precision tag

Woxi propagates a precision tag through a transcendental with the first-order relative condition number |x f'(x) / f(x)|, which is the rule WL's own Sin/Cos/Sinh/ArcTan markers match to ~15 digits. Four functions do not follow it in WL:

wolframscript -code 'ToString[Tanh[N[1/2, 20]], InputForm]'
# 0.46211715726000975850231848364367254873`19.881723602858166
woxi eval 'ToString[Tanh[N[1/2, 20]], InputForm]'
# 0.46211715726000975850231848364367254873`20.070112223892355

The values agree; only the tag differs. Two things cause it. The smaller one is arithmetic: Woxi evaluates the condition number and its logarithm in f64, so even where the rule is WL's the tag differs in the last digit or two (Cosh[N[1/2, 20]] is …20.636277902572626here against…20.636277902572633), exactly as for the accuracy-form literal above. The larger one is the rule itself: WL's Tanh tag tracks whichever internal route it took (it matches the condition number at x = 1 and the Sinh/Cosh quotient's error sum at x = 1/2), and its Erf/Erfc tags report its own algorithm's error, not the conditioning — at x = 1/2 it claims 19.02 digits and its 21st digit onward is already wrong, where Woxi's value is correct to the last digit shown. Gamma/LogGamma differ in the third decimal of the tag for the same reason. Not reproducible.

PolyGamma, Zeta and HurwitzZeta at an arbitrary-precision argument differ in more than the third decimal. Woxi tags PolyGamma with the condition number |z ψ⁽ⁿ⁺¹⁾(z)/ψ⁽ⁿ⁾(z)| and Zeta with the lowest input precision. WL's digamma tag even exceeds the input's, capped near p + log10(1024): PolyGamma[1.920]is tagged22.45(Woxi19.44), andZeta[0.520] is tagged 18.35 (Woxi 20.). The values agree.

Machine PolyGamma and Zeta are not correctly rounded in WL

Woxi rounds machine PolyGamma, Zeta, HurwitzZeta and HarmonicNumber values from an arbitrary-precision evaluation, so they are correctly rounded. Wolframscript's are not, and no f64 recurrence/series variant reproduces its digits (best fit: 34% of 385 probes). Correct rounding matches it on about half of the PolyGamma probes (PolyGamma[5.5] is …751 in WL, …7512 correctly rounded) and on 50 of 80 Zeta[s] probes. Its machine Hurwitz zeta is worse: Zeta[3.5, 0.3] is 40 ulps off and at negative s it loses whole digits (Zeta[-5.817415911509695, 0.1295065568974257] is -0.0033354… in WL, -0.0033395… in Woxi and mpmath). WL's machine Zeta[s] at a negative s also returns a complex number with an imaginary part of about 1e-18, an artifact of its complex reflection formula. Not reproducible.

Fractional-order PolyGamma

PolyGamma[0.5, 1.9] is 0.7474244588681002 in WL (its fractional-calculus continuation of the order) and unevaluated in Woxi. Only integral orders, exact or inexact, are implemented.

Display digits past the claimed precision differ

An arbitrary-precision number prints more digits than its precision tag claims, and the surplus ones are not required to agree:

wolframscript -code 'ToString[N[Coth[1], 20], InputForm]'
# 1.31303528549933130363616124693084783292`20.
woxi eval 'ToString[N[Coth[1], 20], InputForm]'
# 1.31303528549933130363616124693084783291`20.

coth(1) is 1.313035285499331303636161246930847832912…, so Woxi's digit is the correctly rounded one. Cot at 40 digits is the same story.

Power of two arbitrary-precision numbers keeps too many digits

wolframscript -code 'ToString[SetPrecision[Sqrt[2], 5], InputForm]'
# 1.4142135623730950488`5.301029995663981
woxi eval 'ToString[SetPrecision[Sqrt[2], 5], InputForm]'
# 1.41421356237309504880168872420969807857`5.301029995663981

Power computes at the operands' bit budget and does not re-truncate the decimal string to the digit count the result's precision tier calls for, the way N[…, p] does. A machine-real exponent is also not contagious: N[2, 20]^0.5 is 1.4142135623730951 (machine) in WL and an arbitrary-precision number here.

Cross-platform libm differences

The last ULP of atanh, acos, asinh, tan, tanh and friends differs between macOS and Linux, so a full-precision string assertion is platform-dependent: Cot[0.3] is 3.232728143765828 on macOS and 3.2327281437658275 on the Linux of CI, and Coth[0.8] ends in 66 versus 63. The same 1-ULP FMA difference flips a single 8-bit color channel in ComplexPlot domain-coloring output at an exact x.5 boundary.

A test that cares about the last bit therefore has to assert the property rather than the digits: compare the reciprocal against the reciprocal expression (Cot[x] vs 1/Tan[x], both evaluated by Woxi, so both carry the same platform rounding) and pin the magnitude with a scaled integer (Round[1000*Cot[x]]). See reciprocal_trig_last_bit in tests/interpreter_tests/math/numeric.rs.

Cot[-0.7] is the third argument of that group: -1.1872418321266796 on macOS against -1.1872418321266793 here. Neither library is the accurate one throughout — against the correctly rounded value glibc wins at Cot[0.3], macOS at Cot[-0.7] and Coth[0.8] — so a divergence here is the libm's last bit and never a formula to correct.

$MinNumber and $MaxNumber are undefined

WL's arbitrary-precision range reaches decimal exponents of ±1.36·10^15 ($MinNumber is 6.229688249675322…*^-1355718576299610); Woxi's arbitrary-precision numbers (astro-float, a 32-bit binary exponent) end near ±6.5·10^8, so the two constants stay symbols. Code that uses $MinNumber as a positive lower bound — RandomReal[{$MinNumber, x}] in Demonstration 1DAnd2DSingularWavefronts — gets RandomReal::unifr instead of a number.

Algebra and calculus

Simplify[(1 - Cos[9])/9] picks the other of two equally simple forms

wolframscript gives (2*Sin[9/2]^2)/9, Woxi keeps (1 - Cos[9])/9; both have the same leaf count, so this is the order in which Simplify meets its candidates. It shows in InverseLaplaceTransform[Exp[-2 s]/(s (s^2 + a^2)), s, t] /. {a -> 3, t -> 5} // Simplify.

Solve of a radical identity in one unknown finds a spurious root

An equation that holds for every value of its unknown, with radical coefficients on both sides and a sum under a denominator, is solved as if its (vanishing) coefficient were not zero:

wolframscript -code 'Solve[(1 + Sqrt[3] c)/3 == 1/3 + c/Sqrt[3], c]'  # {{}}
woxi eval 'Solve[(1 + Sqrt[3] c)/3 == 1/3 + c/Sqrt[3], c]'            # {{c -> 0}}

Systems of two or more such equations are solved by Gaussian elimination and are not affected.

ColorFunction of a ParametricPlot curve: the fourth argument

woxi eval 'ExportString[ParametricPlot[{Cos[t], Sin[t]}, {t, 0, 6}, ColorFunction -> (Hue[#4] &)], "SVG"]'

wolframscript hands a curve's ColorFunction four arguments, as it does a region's x, y, u, v (a Function[{x, y, u, v}, …] colors a curve without a Function::fpct message). Woxi passes u again as the fourth; what wolframscript passes there has not been verified.

NSolve of a system with radicals: order inferred from one system

Woxi sorts the solutions of a radical system descending by the values of its radicals, then of its variables. The rule is inferred from the equilibria of the restricted three-body problem (where the published output of a Demonstration shows Last picking the point between the masses); the complete wolframscript order of that list, and of other radical systems, has not been verified.

NSolve of a polynomial system: multiplicities and order of points

wolframscript -code 'NSolve[{x^2 y^2 - 2 x^2 - y^2 == 0, x^2 y^2 - x^2 - 3 y^2 == 0}, {x, y}]'
# {{x -> -2.236…, y -> -1.581…}, {x -> 2.236…, y -> 1.581…}, {x -> 2.236…, y -> -1.581…}, {x -> -2.236…, y -> 1.581…}, {x -> 0., y -> 0.} (4 times)}
woxi eval 'NSolve[{x^2 y^2 - 2 x^2 - y^2 == 0, x^2 y^2 - x^2 - 3 y^2 == 0}, {x, y}]'
# {{x -> 2.236…, y -> -1.581…}, {x -> 2.236…, y -> 1.581…}, {x -> 0., y -> 0.}, {x -> -2.236…, y -> -1.581…}, {x -> -2.236…, y -> 1.581…}}

The same points, but Wolfram lists the origin with its intersection multiplicity 4 and orders the points differently.

Simplify does not factor out powers whose exponents differ by an integer

wolframscript -code 'Simplify[c*(x - c)^(a - 1) - x*(x - c)^(a - 1) + (x - c)^a]'
# 0
woxi eval '…same…'   # c*(-c + x)^(-1 + a) + (-c + x)^a - x*(-c + x)^(-1 + a)

wolframscript takes (x - c)^(a - 1) out of all three terms, which leaves (c - x) + (x - c) = 0. Woxi's Times merges (x - c)*(x - c)^(a - 1) into (x - c)^a, but Simplify has no step that factors a symbolic power out of a sum. Because of this, D[Log[PDF[WeibullDistribution[a, b, c], x]], b] does not simplify to a*(-1 + ((x - c)/b)^a)/b either.

D of Min/Max stays in Derivative[…][Max] form instead of a Piecewise

wolframscript differentiates Min/Max of a real variable into a Piecewise with rationalized breakpoints, so a flat branch yields the exact 0. Woxi keeps Derivative[0, 1][Max][…] factors, which evaluate to 0 numerically but multiply against machine reals into 0..

wolframscript -code 'g[t_] := Min[2.25, Max[1.25, t^3]]; Derivative[2][g][0.5]'
# 0
woxi eval 'g[t_] := Min[2.25, Max[1.25, t^3]]; Derivative[2][g][0.5]'
# 0.

FullSimplify nests a sum of radicals under one root

wolframscript -code 'FullSimplify[(Sqrt[14] + Sqrt[22])*2*Sqrt[8]*2*Sqrt[26]]'
# 32*Sqrt[13*(9 + Sqrt[77])]
woxi eval 'FullSimplify[(Sqrt[14] + Sqrt[22])*2*Sqrt[8]*2*Sqrt[26]]'
# 16*(Sqrt[182] + Sqrt[286])

WL rewrites √7 + √11 as √(2(9 + √77)) (squaring the sum) and merges it with the other radicals. Woxi has no such denesting-in-reverse transformation; part of the open radical-canonicalization class.

FullSimplify of a polynomial: WL's search is not cost-minimal

FullSimplify of a univariate integer polynomial is decoded as a greedy search by SimplifyCount (fs_univariate in polynomial_ast/simplify.rs): a genuine factorization when no more expensive, else the content times the simplified primitive part, or the low-order terms plus the simplified remainder (nested Horner form). It matches wolframscript on 175 of 181 probed polynomials. In the rest wolframscript returns a form that its own SimplifySimplifyCount` rates more expensive than the one Woxi finds, so the choice comes from the order of its transformation search, not from the cost:

wolframscript -code 'FullSimplify[-6 + 2 x - 3 x^2 - 6 x^3 - 5 x^4]'
# -6 - x*(-2 + x*(3 + x*(6 + 5*x)))      (SimplifyCount 21)
woxi eval 'FullSimplify[-6 + 2 x - 3 x^2 - 6 x^3 - 5 x^4]'
# -6 + x*(2 - x*(3 + x*(6 + 5*x)))       (SimplifyCount 20)

wolframscript -code 'FullSimplify[1 - 5 x - 8 x^2 - x^3 + 6 x^5]'
# 1 + x*(-5 + x*(-8 - x + 6*x^3))        (21)
woxi eval 'FullSimplify[1 - 5 x - 8 x^2 - x^3 + 6 x^5]'
# 1 - x*(5 + x*(8 + x - 6*x^3))          (19)

The others: 3x - 5x^2 - 2x^3 - 3x^5, -8 - 8x - x^2 + 9x^4, 2 - 8x + 5x^3 + 2x^4 - 3x^5 (WL keeps it expanded) and -5 + 3x + 4x^2 + 9x^4 - 9x^5 (WL does not split off 9x^3(-1 + x)). The sign WL leaves on a split-off remainder follows neither the cost nor the remainder's leading coefficient consistently; not reproducible from outputs alone. Multivariate and rational-coefficient polynomials still go through the older candidate pipeline.

FactorSquareFreeList order of a lower-degree non-monic factor

An explicit product takes its factor order from FactorSquareFree, which matches wolframscript. For an expanded polynomial the factors are ordered by leading coefficient, then constant term, which matches 24 of 25 probes. The exception: FactorSquareFreeList[Expand[(x^2 + 3)(2x - 1)^2]] lists {-1 + 2*x, 2} before {3 + x^2, 1} in wolframscript. Ordering by degree first fixes it but breaks x against -1 + x^2 (WL puts the latter first), and no single total order fits all 25 — the factor x seems to be placed separately.

(-1)^r b^(-r) does not merge in a product

wolframscript -code '(-1)^(2/3)*5^(-2/3)'   # (-1/5)^(2/3)
woxi eval '(-1)^(2/3)*5^(-2/3)'             # (-1)^(2/3)/5^(2/3)

Times merges a^r b^r but not a sign radical against a reciprocal one. Wolframscript skips the merge when another radical is present (((-1)^(2/3)*2^(1/3))/5^(2/3) stays), which the negative-base Power rule mirrors ((-8/5)^(2/3) → 4*(-1/5)^(2/3)).

Simplify does not simplify function arguments

wolframscript -code 'Simplify[Sin[x^2 + 2 x + 1]]'   # Sin[(1 + x)^2]
woxi eval 'Simplify[Sin[x^2 + 2 x + 1]]'             # Sin[1 + 2*x + x^2]

FullSimplify does (simplify_call_arguments): every compound argument is simplified and kept when the re-evaluated call gets strictly cheaper, so a tie such as f[6 - 5x + x^2] keeps its argument, as in wolframscript. Simplify has not been switched over.

Together ignores an inexact exponent's sign

wolframscript -code 'ToString[{Together[E^(-0.5*t) + 1], Together[x^(-1.5) + 1]}, InputForm]'
# {(1 + E^(0.5*t))/E^(0.5*t), (1 + x^1.5)/x^1.5}
woxi eval '{Together[E^(-0.5*t) + 1], Together[x^(-1.5) + 1]}'
# {1 + E^(-0.5*t), 1 + x^(-1.5)}

An exact negative exponent is a denominator on both sides (Together[E^(-t) + E^t] is (1 + E^(2*t))/E^t in each), and Woxi's common-denominator arithmetic keeps the LCM of exponents that are rational multiples of one symbol (E^(-t) + E^(-2*t) needs E^(2*t), never E^(3*t)). An inexact one is where they part: Woxi leaves it in the numerator, since its exponent arithmetic is exact-rational. wolframscript itself is not consistent about this — Denominator[x^(-1.5)] is 1 there even though Together[x^(-1.5) + 1] puts x^1.5 underneath.

Together of an exponential sum sometimes factors the numerator in WL

wolframscript -code 'Together[1/2 E^(-t) - E^(-2 t) + 1/2 E^(-3 t)]'
# (-1 + E^t)^2/(2*E^(3*t))
woxi eval 'Together[1/2 E^(-t) - E^(-2 t) + 1/2 E^(-3 t)]'
# (1 - 2*E^t + E^(2*t))/(2*E^(3*t))

The same sum in a plain variable stays expanded in wolframscript (Together[1/(2x) - 1/x^2 + 1/(2x^3)] is (1 - 2*x + x^2)/(2*x^3)), and so does Together[E^(-t) - 3 E^(-2 t) + 2 E^(-3 t)] ((2 - 3*E^t + E^(2*t))/E^(3*t)). The rule that picks the factored form is not decoded. Simplify matches, through its exponential-regrouping candidate.

Machine Orthogonalize differs in last digits

wolframscript -code 'InputForm[Orthogonalize[{{1., 2, 0}, {0, 1, 3}, {1, 0, 1}}]]'
# {{0.4472135954999579, 0.8944271909999159, 0.}, {-0.13187609467915742, 0.06593804733957871, 0.9890707100936806}, {0.8846517369293829, -0.44232586846469146, 0.14744195615489716}}
woxi eval 'InputForm[Orthogonalize[{{1., 2, 0}, {0, 1, 3}, {1, 0, 1}}]]'
# … 0.0659380473395787 …, -0.4423258684646914 …

Woxi runs Gram–Schmidt (twice for the default Reorthogonalization), modified Gram–Schmidt or Householder QR in plain f64; wolframscript's LAPACK-backed routines sum in another order, so a few coordinates differ in the last place. Signs and zero vectors match.

TraditionalForm orders the terms of a sum its own way

wolframscript -code 'ToBoxes[#, TraditionalForm] & /@ {1 + x + x^2, 3 Cos[x] + Sin[x], -x + y, Pi + x, a + b + c, x + y^2}'
# x^2 + x + 1, sin(x) + 3 cos(x), y - x, x + π, a + b + c, x + y^2
woxi eval 'ToBoxes[#, TraditionalForm] & /@ {1 + x + x^2, 3 Cos[x] + Sin[x], -x + y, Pi + x, a + b + c, x + y^2}'
# keeps the StandardForm order: 1 + x + x^2, 3 cos(x) + sin(x), -x + y, π + x, …

wolframscript puts a univariate polynomial in descending powers, numeric constants last and a positive term first, yet leaves a + b + c and x + y^2 alone and puts sin before cos; no single rule fits all of these. It matters wherever a TraditionalForm string is used as a key (a control value saved as ToString[f, TraditionalForm], as in the Newton's Method Demonstration).

CirclePoints[n.] differs in last digits

wolframscript -code 'InputForm[CirclePoints[4.]]'
# {{0.7071067811865476, -0.7071067811865475}, {0.7071067811865476, 0.7071067811865475}, {-0.7071067811865475, 0.7071067811865476}, {-0.7071067811865477, -0.7071067811865475}}
woxi eval 'InputForm[CirclePoints[4.]]'
# {{0.7071067811865475, -0.7071067811865475}, … every coordinate ±0.7071067811865475}

Woxi numericizes the exact points. wolframscript takes Cos/Sin of machine angles starting at -Pi/2 + Pi/n in steps of 2 Pi/n; a fused multiply-add k step + start reproduces 97 of the 108 points for n = 8 … 16, plain accumulation and start + k step fewer, so the exact angle sequence is not decoded.

Together does not pull a sign out of a numerator led by a negative kernel

wolframscript -code 'ToString[{Together[(-a^n + b)/z], Together[(-E^a + b)/z], Together[(-a + b)/z], Together[(-a^n + b)/2]}, InputForm]'
# {-((a^n - b)/z), -((-b + E^a)/z), (-a + b)/z, (-a^n + b)/2}
woxi eval '{Together[(-a^n + b)/z], Together[(-E^a + b)/z], Together[(-a + b)/z], Together[(-a^n + b)/2]}'
# {(-a^n + b)/z, (-E^a + b)/z, (-a + b)/z, (-a^n + b)/2}

With a non-numeric denominator, wolframscript makes the coefficient of the numerator's leading transcendental kernel (a^n, E^a; not an algebraic Sqrt[a]) positive and puts the -1 outside; plain polynomial numerators and purely numeric denominators are left alone. (a^n - b^n)/z stays put while (-a^n + b^n)/z flips, so the first kernel in canonical order leads. This is what makes RSolve[{a[n+2] == q a[n+1] + s a[n], a[0] == 0, a[1] == 1}, a[n], n] come out as (-(q - S)^n + (q + S)^n)/(2^n*S) instead of -(((q - S)^n - (q + S)^n)/(2^n*S)).

A quotient with a symbolic negative exponent is split, not held

wolframscript -code 'ToString[{Cancel[(k/x)^(-a)], Simplify[(a*k^a*x^(-1 - a))/(k/x)^a]}, InputForm]'
# {(k/x)^(-a), (a*k^a*x^(-1 - a))/(k/x)^a}
woxi eval '{Cancel[(k/x)^(-a)], Simplify[(a*k^a*x^(-1 - a))/(k/x)^a]}'
# {x^a/k^a, a/x}

Woxi reads (p/q)^(-a) as q^a/p^a, which lets its cancellation see through the power — the reason HazardFunction[ParetoDistribution[k, a], x] reduces to a/x here and stays a ratio of powers there. Both forms are correct; Woxi's is the simplified one.

An antiderivative's common denominator is collected, not distributed

wolframscript -code 'ToString[Integrate[x^2/(2*x^2 + 1), x], InputForm]'
# x/2 - ArcTan[Sqrt[2]*x]/(2*Sqrt[2])
woxi eval 'Integrate[x^2/(2*x^2 + 1), x]'
# (x - ArcTan[Sqrt[2]*x]/Sqrt[2])/2

Same value, different common-denominator convention. wolframscript divides over the rationals from the start; Woxi pseudo-divides over the integers and takes the factor back out at the end, and integrate_ast's simplify pass re-collects it even when the rule distributes it. wolframscript is not consistent about this either — it collects Integrate[x^4/(3*x^2 + 1), x] into (-3*x + 3*x^3 + Sqrt[3]*ArcTan[Sqrt[3]*x])/27 and distributes the neighboring cases — so there is no rule here to copy.

The same convention shows up whenever the result is a Plus with a shared numeric content: Integrate[(2 + 2*x)/(-3 + 3*x - 5*x^2), x] is -2*((13*ArcTan[…])/(5*Sqrt[51]) + Log[3 - 3*x + 5*x^2]/10) there and (-26*ArcTan[…])/(5*Sqrt[51]) - Log[3 - 3*x + 5*x^2]/5 here.

Diff-fuzz seed 1794014818998938000 (2026-11-07) found the same outer collection difference for Integrate[(5+3*x-2*x^2-5*x^3)/(3+4*x+2*x^2), x]. The shifted inverse-trig argument now matches Sqrt[2]*(1+x), including in the minimized reciprocal-quadratic case. The full result still collects the polynomial, logarithmic, and inverse-trig terms over a common denominator, while Wolfram displays separate terms.

Seed 1794021370602620000 also found this grouping difference for Integrate[(3+2*x+5*x^2+x^3)/(-5+4*x+4*x^2),x]. The logarithm argument now has Wolfram's sign; Woxi still collects the polynomial, inverse-hyperbolic, and logarithmic terms over a common denominator.

Seed 1794025115685661000 found the same grouping convention with a cubic denominator: Integrate[(-1-3*x+2*x^2-x^3)/(5-2*x-x^2-2*x^3),x]. Wolfram collects all terms over 1240, rationalizing the radical coefficient; Woxi retains a half times a sum with smaller individual denominators. The minimized Integrate[-3/(-2*x-x^2-2*x^3),x] instead differs by whether the outer factor is 3 or -3, with all inner signs reversed.

Seed 1794027220383996000 adds Integrate[(-1+4*x+2*x^2)/(3+3*x-x^2-5*x^3),x]: Wolfram collects the inverse-tangent and logarithm terms over 420, while Woxi uses individual denominators. For Integrate[(-4-2*x-2*x^2)/(-4-5*x+2*x^2),x], Wolfram retains an outer -2 and Woxi an outer 1/2, with compensating inner coefficients. Wolfram verifies that differentiating either Woxi result recovers its integrand exactly.

Diff-fuzz seed 9303 (2026-11-13) shows it with a monomial denominator: Integrate[(5 + 2 x)/(-2 x), x] is -x - (5*Log[x])/2 there and (-2*x - 5*Log[x])/2 here, yet both agree on Integrate[(1 + x^2)/(3 x), x] = (x^2/2 + Log[x])/3.

Integrate[f[a*x + b], x] is not angle-expanded for Sin and Cos

wolframscript -code 'ToString[Integrate[Sin[x + y], x], InputForm]'
# -(Cos[x]*Cos[y]) + Sin[x]*Sin[y]
woxi eval 'Integrate[Sin[x + y], x]'
# -Cos[x + y]

Woxi integrates a shifted argument by substitution, so the antiderivative keeps the argument it was given. wolframscript applies the angle-sum identity to the Sin/Cos results — but not to Tan, Cot or Sec, which agree, and not to Integrate[Sin[2*x + 1], x], which it leaves as -1/2*Cos[1 + 2*x] while expanding Integrate[Sin[x + 1], x]. The same applies to Integrate[Log[2*x + 3], x] and Integrate[ArcTan[2*x + 1], x], where wolframscript expands the product and drops the resulting constant.

Integrate[p[x]/(x + b), x] collects the primitive over a common denominator

wolframscript -code 'Integrate[(1 + x^2)/(2 + x), x]'   # -6 - 2*x + x^2/2 + 5*Log[2 + x]
woxi eval 'Integrate[(1 + x^2)/(2 + x), x]'             # (-12 - 4*x + x^2 + 10*Log[2 + x])/2
wolframscript -code 'Integrate[(1 + x + x^2)/(1 + x), x]'   # -x + (1 + x)^2/2 + Log[1 + x]
woxi eval 'Integrate[(1 + x + x^2)/(1 + x), x]'             # (-1 + x^2 + 2*Log[1 + x])/2

Found by the differential fuzzer (2026-11-12). With a monic linear denominator WL sometimes expands the substituted primitive and sometimes keeps (1 + x)^2/2; the rule is not decoded. Non-monic denominators ((1 + x^2)/(2 + 3 x)) conform.

Integrate of a product of cosines uses the product-to-sum form

wolframscript -code 'Integrate[Cos[x y] Cos[x], x]'   # (-(Cos[x*y]*Sin[x]) + y*Cos[x]*Sin[x*y])/(-1 + y^2)
woxi eval 'Integrate[Cos[x y] Cos[x], x]'             # Sin[x - x*y]/(2*(1 - y)) + Sin[x + x*y]/(2*(1 + y))

The values are equal. Products with a Tan factor (Integrate[Sin[x y] Tan[x], x], a Hypergeometric2F1 sum in WL) stay unevaluated.

Decompose picks the inner polynomial's sign by an undecoded rule

wolframscript -code 'Decompose[(x - 2 x^3)^3, x]'   # {-x^3, -x + 2*x^3}
woxi eval 'Decompose[(x - 2 x^3)^3, x]'             # {x^3, x - 2*x^3}

Found by the differential fuzzer (2026-11-12). With h = 2 x^3 - x, Decompose[Expand[g[h]], x] returns -x + 2 x^3 as the inner polynomial for g = y^3, -y^3, y + y^3, -y - y^3, y + 2 y^3, and x - 2 x^3 for y^2 + y^3, y + y^2, y^2 - y, y^5 + y^2 — and for 2 y + y^3, which breaks the "only odd powers keep the sign" pattern the others suggest. Woxi makes the outer polynomial's highest odd-degree coefficient positive, which matches every case with rational inner coefficients in the tests but not this one. Not reproducible so far.

Integrate[1 + Tan[x]^2, x] is integrated term by term

wolframscript -code 'Integrate[1 + Tan[x]^2, x]'   # Tan[x]
woxi eval 'Integrate[1 + Tan[x]^2, x]'             # x - ArcTan[Tan[x]] + Tan[x]

Found by the differential fuzzer (2026-11-12). WL recognizes c + c Tan[u]^2 (and 1 + Cot[x]^2, 1 - Tanh[x]^2) as a derivative, also inside a larger sum (1 + Tan[x]^2 + Cos[x] gives Sin[x] + Tan[x]) — but not next to a polynomial term: x + 1 + Tan[x]^2 gives x + x^2/2 - ArcTan[Tan[x]] + Tan[x] in both engines.

Integrate[Log[Sin[x]], …] is unimplemented

wolframscript -code 'ToString[Integrate[Log[Sin[x]], {x, 0, 1}], InputForm]'
# (-1/12*I)*(6 + (-6 + Pi)*Pi - (12*I)*Log[2] - 6*PolyLog[2, E^(2*I)])
woxi eval 'Integrate[Log[Sin[x]], {x, 0, 1}]'
# Integrate[Log[Sin[x]], {x, 0, 1}]

The antiderivatives are known:

Integrate[Log[Sin[x]], x] ==
  -(x*Log[1 - E^((2*I)*x)]) + x*Log[Sin[x]] + (I/2)*(x^2 + PolyLog[2, E^((2*I)*x)])
Integrate[Log[Cos[x]], x] ==
  (I/2)*x^2 - x*Log[1 + E^((2*I)*x)] + x*Log[Cos[x]] + (I/2)*PolyLog[2, -E^((2*I)*x)]

The limit at x -> 0 contributes I Pi^2/12. The blocker is not the value but the printed form: WL's answer is Simplify-collected, and Woxi does not land on that grouping.

Integrate[Sqrt[a ± x^2], x] stays unevaluated

The antiderivative exists in Woxi already (the definite path uses it), and the values verify — but the printer reorders x*Sqrt[1-x^2] to Sqrt[1-x^2]*x whenever the radical contains the integration variable, and the Plus term order flips too. WL keeps (x*Sqrt[1-x^2] + ArcSin[x])/2.

Irreducible-quartic rational integrals

Integrate[1/(1+x^4), x] and its family stay unevaluated: the integrator does not partial-fraction over quadratics, and WL's output uses ArcTan-reflection forms (ArcTan[2/x] against ArcTan[x/2]) that would diverge anyway.

Also still unevaluated: Integrate[x Log[x]^2, x], and Integrate[Log[3 x], {x, 1, 2}] gives -1 - Log[3] + 2 Log[6] where WL combines to -1 + Log[12].

Integrate under assumptions

Integrate[Exp[-x t], {t, 0, Infinity}, Assumptions -> x > 0] gives x^(-1) - 1/(E^(Infinity*x)*x) instead of 1/x — the boundary is an infinite limit, not a refinement target. Without assumptions Integrate[x^n, {x, 0, 1}] is (1+n)^(-1) - 0^(1+n)/(1+n) where WL emits ConditionalExpression[(1+n)^-1, Re[n] > -1], a form Woxi does not build. Sin[a x]/x and one-sided 1/x^p improper integrals stay unevaluated. The Gaussian Integrate[Exp[-a x^2], {x, -Infinity, Infinity}] gives Sqrt[Pi/a] against WL's Sqrt[Pi]/Sqrt[a].

LaplaceTransform[t^n f(t), t, s] is unimplemented

The rule L[t^n f] = (-1)^n d^n/ds^n L[f] is straightforward and the values come out right, but WL canonicalizes an even power of a binomial by flipping the base sign — (s-a)^(-2) prints as (a-s)^(-2) — keeps (-1+s^2)^2 where Woxi factors, and leaves an un-combined sum after the derivative. Plain Sin/Cos/Exp/t^n transforms all match, as does the s-shifting theorem L[E^(c t) g(t)]; Cosh/Sinh integrands are excluded from the shift because WL canonicalizes the resulting difference-of-squares denominator inconsistently (factored for Cosh, expanded for Sinh).

InverseLaplaceTransform of a complex-pole rational function

A proper rational function with exact coefficients is inverted exactly, off its partial-fraction decomposition, and the residue sum is regrouped as E^(k_min t) times a polynomial in E^t — which reproduces WL for real poles (1/((s+1)(s+2)(s+3)) → (-1 + E^t)^2/(2 E^(3 t)), repeated poles included). A complex-conjugate pole pair diverges in form only: Woxi returns the real damped oscillation, WL a sum of complex exponentials.

wolframscript -code 'InverseLaplaceTransform[1/(s^3 + 2 s^2 + 5 s), s, t]'
# 1/5 + ((I/20)*((-1 + 2*I) + (1 + 2*I)*E^((4*I)*t)))/E^((1 + 2*I)*t)
woxi eval 'InverseLaplaceTransform[1/(s^3 + 2 s^2 + 5 s), s, t]'
# -1/10*(-2*E^t + 2*Cos[2*t] + Sin[2*t])/E^t

Both are the same function (1/5 - E^-t (Cos[2t]/5 + Sin[2t]/10)). WL's choice is its Simplify acting on complex residues, and it is not consistent — (s+2)/((s+1)(s^2+4)) comes back in the real Cos/Sin form, 1/(s^2+2 s+5) in the complex-exponential one. Simplify on the same input agrees with WL, so the divergence is in what each side feeds it. A real-pole numerator can also land on a different-but-tied form: s/((s+1)(s+2)(s+3)) factors the polynomial in E^t where WL keeps it expanded (both cost the same by WL's own SimplifyCount).

An improper fraction's DiracDelta derivative term also sorts differently inside the Plus: InverseLaplaceTransform[s^2/(s+1), s, t] is Derivative[1][DiracDelta][t] + E^(-t) - DiracDelta[t] where WL puts the Derivative term last. Same terms, canonical-order divergence for a curried head.

Fourier*Series are unimplemented

FourierSinSeries, FourierCosSeries, FourierTrigSeries and FourierSeries echo. The coefficients are easy; WL's output form is unpredictably factored — FourierTrigSeries[x, x, 3] is expanded, FourierTrigSeries[x^2, x, 2] is factored as Pi^2/3 + 4*(-Cos[x] + Cos[2*x]/4), and the same expression factors differently across the Sin/Cos/Trig variants.

Simplify expands a numerator WL keeps factored per coefficient

# Simplify[InterpolatingPolynomial[{{0,1},…,{5,q},…,{10,321}}, x]]
wolframscript   # (14400 + 5760*(-10831 + 126*q)*x - … - (-86 + q)*x^10)/14400
woxi eval       # (14400 - 62386560*x + 725760*q*x + … - q*x^10)/14400

Same value and same common denominator, but WL pulls the repeated linear factor (-86 + q) out of each coefficient where Woxi leaves the numerator expanded. Factor on the same input returns the expanded form too, so the missing step is recognizing a shared factor across coefficients rather than anything about Simplify itself.

Factor with GaussianIntegers, Extension or Trig

GaussianIntegers -> True (and Extension -> I or Extension -> Sqrt[d]) factors univariate rational polynomials whose irreducible factors over Q are monic; non-monic splitting factors, multivariate input, other extensions (several generators such as {Sqrt[3], I}, higher-degree algebraic numbers, Automatic) and Trig stay unevaluated. FactorList takes only the Gaussian option: its sign convention over Q(Sqrt[d]) is unverified. IrreduciblePolynomialQ ignores the options. Composite-modulus LinearSolve, n-ary modular PolynomialLCM and composite-modulus GroebnerBasis are also left unevaluated (prime moduli work).

PolynomialGCD is wrong for multivariate input

wolframscript -code 'PolynomialGCD[x*y, y]'   # y
woxi eval 'PolynomialGCD[x*y, y]'             # 1

wolframscript -code 'PolynomialGCD[2 x y, x^2]'  # x
woxi eval 'PolynomialGCD[2 x y, x^2]'            # 2*x*y

The third argument of the 3-argument form is effectively ignored. Multivariate GCD needs a real algorithm (subresultant PRS over a polynomial ring, or a modular method); the current implementation is univariate only. This blocks multivariate SquareFreeQ, which stays unevaluated for the same reason.

Apart residues

Two shapes remain: a missing polynomial division when the leading denominator coefficient is negative (1/4 + (9+17x+23x^2)/(4*(3-5x-3x^2+4x^3))), and a 0 + expr artifact when the polynomial quotient is zero.

PartialFractions is unimplemented

WL's PartialFractions[expr, x] (unlike Apart) always splits to linear factors over the algebraic closure, so an irreducible quadratic produces (-1)^(1/3), Sqrt and three-argument Root coefficient forms. Only the rational-factorable case coincides with Apart. Matching the coefficient forms needs the roots-of-unity and Root display pipeline.

Series[x!, {x, 0, n}] coefficient form is order dependent

The x^2 coefficient is WL-canonical (6*EulerGamma^2 + Pi^2)/12 when it is the last one and re-folds to (EulerGamma^2 + Pi^2/6)/2 once it becomes interior; the x^3 coefficient diverges similarly. Value correct, form only.

Symbolic Sum is limited to monomials from 1

Non-unit lower bounds, linearity (Sum[2k, …], Sum[k^2+k, …]) and an explicit step with a symbolic bound are all unevaluated or refused. A general Faulhaber engine is mathematically straightforward and was written, but its output form does not match: Sum[k+1, {k, 1, n}] is (3*n + n^2)/2 in WL, while Woxi's Simplify gives (n*(3+n))/2, and factor ordering diverges ((1+Floor[n/2])*Floor[n/2]).

Clean finite-sum targets still unevaluated: Sum[k Binomial[n,k], {k,0,n}] = 2^(-1+n) n, Sum[k^2 Binomial[n,k], …] = 2^(-2+n) n (1+n), Sum[k 2^k, {k,1,n}] = 2(1-2^n+2^n n), and Sum[Cos[k x], {k,1,n}]. Sum[(-1)^(2n)/n^2] also fails, because (-1)^(2n) is not simplified to 1.

Infinite-sum gaps

  • Rational sums whose residues do not cancel per class have transcendental values Woxi cannot produce: Sum[1/(9n^2-1)] = (9 - Sqrt[3] Pi)/18, Sum[1/(n(2n-1))] = Log[4]. Needs PolyGamma at rational arguments.
  • PolyLog sums with n^k, k ≥ 2: Sum[1/(2^k k^2)] = Pi^2/12 - Log[2]^2/2.
  • Divergence messages: Sum[2^n/n] and Sum[1/(n Log[n])] are silent in Woxi where WL reports. WL's own boundary is inconsistent here (bare 2^n silent, 2^n/n messaged).
  • Product[R(n), {n, n0, Infinity}] handles integer roots only; rational roots (Product[1-1/(4n^2)] = 2/Pi) would need Gamma at half-integers.

Sum/Product unevaluated echoes keep the source order

Product[-n, …] echoes as 0 - n (a parse artifact) and Woxi keeps the source Plus order (n+2) where WL canonicalizes the held body (2+n).

Limit returns wrong values for factorial growth

wolframscript -code 'Limit[n!^(1/n), n -> Infinity]'      # Infinity
woxi eval 'Limit[n!^(1/n), n -> Infinity]'                # 1

wolframscript -code 'Limit[n!^(1/n)/n, n -> Infinity]'    # 1/E
woxi eval 'Limit[n!^(1/n)/n, n -> Infinity]'              # 0

wolframscript -code 'Limit[Log[n!]/n, n -> Infinity]'     # Infinity
woxi eval 'Limit[Log[n!]/n, n -> Infinity]'               # 0

Also Limit[LogGamma[n]/n] (WL Infinity, Woxi 0) and Limit[(2n)!/n!] (WL Infinity, Woxi 1). The engine applies a base^(1/n) → 1 / Log[g]/n → 0 shortcut that only holds for polynomial growth. This is the one place in Limit that returns a wrong value rather than an unevaluated call — everything else below only fails to evaluate.

Three Limit shapes at infinity stay unevaluated

wolframscript -code 'Limit[x^100/Exp[x], x -> Infinity]'        # 0
woxi eval 'Limit[x^100/Exp[x], x -> Infinity]'                  # Limit[x^100/E^x, x -> Infinity]

wolframscript -code 'Limit[Log[Log[x]]/Log[x], x -> Infinity]'  # 0
woxi eval 'Limit[Log[Log[x]]/Log[x], x -> Infinity]'            # Limit[…] unevaluated

wolframscript -code 'Limit[x/(x + Sqrt[x]), x -> -Infinity]'    # 1
woxi eval 'Limit[x/(x + Sqrt[x]), x -> -Infinity]'              # Limit[…] unevaluated

Each has its own cause. A polynomial over an exponential resolves up to about degree 45 and then hits the L'Hôpital depth guard. Nested logarithms need a u = Log[x] substitution — Limit[Log[u]/u, u -> Infinity] is already 0. The -Infinity case is excluded on purpose: the leading-order analysis is gated to +Infinity because x^p for non-integer p is not real to the left of zero, and extending it needs branch-cut care.

Consequences: AsymptoticGreater[Exp[x], x^100, …] and AsymptoticLess[Log[Log[x]], Log[x], …] stay unevaluated too.

Other open limits: Limit[Sin[1/x], x -> 0] should be Indeterminate, Limit[HarmonicNumber[n]/Log[n]] should be 1, and Limit[HarmonicNumber[2n] - HarmonicNumber[n]] should be Log[2]. Limit[Binomial[2n,n], n -> Infinity], Limit[1/Binomial[2n,n]] and Limit[Binomial[2n,n]^(1/n)] hang (the numeric probe evaluates Binomial at n = 10^6), as does the literal-Sum spelling of the harmonic-minus-log limit.

Residue and Simplify around Gamma poles

A Gamma pole model multiplied by another pole at a non-zero point — Residue[Gamma[z]/(z+1), {z, -1}], WL -1 + EulerGamma — is refused rather than risk the Simplify slowness above.

RSolve first-order linear inhomogeneous

RSolve[a[n] == c a[n-1] + d && a[k0] == v0, a[n], n] with constant c ≠ 1 returns unevaluated. The closed form is trivial; WL's display varies case by case through power folding, with no clean subset:

recurrence wolframscript
c=2, d=1, a[0]=2 -1 + 3*2^n
c=2, d=1, a[0]=3 -1 + 2^(2 + n) (the coefficient folded into the exponent)
c=2, d=1, a[0]=4 -1 + 5*2^n
c=2, d=5, a[0]=0 5*(-1 + 2^n) (common factor pulled out)
c=3, d=2, a[0]=5 -1 + 2*3^(1 + n) (partial fold)
c=5, d=3, a[0]=10 (-3 + 43*5^n)/4

RSolve of the logistic map at r=2 is deliberately left unevaluated for the same reason: WL displays an internally rewritten rational form ((-2^2^(1+n) + 5^2^n)/(2*5^2^n)) rather than the clean (1 - (1-2c)^2^n)/2.

Casoratian is unimplemented

The semantics are fully decoded, but every form needs exponential collapse Woxi's Simplify lacks ({2^n, 3^n} → 6^n, {n!, 2^n} → a Gamma form, {Sin[n], Cos[n]} → -Sin[1]), and WL is internally inconsistent ({2^n,3^n,5^n} → 5^n*6^(1+n), not 6*30^n). Only the first-order-system form (Det[A]^n) is form-stable.

FindGeneratingFunction is unimplemented

Not a clean rational fit: {1,1,1,1,1} gives a Padé artifact, {1×7} and {1×10} give different families of answer, and the display switches between raw power and Together form. Not reproducible.

MultipleZeta reduction

WL reduces multiple zeta values through at least weight 8 using MultipleZeta[{5,3}] as a basis element. Depth 1, leading 1 and the empty argument are easy; matching the reduction extent needs full MZV datamine tables.

Higher-rank Curl

A rank-n - 1 field in n dimensions has a scalar curl, which is computed ((1/(n-1)!) Σ ε[j, i1, …] D[f[[i1, …]], x_j]). The forms whose curl has rank 2 or more — a scalar in 3D or 5D, a vector in 4D — stay unevaluated: WL returns them as SymmetrizedArray[StructuredArrayStructuredData[…, Antisymmetric[…]]](or a collapsed 0), and Woxi has noSymmetrizedArray`.

A coupled ODE system is solved numerically, so its constants are inexact

DSolve[{eq1, …}, {y1[t], …}, t] eliminates the system with an operator determinant and finds the characteristic roots in machine floating point, recovering exact-looking coefficients (1/2, Sqrt[3]) from them at the end. For a first-order homogeneous system the answer is re-parametrized to Y(t) = MatrixExp[A·t]·C — wolframscript's basis, in which C[k] is the initial value of the k-th variable — and matches it term for term, secular t·E^(λt) terms for defective systems included. Three shapes still differ:

  • Coefficients that are not a small rational or the square root of one stay as machine reals, and a radical that both a numerator and a denominator carry is not canceled ((Sqrt[3]*E^(2*t) − …)/(3*Sqrt[3]*E^t) where WL writes (E^((3*t)/2) − …)/(3*E^(t/2))).
  • A system with inexact coefficients (a Foucault-pendulum-style rotational coupling with a 0.1 rate) gets a clean trigonometric answer here. WL's own is an unsimplified tangle of 4.4*^-17-scale complex noise, so there is no form to match.
  • A system with nonzero constant forcing gets its constant particular solution (a polynomial one when the characteristic root 0 makes M(0) singular, as for a charged particle in crossed fields) plus the eigenvector basis, where WL emits an unsimplified variation-of-parameters expression in its MatrixExp basis.
  • A higher-order homogeneous system uses the eigenvector basis too; WL's constants are the initial values of y1, y1', …, y2, … in that order.

Second-order PDEs with a lower-order term

DSolve[u_xx + u_y == 0] (the heat equation) is unevaluated; WL falls back to a particular solution with C[1] … C[8] after DSolve::lpdeprtclr. With a == 0 or c == 0 WL also writes the characteristics unnormalized (C[1][x - y] + C[2][x]) rather than as λ x + y.

DSolve gaps met by Demonstrations

  • Euler–Cauchy equations (x^2 y''[x] + x y'[x] + c y[x] == 0) stay unevaluated, even with numeric c; WL gives C[1] Cos[Sqrt[c] Log[x]] + C[2] Sin[Sqrt[c] Log[x]], and for a two-point eigenvalue problem (y'[1] == 0, y'[2] == 0) a Piecewise over Element[K[1], Integers] (ASturmLiouvilleEigenvalueProblem).
  • The whole-line initial value problem of the heat equation (DSolve[{D[c[t, x], t] == d D[c[t, x], x, x] - k c[t, x], c[0, x] == Exp[-a x^2]}, c[t, x], {t, x}]) stays unevaluated; WL convolves with the heat kernel (OneDimensionalDiffusionOfAcetylcholineInTheSynapticCleft).
  • With conditions, WL brings the solution over a common denominator (DSolve[{y''[x] + 4 y[x] == 0, y'[0] == 1}, y[x], x] is (2 C[1] Cos[2 x] + Sin[2 x])/2); Woxi leaves it as a sum (C[1] Cos[2 x] + Sin[2 x]/2).
  • A condition combining values at a point (y[0] + y'[0] == 1) is not recognized.

NDSolve's PDE branch is 1-D

PDEs first order in one variable and one-dimensional in the other solve by the method of lines (src/functions/ode_ast/pde_mol.rs): "DifferenceOrder" 4 stencils on a uniform grid (sized from the initial profiles, honoring "MinPoints"/"MaxPoints"), Rodas4 in time. Coupled systems, several time derivatives in one equation, evolution coefficients that vanish at a wall, any boundary condition form (Dirichlet, Neumann, Robin, coupled fluxes, DirichletCondition, NeumannValue), a missing condition (NDSolve::bcart, one-sided equation as in WL) and periodic ends with up to fourth space derivatives (Kuramoto–Sivashinsky) are covered. Remaining differences:

  • WL's default grid is adaptive and sometimes coarse: for the RadialAndAxialVariationsInANonisothermalTubularReactor Demonstration WL's default gives T[1, 0.015] == 381.96, its own converged value ("MinPoints" -> 51 or more) is 374.75, and Woxi gives 374.75. The grid coordinates ("Coordinates") never match WL's.
  • A steep initial profile of tiny amplitude that meets a flux condition only in the continuum is not resolved by WL's coarse default grid, and WL's solution keeps the discrete boundary flux of the initial profile instead of the prescribed one. For D[u[t, x], t] == D[u[t, x], x, x] with Derivative[0, 1][u][t, 0] == -1, Derivative[0, 1][u][t, 1] == 0 and u[0, x] == Exp[-1000 x]/1000, the exact solution grows like t + x^2/2 - x + 1/3 (Woxi: u[25, 0.5] == 24.958, u[100, 0.5] == 99.958), while WL's grows about 18 times slower (≈ 1.33 at t == 25, ≈ 5.44 at t == 99.7, read off the stored snapshots of the TransientHeatConductionWithNoSteadyState Demonstration, whose PlotRange -> {0, 10} therefore shows a curve in WL and none in Woxi). Woxi instead makes the boundary values consistent with the conditions before integrating.
  • NeumannValue problems are solved by the same finite differences, not WL's finite elements; values agree to 3–5 digits except in thin early boundary layers.
  • Stationary problems on a rectangle (second derivatives in both variables, or first order in a variable with conditions at both of its ends: counter-current flow) are solved by second-order finite differences and Newton iterations, not WL's finite elements. ParallelPlateHeatExchanger agrees to 4 digits. For CountercurrentFlowHemodialyzer WL's own answer does not converge (Cb[10, 0.006] is 0.506 by default, 0.341 and 0.343 with "MaxCellMeasure" 0.0005 and 0.0001; Woxi gives 0.407, stable under grid refinement), and on the line r == 0, where the equation's 1/(r + 10^-6) regularization is singular, Woxi's values exceed 1.
  • Two space dimensions plus time (NDSolve[eqns, u, {x, …}, {y, …}, {t, …}]) is covered for one unknown on a rectangle (src/functions/ode_ast/pde_mol2d.rs): second-order finite differences on a 32 × 32 cell-centered grid, Dirichlet, NeumannValue (affine in the unknown) or zero-flux edges, Rodas4 in time. Values agree with the exact solutions to 3–4 digits (the convectively cooled finite cylinder of UnsteadyStateHeatConductionInACylinder: center temperature 0.69262 vs. 0.69274 at τ == 0.15), but are not WL's finite element numbers, and the solution is a grid InterpolatingFunction, not a mesh one. Coupled systems (SpatioTemporalEpidemicSpread), mixed derivatives u_xy and non-rectangular regions (StokesFlowInContainerWithConcaveBottom) are not covered.
  • A second variable the equations never differentiate in (NDSolve[{D[z[t, s], t, t] == …, z[0, s] == s, …}, z, {t, …}, {s, …}]) is a parameter: the ODEs of a uniform grid of its values (51 points or more, sized like a space grid from the initial profiles) are integrated as one system (src/functions/ode_ast/param_family.rs). WL's grid in the parameter differs, so values between grid points do, visibly once the family is chaotic (SensitiveDependenceOnInitialConditionsInASimpleThreeBodyProb).
  • A DirichletCondition written inside an equation's right-hand side (D[u[x, t], t] == … + DirichletCondition[…]) stays unevaluated; WL fails on it too (NDSolveValue::fempsf).

A second-order-in-time (hyperbolic/wave) evolution equation — D[u[t,x],t,t] == …, needing an extra initial velocity condition D[u,t][t0,x] == g[x] alongside the ordinary initial value — is order-reduced to the first-order system D[u,t] == v, D[v,t] == w and solved the same way, even when the right-hand side itself contains an implicit/mixed derivative of the unknown (e.g. D[u[t,x],x,x,t,t]): the acceleration field w is eliminated by a tridiagonal solve each method-of-lines step rather than an explicit formula, so long as the right-hand side is linear in it. This is what a Wolfram Demonstration like A Passive Cochlear Model needs. The hyperbolic branch only supports a single dependent function.

On the symbolic side DSolve recognizes three first-order two-variable PDE shapes; Laplace, which WL solves as C[1][I x + y] + C[2][-I x + y], is not among them.

NDSolve's DAE support handles index-1 constraints: those that solve explicitly for an unknown are eliminated, and the remaining derivative-free equations are solved together by Newton iteration when they are as many as the never-differentiated unknowns they mention; ones affine in those unknowns are solved with the highest derivatives instead. Index-2 constraints (all of whose unknowns are differentiated elsewhere, a bubble point fixing a differentiated stage temperature) are reduced by dummy derivatives: the constraint is differentiated, one of its unknowns is solved from the original constraint at every step (in closed form when that is small, else by Newton iteration) and its derivative becomes an algebraic unknown. Systems not linear in their highest derivatives are not reduced. The one exception is a system whose algebraic equations leave a single degree of freedom, closed by first-order derivative equations (a unit-speed condition): it is traced as an implicit curve by arclength continuation, and ends early where the curve leaves the region the equations are defined on.

Woxi does not compute consistent initial values: it takes the given ones as they are, so a DAE started off its constraints differs from WL's from the start. Only a given initial derivative of an unknown's full differential order is checked: it is replaced by the value the system determines, with NDSolve::ivres when the two differ. A condition on a function eliminated by a constraint is dropped without that check (WL reports ivres for {y'[t] == x[t], x[t] == y[t], y[0] == 1, x'[0] == 3}, Woxi is silent), and an over-specified pure ODE stays unevaluated without WL's NDSolve::ndnco.

NDSolve of a distillation-column DAE

Housam Binous's distillation Demonstrations (holdup balances, energy balances h[i]'[t] that differentiate the stage temperatures, bubble-point constraints, flows L[t], V[t] that only appear algebraically) now integrate with the stiff Rosenbrock method and the dummy-derivative index reduction, matching wolframscript to 1e-7 (DistillationOfAnEthanolWaterMixture, DistillationOfATernaryIdealMixture, DynamicSimulationOfABinaryDistillation).

The Francis-weir columns match too, once a flow solved in terms of another tray's accumulation (L[t] == B[t] + N'[t]) is kept out of the weir formula's power.

MulticomponentDistillationColumn (variable holdups from the Francis formula, benzene/toluene/p-xylene) integrates but drifts from wolframscript right away: at t = 0.01 x[1][5] is 0.207 against 0.224 and V[5] is 178 against 168, and by t = 5 the stage temperatures are 15 K off. V[5] at t = 0 already reads 2584 from the linear solve, so the reduced system's algebraic part is inconsistent with the given initial values; not yet traced. (Since the square-block Newton pairing it no longer integrates at all.)

NDSolve uses a fixed grid

Woxi integrates on 1000 nominal RK4 steps with bisection refinement; wolframscript adapts. Length[(y /. s[[1]])[[2]]] is 1001 against 13. Note that stock wolframscript's default tolerances can be less accurate than Woxi's here — get a converged reference before treating a difference as a bug.

Zero-dimensional polynomial systems are expressed through one Root

When no equation of a polynomial system can be solved for an unknown in closed form, Solve and Reduce take a lexicographic Groebner basis and return x == Root[R & , k, 0] with every other unknown as a polynomial in that root. The solutions are right (they satisfy the system to machine precision once numericized), but wolframscript gives each unknown its own Root of a univariate polynomial, so the exact printed form differs. Systems whose basis is not in this shape (repeated roots, positive dimension) stay unevaluated. Machine precision N of the polynomial-in-Root values loses about 7 digits to cancellation (residuals around 1e-9), where wolframscript raises its working precision.

Reduce[{x^3 + y^3 + x y == 3, x^2 + x y^2 == 2}, {x, y}, Reals] returns a single branch with a Sqrt that is not real for that root, although three real solutions exist (Solve[..., Reals] finds them).

Reduce does not eliminate quantifiers

wolframscript -code 'Reduce[Exists[y, x == y^2], x, Reals]'      # x >= 0
woxi eval 'Reduce[Exists[y, x == y^2], x, Reals]'                # Reduce[Exists[y, x == y^2], x]

wolframscript -code 'Reduce[ForAll[y, x + y^2 >= x], x, Reals]'  # True
woxi eval 'Reduce[ForAll[y, x + y^2 >= x], x, Reals]'            # Reduce[ForAll[y, x + y^2 >= x], x]

Exists and ForAll are parsed but never eliminated. Note the unevaluated form also drops the Reals domain argument, which is a separate bug in the echo path.

Other Reduce and FindInstance divergences

  • Complex-domain Abs is a wrong answer: Reduce[Abs[x] < 3, x] returns False although solutions exist. WL gives a Re/Im decomposition, since the default domain is Complexes.
  • Multi-symbol parametric coefficients: Reduce[a b x == c, x] gives an incomplete x == c/(a*b) where WL enumerates three sub-cases. The single-symbol case is implemented, and only for the default domain.
  • The two-argument x ∈ Integers membership form does not enumerate; the three-argument Reduce[…, x, Integers] form does.
  • Disjunct ordering: Reduce[x > 0 || x < -1, x] — WL sorts the regions, Woxi keeps input order.
  • Reduce[Sin[x] == 1, x] — WL puts the Element condition as a top-level And, Woxi wraps it in ConditionalExpression.
  • Reduce[…, Modulus -> n] ignores the modulus for a multivariate nonlinear system (univariate and linear systems work). Solve refuses that case rather than answer wrongly.
  • FindInstance picks a different, still-valid instance: x^2 == 2 gives Sqrt[2] against WL's -Sqrt[2]; x^2 + y^2 == 1 over the reals gives {x -> -1, y -> 0} against {x -> 1, y -> 0}; x^2 > 4 gives -100 against -4. Not reproducible.
  • FindInstance for linear inequalities over the reals solves a linear program that maximizes the slack of the strict inequalities, so a bounded interval gives its midpoint (3 < x < 10 → 13/2, as in WL) and a non-strict bound its endpoint (x >= 3 → 3, as in WL). WL samples other regions pseudo-randomly: x > 3 gives 30 (Woxi 4), 1/3 < x < 1/2 gives 229/607 (Woxi 5/12), and the extra instances of FindInstance[…, n] differ. Not reproducible.
  • A single Boolean instance (FindInstance[…, Booleans], SatisfiabilityInstances[…, vars] or …, 1]) comes from a different solver in WL than the instance lists: with several solutions, Woxi returns the first of the list for 2 or more (Xor[p, q, r] → {True, True, True}) where WL returns {False, True, False}. Lists of 2 or more instances, and any unique solution, match.
  • FindInstance over the integers falls back to a bounded search when Solve cannot decide: every variable is walked outwards from zero (0, 1, −1, 2, −2, …) within a fixed evaluation budget. That reproduces wolframscript's answer for the small instances (x^5 + y^5 + z^5 == w^5 && x > 0 → {1, 0, 0, 1}) but cannot reach a large one — Euler's sum-of-powers counterexample 27^5 + 84^5 + 110^5 + 133^5 == 144^5 stays unevaluated where wolframscript finds it.

Reduce over Rationals omits the Element conjunct

Only a discrete solution set stands on its own over the rationals; an interval has to say that just its rational points are meant, and wolframscript writes that as a leading Element. Woxi drops it, and the surrounding rational surface diverges with it:

wolframscript -code 'Reduce[x >= 2, x, Rationals]'       # Element[x, Rationals] && x >= 2
woxi eval 'Reduce[x >= 2, x, Rationals]'                 # x >= 2

wolframscript -code 'Reduce[True, x, Rationals]'         # Element[x, Rationals]
woxi eval 'Reduce[True, x, Rationals]'                   # True

wolframscript -code 'Reduce[x != 2, x, Rationals]'       # Element[x, Rationals] && (x < 2 || x > 2)
woxi eval 'Reduce[x != 2, x, Rationals]'                 # x != 2

wolframscript -code 'Reduce[x >= 2 && x <= 2, x, Rationals]'  # x == 2
woxi eval 'Reduce[x >= 2 && x <= 2, x, Rationals]'            # 2 <= x <= 2

Several targets share one Element over an Alternatives, which the integer domain gets wrong the same way even though it does emit the conjunct:

wolframscript -code 'Reduce[x > 2 && y < 1, {x, y}, Integers]'
# Element[x | y, Integers] && x >= 3 && y <= 0
woxi eval 'Reduce[x > 2 && y < 1, {x, y}, Integers]'
# Element[x, Integers] && Element[y, Integers] && y <= 0 && x >= 3

The curated oracle case Reduce[1/3 < x && x <= 5/7, x, Rationals] in tests/reduce/oracle.rs is the recorded instance; it is the one failure make test-slow reports on a machine with z3 installed and network access.

Reduce leaves a joint multi-variable constraint unevaluated

Constraints that share a variable are reduced together, and the joint case is only implemented for what the linear engines cover. A shared-variable group that needs a cylindrical decomposition stays unevaluated:

wolframscript -code 'Reduce[a < b && b < 2 && x > 0, x]'
# a < 2 && Inequality[a, Less, b, Less, 2] && x > 0
woxi eval 'Reduce[a < b && b < 2 && x > 0, x]'
# Reduce[a < b && b < 2, {a, b}] && x > 0

wolframscript -code 'Reduce[a x > 0, x]'    # (a < 0 && x < 0) || (a > 0 && x > 0)
woxi eval 'Reduce[a x > 0, x]'              # Reduce[a*x + 0 > 0, x]

Independent constraints are separated and reduced one group at a time, so Reduce[x > 1 && a^2 < 4 && b^2 < 9, x] matches.

Solve of a system eliminated through a fractional power finds nothing

wolframscript -code 'Length[Solve[{1 == u*t/p, 1000*(t - 400) == (10000 - u^2)/2, t == p^(-2/7)}, {p, u, t}]]'
# 10
woxi eval 'Length[Solve[{1 == u*t/p, 1000*(t - 400) == (10000 - u^2)/2, t == p^(-2/7)}, {p, u, t}]]'
# 0

The kernel solves t == p^(-2/7) for p, substitutes, and reduces the system to a degree-10 polynomial in t. Woxi's elimination does not invert the fractional power. Written as p == t^(-7/2), the system is solved, but through a degree-20 polynomial in Sqrt[t] whose wrong-branch roots are not all discarded (17 solutions instead of 10). This blocks the Demonstration "Compressible Flow Through a Nozzle/Diffuser".

Solve orders the solutions of Norm equations differently

wolframscript -code 'Solve[{Norm[{x, y}] == 1, Norm[{x, y} - {1, 1}] == 0.6}, {x, y}]'
# {{x -> 0.9137715508089904, y -> 0.4062284491910096}, {x -> 0.4062284491910096, y -> 0.9137715508089904}}
woxi eval 'Solve[{Norm[{x, y}] == 1, Norm[{x, y} - {1, 1}] == 0.6}, {x, y}]'
# {{x -> 0.40622844919100964, y -> 0.9137715508089904}, {x -> 0.9137715508089904, y -> 0.40622844919100953}}

Written as polynomials (x^2 + y^2 == 1), both list x -> 0.406… first. The kernel solves the radical form by another route, which also skips the Solve::ratnz message (Woxi matches that part). Woxi squares the radicals away and keeps the polynomial order.

Solve over a system of two Abs equations gives no solutions

wolframscript -code 'Solve[{Abs[x] == 2, Abs[y] == 3}, {x, y}]'
# {{x -> -2, y -> -3}, {x -> 2, y -> -3}, {x -> -2, y -> 3}, {x -> 2, y -> 3}}
woxi eval 'Solve[{Abs[x] == 2, Abs[y] == 3}, {x, y}]'
# {}

One Abs equation is solved correctly, and a single Abs equation narrowed by an inequality is too. It is the multi-variable elimination that cannot take two of them apart and reports the system unsatisfiable, so ToRules turns False into an empty list.

Solve orders the negative root first in a two-variable system

wolframscript -code 'Solve[{x^2 + y^2 == 1, y == 0}, {x, y}]'
# {{x -> 1, y -> 0}, {x -> -1, y -> 0}}
woxi eval 'Solve[{x^2 + y^2 == 1, y == 0}, {x, y}]'
# {{x -> -1, y -> 0}, {x -> 1, y -> 0}}

The single-variable case agrees (Solve[x^2 == 4, x] is {{x -> -2}, {x -> 2}} in both), so the system path sorts where wolframscript does not.

Integer lattices with congruences are printed in canonical form

Reduce/Solve over Integers parametrize a linear system with congruences (Mod[e, m] == r) as one lattice in Hermite normal form. wolframscript substitutes its way through the system and leaves the substitution visible:

wolframscript -code 'Reduce[Mod[x, 6] == 1 && x + y == 0, {x, y}, Integers]'
# Element[C[1], Integers] && x == 1 + 6*C[1] && y == 5 + 6*(-1 - C[1])
woxi eval 'Reduce[Mod[x, 6] == 1 && x + y == 0, {x, y}, Integers]'
# Element[C[1], Integers] && x == 1 + 6*C[1] && y == -1 - 6*C[1]

The sets agree, and so does the form whenever wolframscript's substitution already ends in canonical form (Reduce[Mod[x + 2 y, 4] == 1 && x == 3 y + 1, {x, y}, Integers]). When the congruence leaves more than one parameter free, wolframscript enumerates residue classes as a disjunction (Reduce[Mod[x + y + z, 5] == 2 && x == y, {x, y, z}, Integers]); Woxi has no such form and does not reduce these.

Sort of a sum against a product with an imaginary or reciprocal factor

wolframscript -code 'Sort[{1 + I x, I x}]'
# {1 + I*x, I*x}
woxi eval 'Sort[{1 + I x, I x}]'
# {I*x, 1 + I*x}

Same for 1 + x/Log[3] against x/Log[3], but Sort[{1 + 2 x, 2 x}] and Sort[{1 + 2 I Pi x, 2 I Pi x}] put the product first in both. It shows in the order of Solve's solution families (Solve[9^x - 4 3^x + 3 == 0, x]).

N of an overflowing exact expression comes back at machine precision

wolframscript -code 'N[Sqrt[10^400 + 1]]'
# 1.`16.255619765854984*^200
woxi eval 'N[Sqrt[10^400 + 1]]'
# 1.*^200

When a part of an exact expression overflows a machine number, Woxi evaluates the whole expression with 30 digits and returns a machine real if the value fits. wolframscript carries the overflowed part as a big number of machine precision, so the result is a big number too.

Root of a reducible polynomial keeps the whole polynomial

wolframscript -code 'Root[2 #^5 - 4 # - 2 &, 1]'
# -1
woxi eval 'Root[2 #^5 - 4 # - 2 &, 1]'
# Root[-1 - 2*#1 + #1^5 & , 1, 0]

The polynomial is 2 (1 + #) (#^4 - #^3 + #^2 - # - 1); wolframscript reduces to the factor the k-th root belongs to. Woxi only does that when every factor has degree 2 or less.

Solve over Integers does not parametrize nonlinear equations

wolframscript -code 'Solve[x^2 == 4 y, {x, y}, Integers]'
# {{x -> ConditionalExpression[4*C[1], Element[C[1], Integers]], y -> ConditionalExpression[4*C[1]^2, Element[C[1], Integers]]}, {x -> ConditionalExpression[2 + 4*C[1], Element[C[1], Integers]], y -> ConditionalExpression[1 + 4*C[1] + 4*C[1]^2, Element[C[1], Integers]]}}
woxi eval 'Solve[x^2 == 4 y, {x, y}, Integers]'
# {}

Reduce gives the real solution y == x^2/4 here, and Solve keeps only integer-valued rules of the real solution, which this one is not.

Solving for a variable divided by a symbol keeps a negated sum split

wolframscript -code 'Solve[-x/a == l - p, x]'   # {{x -> -(a*(l - p))}}
woxi eval 'Solve[-x/a == l - p, x]'             # {{x -> -(a*l) + a*p}}
wolframscript -code 'Solve[3^(-x/a) == 5, x]'
# {{x -> ConditionalExpression[a*(((2*I)*Pi*C[1])/Log[3] - Log[5]/Log[3]), …]}}
woxi eval 'Solve[3^(-x/a) == 5, x]'
# {{x -> ConditionalExpression[-(a*(((-2*I)*Pi*C[1])/Log[3] + Log[5]/Log[3])), …]}}

Numeric slopes (-x, -2 x, -x/2) and a symbolic one without the minus agree. The exponential case is the same linear step: b^(linear) == c is solved as linear == Log[c]/Log[b] + 2 I Pi C[1]/Log[b], flipping C[1] for a negative slope.

Roots root ordering

Roots[x^2 - 3x + 2 == 0, x] is x == 2 || x == 1 in Woxi and x == 1 || x == 2 in WL. But WL's order is not a clean sort — x^2-9 gives 3, -3, x^4-5x^2+4 gives -2,-1,1,2, x^2-2 gives Sqrt[2], -Sqrt[2], while x^2-2x-1 keeps Solve's order. It depends on which internal root-isolation path the degree takes. Woxi's Solve ordering does match exactly; only Roots diverges. Not reproducible.

Related and still open: Roots[x^n == c, x] uses ω^k generation order starting at k=1 when the radicand is not a perfect power, and Root of a reducible polynomial with cyclotomic factors prints a+bI (Root[x^6-1, 3] = (-1 - I Sqrt[3])/2) where Woxi keeps the Solve form -(-1)^(1/3).

Inexact polynomial solving

With any inexact coefficient WL's Solve is NSolve — purely numeric, no exact factoring, so Solve[x^3 - 1.5 x^2 + x - 1.5 == 0, x] gives 1.4999999999999996 rather than 3/2. Woxi agrees on that model, and its Durand–Kerner roots agree to 1–2 ULP — but never assert full digits. The one case WL still gets exactly right is a triple root (x^3 - 2.25 x^2 + 1.6875 x - 0.421875 → {0.75, 0.75, 0.75}), which it resolves at raised internal precision; f64 Durand–Kerner cannot.

Minimize does not detect an unattained infimum

Minimize[1/(1+x^2), x] returns a bogus large-x numeric instead of WL's natt message and 0.

Unbounded non-convex polynomials go the same way: Minimize[x^2 - y^2, {x, y}] reports the saddle {0, {x -> 0, y -> 0}} where WL says -Infinity. And where the minimum is attained along a whole curve (Minimize[(x y - 3)^2 + 1, {x, y}]), the value matches but Woxi reports the point with the free variable at 1 ({x -> 1, y -> 3}), WL {x -> -1, y -> -3}.

Symbolic Fit and LinearModelFit

LinearModelFit[…]["BestFit"] drops the 0. + constant term wolframscript keeps, and Fit[{1,2,3,4},{1,x},x] gives a clean 0. + 1. x where WL keeps 5.07*^-16 + 0.9999999999999999 x — Woxi is the less noisy one.

Fit with a symbolic data value fits symbolically in wolframscript (Fit[{a, 1, 2}, {1, x}, x] is linear in a); Woxi fails with "could not convert data value to a number". LinearModelFit gives LinearModelFit::desmat for such data in both.

LinearModelFit[…, Weights -> {w1, …}] fits by weighted least squares and weights every statistic of the model the standard way (error variance σ²/wi: R² about the weighted mean, Σ wi ri² / (n - p) as the estimated variance, Cov = σ² Inverse[Xᵀ W X], weighted leverages and ANOVA); the statistics are not yet checked against wolframscript. A weighting function (Weights -> f) leaves the call unevaluated in Woxi.

QRDecomposition[m, Full] of an exact tall matrix

QRDecomposition[m, Full] completes q to a square matrix for a machine matrix (the Householder reflectors' full Q, as LAPACK's dorgqr), and is the plain decomposition when q is square already. Completing an exact q needs a basis of the orthogonal complement in wolframscript's form, so QRDecomposition[{{1, 2}, {3, 4}, {5, 6}}, Full] stays unevaluated in Woxi.

Decompositions with a structured TargetStructure

TargetStructure -> "Dense" | "Sparse" | Automatic on LUDecomposition, QRDecomposition, SchurDecomposition, HessenbergDecomposition and SingularValueDecomposition turns each matrix factor dense or into a SparseArray; "Structured" and the other structured targets stay unevaluated in Woxi.

GeneralizedLinearModelFit and LogitModelFit stop short of the estimate

wolframscript -code 'GeneralizedLinearModelFit[{{1,2},{2,3},{3,7},{4,9}}, x, x, ExponentialFamily -> "Poisson"]["BestFitParameters"]'
# {0.22480147381937685, 0.5104799964404124}
woxi eval '…same…'   # {0.22480147112192…, 0.51047999706…}, the maximum-likelihood estimate

wolframscript's iteration ends about 1e-9 (relative) away from the estimate, or 1e-5 with LinkFunction -> "IdentityLink" or with ProbitModelFit (O-ring data: wolframscript {8.774897560207174, -0.13509567688143528} has log-likelihood -10.188869659392, Woxi's {8.7749543…, -0.1350965…} -10.188869659266). Woxi iterates to the estimate, which solving the score equations at 30 digits confirms. With perfectly separated binomial data the estimate does not exist, and both report large finite coefficients that differ (LogitModelFit[{{0, 0}, {1, 0}, {2, 0}, {3, 1}, {4, 1}, {5, 1}}, {1, x}, x]: wolframscript {-98.58, 39.43}, Woxi {-246.8, 98.71}). Neither R's glm.fit starting values nor its stopping rule reproduce wolframscript's digits.

GeneralizedLinearModelFit has no "NullDeviance" for most families

wolframscript -code 'GeneralizedLinearModelFit[{{1,1.},{2,2.},{3,4.},{4,4.}}, x, x]["NullDeviance"]'
# 3.65505327700101
woxi eval '…same…'   # FittedModel::elmntav, the property is left out

The constant model's deviance is Total[(y - Mean[y])^2] = 6.75, which no constant mean can bring down to 3.655; with LinkFunction -> "LogLink" wolframscript reports yet another value (6.5635). The Poisson and binomial null deviances are the constant model's and Woxi reports them; the Gaussian, Gamma and inverse Gaussian ones are left out rather than reported differently.

LinearModelFit estimates differ in the last bits

wolframscript -code 'LinearModelFit[{{0, 1}, {1, 0}}, x, x]["BestFitParameters"]'
# {1., -1.}
woxi eval '…same…'   # {0.9999999999999999, -1.}

Woxi solves the least-squares problem by Householder QR. None of LAPACK's gelsd, gelsy or gelss, the normal equations or the pseudo-inverse reproduces wolframscript's digits on every input. With as many points as parameters, the difference becomes visible: when wolframscript's residuals come out exactly zero, its standard errors are Indeterminate (with Infinity::indet), while Woxi's tiny nonzero residuals give ComplexInfinity.

Constrained and weighted fitting find different local minima

On a non-convex constrained problem the two engines land on different valid local minima — for a sine fit Wolfram lands on the constraint boundary while Woxi finds an interior point with a smaller residual. Compare the picture, not the parameters.

RSolve of a Riccati recurrence is written differently

RSolve[k0 + k1 x[n] + k2 x[n + 1] + x[n] x[n + 1] == 0, x[n], n] gives the same function as wolframscript, with C[1] meaning the same number, but not the same expression: wolframscript's carries large internal scale factors (4.596043240755094*^15*0.5447870971471407^n) where Woxi writes (λ1 - s) b1^(1 + n) with the bases b = -1/λ of the characteristic roots. As in wolframscript, C[1] goes with one root for numeric coefficients and with the other for symbolic ones.

NDEigensystem digits and scope

Woxi discretizes a one-dimensional operator a u'' + c(x) u by finite differences on 2000 intervals and refines each eigenvalue by its Rayleigh quotient; wolframscript's default finite-element mesh is coarser, so its values are less accurate ({1., 4.0001, 9.0006} for -u'' with Dirichlet ends on [0, π], where Woxi has {1., 4., 9.}; both agree to 1e-4 with wolframscript on a refined mesh). The eigenfunctions are InterpolatingFunctions over the grid rather than over a finite-element mesh. Operators with a u' term, a variable u'' coefficient, more than one dimension, or inhomogeneous conditions stay unevaluated.

TriangleCenter of a symbolic triangle is not simplified

With numbers for vertices both bring each coordinate together and agree. With symbols wolframscript cancels and factors further:

wolframscript -code 'TriangleCenter[{{0, 0}, {a, 0}, {b, c}}, "Orthocenter"]'  # {b, ((a - b)*b)/c}
woxi eval 'TriangleCenter[{{0, 0}, {a, 0}, {b, c}}, "Orthocenter"]'            # the uncanceled barycentric quotient

The rule is not Together[ExpandAll[…]] alone (that matches the circumcenter and nine-point center but leaves a*b - b^2 where wolframscript writes (a - b)*b). It probably needs a Factor that pulls algebraic content (Factor[4 + 4 Sqrt[10]] is 4*(1 + Sqrt[10]) in wolframscript and unchanged in Woxi).

Control systems: response forms and plot details

  • OutputResponse[model, u, t] gives the inverse Laplace transform of G(s) U(s) through Together; wolframscript's forms come from its own state-space integration ({1 + (2*(-1 + E^t))/E^t} where Woxi has {(1 + 3*E^t)/E^t} for (s + 3)/(s + 1) and a unit step). Over a time span both are {InterpolatingFunction[…][t]}, but Woxi's samples a fixed-step Runge–Kutta simulation and interpolates linearly. An input step between two of its steps costs about 1e-4.
  • An inexact delay is written exactly and the rest numericized; where the 1. lands differs (Exp[-0.5 s]/(s + 1) gives 1. + s as the denominator in wolframscript and 1. + 1.*s in Woxi).
  • BodePlot draws the whole unwrapped phase. With a delay, wolframscript cuts the phase curve at a phase range it chooses ([φ0 - 180°, φ0] for E^-s/(s (s + 1))). NyquistPlot has no arrows, and the frequency range of NicholsPlot differs.
  • ToDiscreteTimeModel/ToContinuousTimeModel have the same values but write them differently (0.1*(1 + z) for wolframscript's 0.1*(1. + 1.*z); with "ForwardRectangularRule" wolframscript scales to {{{1}}, -9. + 10.*z}, Woxi to {{{0.1}}, {{-0.9 + 1.*z}}}). The hold methods ("ZeroOrderHold", "FirstOrderHold") and "ZeroPoleMapping" stay unevaluated.

PowerMod[a, 1/n, m] with multiple roots

When gcd(a,m)=1 and gcd(n, λ(m)) ≠ 1 with n ≥ 3, WL returns a specific root whose choice depends on per-prime CRT lifting and follows no smallest/largest rule — n=4 gives the largest for two probes and the smallest for a third. Woxi leaves those unevaluated rather than return a possibly-wrong root. The unique-root and no-root regimes match exactly, as does n=2. Not reproducible.

Boolean minimization

BooleanConvert ships every wolframscript form except "ESOP", but four differences remain:

  • DNF needs term merging, not just redundancy removal: (a&&!b)||(!a&&b)||(a&&b) is a || b in WL; Woxi keeps three terms.
  • CNF clause strengthening: (!a||b||c)&&(a||!b)&&(b||!c) — WL shortens the first clause to (!a||b).
  • Clause order when clause lengths differ: Xor[a, Implies[b,c]] — neither variables-first nor length-first reproduces WL together with (a||b)&&c.
  • Equivalent-but-different CNF choices: a&&b&&c||!a&&!b&&!c — WL keys on (a,b)/(b,c) pairs, Woxi on (a,c)/(b,c). WL also sometimes produces a resolution-redundant CNF and a non-minimal DNF cover that Woxi does not.

BooleanConvert[Nand[a,b,c], "ANF"] prints Nand[a, b, c] in WL (it does not rewrite the head) against Woxi's !(a && b && c), and BooleanConvert[Equivalent[Xor[a,b],c], "IF"] branches on c first, so WL's BDD variable order is not always alphabetical.

The "BDT", "IMPLIES" and "BFF" forms are unverified against wolframscript: "BDT" reuses the "IF" decision tree, "IMPLIES" folds the DNF from the right with x || y as Implies[!x, y] and x && y as !Implies[x, !y], and "BFF" applies the BooleanFunction["BDD" -> …] object to the variables. All three give the right function; WL may nest or order them differently.

BooleanFunction[k, n] and BooleanMinterms/BooleanMaxterms with an integer variable count normalize to the opaque BooleanFunction["BDD" -> …] object — implemented, encoding verified against WL for every function of 1, 3 and 4 variables and a sample of 5. The only remaining divergence is the too-few- arguments case: BooleanFunction[7, 2][True] and BooleanFunction[7, 2, {a}] both emit ::argr, but WL then leaks its internal BooleanConvert[…] wrapper into the returned expression where Woxi leaves the call as it stands.

LogicalExpand repeated literals (unverified)

LogicalExpand drops a conjunction holding x && !x and keeps a repeated literal once while it expands, so (a || b) && (a || c) gives a || (a && c) || (b && a) || (b && c). This was written while the engine was unactivated, so it is unverified: WL may write a && a, or absorb terms further (a || (b && c)).

SatisfiabilityInstances ordering

The default single instance (greedy True-first DFS) matches, and an unsatisfiable problem gives {}. The multi-instance and All ordering follows WL's internal BDD structure and differs per expression — a||b||c orders 7,3,1,5,2,6,4 while Majority[a,b,c] orders 7,6,5,3. Not reproducible.

Surd with a degree past i128

wolframscript -code 'ToString[Surd[8, 10^40], InputForm]'   # 8^(1/10000000000000000000000000000000000000000)
woxi eval 'Surd[8, 10^40]'                                  # Surd[8, 10000000000000000000000000000000000000000]

Surd builds the exponent with make_rational, which is i128-only, so a BigInteger degree leaves the call unevaluated. Degrees up to 10^38 work.

Convolve of two Gaussians leaves the constant as an unrationalized root

wolframscript -code 'ToString[Convolve[PDF[NormalDistribution[0, 1], x],
                     PDF[NormalDistribution[0, 2], x], x, y], InputForm]'
# 1/(E^(y^2/10)*Sqrt[10*Pi])
woxi eval 'Convolve[PDF[NormalDistribution[0, 1], x],
           PDF[NormalDistribution[0, 2], x], x, y]'
# Sqrt[(2*Pi)/5]/(2*E^(y^2/10)*Pi)

Same value — Sqrt[2 Pi/5]/(2 Pi) squared is 1/(10 Pi) — but Woxi does not pull the leftover Pi under the root and rationalize the result. This is the general Sqrt[q Pi]/Pi folding, not anything Convolve does; it only shows up here when the two widths do not divide out (equal widths, the common case, cancel exactly and agree). See also the Sqrt product-split note.

The sign of the squared shift used to diverge here too and no longer does: wolframscript prints whichever of (y - mu)^2 / (mu - y)^2 has the smaller LeafCount — its result has been through Simplify — with a tie going to the form that does not open with a minus. That reproduces all 11 measured shift shapes (3, s, s + t, 1 + s, Pi, 2 s, 2 s + 3 t, u v, s - t, -s - t, a + b).

Convolve of two Gaussians needs a literal width

wolframscript -code 'ToString[Convolve[PDF[NormalDistribution[m, s], x],
                     PDF[NormalDistribution[n, s], x], x, y], InputForm]'
# Sqrt[s^(-2)]/(2*E^((m + n - y)^2/(4*s^2))*Sqrt[Pi])
woxi eval 'Convolve[PDF[NormalDistribution[m, s], x],
           PDF[NormalDistribution[n, s], x], x, y]'
# Convolve[1/(E^((-m + x)^2/(2*s^2))*Sqrt[2*Pi]*s), …]

gaussian_shape reads the quadratic coefficient as a literal rational, so a symbolic standard deviation is not recognized and the call stays unevaluated. Symbolic means are recognized; only the width has to be a number.

RomanNumeral of 5000 and above

RomanNumeral[5078] stays unevaluated; WL prints an overbar on the leading V (V̄LXXVIII). The exact characters WL uses for the overbar are not known.

FullSimplify[Clip[-x] == -Clip[x]]

The reference page gives True (one-argument Clip is odd); Woxi's FullSimplify leaves the equation unevaluated.

Solve of an InterpolatingFunction equation stays symbolic in WL

Solve[f[t] == y, t] with f an InterpolatingFunction gives {{t -> InverseFunction[f, 1, 1][y]}} in WL, which only becomes a number under N (or when y is inexact); Woxi gives the number right away. The root itself agrees: both follow WL's ReduceNumericInverse, which runsFindRootfrom the starting points0.365626, -0.523097, …and keeps the first converged root (Woxi keeps one inside the domain first, then the first root found by scanning the domain, then one on the extrapolated curve). Where WL's and Woxi'sFindRootiterations differ (a Newton step far outside the domain of an NDSolve solution), WL may leaveInverseFunction[…][y]unevaluated even underN`, while Woxi returns the first root in the domain:

# s = NDSolve[{y''[t] == -9.8, y[0] == 3, y'[0] == 10}, y, {t, 0, 3}]
# Quiet[NSolve[(y /. s[[1]])[t] == 0, t]]
#   WL {{t -> InverseFunction[InterpolatingFunction[…], 1, 1][0.]}}
#   Woxi {{t -> 2.306284408328434}}

Special functions

ContinuousWaveletTransform coefficient values

wolframscript -code 'ContinuousWaveletTransform[{1,2,3,4,5,6,7,8.}]["Coefficients"][[1]]'
# {1, 1} -> {-1.0982370418505618, 0.13926308046164212, -0.06581530226016169, …}
woxi eval 'ContinuousWaveletTransform[{1,2,3,4,5,6,7,8.}]["Coefficients"][[1]]'
# {1, 1} -> {-4.079293102773578, -4.9986056247094, -4.050590191555365, …}

The octave/voice layout, scales and wavelet agree; the coefficients do not. Wolfram's are near zero inside the data and large at both ends, which looks like a circular (FFT) convolution of the uncentered data; Woxi correlates the mean-centered data with the sampled wavelet directly. Not decoded yet.

Mixed exact and machine complex ordering compares component types

Sort[{-2I,-1.5I,I,-I,1.5I,2I}] places the exact imaginary values before the machine complex values in Wolfram, because their real components are exact 0 rather than 0.. Woxi compares their numeric components and interleaves the machine values by imaginary magnitude. Exact complex magnitudes, coefficients, and exponential phases now sort correctly. Verified on 2026-11-07 while investigating fuzz seed 1794029749545146000.

LegendreP distributes but LaguerreL collects

Resolved for both (see collect_or_distribute in src/functions/math_ast/orthogonal_polynomials.rs), noted here because the split is wolframscript's and not derivable: LegendreP[2, E] is -1/2 + (3*E^2)/2 there but LaguerreL[2, E] is (2 - 4*E + E^2)/2, and LegendreP[2, x] goes back to the collected (-1 + 3*x^2)/2. The rule Woxi implements is "collect when the argument mentions a symbol" for LegendreP and "always collect" for LaguerreL.

HypergeometricPFQ residues

HypergeometricPFQ[{}, {b}, z] with a negative half-integer b below -5/2 diverges in shape: WL stops collecting and prints a nested Bessel form. Two smaller divergences live in the core Power normalizer and reproduce without any hypergeometric: (64/729)^(1/4) stays put where WL gives (2 Sqrt[2/3])/3, and Woxi's prefactor prints 4^(1/2 - b/2) where WL prints 2^(1 - b).

Hypergeometric1F1[a, b, z] now reduces exact symbolic arguments for positive integers 1 ≤ a < b ≤ 30, using the same beta-integral polynomial recurrence as rational arguments. This resolves seed 1794071016657654000's Hypergeometric1F1[2,3,Pi] and the delegated HypergeometricPFQ form. Higher parameters can still differ in display: Hypergeometric1F1[1,4,x] is 3*(-2+2*E^x-2*x-x^2)/x^3 in Woxi versus -3*(2-2*E^x+2*x+x^2)/x^3 in Wolfram. For Hypergeometric1F1[2,4,x], Woxi gives 6*(2-2*E^x+x+E^x*x)/x^3, while Wolfram retains nested quotients. The symbolic formulas satisfy Kummer's differential equation; these remaining differences concern representation.

Carlson elliptic integrals

CarlsonRF[0, y, z] with distinct non-zero arguments needs CarlsonRK, and symbolic CarlsonRC[y, y] needs a Piecewise — both unimplemented, so Woxi echoes. CarlsonRK and CarlsonRM are unimplemented outright.

InverseWeierstrassP[p, {g2, g3}] is -CarlsonRF[p-e1, p-e2, p-e3], moved one real period right when its real part lies left of -ω/2 (real invariants). That representative rule was fitted to the nine reference-page values; it is unverified for three real roots and for complex invariants beyond the one page example. N[InverseWeierstrassP[1/3, {1, 2}], 50] needs complex arbitrary-precision CarlsonRF and stays at machine precision.

Weierstrass and elliptic gaps

WeierstrassHalfPeriods covers only the real positive-discriminant case; the rhombic case needs a complex EllipticK. WeierstrassInvariants[{1,I}] and WeierstrassHalfPeriods[{4,0}] with exact arguments give Gamma closed forms in WL and stay symbolic in Woxi. WeierstrassZeta, WeierstrassSigma, SiegelTheta and QPolyGamma are unimplemented.

Neville theta values are 1–2 ULP off wolframscript on some points.

Mathieu functions

MathieuC[1, 2, 0.5] is 0.26 + 1.17 I in WL — the Mathieu functions are complex for a characteristic value in an unstable region (a complex characteristic exponent). Woxi returns a real value there. For a stable (a, q) with a non-integer exponent Woxi takes wolframscript's Floquet normalization (unit-norm Fourier coefficients) and agrees; for an integer exponent (the periodic ce/se) it keeps the y(0) = 1 / y'(0) = √a scaling.

SphericalHarmonicY numericizes exact angles

SphericalHarmonicY[l, m, Pi/2, 0] returns a machine float (e.g. 2.99…*^-17 instead of an exact 0) where wolframscript returns the exact symbolic form. Two residual form divergences remain even on the symbolic path: Sqrt[Pi^(-1)] against 1/Sqrt[Pi], and E^(I k Pi) against (-1)^k.

LaguerreL with a fractional second argument

Value correct, form divergent: (105/8 - (105*x)/4 + (21*x^2)/2 - x^3)/6 in Woxi against (105 - 210*x + 84*x^2 - 8*x^3)/48 in WL. WL's evaluator does not hoist content out of Times[1/6, Plus[…]] when typed directly, so LaguerreL must build the common denominator internally — but LaguerreL[1, 1/2, x] stays 3/2 - x rather than (3 - 2*x)/2, so it is not a plain Together either. Integer second arguments match.

WignerD[{1,0,0}, Pi/2]

Gives 2.22e-16 instead of an exact 0.

LerchPhi[…, DoublyInfinite -> True] returns a real number

wolframscript -code 'LerchPhi[1, 2, 0.5, DoublyInfinite -> True]'  # 9.8696 + 0. I
woxi eval 'LerchPhi[1, 2, 0.5, DoublyInfinite -> True]'             # 9.86960440108936

Woxi adds LerchPhi[1/z, s, 1 - a]/z to the one-sided sum, which stays real here; wolframscript's value carries a 0. imaginary part. The doubly infinite sum is only evaluated for numeric, inexact arguments.

LerchPhi outside the unit disc

The numeric path sums Σ z^k/(k+a)^s and converges only for |z| < 1 (plus a tail for z = 1, s > 1); outside that region the call is unevaluated. wolframscript continues analytically — LerchPhi[2, 3, -1.5] → 51.981861922538684 - 2.1345964981239467*I. A correct implementation needs Crandall's algorithm or a contour formula.

SyntaxLength is unimplemented

wolframscript -code 'SyntaxLength["1+"]'   # 4
woxi eval 'SyntaxLength["1+"]'             # SyntaxLength[1+]  (+ "not yet implemented" warning)

SyntaxLength[s] is the length of the longest prefix of s that could still begin a complete expression — 4 for "1+" (WL counts past the end of the string, since more input could complete it).

Capitalize[str, "TitleCase"] is unimplemented

The algorithm is verified (tokenize on whitespace, first and last words capitalized, middle "small words" lowercased), but the small-word set is WL's complete internal preposition/conjunction/article list, keyed on the literal word. 130+ candidates were tested and it kept growing — common (a, the, of), participial (considering, barring, notwithstanding, but not excluding/following), and archaic (betwixt, qua, ere, sans, cum, nigh, outwith, thru, contra, vice). Any finite list diverges on untested words. Not reproducible. SpokenString and TextCases entity extraction are the same class.

TextSentences grouping

WL's segmenter groups short sentences oddly ("One. Two. Three." → {"One.", "Two. Three."}) while handling "Dr. Smith went home." correctly. Woxi's straightforward splitting is the sensible answer. Not reproducible.

Hash[expr] for non-strings

wolframscript hashes an internal serialization: Hash[1, "CRC32"] is 3017272578 and Hash[{1,2}, "CRC32"] is 1789268987, matching CRC32 of neither the WXF, the InputForm text, the FullForm text, nor an integer encoding. Strings and ByteArrays are special-cased to raw bytes and do match, as do all the named algorithms on them. Hash[expr] with no type is WL's proprietary 64-bit expression hash. Compress output length differs too (their container format). Not reproducible.

Distributions and statistics

Goodness-of-fit p-values other than Kolmogorov–Smirnov, Cramér–von Mises and Pearson

wolframscript -code '{AndersonDarlingTest[#, w], KuiperTest[#, w], WatsonUSquareTest[#, w]} &[{1.2, 2.3, 1.9, 3.1, 2.2}] /. w -> WeibullDistribution[2., 2.5]'
# {0.7774542220369554, 0.588057276340719, 0.4747782205540094}
woxi eval '…same…'   # {0.7785318445270717, 0.582206479184168, 0.4867170128931776}

The test statistics agree. Woxi's p-values come from Marsaglia's finite-sample Anderson–Darling CDF, Stephens' modified Kuiper and Watson statistics, and the asymptotic series; none of these, and no exact-distribution variant tried, gives wolframscript's numbers, which are deterministic. Kolmogorov–Smirnov uses Marsaglia, Tsang & Wang's exact distribution as wolframscript does, and agrees except far in the tail of large samples (n = 998, D = 0.1024: Woxi 1.4481e-9, equal to twice the exact one-sided Smirnov tail; wolframscript 1.4208e-9). KolmogorovSmirnovTest[data1, data2] (two samples) is not implemented.

Most distribution divergences are the Plus/Times ordering and Sqrt-split classes above, reached through a moment formula. The recurring shapes:

  • Sqrt product split — Sqrt[2 nu] against WL's Sqrt[2] Sqrt[nu], reached through StandardDeviation[ChiSquareDistribution[nu]], Nakagami's numeric Mean, Hoyt's numeric Mean (4*Sqrt[1/(5*Pi)]*EllipticE[3/4] against (4*EllipticE[3/4])/Sqrt[5*Pi]), SkewNormal's Mean[0,1,1] (Sqrt[Pi^(-1)] against 1/Sqrt[Pi]) and VarianceGamma's integer-λ branches.
  • Plus term order in a two-term variance — most distribution variances are a two-term difference and hit it. Named instances: LogLogistic, LogSeries, Coxian, Hyperexponential, TukeyLambda, Wakeby, Weibull (3-arg), Suzuki, PERT, Benini, Dirichlet.
  • Times factor order — Pi sorts ahead of a function-containing sum in Woxi (4 Pi (…) against WL's 4 (…) Pi), and p^(-1+k)*(1-p) against WL's (1-p)*p^(-1+k).

Distributions compute with out-of-range parameters

wolframscript -code 'PDF[NormalDistribution[0, -1], 0.3]'
# NormalDistribution::posprm: Parameter -1 at position 2 in
# NormalDistribution[0, -1] is expected to be positive.
woxi eval 'PDF[NormalDistribution[0, -1], 0.3]'
# -0.3813878…

A negative probability density. Constructing the distribution is fine in both (BetaDistribution[4, -1] echoes silently); the divergence is in using one. The same applies to PDF, Quantile and Mean. Woxi has a validator, but it is wired only to DistributionParameterQ and returns a bare boolean — the message needs the offending parameter's position and value.

Raw moments are missing for most distributions

Moment[dist, n] for n ≥ 3 returns unevaluated except for Bernoulli, Exponential, Uniform, Normal (symbolic n ≤ 4), Gamma, Poisson and ChiSquare, which cascades into Skewness/Kurtosis not reducing. Two structural notes: the order-2 raw moment is computed by a separate variance-plus-mean² path, so Moment[dist, 2] prints expanded (2k+k^2) not WL's factored k(2+k); and raw Moment[dist, n] diverges anyway for the distributions whose WL answer is an incomplete-Gamma form.

Beta raw moments are deliberately not added: its central moments are rational functions in a,b that Woxi's simplifier cannot collapse, so Skewness/Kurtosis[Beta] would explode into 100+ term expressions against WL's compact form.

Skewness of a scale-parameter distribution is a positivity rabbit hole — Skewness[ExponentialDistribution[l]] is 2/(l^(-2))^(3/2)*l^3, value correct but not simplified to 2 without knowing l > 0.

Central moments of a distribution factor differently

wolframscript -code 'ToString[CentralMoment[BernoulliDistribution[p], 3], InputForm]'
# (1 - p)*p*((1 - p)^2 - p^2)
woxi eval 'CentralMoment[BernoulliDistribution[p], 3]'
# p - 3*p^2 + 2*p^3

Even constructing the factored form does not help: Woxi reorders the inner Plus to (1-p)*p*(-p^2 + (1-p)^2). Skewness and Kurtosis of such distributions diverge for the same reason.

Probability of a normal tail uses a different Erf form

wolframscript -code 'ToString[Probability[x > 1, x \[Distributed] NormalDistribution[0,1]], InputForm]'
# (1 - Erf[1/Sqrt[2]])/2
woxi eval 'Probability[x > 1, x \[Distributed] NormalDistribution[0,1]]'
# (2 - Erfc[-(1/Sqrt[2])])/2

CDF and SurvivalFunction of the same distribution do match. WL is entangled with itself here — its SurvivalFunction[Normal, 1] is the unsimplified 1 - Erfc[-(1/Sqrt[2])]/2 while Probability[x > 1] is the Erf form, so there is no single canonical target for numeric arguments.

Per-distribution scope gaps

Left unevaluated because WL's own output is an unreproducible form:

distribution what is missing
Coxian mixed repeated/distinct rates, float and symbolic-rate PDF/CDF
Hypoexponential repeated rates (Erlang-style terms)
TsallisQGaussian CDF for numeric q ≠ 1 (WL collapses 2F1 per q), float params
TukeyLambda any λ outside {0, ±1, 1/2, 2}; λ=3 is a Root form in WL
Wakeby symbolic Mean/Variance and symbolic-q Quantile ordering
VarianceGamma CDF (WL's forms are partially unexpanded)
Hoyt CDF (needs MarcumQ)
SkewNormal Skewness/Kurtosis; CDF at a=1 has a special squared form in WL
NegativeMultinomial CDF with symbolic parameters; symbolic StandardDeviation
HotellingTSquare 1-ULP coefficient gap for non-integer float parameters
Wishart PDF (needs MatrixGammaFunction), RandomVariate
FailureDistribution duplicated events, Mean (inclusion-exclusion sums)
DiscreteMarkovProcess bare StationaryDistribution, MarkovProcessProperties, CDF, graph constructor
FirstPassageTime symbolic-t PDF, probability-vector initial states
PERT Median (WL gives InverseBetaRegularized/Root forms)
LogSeries RandomVariate, Median, Quantile
PolyaAeppli PDF, CDF
Benford, WaringYule, 4-arg Gamma, Davis unimplemented
Beckmann, Landau, Pearson, NoncentralBeta numeric PDF/CDF/Quantile only: no moments, RandomVariate, Pearson's symbolic closed forms or its ::bprm check

LandauDistribution's machine PDF differs from WL's in the 7th digit (PDF[LandauDistribution[1, 2], 0.5]: Woxi 0.135915122…, WL 0.135915057…); NIntegrate of WL's own defining integral gives 0.135915122…, so WL's density routine is the approximate one. Its CDF and quantiles agree to about 1e-10.

Also: DiscreteUniformDistribution's StandardDeviation is Sqrt[X/12] against WL's Sqrt[X]/(2 Sqrt[3]), and ExpGammaDistribution's PDF is unimplemented (exponent Plus order).

VarianceEquivalenceTest: choice of the automatic test

The statistics and p-values match wolframscript to the last digits, but the automatic test is picked by Woxi's own normality check of the pooled residuals (Anderson–Darling with estimated parameters at 5%): Fisher ratio (two samples) or Levene (more) when they look normal, Conover otherwise. Wolfram's rule is not documented and may disagree on borderline data; the HypothesisTestData object also prints as an association rather than Wolfram's opaque form.

HierarchicalClusteringAgglomerate`: ties

Merge heights match the package for every linkage, but with equal dissimilarities Woxi merges the earliest pair and lists the child holding the lower data index first, while the package's order differs (Agglomerate[{1, 2, 4, 10, 11, 20}] has Cluster[11, 10, …] there, Cluster[10, 11, …] here), and it never prints Agglomerate::ties. DendrogramPlot ignores TruncateDendrogram, HighlightLevel and PlotStyle.

MovingMap[Mean, …] stays exact

wolframscript -code 'MovingMap[Mean, {1,2,3,4,5}, 2]'  # {2., 3., 4.}
woxi eval 'MovingMap[Mean, {1,2,3,4,5}, 2]'            # {2, 3, 4}

The trigger is the applied function, not the window: MovingMap[Total, …] stays exact in both. Mean[{1,2,3}] is exact on its own, yet WL floats it inside MovingMap. Which functions WL numericizes is not determinable without a large probe; Woxi's exact behavior is arguably the better one. Not reproducible.

Robust statistics that iterate

  • BiweightLocation is iterative in machine floats in WL and returns unconverged trailing digits ({1,2} → 1.4999988566906757) even for exact input. BiweightMidvariance is closed-form and matches.
  • SpatialMedian uses an unconverged Weiszfeld iteration (0.5773502623362886 against the true 1/Sqrt[3]). Only 1-D inputs, which reduce to Median, are reproducible.

Not reproducible.

EstimatedDistribution is unimplemented

Mean, Quantile and RootMeanSquare of an EventSeries or TemporalData

Unevaluated.

FinancialDerivative of an American option is unimplemented

Only European calls and puts (Black–Scholes–Merton price and Greeks) are there; an {"American", …} contract stays unevaluated, so its "CriticalValue" feeds a symbolic bound into the optimization that follows (Demonstrations GeskeJohnsonMethod, MaximizingABermudanPutWithTwoEarlyExerciseTemporalPoints). WL prices these on a finite-difference grid ("GridSize" -> {1000, Automatic}):

wolframscript -code 'FinancialDerivative[{"American", "Put"}, {"StrikePrice" -> 45., "Expiration" -> 3.}, {"InterestRate" -> 0.07, "Volatility" -> 0.3, "CurrentPrice" -> 40., "Dividend" -> 0.}, "CriticalValue", "GridSize" -> {1000, Automatic}]'
# 30.855855855855857

Linear algebra

Inverse::luc is never issued

Inverse[{{1., 1.}, {1., 1. + 1*^-15}}] gives the same numbers as wolframscript but without its "badly conditioned matrix" warning; Woxi only reports Inverse::sing for an exactly zero pivot.

SingularValueDecomposition of an exact matrix stays unevaluated

wolframscript -code 'SingularValueDecomposition[{{1, 2}, {3, 4}, {5, 6}}]'  # exact radicals
woxi eval 'SingularValueDecomposition[{{1, 2}, {3, 4}, {5, 6}}]'            # unevaluated

Only machine-precision matrices are decomposed. Demonstration ExploratoryFactorAnalysis normalizes exact data and runs its alternating least squares on such exact matrices.

Symbolic Inverse with rational entries normalizes one sign differently

wolframscript -code 'Inverse[{{1/2, x}, {x, 1}}]'  # {{-2/(-1 + 2*x^2), (2*x)/(-1 + 2*x^2)}, {(2*x)/(-1 + 2*x^2), -(-1 + 2*x^2)^(-1)}}
woxi eval 'Inverse[{{1/2, x}, {x, 1}}]'            # {{-2/(-1 + 2*x^2), (2*x)/(-1 + 2*x^2)}, {(2*x)/(-1 + 2*x^2), (1 - 2*x^2)^(-1)}}

Woxi brings each entry together on its own; Wolfram gives every entry the denominator -1 + 2 x^2. Polynomial matrices without rationals agree.

Float matrices with complex eigenvalues

Wolfram complexifies the whole result and orders each conjugate pair with +I first: {0. + 1.*I, 0. - 1.*I, 1. + 0.*I}. Woxi complexifies the whole result too (n ≥ 3, via QR iteration), but sorts by decreasing magnitude only, so exact magnitude ties between a pair and a real value can order differently ({0. + 1.*I, 1. + 0.*I, 0. - 1.*I}). Complex Eigenvectors use unit length with a real largest component; LAPACK's phase/sign conventions are not reproducible. 2×2 float matrices with complex eigenvalues stay as before.

Generic dense float matrices also differ in the last 1–2 digits from WL/LAPACK.

Eigenvalues of arbitrary-precision matrices come back at machine precision

wolframscript -code 'Eigenvalues[{{2.6`6, -0.7`6, 0.2`6}, {-0.7`6, 0.3`6, -0.1`6}, {0.2`6, -0.1`6, 0.1`6}}]'  # arbitrary-precision reals (not measured)
woxi eval 'Eigenvalues[{{2.6`6, -0.7`6, 0.2`6}, {-0.7`6, 0.3`6, -0.1`6}, {0.2`6, -0.1`6, 0.1`6}}]'            # {2.8140592879545916, 0.13646374447733417, 0.04947696756807616}

Woxi computes the eigenvalues of a matrix with arbitrary-precision entries (and so Norm of such a matrix) in machine arithmetic. Wolfram keeps arbitrary precision and tags the result with a precision derived from the input's, which was not measured.

SchurDecomposition and SmithDecomposition factors are non-unique

Wolfram's LAPACK eigenvalue ordering along t and the column signs of q are not reproducible independently ({{1,2},{3,4}} — WL puts −0.372 first, Woxi 5.372). Test the defining properties instead. RealBlockDiagonalForm -> False (the complex Schur form) is unimplemented.

SmithDecomposition's u and v differ the same way, and WL sometimes keeps a negative diagonal entry in s ({{1,0},{0,-2}} stays) while Woxi always normalizes to the canonical non-negative SNF — six probe rounds produced no rule. Woxi's answer is the mathematically canonical one. Not reproducible.

JordanReduce scope

Left unevaluated: eigenvalues containing Root objects (WL's diagonal ordering there is neither Eigenvalues order nor ascending), and inexact matrices with n ≥ 3 and repeated eigenvalues (WL clusters with a tolerance).

LDLDecomposition and FrobeniusReduce on inexact or symbolic input

Left unevaluated. WL's float LDL shows LAPACK-internal rounding (D = {4., 2.0000000000000004} where plain f64 gives exactly 2.0), and its FrobeniusReduce returns precision-tagged arbitrary-precision reals whose precision comes from internal error tracking. Symbolic matrices come back with unsimplified algorithm-internal quotients.

Also found: FrobeniusReduce[m, Modulus -> -5] reproducibly crashes the wolframscript kernel (exit 139); Woxi returns unevaluated.

BunchKaufmanDecomposition and PopovDecomposition

Both deferred. Bunch-Kaufman's BlockDiagonalMatrix payload has encoder quirks (a whole-matrix antidiagonal 2×2 pivot is stored as two permuted 1×1 blocks) plus LAPACK pivot-order replication in exact arithmetic. Popov normalizes over ℤ[x] rather than ℚ[x] — constant matrices get integer Hermite normal form, pivots are not made monic, and rational entries get content cleared.

BlockUpperTriangularMatrix / BlockLowerTriangularMatrix

Not constructors: they find a matrix's finest block-triangular permutation and return a structured array. The component ordering is a Dulmage–Mendelsohn decomposition needing a perfect bipartite matching first, and WL's tie-breaking would be high-risk to match.

MatrixFunction and MatrixExp on irrational results

Both produce value-correct but unsimplified, form-divergent results for non-diagonal matrices with irrational entries — (3E-E^3)/2-E+E^3 against WL's E/2+E^3/2, (1+Sqrt[3])/2 against WL's split 1/2+Sqrt[3]/2. Diagonal and integer-result cases match. MatrixExp on complex/rotation matrices is value-correct but Woxi simplifies to Cos/Sin where WL 15 keeps E^±I combinations.

MatrixExp[I t m] for a symbolic t and an exact 3×3 Hermitian m (e.g. a Gell-Mann matrix) now evaluates, but stays in the (1 + E^(2 I t))/(2 E^(I t)) form because Simplify does not fold it to Cos[t]/I Sin[t].

FourierDCTMatrix for n ≥ 5

Values agree to ~15 digits; the radical display diverges — WL canonicalizes Sqrt[(5/8+Sqrt[5]/8)/5] where Woxi gives Sqrt[5/8+Sqrt[5]/8]/Sqrt[5], and WL folds 2/(2 Sqrt[3]) to 1/Sqrt[3].

SymmetricReduction two-argument form

Value correct always, but the display order diverges for some higher-degree two-variable cases: x^3+y^3 gives (x+y)^3-3*x*y*(x+y) in Woxi against WL's -3*x*y*(x+y)+(x+y)^3. The three-argument form is fully conformant.

Symmetrize of a symbolic tensor

Symmetrize[T, Symmetric[{1,2,3}]] for a bare symbol T should give the explicit (T + TensorTranspose[T, {2,1}] + …)/6. Woxi leaves it unevaluated: TensorTranspose on a symbol errors, and wolframscript's term order truncates trailing fixed points.

ArrayFlatten[a, r]

The two-argument form is unimplemented (Woxi reports argx). Ragged block-tensor assembly, rarely used.

RotationMatrix / RotationTransform about a symbolic axis

Woxi leaves a 3D rotation about a non-numeric axis unevaluated (RotationTransform[Pi, {0, 0, x}, {1, 0, 0}] echoes). Wolfram does return something, but only as an unsimplified artifact of its internal Gram–Schmidt:

wolframscript -code 'RotationMatrix[Pi, {0, 0, x}]'
# {{-((x Conjugate[x])/Abs[x]^2), 0, 0}, {0, -1, 0}, {0, 0, (x Conjugate[x])/Abs[x]^2}}

Note the asymmetry — entry (1,1) keeps the un-canceled x Conjugate[x]/Abs[x]^2 (which is just 1) while entry (2,2) is a plain -1, so the two diagonal entries of the same rotation print differently. A fully symbolic axis {a, b, c} produces roughly 8 KB of nested Conjugate[1/Sqrt[a Conjugate[a] + b Conjugate[b]]] terms, with Sqrt[(a Conjugate[a] + b Conjugate[b])/(a Conjugate[a])] denominators that are singular exactly on the coordinate axes. The output is not a canonical form (and is not a real rotation matrix for complex components), so there is nothing stable to conform to. Not reproducible; the affected unit test is listed in EXACT_EXPR_SKIP in tests/wolframscript/verify_unit_tests.ts.

NumberFieldDiscriminant

Non-maximal orders are unevaluated (Sqrt[2]+Sqrt[3] → WL 2304 via a full conductor/Round-2 computation), as are non-monic minimal polynomials of degree ≥ 3.

MatrixPower to a symbolic power

MatrixPower[{{0, a}, {b, 0}}, n] stays unevaluated. The reference page gives the eigen-decomposition form

{{(1/2) (-Sqrt[a] Sqrt[b])^n + (1/2) (Sqrt[a] Sqrt[b])^n, …}, …}

Orthogonalize[…, Dot] orders the norm's squares differently

Orthogonalize[{{a, b}, {x, y}}, Dot] matches the reference page's unsimplified Gram–Schmidt form except inside the norm: WL writes Sqrt[(x - (a (a x + b y))/(a^2 + b^2))^2 + (y - (b (a x + b y))/(a^2 + b^2))^2], Woxi puts the y square first. The cause is canonical ordering: Sort[{-(a*(a*x + b*y))/(a^2 + b^2), -(b*(a*x + b*y))/(a^2 + b^2)}] puts the b term first in Woxi.

LinearSolve[m] is not a LinearSolveFunction

The operator form LinearSolve[m] / LinearSolve[m, opts] stays as that unevaluated call in Woxi (applying it to a vector solves the system); WL returns a LinearSolveFunction[dims, data] object holding the factorization:

wolframscript -code 'LinearSolve[{{2, 1}, {1, 3}}, Method -> "Cholesky"]'
# LinearSolveFunction[{2, 2}, {3, True, {{{Sqrt[2], 1/Sqrt[2]}, {0, Sqrt[5/2]}}, None, 0}, …}]
woxi eval 'LinearSolve[{{2, 1}, {1, 3}}, Method -> "Cholesky"]'
# LinearSolve[{{2, 1}, {1, 3}}, Method -> Cholesky]

Building that factorization is also where WL's operator form reports a matrix that is not positive definite, under other names than the three-argument form's LinearSolve::npdef (which Woxi uses for both): CholeskyDecomposition::npdef for an exact matrix and, for a machine one, LinearSolve::posdef: -- Message text not found -- ({{1., 2.}, {2., 1.}}).

Expression structure and evaluation

BooleanConvert[…, "ESOP"] and non-Boolean variables

Woxi leaves BooleanConvert[expr, "ESOP"] unevaluated; wolframscript writes the DNF with its terms made mutually exclusive (Xor[b, !a && !b] for Implies[a, b]). TautologyQ and SatisfiableQ treat a comparison such as x > 1 as one more Boolean variable, where wolframscript reports ::boolv (and BooleanVariables[x > 1] is {x <= 1} there):

wolframscript -code 'SatisfiableQ[x > 1 && a]'   # SatisfiableQ::boolv … unevaluated
woxi eval 'SatisfiableQ[x > 1 && a]'             # True

The parts of a sum with a complex number

Woxi stores x + 2 + 3 I as Plus[2, x, 3 I], with the real and the imaginary part of the number as separate terms. FullForm, LeafCount and Map see the single Complex[2, 3] that wolframscript holds, but Part, Level, Length and Apply still see three terms:

wolframscript -code '{Length[x + 2 + 3 I], List @@ (x + 2 + 3 I)}'  # {2, {2 + 3*I, x}}
woxi eval '{Length[x + 2 + 3 I], List @@ (x + 2 + 3 I)}'            # {3, {2, x, 3*I}}

Fixing it means storing the number as one term in Plus.

Endless rewrites stop at $RecursionLimit, not $IterationLimit

wolframscript -code 'a := b; b := a; a'           # $IterationLimit::itlim … TerminatedEvaluation[IterationLimit]
woxi eval 'a := b; b := a; a'                     # $RecursionLimit::reclim … TerminatedEvaluation[RecursionLimit]
wolframscript -code 'f[x_] := f[x + 1]; f[1]'     # $IterationLimit::itlim (4096 rewrites)
woxi eval 'f[x_] := f[x + 1]; f[1]'               # $RecursionLimit::reclim

WL counts an expression rewritten into a new one in place (a symbol whose value is another symbol, a call whose rule returns another call at the top) against $IterationLimit; only a rewrite nested inside a subexpression (x = x + 1, z = {z}) goes against $RecursionLimit. Woxi has only the recursion limit in general ($IterationLimit is honored for a few rules that rewrite to themselves), so both kinds end with RecursionLimit.

SameQ of reals nested more than 256 levels deep

wolframscript -code 'Nest[f, 1., 300] === Nest[f, 1.0000000000000002, 300]'   # True
woxi eval 'Nest[f, 1., 300] === Nest[f, 1.0000000000000002, 300]'             # False

SameQ identifies machine reals one unit in the last place apart anywhere in an expression, but Woxi's structural comparison stops at depth 256 (to stay off the stack limit) and calls deeper differently-spelled reals different.

A held Infinity is not the symbol

wolframscript -code 'ToString[FullForm[Hold[-Infinity]]]'   # Hold[Times[-1, Infinity]]
woxi eval 'ToString[FullForm[Hold[-Infinity]]]'             # Hold[DirectedInfinity[-1]]

Woxi stores Infinity as one identifier whether or not it has evaluated, so FullForm always shows the evaluated DirectedInfinity[1] (and -Infinity the evaluated DirectedInfinity[-1]). Unheld, both agree.

A package symbol answers before its package has been loaded

wolframscript -code 'ToString[InterpolatingFunctionDomain[
                     Interpolation[{1, 4, 9, 16}]], InputForm]'
# InterpolatingFunctionDomain[InterpolatingFunction[{{1, 4}}, …]]
woxi eval 'InterpolatingFunctionDomain[Interpolation[{1, 4, 9, 16}]]'
# {{1, 4}}

InterpolatingFunctionDomain and its InterpolatingFunctionAnatomy siblings live in a package a fresh kernel does not autoload, so without Needs["DifferentialEquationsInterpolatingFunctionAnatomy"] wolframscript reads the name into Global`` and echoes the call back. Woxi keeps every built-in in one namespace —Needson a context that ships with the language is a no-op — so the name works either way, which makes Woxi a superset here rather than a mismatch. Writing theNeeds` makes the two agree; there is no way to make Woxi withhold the symbol without giving up the flat namespace.

A package with its own context is different: GraphUtilitiesVertexList[…]before anyNeeds["GraphUtilities"] stays unevaluated in both.

GraphUtilities` functions that shadow System symbols, loaded in an earlier input

printf 'Needs["GraphUtilities`"]\nPrint[GraphUtilities`VertexList[{a -> b}]]\n' > t.wls
wolframscript -file t.wls
# VertexList::shdw: Symbol VertexList appears in multiple contexts …
# VertexList[{a -> b}]
woxi run t.wls
# {a, b}

With the Needs in the same input (Needs["GraphUtilities"]; GraphUtilitiesVertexList[{a -> b}]) wolframscript answers {a, b} too. Loaded by an earlier input, every package function whose name is also a System symbol (VertexList, ClosenessCentrality, AdjacencyMatrix) stays unevaluated after a ::shdw warning. Woxi evaluates them however the package was loaded, so the unit tests write the Needs into the same input.

Unevaluated comes off for some heads and not others

The wrapper is stripped where it was verified to matter — the arithmetic and structural operators, SameQ/UnsameQ, Print, and the built-ins that already took it (Length, Head, Sqrt, Options, Information) — but not as the general rule Wolfram applies, which takes every Unevaluated[…] off just before the head's own rules run and puts it back if nothing was consumed:

wolframscript -code 'Print[Unevaluated[1] < 2]'
# True
woxi eval 'Unevaluated[1] < 2'
# Unevaluated[1] < 2

The arithmetic comparisons are the ones this reaches. Wolfram compares the unevaluated content and answers Unevaluated[1 + 1] == 2 with the comparison itself; Woxi would have to evaluate the content to compare it at all, so stripping there would answer True where Wolfram does not. The wrapper is therefore left in place for ==, <, > and their relatives.

Rubi loads and integrates, but not everything it computes agrees

The Rubi rule base is the densest available exercise of the pattern matcher and the definition store: 7000 rules, all read back out of DownValues and rewritten before use. It loads unmodified, integrates, and its step display ($LoadShowSteps = True, Steps) works. On a 30-integral sample 27 answers are character-for-character wolframscript's and the other 3 are the same function written another way; the IntWithStepsOfTeXForm notebook reproduces three of its four examples exactly. What is left, all of it ordinary Woxi behavior rather than anything about the package:

  • Loading takes about a minute against roughly twenty seconds under wolframscript, three with the step display.
  • Int[Sin[x]^3*Cos[x]^2, x] and Int[Sin[x]*Cos[x]^3, x] run for minutes and exhaust memory. wolframscript answers both instantly.
  • Int[E^x*x, x] is -Gamma[2, -x] where Rubi gives -E^x + E^x*x, and Int[1/(a + b*Cos[x]), x] reaches its arctangent through another substitution: a different rule fires first. Equivalent antiderivatives.
  • x^2*Sqrt[a^2 - x^2] prints as Sqrt[a^2 - x^2]*x^2 (the Times order of a power of a sum against a power of a symbol), and one intermediate sum of Int[Sqrt[Tan[x]], x] lists two Subst terms the other way round (see the ordering entries above).
  • The rule text recorded beside each step keeps its FreeQ conditions and is written in linear box syntax rather than DisplayForm, and the rule numbers differ (7391 rules against 7300).

A held ;-sequence is not bracketed inside a tighter operator

wolframscript -code 'Hold[(a; b) + c]'
# Hold[(a; b) + c]
woxi eval 'Hold[(a; b) + c]'
# Hold[a; b + c]

CompoundExpression has the lowest precedence of any operator, so the printed form re-parses as CompoundExpression[a, Plus[b, c]] — a different expression. Inside a call it is right: Hold[f[(a; b), c]] prints as Hold[f[a; b, c]], as wolframscript does.

Newline-separated statements become one CompoundExpression

wolframscript -code 'ToExpression["2\n3", InputForm, Hold]'
# Hold[2, 3]
woxi eval 'ToExpression["2\n3", InputForm, Hold]'
# Hold[2; 3]

The reader turns every statement separator into a ; before parsing, so it cannot tell a newline from one. A ;-separated program agrees (ToExpression["2; 3", InputForm, Hold] is Hold[2; 3] in both), and so does a trailing ; (Hold[a := 1; ]).

Derivative[n][f][x] is stored flat, so structural functions see three parts

wolframscript -code 'Head[Derivative[1][g][x]]'      # Derivative[1][g]
woxi eval 'Head[Derivative[1][g][x]]'                # Derivative

wolframscript -code 'Length[Derivative[1][g][x]]'    # 1
woxi eval 'Length[Derivative[1][g][x]]'              # 3

wolframscript -code 'Apply[f, Derivative[1][g][x]]'  # f[x]
woxi eval 'Apply[f, Derivative[1][g][x]]'            # f[1, g, x]

Woxi stores it flat rather than as nested curried calls. The renderer prints it correctly and D returns the right thing, so only structural introspection diverges — Head, Length, Part, Level, Map and Apply all leak the internal shape.

Unevaluated[…] is not transparent to structural functions

wolframscript -code 'Unevaluated[1 + 1] // Head'   # Plus
woxi eval 'Unevaluated[1 + 1] // Head'             # Unevaluated

wolframscript -code 'Depth[Unevaluated[1 + 1]]'    # 2
woxi eval 'Depth[Unevaluated[1 + 1]]'              # 3

Length, AtomQ and Head now agree; Depth, First and Part still see the wrapper (Part[Unevaluated[1+2], 1] gives 3 where WL gives 1). The arithmetic consumers are also open: Unevaluated[1+1] + 1 is 1 + Unevaluated[1 + 1] rather than 3, and Total/Identity behave the same way. Woxi's model is per-consumer stripping because the real rule is not the published "strip unless HoldAllComplete".

The same per-consumer stripping is why a wrapper a pure function's body produced is stripped one level too eagerly. WL strips only wrappers written literally in an argument list, so a produced one survives into any consumer:

wolframscript -code 'Head[(Unevaluated[Sequence[#, #^2]] &)[3]]'   # Unevaluated
woxi eval 'Head[(Unevaluated[Sequence[#, #^2]] &)[3]]'             # Sequence

Structural positions agree — {0, (Unevaluated[Sequence[#, #^2]] &)[3], 9} is {0, Unevaluated[Sequence[3, 3^2]], 9} and f[…] keeps the wrapper in both — and so do the strippers whose wrapper was literal. Only an argument-consuming built-in (ToString, Length, Head) fed a produced wrapper diverges; telling the two apart needs the literal-ness of each argument threaded through to the built-in dispatch.

A loop body is an argument-consuming position of the same kind, so a wrapper written there survives where WL strips it and evaluates what was inside:

wolframscript -code 'Table[Unevaluated[1 + 1], {i, 2}]'   # {2, 2}
woxi eval 'Table[Unevaluated[1 + 1], {i, 2}]'             # {Unevaluated[1 + 1], Unevaluated[1 + 1]}

wolframscript -code 'Do[Print[Unevaluated[1 + 1]], {i, 1}]'   # 2
woxi eval 'Do[Print[Unevaluated[1 + 1]], {i, 1}]'             # Unevaluated[1 + 1]

A definition's bare symbol argument becomes a blank pattern

SetDelayed turns a plain symbol in the left-hand side's argument list into a named pattern, so f[x] := … defines what f[x_] := … defines. WL takes the symbol literally: the definition is stored for the single argument x and matches nothing else.

wolframscript -code 'f[x] := x^2; f[5]'               # f[5]
woxi eval 'f[x] := x^2; f[5]'                         # 25

wolframscript -code 'f[x] := x^2; DownValues[f]'      # {HoldPattern[f[x]] :> x^2}
woxi eval 'f[x] := x^2; DownValues[f]'                # {HoldPattern[f[x_]] :> x^2}

WL also evaluates the arguments of the left-hand side before storing the definition, which Woxi's pattern reading hides:

wolframscript -code 'i = 3; g[i] := i; DownValues[g]'  # {HoldPattern[g[3]] :> i}
woxi eval 'i = 3; g[i] := i; DownValues[g]'            # {HoldPattern[g[i_]] :> i}

Set (=) stores the literal argument as WL does. A symbol nested inside a structured argument takes a third path and leaks an internal name into the stored right-hand side:

wolframscript -code 'f[{x}] := x; DownValues[f]'      # {HoldPattern[f[{x}]] :> x}
woxi eval 'f[{x}] := x; DownValues[f]'                # {HoldPattern[f[{x}]] :> _lp0[[1]]}

Sum and Product substitute their iterator instead of localizing it

Table and Do localize the iterator the way Block does — the symbol is given a value for one iteration rather than replaced throughout the body — so held positions keep it symbolic. Sum and Product still substitute, which both burns the counter into held subexpressions and stops WL's own recognition of a summand that does not depend on the index:

wolframscript -code 'Sum[Hold[i], {i, 2}]'      # 2*Hold[i]
woxi eval 'Sum[Hold[i], {i, 2}]'                # Hold[1] + Hold[2]

wolframscript -code 'Product[Hold[i], {i, 2}]'  # Hold[i]^2
woxi eval 'Product[Hold[i], {i, 2}]'            # Hold[1]*Hold[2]

A non-terminating NestWhile returns a wrong answer instead of not terminating

wolframscript -code 'TimeConstrained[NestWhile[#/2 &, 16, UnsameQ, 2], 5, timeout]'   # timeout
woxi eval 'NestWhile[#/2 &, 16, UnsameQ, 2]'                                          # 1/2^10000

Successive halvings of 16 are never SameQ, so this iterates forever in wolframscript. Woxi silently stops after about 10 000 iterations and returns the value it had reached, which is neither wolframscript's behavior nor an error.

Return unwinds through ordinary argument evaluation

Wolfram treats Return[x] as an ordinary expression that only three things consume (a definition body, Do, Scan), with CompoundExpression, While, For, Module, Block and With passing it upward intact. Everything else keeps it as a value: Table[Return[1], {2}] is {Return[1], Return[1]}, Catch[Return[1]] is Return[1], {Return[1], 2} and f[Return[1]] and Return[1] + 2 all stand.

Woxi raises Return as a signal, so each boundary must be explicit. Table, Map, Select and With are wired; a Return reached by ordinary argument evaluation still unwinds — {Return[1], 2} gives 1, Catch[Return[1]] gives 1, Function[Return[3]][] gives 3.

x = 2 x does not recurse

wolframscript evaluates the right-hand side, assigns the own-value x → 2*x, and then re-evaluates it on every lookup until $RecursionLimit:

$RecursionLimit::reclim: Recursion depth of 30 exceeded.
TerminatedEvaluation[RecursionLimit]

Woxi returns 2*x and treats the own-value as a fixed-point substitution.

Format upvalues are stored as UpValues rather than FormatValues

wolframscript -code 'c /: Format[c] := "see"; ToString[UpValues[c], InputForm]'  # {}
woxi eval 'ClearAll[c]; c /: Format[c] := "see"; UpValues[c]'
# {HoldPattern[Format[c]] :> see}

Wolfram files a Format definition made through /: under FormatValues, not UpValues, so UpValues[c] comes back empty. Woxi has no separate FormatValues table and reports the rule as an upvalue. The rest of the UpValues / TagSet / TagUnset family agrees with wolframscript.

Format[…] is neither held nor form-aware

wolframscript -code 'Head[Format[x + y]]'          # Format
woxi eval 'Head[Format[x + y]]'                    # Plus

wolframscript -code 'Head[Format[x + y, OutputForm]]'  # Format
woxi eval 'Head[Format[x + y, OutputForm]]'            # Symbol

Wolfram keeps Format[expr] and Format[expr, form] unevaluated — Length is 1 or 2, part 1 is the expression — and only applies a display rule, the same model Definition follows.

The second argument is also ignored, so every form but OutputForm renders the plain expression:

wolframscript -code 'Format[Sqrt[x], TeXForm]'      # \sqrt{x}
woxi eval 'Format[Sqrt[x], TeXForm]'                # Sqrt[x]

wolframscript -code 'Format[x/y, TeXForm]'          # \frac{x}{y}
woxi eval 'Format[x/y, TeXForm]'                    # x/y

wolframscript -code 'Format[x + y, StandardForm]'   # RowBox[{x, +, y}]
woxi eval 'Format[x + y, StandardForm]'             # x + y

wolframscript -code 'Format["ab", InputForm]'       # "ab"
woxi eval 'Format["ab", InputForm]'                 # ab

StandardForm and TraditionalForm want boxes, which ToBoxes already produces correctly, and TeXForm / InputForm want the corresponding renderer. An unsupported form (Format[x^2, FullForm]) stays unevaluated in WL and prints as Format[x^2, FullForm].

CellularAutomaton refuses an explicit window it would have to allocate

wolframscript -code 'CellularAutomaton[90, {1, 0, 1}, {{{1}}, {0, 1000000000}}]'
# a billion-cell list
woxi eval 'CellularAutomaton[90, {1, 0, 1}, {{{1}}, {0, 1000000000}}]'
# CellularAutomaton[90, {1, 0, 1}, {{{1}}, {0, 1000000000}}]

A cyclic initial condition never grows past its own size, so nothing bounds an explicit cell window against it; Woxi checks the window's length arithmetically and declines rather than collecting a billion indices. The tspec grammar and every window that fits in memory agree with WL exactly.

DownValues drops a /; guard on a compound left-hand side

f[x_] := x^2 /; x > 0 round-trips, but k[(a_. + b_.*x_)^m_., x_Symbol] := … /; FreeQ[…] reports {HoldPattern[k[…]] :> a + b + m} with no /;. The guard is enforced at call time — it lives in a per-parameter condition slot the reconstruction never re-attaches. This is the single remaining blocker for running Rubi's FixIntRules[], which reads DownValues[Int], sees unguarded rules and writes them back, destroying the rule base.

A related display-only residue: a trailing-sequence list rule's DownValues shows {a_, __} rather than {a_, b__}, because the trailing element's name is not recoverable.

ToExpression of a definition

ToExpression["h[x__] := {x}; h[1, 2]"] gives h[1, 2] while ToExpression["zz = 7; zz + 1"] gives 8 — definitions made through ToExpression do not take effect for the rest of the same string.

Context of an unknown context

Context["zzzabc"]returns"zzz" in Woxi; wolframscript reports Context::notfound and stays unevaluated.

Module rename artifacts and InformationData

Module locals are named loc$1 here and loc$ in wolframscript (and the counter value is a session number that can never be pinned), and InformationData prints its keys unquoted. wolframscript also carries its own WolframScript`` context, which Woxi has no equivalent for — so a bare$ContextPath` can never match.

Legacy package names

Any Combinatorica…,PolyhedronOperations… or HypothesisTesting…symbol Woxi implements (e.g.UnrankPermutation,Truncate,Stellate,MeanTest,MeanDifferenceTest) evaluates where wolframscript leaves it unevaluated, because the package is not loaded. Woxi has no package system forNeeds` to load into, so the qualified names are always live. With the package loaded the results agree.

PolyhedronOperationsTruncateof a closed solid appends one cap face per cut-off vertex after the corner-cut faces (as`); the geometry is that of a truncation, but the order and nesting of those faces have not been checked against wolframscript.}

Needs["PolyhedronOperations"]does put that context on$ContextPath(so a bareTruncateread afterwards is the package's), but forCombinatoricaand `HypothesisTesting Needs does not, so where wolframscript prints OneSidedPValue -> … after Needs["HypothesisTesting"], Woxi prints the qualifiedHypothesisTestingOneSidedPValue -> … — the same expression, spelled in full. For the same reason a bare MeanTest never resolves to the package's symbol here. Compare through property /. …, not on the printed rule.

HypothesisTestingMeanTest[data, mu0]with a symbolicmu0(includingAutomatic, which the package does *not* read as 0) or symbolicdatastays unevaluated in Woxi; wolframscript builds a symbolicPiecewiseofBetaRegularizedbranches out of it.MeanDifferenceTestwith matrix samples stays unevaluated too — the package's own matrix handling there is broken, producing aStudentTDistribution` over a list of degrees of freedom.

$VersionNumber is a string

Woxi returns its version string (v0.3.0-46-g…) rather than a number, so ToString[$VersionNumber] and any $VersionNumber >= 9 test break.

Animate with an option it does not know

Animate[…] evaluates to wolframscript's Manipulate (animator controls, sorted options, the "Animate" defaults). An unknown option (Appearance -> None, ImageSize -> 100) is dropped with Animate::unknop in both. wolframscript also prints three OptionValue::nodef messages first, which Woxi does not.

Manipulate's Initialization is not scoped

Manipulate[…, Initialization :> (f[x_] := …)] leaves f defined in the global scope, so a later cell sees it. wolframscript keeps it inside the DynamicModule the Manipulate wraps itself in and f[3] echoes back. Woxi has no such module, and its controls re-resolve the body on every frame, so the definitions have to outlive the call.

Running Initialization at evaluation time also resolves control bounds that reference what it defines. A text front end never displays the DynamicModule, so wolframscript never runs Initialization at all and evaluates such a bound against an undefined symbol:

wolframscript -code 'Manipulate[func[[n]], {{n, 1, "which"}, 1, Length[func], 1}, Initialization :> (func = {a, b, c, d})]'
# Manipulate[func[[n]], {{n, 1, which}, 1, 0, 1}, Initialization :> (func = {a, b, c, d})]
woxi eval 'Manipulate[func[[n]], {{n, 1, "which"}, 1, Length[func], 1}, Initialization :> (func = {a, b, c, d})]'
# Manipulate[func[[n]], {{n, 1, which}, 1, 4, 1}, Initialization :> (func = {a, b, c, d})]

Woxi matches the notebook here rather than the CLI: 4 is the slider maximum a front end shows (this is the shape of the "Function Explorer 3D" Demonstration), and Woxi Studio reads its controls out of exactly this expression. A 0 conformant with wolframscript would leave that Demonstration with an empty slider.

Manipulate controls are bound dynamically, not lexically

Wolfram's DynamicModule renames a Manipulate's control variables in its body (and Initialization), so a function defined elsewhere that mentions a control's name sees the global symbol, not the control's value. Woxi binds controls with Block (or as scoped globals in Woxi Studio), so such a function does see the value. The visible case, a rule in the body that rebinds a control name (Entity["Isotope", isotope_] -> isotope), is handled by renaming that rule's own variables first (isotope$_ -> isotope$); a global function reading a control name is not.

A shadowed later specification of a nested multi-spec With

With[{x = 5}, Hold[With[{y = x}, {x = 1}, {x, y}]]] is Hold[With[{y = 5}, {x = 1}, {x, y}]] in wolframscript; Woxi renames the inner y to y$ because it does not see that the later {x = 1} shadows the outer x in the body.

Get returns raw text

Get returns an Expr::Raw, so List @@ Get["PacletInfo.m"] fails, and SystemPrivate$InputFileName is never set, so a package cannot locate its own directory. DumpSave is unimplemented, so a paclet's MX fast-load path can never work.

Lists, associations and structured objects

Permutations::toobig triggers at a fixed size

WL refuses a Permutations result with ::toobig when it would not fit in the machine's free memory, and builds its packed array otherwise. Woxi's owned Expr tree costs far more per element, so it refuses anything over 2^26 nodes. That means Permutations[Range[11]] (479M nodes) is refused even where wolframscript, with enough RAM, returns all 39916800 permutations. ::fac and ::len do not depend on memory, and those match.

ListCorrelate / ListConvolve: the 7th argument (a level specification)

The overhang path (k / {kL, kR}, padding, generalized g/h) now matches wolframscript for a kernel and array of equal rank ≥ 2 too — one offset per dimension, each a scalar or {kL, kR} pair, with scalar padding or cyclic wraparound extending the edges per dimension. Only a per-dimension padding array and a rank mismatch between kernel and data still leave the call unevaluated. The 7th argument, a level specification, remains unimplemented for every rank:

wolframscript -code 'ToString[ListCorrelate[{x, y}, {a, b, c}, 1, p, Times, Plus, 1], InputForm]'
# {a*x + b*y, b*x + c*y, c*x + p*y}
woxi eval 'ListCorrelate[{x, y}, {a, b, c}, 1, p, Times, Plus, 1]'
# ListCorrelate::argb: called with 7 arguments; between 2 and 6 arguments are expected.

MusicScale of a name stays raw

wolframscript resolves a named scale to its association form; Woxi leaves it as written, so it also prints that way in messages:

wolframscript -code 'InputForm[MusicScale["CMajor"]]'
# MusicScale[<|Name -> Major, Tonic -> MusicPitch[<|Key -> C, Accidental -> 0|>]|>]
woxi eval 'InputForm[MusicScale["CMajor"]]'
# MusicScale["CMajor"]

MusicPlot[MusicScale["CMajor"]] therefore reports … instead of MusicScale[CMajor]. where wolframscript writes … instead of -MusicScale-.

MusicNotation is a Woxi extension

MusicScore and MusicPlot accept MusicNotation -> "PianoRoll" | "SheetMusic" (default Automatic, the piano roll), which is not yet part of the Wolfram Language. wolframscript answers it with MusicScore::optx, and Options[MusicScore] lists it only in Woxi:

wolframscript -code 'Options[MusicScore]'   # {MusicTempo -> Automatic}
woxi eval 'Options[MusicScore]'             # {MusicTempo -> Automatic, MusicNotation -> Automatic}

Total groups negative levels globally rather than per parent

wolframscript -code 'Total[{{1, 2}, {3, {4, 5}}}, {-1}]'   # {3, {3, 9}}
woxi eval 'Total[{{1, 2}, {3, {4, 5}}}, {-1}]'             # {{1, 2}, {3, 9}}

Woxi reads {-1} as the deepest level of the whole expression — level 3 here, so it answers Total[…, {3}]. wolframscript sums the depth-1 parts grouped by their immediate parent, which leaves the depth-1 atom 3 alone and reduces only {4, 5}.

Every other head measures a negative level as the part's own depth; Total is the exception because its traversal also carries AllowedHeads and the head-preservation rules.

AssociationThread does not take a scalar key

wolframscript -code 'AssociationThread[3, {1, 2}]'      # <|3 -> 2|>
wolframscript -code 'AssociationThread["ab", {1, 2}]'   # <|ab -> 2|>
woxi eval 'AssociationThread[3, {1, 2}]'                # AssociationThread[3, {1, 2}]

A scalar value is shared across the keys, but a scalar key against a list of values keeps only the last value, which is peculiar enough that generalizing from two examples would be guessing. Left unevaluated on purpose; it echoes rather than aborting.

Mixed association/list set operations

Union, Intersection and Complement mixing an association with a list stay unevaluated in both engines, but WL emits ::heads where Woxi emits ::normal.

Take with a zero start index

Take[{1,2,3}, {0, -1}] and {0, 3} are {} in wolframscript and an error in Woxi. Every other {0, n} errors in WL too, so the rule there is obscure.

SparseArray slices and Select

  • sa[[1]] and sa[[All, 2]] return a dense list (or, for [[All, 2]], garbage) where WL returns a sparse sub-array.
  • Select[sa, pred] returns a broken SparseArray[]. WL returns a dense list when the background value fails the predicate and stays sparse when it passes — a predicate-dependent choice.
  • SparseArray op list and SparseArray + SparseArray return a dense list in Woxi where WL keeps the result sparse. The values match through Normal.
  • Map[f, sa] at rank ≥ 2 densifies; WL keeps the sub-rows sparse.
  • AdjacencyMatrix[g] returns a dense matrix rather than a SparseArray, so AdjacencyMatrix[g] // MatrixForm prints differently.

CoefficientArrays linear-term entries are stored in an unsorted order

Not reproducible. For a single polynomial WL stores the degree-1 SparseArray entries in an internal order that is not the variable order, so the raw SparseArray[…] (e.g. its InputForm) differs while Normal agrees:

wolframscript -code 'CoefficientArrays[x + y + z, {x, y, z}] // InputForm'
# {0, SparseArray[Automatic, {3}, 0, {1, {{0, 3}, {{2}, {3}, {1}}}, {1, 1, 1}}]}
woxi eval 'CoefficientArrays[x + y + z, {x, y, z}] // InputForm'
# {0, SparseArray[Automatic, {3}, 0, {1, {{0, 3}, {{1}, {2}, {3}}}, {1, 1, 1}}]}

The order depends on the variable count and the order the variables are listed in ({x, y, z} → 2, 3, 1; {z, x, y} → 2, 1, 3; {x, y, z, w} → 2, 3, 1, 4), not on the polynomial's terms. Woxi sorts.

Threaded[scalar] gives garbage

wolframscript -code 'Threaded[1] + {1,2,3}'
# Threaded::rarray … and the operation unevaluated as {1, 2, 3} + Threaded[1]
woxi eval 'Threaded[1] + {1,2,3}'
# {Threaded[2], Threaded[3], Threaded[4]}

The Threaded argument must be rank ≥ 1; a scalar inner is invalid. A two-argument special case was tried and reverted because it turned the three-argument case from garbage into a crash.

Threaded of a shorter list is not rejected

wolframscript -code '{1, 2} + Threaded[{1}]'
# Threaded::thrdims … and {1, 2} + Threaded[{1}] unevaluated
woxi eval 'Plus[{1, 2}, Threaded[{1}]]'
# {Threaded[{2}], Threaded[{3}]}

The infix form emits Thread::tdlen instead. Threaded[list] must match the trailing dimensions of the other operand, and try_threaded_op does not check that.

An infix Plus/Times chain threads over lists pairwise

wolframscript -code 'd + {b, c} + {a}'
# Thread::tdlen … d + {a} + {b, c}
woxi eval 'd + {b, c} + {a}'
# Thread::tdlen … {a} + {b + d, c + d}

The parser keeps a + b + c as a chain of BinaryOp nodes and evaluate_binary_op_chain combines them two at a time, so d is broadcast into {b, c} before the length mismatch with {a} is seen. Plus[d, {b, c}, {a}] threads all three at once and matches. Fixing it means making the chain evaluator n-ary for the Flat heads.

ReplaceAll head replacement in two exotic corners

  • Association under a symbol blank: Woxi descends into keys and values keeping the association form (<|f[k] -> f[v]|>); WL gives f[Association][k -> f[v]], leaving keys and the inner Rule head alone.
  • Held infix: Hold[2+a] /. x_Symbol :> f[x] leaves the inner held Plus head unrewritten (f[Hold][2 + f[a]] against WL's f[Hold][f[Plus][2, f[a]]]).

A failed nested Part rebuilds the whole chain

wolframscript leaves Part[m, 3] unevaluated and applies the next index to that expression, so m[[3]][[1]] returns m and m[[1]][[1]][[1]] reports Part::partd: Part specification 1[[1]]. Woxi rebuilds the chain against the base and prints {{1, 2}, {3, 4}}[[1,1,1]]. Both agree on every in-range read; this shows only on the error path.

DateInterval canonical form

Woxi canonicalizes to a 4-argument form with "Day" granularity; current wolframscript produces a 6-argument form and derives granularity from the input (Year for a pair of year DateObjects). Both the arity and the granularity diverge. The 2- and 3-argument constructor calls fall through unevaluated.

Duration of a Video, DateInterval or Play

Valid objects with no message, but unmeasured — silently unevaluated. An interval-form SoundNote has absolute-placement semantics that are also not modeled.

InterpolatingFunction's raw InputForm

WL prints its internal representation (InterpolatingFunction[{{1, 3}}, {5, 3, 0, {3}, {3}, 0, …}, …]) while Woxi prints InterpolatingFunction[domain, data, order]. The property queries ("Domain", "Grid", "ValuesOnGrid", …) all match.

Compile produces a different object

Woxi's two-part CompiledFunction[specs, body] is nothing like WL's eight-part bytecode object, so the printed form can never match. The binding rules (untyped defaults to _Real, element-by-element conversion of rank-n real arguments, result type following the signature) do conform.

TimeSeries and TemporalData

The installed wolframscript (Tabular-backed internals) disagrees with Woxi's verified tests on several points — 0-based "Times", Length counting points, Part giving a {time, value} pair, "Values" as a TabularColumn. These are version drift, not Woxi bugs. Likewise Mean/Variance/Median/ StandardDeviation of a whole-valued series return machine reals in wolframscript (its packed Integer64 column being promoted) and stay exact in Woxi.

Still genuinely open: WL keeps a TemporalData[Automatic, {…}, False, version] internal form that Woxi normalizes to TimeSeries, and MovingMap[f, x, 0] should report MovingMap::wsizen (WL then returns a mangled DisplayForm value that is not worth reproducing, so Woxi's width check is silent).

Dataset variance

Variance[Dataset[{1., 2., 3.}]] is 1 against WL's 1.0000000000000002 — the float-noise class above.

Patterns, strings and parsing

A whole pattern that is optional gives no Optional::optloose

wolframscript warns twice when the entire pattern handed to MatchQ, Cases, FirstCase and the like is an Optional, since there is no enclosing expression to supply the default from. Woxi matches silently:

wolframscript -code 'MatchQ[1, x_:0]'
# Optional::optloose: Optional pattern x_:0 has no enclosing pattern, so no optional value can be matched.
# (the same line again)
# True
woxi eval 'MatchQ[1, x_:0]'   # True

A tagged assignment cannot have a curried left-hand side

wolframscript -code 'f /: g[a_][f[_]] := 1; UpValues[f]'
# {HoldPattern[g[a_][f[_]]] :> 1}
woxi eval 'f /: g[a_][f[_]] := 1; UpValues[f]'
# {HoldPattern[g[a_, f[_]]] :> 1}

tag /: lhs := rhs reads its left-hand side as a single call, so the two bracket groups of g[a_][f[_]] are merged into one argument list and the rule that gets stored fires on g[1, f[2]] instead. The upvalue store keys a rule by one head and a flat parameter list, which a subvalue-shaped rule has nowhere to go in; g[a_][f[_]] := 1 without a tag is fine (it becomes a SubValues entry). Reached through Hold/ReleaseHold the same definition reports TagSetDelayed::tagpos and defines nothing.

x_ y_ is mis-parsed

wolframscript -code 'Hold[x_ y_] // FullForm'
# Hold[Times[Pattern[x, Blank[]], Pattern[y, Blank[]]]]
woxi eval 'Hold[x_ y_] // FullForm'
# Hold[Pattern[x, BlankSequence[y_]]]

The parser merges the two _ across the space into a BlankSequence whose head becomes y_. x_ + y_ parses correctly; only the implicit-times juxtaposition is broken, so any implicit-times product of patterns is affected (ReplaceList[a b c, x_ y_ :> {x,y}] gives {} where WL gives six splits). Writing Times[x_, y_] explicitly works.

A bare Span cannot follow a Rule

a -> 2 ;; 3 fails to parse ("expected SpanSep"); WL reads it as Rule[a, Span[2,3]] because ;; binds tighter than ->. Parenthesizing works. This blocks the documented StringExtract[s, sep -> i ;; j] form. X::y on the right of ->/:> fails the same way.

f[{1, 2} // Total -> 3] does not parse

WL reads it as {1,2} // (Total -> 3), i.e. the postfix function is the rule. Making the rule's left side a postfix application parses it with the wrong precedence, which is worse than the parse error.

(a|b)|c loses its grouping

Explicit parentheses should give Length 2 (nested) in WL; Woxi's parser produces the same flat 3-argument form as a|b|c. The same holds for every flattened operator chain built from BinaryOp nodes: Hold[a + (b + c)] is Plus[a, b, c] (WL Plus[a, Plus[b, c]]), Hold[(a b) c] is Times[a, b, c], and MakeBoxes[-(x y)] boxes as -x y where WL keeps RowBox[{"-", RowBox[{"(", …, ")"}]}] — the parse tree does not record the parentheses, and box formation merges a unary minus into its product operand because Factor-style results built with neg1(product) stand for the flat evaluated Times[-1, …].

Parse-time messages do not exist

{a,,b} and f[a,] parse to Null as they should, but wolframscript also prints Syntax::com: Warning: comma encountered with no adjacent expression. once per omitted comma, at read time. Woxi has no parse-time message channel at all — wiring one through the AST conversion would duplicate the warning, because a cell is parsed more than once per evaluation. The same absence means a \!\(…\) escape with a bad form tag is left literal rather than reported as MakeExpression::boxfmt.

Empty matches are dropped

wolframscript -code 'StringCases["abcd", ___]'                    # {abcd, }
woxi eval 'StringCases["abcd", ___]'                              # {abcd}

wolframscript -code 'StringCases["abcd", ___, Overlaps -> True]'  # {abcd, bcd, cd, d, }

StringPosition["abcd", ___] likewise drops WL's trailing {5, 4}. The default and Overlaps -> True paths exclude empty regex matches and never visit the position one past the last character; the Overlaps -> All path handles them correctly.

Overlaps -> All with zero-width assertions

Any zero-width assertion other than a leading StartOfString or trailing EndOfString is evaluated against the probed slice rather than the whole string, so WordBoundary ~~ __ under Overlaps -> All diverges.

String pattern back-references need backtracking

A repeated pattern name is a back-reference (x_ ~~ x_ matches two equal characters). The regex engine has none, so Woxi emits a duplicate capture and compares the two after the match — which cannot backtrack to find an alternate assignment. Fine for fixed-width single-character blanks; variable-width (x__ ~~ x__) greedy assignment can miss a valid split.

Look-around and back-references in RegularExpression

RegularExpression["(?=[A-Z])"] cannot compile (Woxi now reports RegularExpression::badregex and leaves the call unevaluated rather than aborting). WL supports look-around and \1.

DatePattern element coverage

AMPM, Quarter, YearShort and other element names are unimplemented, as is DateDelimiters-style probing beyond the four verified separators [/-.:].

Longest/Shortest in a definition

The rule path (/., Cases, MatchQ) honors them; the definition path strips them, so f[Longest[x__], y__] := … splits shortest-first.

Unimplemented argument forms found by diffing against SyntaxInformation

Woxi's arity table can be diffed mechanically against wolframscript's own declared signatures:

(* for each implemented function name *)
"ArgumentsPattern" /. SyntaxInformation[Symbol["System`" <> name]]

Counting the required and optional slots (skipping anything with OptionsPattern or a BlankSequence, which are unbounded) and comparing against Woxi's declared maximum turns up every documented argument form that is missing. The sweep originally found 80; the 58 below are what is left.

is missing. The sweep originally found 80; the 59 below are what is left.

Each one is a form wolframscript accepts and Woxi rejects on arity — so the failure mode is an ::argt / ::argb / ::argx message rather than a wrong answer, which makes them safe but individually invisible.

Function Woxi WL up to ArgumentsPattern
AiryAiZero 1–1 2 {_, _.}
AiryBiZero 1–1 2 {_, _.}
ArcCurvature 2–2 3 {{__}, _, _.}
BesselYZero 2–2 3 {_, _, _.}
BooleanMaxterms 2–2 3 {_, _., _.}
BooleanMinterms 2–2 3 {_, _., _.}
CenterArray 1–3 4 {_, _., _., _.}
CharacterName 1–1 2 {_, _.}
ConstantArray 2–2 3 {_, _, _.}
CoordinateBoundingBoxArray 1–3 4 {{_, _}, _., _., _.}
CoordinateBoundsArray 1–3 4 {{__}, _., _., _.}
Correlation 1–2 3 {_, _., _.}
Counts 1–1 2 {_, _.}
Covariance 1–2 3 {_, _., _.}
DigitCount 1–3 4 {_, _., _., _.}
DigitSum 1–2 3 {_, _., _.}
FindLinearRecurrence 1–1 2 {_, _.}
FrenetSerretSystem 2–2 3 {{__}, _, _.}
GammaDistribution 2–2 4 {_, _, _., _.}
GompertzMakehamDistribution 2–2 4 {_, _, _., _.}
GroupOrbits 2–2 3 {_, Optional[{__}], _.}
GroupStabilizer 2–2 3 {_, {__}, _.}
Groupings 2–2 3 {_, _, _.}
Head 1–1 2 {_, _.}
ImageAdjust 1–2 4 {_, _., Optional[{_, _}], Optional[{_, _}]}
Inner 3–4 5 {_, _, _, _., _.}
InverseChiSquareDistribution 1–1 2 {_, _.}
InverseErf 1–1 2 {_, _.}
InverseGammaDistribution 2–2 4 {_, _, _., _.}
InverseGaussianDistribution 2–2 3 {_, _, _.}
KendallTau 2–2 3 {_, _., _.}
Latitude 1–1 2 {_., _.}
LatitudeLongitude 1–1 2 {_., _.}
LegendreP 2–3 4 {_, _, _., _.}
LegendreQ 2–3 4 {_, _, _., _.}
ListConvolve 2–6 7 {_, _, _., _., _., _., _.}
ListCorrelate 2–6 7 {_, _, _., _., _., _., _.}
Longitude 1–1 2 {_., _.}
MaximalBy 1–3 4 {_, _., _., _.}
MinimalBy 1–3 4 {_, _., _., _.}
NotebookDirectory 0–0 1 {_.}
ParentDirectory 0–1 2 {_., _.}
PerfectNumber 1–1 2 {_, _.}
PolyLog 2–2 3 {_, _, _.}
PositionLargest 1–2 3 {_, _., _.}
Precedence 1–1 2 {_, _.}
QuantityQ 1–1 2 {_, _.}
RiceDistribution 2–2 3 {_, _, _.}
SpearmanRho 2–2 3 {_, _., _.}
Subsequences 1–2 3 {_, _., _.}
SubsetReplace 1–2 3 {_, _., _.}
Symmetrize 1–1 2 {_, _.}
SyntaxQ 1–1 2 {_, _.}
ToBoxes 1–1 2 {_, _.}
Uncompress 1–1 2 {_, _.}
Unique 0–1 2 {_., Optional[{__}]}

Notes on the ones already looked at:

  • MinimalBy / MaximalBy / DigitCount: wolframscript appears to ignore the extra trailing argument (MinimalBy[{{1,2},{3,1},{2,5}}, Last, 2, x] gives the same answer as without x), so there may be nothing to match.
  • Counts[list, n]: wolframscript rejects a non-list second argument with Counts::invl, so the slot is not a useful form either.
  • PositionLargest: the remaining slot is an orderfun, but wolframscript rejects Greater and Less there with ::nord3 (it wants an Order-style comparison returning ±1/0). PositionSmallest[list, n, p] is implemented for such comparisons (e.g. AlphabeticOrder); Greater / Less stay unevaluated without the ::nord3 message.
  • The generalized distribution constructors (GammaDistribution 2→4, InverseGammaDistribution 2→4, GompertzMakehamDistribution 2→4, RiceDistribution 2→3, InverseGaussianDistribution 2→3, InverseChiSquareDistribution 1→2) have real closed forms, but their output is Piecewise wrapping GammaRegularized, LaguerreL and nested Gamma quotients. Matching wolframscript there means matching its exact symbolic canonicalization.
wolframscript -code 'ToString[PDF[GammaDistribution[a, b, g, m], x], InputForm]'
# Piecewise[{{(g*((-m + x)/b)^(-1 + a*g))/(b*E^((-m + x)/b)^g*Gamma[a]), x > m}}, 0]
woxi eval 'PDF[GammaDistribution[a, b, g, m], x]'
# GammaDistribution::argrx: GammaDistribution called with 4 arguments; 2 arguments are expected.

A second sweep, comparing declared arities against the arities the dispatch actually handles, found these still open: Transliterate[s, scheme], SumConvergence[f, n, Assumptions -> …], LexicographicSort[list, ord], SavitzkyGolayMatrix[r, order, deriv], and the 3-argument forms of ClusteringComponents, ComponentMeasurements, ImageValue, WarpingCorrespondence, plus EventSeriesLookup ¾-argument.

Declared but dead options

For each option a head declares in Options[f], setting it should change the answer. These do not:

  • NIntegrate's MaxRecursion, MinRecursion, WorkingPrecision, MaxPoints, PrecisionGoal, AccuracyGoal.
  • NSum and NProduct accept WorkingPrecision and ignore it.
  • NDSolve's WorkingPrecision and PrecisionGoal: the solution is always machine precision. The Lorenz system with WorkingPrecision -> 20 gives x[1] = -12.49383128851448835… in WL and -12.493889543181242 here.
  • Root[…, ExactRootIsolation -> True] stays unevaluated.
  • D[f[x] g[x], x, NonConstants -> {f}] differentiates f anyway; WL holds it as D[f[x], x, NonConstants -> {f}]. (The plain D[x y, x, NonConstants -> {y}] case works.)
  • SetOptions[Plot, PlotStyle -> …] maintains the option list but does not reach the renderer.
  • Options[ListPlot] is {} against WL's 70 entries; Plot3D 85, Histogram 61, BarChart 64, Graphics 39. Only Plot has a table.
  • OptionValue[Plot, Axes] gives Axes instead of True, and $DisplayFunction/$PerformanceGoal are undefined so OptionValue[Plot, DisplayFunction] returns the unresolved symbol.
  • OptionValue's ::rep message for a non-rule element of the explicit option list is not emitted, and WL's own rule for when it fires is unclear (OptionValue[Plot, Axes, Hold] reports it, OptionValue[Plot, 5, Frame] does not).

Exact Eigenvectors with Root eigenvalues stop at 5x5

Beyond 5x5, an exact integer matrix whose eigenvalues are not integers keeps Eigenvectors/Eigensystem unevaluated: the elimination over algebraic numbers is too slow in Woxi, while Wolfram returns Root-object vectors. Eigensystem[m, k] with k ≤ 2 computes just those vectors, up to 8x8; their entries are nested Root expressions, not Wolfram's reduced form (equal under N).

Eigenvalues of a matrix without radical roots

Woxi lists the eigenvalues as Root objects in Root order; wolframscript writes them as radicals when it can and orders those its own way:

wolframscript -code 'Eigenvalues[{{0, 0, 0, 2}, {1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 1}}]'
# {Root[-2 + 2*#1 - 2*#1^2 + #1^3 & , 1, 0], Root[… , 3, 0], Root[… , 2, 0], -1}
woxi eval 'Eigenvalues[{{0, 0, 0, 2}, {1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 1}}]'
# {Root[-2 + 2*#1 - 2*#1^2 + #1^3 & , 1, 0], -1, Root[… , 2, 0], Root[… , 3, 0]}

Eigenvectors does follow Wolfram's order (decreasing absolute value, then increasing real part, then decreasing imaginary part); Eigenvalues of the {{0, 0, 0, -1}, …} shift matrix in wolframscript is in neither order.

Solve of an arbitrary-precision polynomial answers at machine precision

wolframscript -code 'Solve[N[z^3 - 2 z + 1/3, 10] == 0, z]'
# {{z -> -1.4911540841057329132`9.544…}, …}
woxi eval 'Solve[N[z^3 - 2 z + 1/3, 10] == 0, z]'
# {{z -> -1.491154084105733}, …}

The roots are found numerically at machine precision; Wolfram carries the coefficients' precision (and its loss) into them.

SmoothKernelDistribution stays symbolic and is evaluated exactly

wolframscript turns SmoothKernelDistribution[data, …] into a binned DataDistribution["SmoothKernel", …] and interpolates its PDF/CDF from that grid; Woxi keeps the call and sums the kernels exactly, so values agree to about six digits (PDF[SmoothKernelDistribution[{1., 2., 3.5}, 0.5], 1.5] is 0.32271721782167967 there, 0.3227168528427011 here). A symbolic point stays unevaluated.

Det of a rational-coefficient matrix keeps a common factor in Wolfram

wolframscript -code 'Det[Table[1/(i + j + 1), {i, 3}, {j, 3}] - x IdentityMatrix[3]]'
# (2 - 9510*x + 511200*x^2 - 756000*x^3)/756000
woxi eval 'Det[Table[1/(i + j + 1), {i, 3}, {j, 3}] - x IdentityMatrix[3]]'
# (1 - 4755*x + 255600*x^2 - 378000*x^3)/378000

The value is the same; Wolfram's elimination leaves the numerator and denominator with a common factor that Together removes.

Flat without OneIdentity binds singletons bare

For a head that is Flat but not OneIdentity, Wolfram matches a blank that takes a single argument as h[arg] first, then bare, even when the argument counts are equal. Woxi always binds the bare argument. Dot, NonCommutativeMultiply, Plus and Times are all OneIdentity, so this only shows up for user heads.

wolframscript -code 'SetAttributes[h, Flat]; h[a, b, c] /. h[x_, y_] :> {x, y}'  # {h[a], h[b, c]}
woxi eval 'SetAttributes[h, Flat]; h[a, b, c] /. h[x_, y_] :> {x, y}'            # {a, h[b, c]}
wolframscript -code 'SetAttributes[h, Flat]; h[a, b] /. h[x_, y_] :> {x, y}'     # {h[a], h[b]}
wolframscript -code 'SetAttributes[h, Flat]; ReplaceList[h[a, b, c], h[x_, y_] :> {x, y}]'
# {{h[a], h[b, c]}, {h[a, b], h[c]}, {a, h[b, c]}, {h[a, b], c}}

With Orderless added, ReplaceList lists the wrapped readings first too, but /. picks a bare one ({b, g[a, c]} for g[a, b, c]), so the rule is not just "wrapped first".

A minus right after . is accepted

Wolfram rejects a . -b (and a . b . -c) as a syntax error; Woxi reads it as Dot[a, -b].

Messages and error handling

RecurrenceTable of a transcendental system prints no Solve messages

A nonlinear system such as RecurrenceTable[{r[n + 1] == 2 r[n] - r[n - 1] - 20 Cos[t[n]]/(r[n] - 185.7)^2, t[n + 1] == t[n] + 2 Pi (185.7/r[n])^(3/2), r[0] == 70, r[1] == r[0], t[0] == 0}, {r, t}, {n, 1, 4}] gives the same table in both, but wolframscript first tries to Solve the equations and prints Solve::incnst and Solve::ifun. Woxi steps the recurrences directly and prints nothing.

Graph functions say nothing about a non-graph argument

EdgeList[{1, 2}] and VertexList[Graph[{{a, b}}]] (a Graph that did not evaluate) come back unevaluated in both, but wolframscript also prints EdgeList::graph: A graph object is expected at position 1 in …. A bare symbol (EdgeList[x]) is silent in both. Woxi has no ::graph message for any graph function.

RealDigits in a non-integer base stays unevaluated

RealDigits[1/7, 2.5] lists 39 digits of the greedy expansion in base 2.5 in wolframscript; Woxi only implements integer bases and leaves the call unevaluated.

RealDigits of an arbitrary-precision number: the last digit

RealDigits[N[Pi, 30]] ends in …3, 2, 8 in wolframscript, …3, 2, 7 in Woxi (Pi's 30th digit is 7, followed by 9); RealDigits[N[999999/1000000, 3]] is {{1, 0, 0}, 1} against Woxi's {{9, 9, 9}, 0}. But RealDigits[N[E, 20]] truncates in both (…3, followed by 6), so wolframscript neither always rounds nor always truncates — the digit comes from its binary mantissa and guard bits. Not reproducible; Woxi truncates, which agrees on most probes.

Min/Max ::nord count for nested lists and real infinities

Min/Max emit one ::nord per evaluation that compares ComplexInfinity (the call itself unless it is a lone list, plus the re-evaluation of a changed result), which matches wolframscript on every flat probe. Two shapes still differ:

# one extra pass for a list nested two deep:
wolframscript -code 'Min[{x, y}, {3, {ComplexInfinity}}]'   # 3 messages
woxi eval 'Min[{x, y}, {3, {ComplexInfinity}}]'             # 2 messages
# one fewer when a real infinity absorbs the numbers:
wolframscript -code 'Max[1, ComplexInfinity, Infinity]'      # 1 message
woxi eval 'Max[1, ComplexInfinity, Infinity]'                # 2 messages

Partition reports ilsmp where the padded forms allow a zero block

With three or more arguments a block size of 0 is legal — the offset says how many empty blocks come out — so wolframscript rejects a bad size there with ilsmn ("non-negative"), keeping ilsmp ("positive") for the two-argument form. Woxi says ilsmp for every arity, and rejects a literal 0 outright once an alignment/padding argument follows:

wolframscript -code 'Partition[{a,b,c}, n, n, {1,1}, {}]'
# Partition::ilsmn: Single or list of non-negative machine-sized integers …
woxi eval 'Partition[{a,b,c}, n, n, {1,1}, {}]'
# Partition::ilsmp: Single or list of positive machine-sized integers …

wolframscript -code 'Partition[{a,b,c}, 0, 1, {1,1}, {}]'  # {{}, {}, {}}
woxi eval 'Partition[{a,b,c}, 0, 1, {1,1}, {}]'            # Partition::ilsmp

The unpadded Partition[{a,b,c}, 0, 1] agrees ({{}, {}, {}, {}}) — note that the padded form yields one block fewer, so the two count differently.

Expressions inside message text print in InputForm

WL formats a message's substituted expressions the way the front end shows them (Times as a space), Woxi formats them like InputForm (*):

wolframscript -code '2 x = 5'   # Set::write: Tag Times in 2 x is Protected.
woxi eval '2 x = 5'             # Set::write: Tag Times in 2*x is Protected.

The message tag, its arguments and the returned value all agree; only the rendering of an embedded expression differs, and it does so for every message that embeds one (Set::write, ImageAdjust::arg2, …). Each message site formats with expr_to_string; matching WL means routing them through the OutputForm renderer instead.

A refused base literal does not also report a syntax error

wolframscript treats base^^digits with a base outside 2–36, or with a digit the base cannot spell, as text it could not read: it reports the reason and then the syntax error that reading stopped at. Woxi reports the reason and returns $Failed without the second message.

wolframscript -code '1^^111'
# General::base: Requested base 1 in 1^^111 should be between 2 and 36.
# ToExpression::sntx: Invalid syntax in or before "1^^111 ".
# $Failed
woxi eval '1^^111'
# General::base: Requested base 1 in 1^^111 should be between 2 and 36.
# $Failed

Same for General::digit (2^^1012). This is the general shape of Woxi's read-time errors: input the grammar rejects reports a parser error of its own rather than ToExpression::sntx/::sntxi, and in a script the lines before it do not run.

Read does not report unreadable input

wolframscript -code 's = StringToStream["1+"]; Read[s]'
# Read::readt: Invalid input found when reading 1+ from StringToStream[1+].
# $Failed
woxi eval 's = StringToStream["1+"]; Read[s]'
# $Failed

The value agrees; only the message is missing. The reader that produces it sees the text and the requested type but not the stream expression the message names, so emitting it means plumbing that through.

Outer does not report mismatched heads

wolframscript -code 'Outer[f, h[1, 2], {a, b}]'
# Outer::heads: Heads List and h at positions 3 and 2 are expected to be the same.
# Outer[f, h[1, 2], {a, b}]
woxi eval 'Outer[f, h[1, 2], {a, b}]'
# Outer[f, h[1, 2], {a, b}]

The result is right — the call stays unevaluated either way — but the Outer::heads message is missing. Every other Outer form checked (per-list levels, general heads, operator form) agrees.

Options does not report an unknown option name

wolframscript -code 'Options[Graphics[{Disk[]}], Frobnicate]'
# Options::optnf: Frobnicate is not a known option for Graphics.
# {}
woxi eval 'Options[Graphics[{Disk[]}], Frobnicate]'
# {}

The value agrees. On a head with no options at all the second argument is dropped rather than answered, which does not:

wolframscript -code 'Options[f[1, 2], Axes]'   # Options::optnf: … ; {}
woxi eval 'Options[f[1, 2], Axes]'             # Options[f[1, 2]]

A list of option names is not accepted either — Options[g, {Axes, PlotRange}] gives {} where WL answers both.

Rasterize "BoundingBox" and "RasterSize" use Woxi's own layout

wolframscript -code 'Rasterize[Style["abg", FontSize -> 12], "BoundingBox"]'
# {21, 15, 11}
woxi eval 'Rasterize[Style["abg", FontSize -> 12], "BoundingBox"]'
# {22, 22, 17}

The sizes come from Woxi's SVG layout, so text and formulas measure differently from the front end. The baseline is approximated: half the height for graphics (WL: 182 of 359 for Graphics[Disk[]]) and three quarters for everything else. WL's "RasterSize" is also at twice the resolution ({720, 719} for Graphics[Disk[]]); Woxi rasterizes at 1x. WL's Rasterize defaults to 144 dpi and tags the image with ImageResolution -> 144. so it still displays at its point size; Woxi's Image carries no resolution, so Rasterize keeps 72 dpi (1x) by default. The same holds for ImageSize -> s: Woxi's raster is s pixels wide where WL's is 2 s (both display at s points). An explicit ImageResolution, and Export to a raster format (default 144 dpi), match WL. An explicit RasterSize -> {w, h} around text or a formula also matches WL: the content keeps its size at 144 dpi and is centered in the raster rather than stretched to fill it.

Topology measured on a rasterized graphic follows from this: a Thick curve is 2 pixels wide at 1x, and its binarized pixels are partly only diagonally connected, so the 4-connected background splits:

wolframscript -code 'MorphologicalEulerNumber[MorphologicalBinarize[PolarPlot[Sin[2 t], {t, 0, 2 Pi}, Axes -> None, PlotStyle -> {Red, Thick}]]]'
# 4
woxi eval 'MorphologicalEulerNumber[MorphologicalBinarize[PolarPlot[Sin[2 t], {t, 0, 2 Pi}, Axes -> None, PlotStyle -> {Red, Thick}]]]'
# 1

Twenty-two heads raise a hard error for a bad first argument

wolframscript -code 'ImageCrop[{1, 2, 3}, -1]'
# ImageCrop::imgvinv: Expecting an image, graphics or video instead of {1, 2, 3}.
# ImageCrop[{1, 2, 3}, -1]
woxi eval 'ImageCrop[{1, 2, 3}, -1]'
# Error: Evaluation error: ImageCrop: first argument is not an Image

A sweep of the 855 heads whose arity admits two arguments, against nine degenerate argument pairs, found 227 calls that abort the enclosing evaluation instead of reporting. What remains is this one shape, spread over While, TuringMachine, Find, ReadList, Piecewise, ImageApply, ImageAssemble, ImageCollage, ImageCompose, ImageCrop, NMinimize, NMaximize, FindSequenceFunction, RealDigits, Dt, FrenetSerretSystem, ArcCurvature, MinimalPolynomial, Root, NumberFieldSignature, WordCounts and DivisorSigma.

The argument is nonsense in every case, so no correct result is lost — but a hard error takes the whole script down where a message does not.

An operator form that fails names the flattened call, not what was written

wolframscript -code 'Select[EvenQ][5]'
# Select::normal: Nonatomic expression expected at position 1 in Select[EvenQ][5].
# Select[EvenQ][5]
woxi eval 'Select[EvenQ][5]'
# Select::normal: Nonatomic expression expected at position 1 in Select[5, EvenQ].
# Select[5, EvenQ]

f[spec][data] is rewritten to f[data, spec] before dispatch, and when the call then fails both the message and the echo describe the rewrite. The same happens for SortBy, KeyTake and Nearest, so this is one issue in the operator-form dispatch rather than a per-function one.

Iteration constructs substitute their variable instead of binding it

Table, Sum and Product rewrite the iterator symbol into the body rather than binding it dynamically the way Wolfram does, so a held occurrence is replaced instead of left standing: Table[Hold[k], {k, 1, 2}] gives {Hold[1], Hold[2]} where Wolfram gives {Hold[k], Hold[k]}, and Sum[Hold[k], {k, 1, 2}] gives Hold[1] + Hold[2] instead of 2 Hold[k]. The substitution is capture-avoiding, so a nested Module/With/Function binder of the same name is left alone; only unbound held positions diverge.

$GeoLocation and location-defaulting messages

Woxi returns Missing["NotAvailable"] — matching an offline wolframscript — but does not emit $GeoLocation::dloff or the per-function Fn::geoloc.

Message repetition and 2D layouts

  • DensityPlot's degenerate-range message is reported under its internal context name (Visualization`Core`DensityPlot::plld) and emitted twice; Woxi cannot produce that symbol name and leaves DensityPlot out of the check entirely.
  • PolarPlot, ContourPlot3D and two-parameter ParametricPlot emit the message twice (a second internal pass); Woxi emits it once.
  • Hash::invhash is printed twice by wolframscript for an unknown algorithm.
  • Quantity::compat is emitted twice by wolframscript, without quotes, and its two unit names appear in an order that is not input order (Kilograms + Meters → "Meters and Kilograms"). Woxi quotes them and emits once.
  • Messages that embed a fraction are rendered as 2D layouts by wolframscript. Woxi does the same for user Message[sym::tag, args] templates and for built-in messages composed with syntax::format_message_with_expr / format_message_pieces (Select::normal, Surd::int); built-in messages assembled with a flat format! (e.g. the distribution family, Take::seqs) still print 1D.
  • Message multiplicity in general is not comparable: wolframscript re-evaluates a failing specification, so it prints some messages twice, and applies General::stop after three identical ones.

An unevaluated result passed on is evaluated again, repeating its messages

A value stored with = counts as evaluated until something changes (like WL's evaluation timestamps), so reading it does not repeat its messages. An unevaluated result passed on as an argument still is evaluated again: the pure function in Prepend[f[DeleteCases[l, #]], #] &@ l[[Quotient[n, 6] + 1]] gets l[[1 + Quotient[n, 6]]] as # and evaluates it again, so the first Part::pkspec1 prints twice. It also costs time: a recursion that nests an unevaluated expression one level deeper per call re-evaluates the whole nest on every call. A fromrank[list_, n_] whose Mod[n, 6] argument nests until $RecursionLimit takes ~3s in Woxi and 0.03s in wolframscript. And a nest built up step by step is re-evaluated whole at each step, which also costs stack: Depth[Nest[h[{#}] &, 0, 1500]] is 3001 in WL but exceeds $RecursionLimit in Woxi (as does the same Fold past ~500 steps).

A too-deep Part on a packed array is Part::partd1

Which of the two messages wolframscript picks depends on whether the object is a packed array, a storage detail Woxi has no equivalent of. Woxi always emits Part::partd, which is the unpacked answer:

# Unpacked — both engines agree:
wolframscript -code '{{1, 2}, {3, 4}}[[1, 1, 1]]'
# Part::partd: Part specification …[[1,1,1]] is longer than depth of object.

# Packed (anything Range, Table or Permutations built) — WL switches message:
wolframscript -code 'Range[5][[1, 1]]'
# Part::partd1: Depth of object {1, 2, 3, 4, 5} is not sufficient for the
# given part specification.
woxi eval 'Range[5][[1, 1]]'
# Part::partd: Part specification {1, 2, 3, 4, 5}[[1,1]] is longer than depth …

Packing the literal with Developer`ToPackedArray and unpacking the Range with Developer`FromPackedArray swap the two messages over, which is how the rule was confirmed. The values agree — both engines return the Part expression unevaluated.

ArgMax with an invalid constraint form

ArgMax[{list}, fn] — WL emits ArgMax::consf, Woxi silently echoes.

Failure prints its formatted message

In script mode wolframscript does not print a Failure[…] expression — it prints the failure's formatted message, wrapping every substituted parameter in DisplayForm[TagBox[…, Short[#1, 3] &]]. That is typeset internals leaking into script mode; Woxi prints the expression and renders ["Message"] cleanly. Deliberately not reproduced — test a Failure's keys, not its printed form.

Compiled code reports no CompiledFunction::cfn

Woxi runs a Compiled body on machine numbers where it can and otherwise evaluates it symbolically, silently. Wolfram prints CompiledFunction::cfn: Numerical error encountered at instruction …; proceeding with uncompiled evaluation when machine arithmetic overflows (an escape-time fractal whose iterate grows without bound) and then continues uncompiled; Woxi keeps going in machine arithmetic, so the values agree but the message is missing. The instruction number has no counterpart in Woxi.

Graphics and plotting

Attributes[GraphicsComplex] (unverified)

Woxi gives GraphicsComplex NHoldRest, so N leaves the primitives' point indices integers (a demonstration takes Normal[N@PolyhedronData[…, "Faces"]]). The exact attribute list (ReadProtected?) was not checked against wolframscript.

Woxi renders its own SVG; wolframscript prints -Graphics- and exports cairo-rendered SVG, so pixel or markup equality is never the goal. What follows is where the drawn result differs.

Products inside picture-label scripts keep an explicit *

A symbolic product used as a sub- or superscript of a picture label (Text[Superscript[e, j k L], {0, 0}], Text[Subscript[e, 2 x], …]) is written j*k*L / 2*x, the OutputForm spelling widget labels use, where the front end typesets the factors separated by spaces (j k L, 2 x). A string script (Superscript[e, "j k L"]) reads correctly.

Legacy `VectorFieldPlots`` plots carry fewer options

The package's Graphics gets FilterRules[{opts, Options[ListVectorFieldPlot]}, Options[Graphics]]: the caller's options followed by every default of DeveloperGraphicsOptions[](twice over fromVectorFieldPlot). Woxi keeps the caller's options and appends onlyAspectRatio -> AutomaticandPlotRange -> All, the two defaults the package changes. The primitives — what notebooks take apart with[[1, 3]]— are identical; onlyInputForm[plot]`'s option tail differs.

Graphics with Axes clips its edge tick labels

Graphics[…, Axes -> True, ImageSize -> {400, 400}] lays its plotting area out from x = 0 with only a right-hand margin, so the tick label at the range minimum is centered on x = 0 and half of it falls outside the canvas; the topmost y label is clipped the same way. Wolfram insets the area far enough for both. This is the Graphics renderer, not the one Plot uses.

Graphics sets tick and axes labels at the default size under BaseStyle

A Graphics (and the Show of a plot, which is one) takes the size and slant of BaseStyle / LabelStyle for its FrameLabels and PlotLabel only; its tick labels and AxesLabels keep the default 10 pt upright text, where Wolfram sets all of the graphic's text in the base style. Plot and the list plots apply it everywhere.

Graphics pads a Full range less

The Graphics renderer pads a PlotRange -> Full side by 4 %, where Wolfram pads more. In a MusicPlot this drops the pitch label just above the highest note (the C5 of MusicPlot[MusicVoice[{"C4", "B4"}]]), which Wolfram shows.

Symbolic tick labels are set on one line

A bare tick position written as a quotient (Ticks -> {{0, Pi/2, Pi, 3 Pi/2, 2 Pi}, Automatic}) is labeled with its expression, but Woxi writes it as in-line text (π/2, 3 π/2), because tick labels are drawn as single <text> runs. Wolfram typesets the label in TraditionalForm, so the fraction is stacked: π over 2, 3π over 2.

Tick step from the padded range

Woxi derives the tick step from the padded display range, as WL 15 does for ordinary ranges (ListPlot[{{0, 0}, {1, 7.8}}] steps its y axis by 2); a ListPlot whose data ends at 6e15 can still pick a coarser step than Wolfram.

ParametricPlot samples uniformly

max(PlotPoints, 500) points, no adaptive refinement (Plot has it). On a 51-term trig sum with PlotPoints -> 100 wolframscript emits 6052 line points against Woxi's 500. The values agree exactly and the shape is the same; only small-scale wiggles are under-resolved.

A two-parameter ParametricPlot drops the padding of an explicit range

ParametricPlot[{u, v}, {u, 0, 1}, {v, 0, 1}, PlotRange -> {{-15, 15}, {-16, 16}}] (or a Show of it with that range) is drawn with the range flush against the image edges, as a plain Graphics would be. The one-parameter curve plot keeps a small padding around the same explicit range, and Wolfram frames both alike, so the region version comes out a little tighter than WL.

2D field plots ignore PlotPoints and MaxRecursion

DensityPlot, ContourPlot, RegionPlot and the other field plots sample a fixed 100×100 grid, whatever the options say. Wolfram starts from a PlotPoints grid and refines it adaptively. Counting body evaluations of Sin[u v] on {u, 3, 4}, {v, 3, 4}, wolframscript makes 973 by default, 210 with PlotPoints -> 5, and 27 with PlotPoints -> 5, MaxRecursion -> 0. Woxi makes 10000 every time. The pictures look alike, but an expensive body (a compiled iteration, say) runs about 10–50 times longer than in Wolfram.

Frameless ContourPlot: band colors and side padding

Seen in the UnsteadyStateHeatConductionInACylinder Demonstration (ContourPlot[…, Contours -> 10, Frame -> False, ColorFunction -> "TemperatureMap", AspectRatio -> 5, ImageSize -> 80] beside its own Rotate[…, Pi]), compared with the notebook's stored snapshot (not yet checked with wolframscript):

  • The snapshot's bands use the TemperatureMap colors at k/11 for every k but 1, so the band just below the top is RGB[223, 132, 55]/255. Woxi colors the middle bands by their midpoint value and skips k == 10 instead: its second band from the top is RGB[236, 188, 66]/255, one step lower.
  • Woxi pads a frameless plot by about 2 px on each side, so the two halves leave a thin white seam where the snapshot's halves touch.

Plot parts nest differently

wolframscript wraps curves in GraphicsComplex / Annotation where Woxi emits plain Line/Arrow lists; SphericalPlot3D samples a different grid.

DensityPlot returns its colors as a GraphicsComplex of polygons with VertexColors in wolframscript. Woxi returns one Raster[cells, rect, Resampling -> "Linear"] over the plotted domain, and the option makes Show shade the cells smoothly, as the polygons do.

3D plots sample and nest differently

ParametricPlot3D, ListPlot3D, ContourPlot3D and RevolutionPlot3D draw the same surfaces, but the primitive tree differs from wolframscript's:

  • ParametricPlot3D[{Cos[t], Sin[t], t}, {t, 0, 6}] has 201 line points in Woxi and 284 in wolframscript (adaptive refinement). A curve clipped away by PlotRange still leaves a Line in Woxi.
  • wolframscript wraps the surface's GraphicsComplex in a list and colors a ColorFunction surface with VertexColors, so p[[1, 2]] is not a list of {RGBColor[…], Polygon[…]} pairs as in Woxi.
  • ListPlot3D of scattered {x, y, z} points interpolates a refined triangulation in wolframscript; Woxi draws one polygon over the points.
  • A ParametricPlot3D surface with PlotPoints -> n, MaxRecursion -> r is sampled on a uniform grid of (n - 1) 2^r cells per direction (at most the automatic grid); wolframscript refines only where the surface bends (the figure-eight Klein bottle at n = 20, r = 1: 2286 triangles against Woxi's 2888). Where a surface folds over at its silhouette (that Klein bottle's outer rim), the facets straddling the fold show as small teeth between the lit outside and the darker inside, which wolframscript's finer facets there keep too small to see.
  • ContourPlot3D meshes its PlotPoints grid only, while wolframscript refines it adaptively (MaxRecursion): with PlotPoints -> 15 an ellipsoid shows a 2–3× finer mesh in wolframscript.
  • RevolutionPlot3D samples a hair inside the parameter range (1.0000001428…), and an explicit RevolutionAxis -> {0, 0, 1} gives a different (rotated) mesh than the default axis.

The adaptive samplers are not decoded, so these cases are skip-listed.

Plot3D draws clipped parts and jumps without WL's caps and refinement

  • Heights outside the vertical PlotRange (explicit, or the automatic range that clips outliers) are flattened onto the box face in the surface's own color; WL cuts the surface at the face and fills the cut with the ClippingStyle -> Automatic light gray cap.
  • Without adaptive refinement, a jump inside the last grid cell (e.g. a Sum whose real upper limit crosses an integer at the domain's edge) is drawn as one sloped strip across the cell; WL refines it into a near vertical wall that the surface in front hides.

Plot samples just inside the interval's ends

wolframscript's first and last samples sit about 1*^-6 of the range inside {x, 0, 1}, so PlotRange[Plot[x^2, {x, 0, 1}]] gives {{0., 1.}, {0., 0.9999999591836739}}. Woxi samples the ends themselves and gives {{0., 1.}, {0., 1.}}.

Rasterizing a Graphics depends on the display scale

Image[Graphics[…, ImageSize -> {{246, 246}, {246, 246}}]] is 492 × 492 pixels in wolframscript on a Retina Mac (the front end renders at the display's scale), and SetAlphaChannel[Graphics[…], mask] is rasterized the same way. Woxi rasterizes at the requested size. Not reproducible across machines (compare "HighlightImage returns the image at its own size").

Chart functions: symbolic primitives

PieChart, BarChart and friends return Graphics[{…}], but only some reproduce wolframscript's primitive tree:

  • RectangleChart, BarCharts`GeneralizedBarChart, PairedBarChart and PairedHistogram use one Tooltip[StatusArea[Charting`DelayedMouseEffect[…]]] per bar, at wolframscript's positions. The paired charts draw WL's axes and ticks, but as lines in data coordinates rather than WL's Offset forms, and their options are not reproduced. PairedHistogram leaves a gap of 0.075 times the largest count between its halves. wolframscript's gap is a little smaller and not proportional: 15/67 for a largest count of 3, 85/163 for 5.
  • BarChart of one plain dataset (a list or association of numbers, no options) builds wolframscript's tree. Its bar edges and extents are computed from the decoded layout and can be an ulp or two off wolframscript's (the harness compares them with NEAR_MATCH). The layout has three bar-width stretches (up to 9 bars, 10–33, 34–45) and touching bars from 46 on. Those boundaries were read off wolframscript, not derived. A chart with several datasets or with options still emits plain {RGBColor[…], Rectangle[…]} pairs.
  • RectangleChart3D boxes are GraphicsComplex polygons at wolframscript's corners, above an invisible base plate. The faces carry a plain color instead of wolframscript's VertexColors shading (and its LightDarkSwitched pairs), and the scaled backdrop polygons, face grids and options are missing.
  • RectangleChart Callout labels sit 19 printer points past the bar, or 20 when the label has an ascender. That rule is read off a few labels (wolframscript measures the text). Woxi draws the leader curves and the Offset text at their base points, so the label can fall outside the plot range.
  • BulletGauge builds wolframscript's tree. Two details differ: a reference marker's matrix entry (-0.07499999999999996) changes in its last digits with the marker position in wolframscript, and the series colors from the third series on drift in the last digit. The colors are hues 0.9/φ apart modulo 0.9, at saturation and brightness 0.73. Minor ticks (ScaleDivisions -> {n, m}) are not drawn. ImageSize and Background are honored; LabelStyle and TicksStyle are ignored, so the scale keeps its default gray 10-point labels. The renderer draws Scaled[{dx, dy}, p] and Offset[d, p] points at p, so the scale's tick marks have no length.

WL 15 list plots: remaining layout gaps

Matched: the automatic PlotRange/padding/AxesOrigin rule, the PointSize[k 11/6000] dots, the tick steps (smallest 1, 2, 5 × 10^k giving fewer than 8 intervals of the padded range, as AbsoluteOptions[g, Ticks] reports them), open markers, the Marketing/Business/Web/Detailed/Scientific/ Minimal/Grid/Frame themes and callout leaders. Still different:

  • The plot range is widened until every point label fits at its first choice of place; WL's PlotRangePadding for labels comes out a little larger (Scaled[0.0809] + extent/250 pt fits its numbers), so Woxi's range ends short of WL's next tick. The callout positions come from a greedy search, not WL's optimizer, so the leader directions differ.
  • Series-end labels that crowd each other are spread apart evenly, where WL's leaders bend by their own optimizer.
  • A Legended dataset of ListPlot draws its legend entry, but the result is a Graphics, not WL's Legended[Graphics[…], Placed[PointLegend[…], After]].
  • ChartingSimpleTicks` frame ticks of the themes (majors only, at most six) are reproduced, but their tick marks keep the default length.

Plot end labels do not avoid the axis label

Plot[{f1, f2}, …, PlotLabels -> {"a", "b"}, AxesLabel -> {"x", "y"}] hangs each label past the right end of the plot at its curve's height. A curve that ends on the x axis (a spectrum decaying to 0) puts its label right on top of the AxesLabel that sits there. Wolfram lifts the label clear of the axis label and joins it to the curve end with a bent gray leader. A curve that leaves the top of the plot range is labeled from where it crosses the range's edge. Woxi starts the leader at the range's right edge. Seen in a Demonstration snapshot; WL's leader optimizer has not been measured.

A legend placed at a named corner is aligned to the whole image

PlotLegends -> Placed[legend, {Right, Top}] (and the other named {horizontal, vertical} alignments) puts the legend in that corner of the whole picture, where WL aligns it to the plot region inside the frame. A framed plot with a PlotLabel therefore has its legend overlapping the label in Woxi. The same holds for a plot's legend kept by Show[plot, Graphics[…]].

An AxesLabel carrying a reciprocal power

A label's Power[x, -1] renders as x⁻¹ in SVG markup where Wolfram stacks it as the fraction 1/x.

Graphics3D lighting and projection

With the same scene both engines place every primitive identically, but:

  • Lighting follows WL's model (src/functions/lighting3d.rs, decoded by rasterizing single polygons at known normals with wolframscript and validated on random unseen orientations, to within 1/255): color = glow + Σ ambient·c + Σ light·(c·max(0, n·l) + s·(n·h)^e), clipped per channel, with faces lit two-sided and "Directional" lights at ImageScaled[p] pointing along p in the camera frame. Lighting -> Automatic is WL's ambient plus four colored lights, plots use the default theme's per-surface material (SystemPlotThemeDump$ThemeDefaultLighting: palette color, its own darkened lights, Specularity[White, 3 | 6]), a ColorFunction surface is lit by "Neutral" lights, and explicit specs ("Ambient", "Directional", "Point", "Spot", the named sets, None, and Lighting inside a Directive) replace them. Remaining differences:
  • Woxi shades each facet flat with its face normal; WL interpolates vertex normals per pixel, so curved surfaces read smooth there and faceted here, and a highlight smaller than a facet is lost or smeared.
  • WL's camera is perspective, so its specular half vector varies across a face (local viewer); Woxi's is the same everywhere. A highlight on a large flat face can sit a little off (up to a few levels of 255).
  • "Spot" lights are implemented from the documentation's form (cone half angle, cos^s falloff, default target the scene center, {c0, c1, c2} attenuation) but were not measured against wolframscript; "Point" lights are, without attenuation. A fifth element that is not a {c0, c1, c2} list leaves the spot unattenuated, which matches a Demonstration snapshot's spot brightness.
  • MeshShading colors are lit like a PlotStyle color; not measured.
  • The 3D charts (BarChart3D, PieChart3D, …) are lit by "Neutral" lights from the default view, which matches PieChart3D; BarChart3D's WL 15 gradient bar style is not implemented.
  • Projection. Woxi's camera is now a perspective one like Wolfram's (the eye |ViewPoint| box sides from the box center; a ViewPoint with an infinite component is orthographic). An explicit ViewAngle still sets the scale from the orthographic law above, so a wide angle (≳30°) can leave the silhouette a few percent off. The surface plots (Plot3D, ParametricPlot3D, …) apply the same law about the box middle; their ViewAngle scale is derived from the Graphics3D measurements, not measured on the plots themselves. The 3D charts (chart.rs) keep their own orthographic camera.

Specularity

Specularity[s, e] adds the Blinn highlight light · s · (n·h)^e per directional, point or spot light that reaches the face (never for ambient light). Specularity[s] without an exponent falls off as (n·h)^1.5 in wolframscript (fitted over four angles; every explicit exponent is used as given). Under VertexColors — how WL's ColorFunction surfaces carry their colors — wolframscript draws no highlight even though the plot's style names Specularity[White, 3], so Woxi leaves it out there too.

Standalone 3D plots ignore the camera options

Plot3D and most other 3D plot functions (ParametricPlot3D, ContourPlot3D, …) draw their own picture with the default camera, so ViewPoint, ViewAngle and SphericalRegion given to the plot call itself change nothing (RevolutionPlot3D given a ViewPoint, ViewVertical or ViewVector is drawn from its symbolic form by the Graphics3D renderer instead, which honors them):

ContourPlot3D, RevolutionPlot3D, …) draw their own picture with the default camera, so ViewPoint and ViewAngle given to the plot call itself change nothing: Plot3D[x y, {x, -1, 1}, {y, -1, 1}, ViewPoint -> Above] draws the same picture as without the option. The options are kept on the result, so Show[Plot3D[…], …] (and a Show combining the plot with a Graphics3D) re-renders the scene through Graphics3D and honors them, including the SphericalRegion -> True framing a Manipulate frame defaults to. The surface plots drawn through the shared surface renderer (Plot3D, ParametricPlot3D, …) honor SphericalRegion and ImagePadding on their own: a Demonstration's snapshot of a ParametricPlot3D at ImageSize -> {450, 450}, ImagePadding -> 20 inside a Manipulate drew its box 351 px wide (Woxi: 348 px with the sphere framing, 405 px with the box-outline fit it used before). With the automatic ImagePadding, three snapshots of a morphing ParametricPlot3D surface (SphericalRegion -> True, ImageSize -> {400, 400}, a bowl, a torus-like ring and a mushroom shape) all draw it 0.90–0.91× as large as the bare sphere circle fills the picture, so Woxi widens the sphere-framed view by 1.1 there. Whether that margin is proportional or a fixed band of about 18 px (as an automatic padding would be) can't be told from snapshots of one size; unverified with wolframscript.

A Manipulate frame's default sphere framing of a surface with an automatic range (PlotRange -> All included) uses the sphere that just encloses the surface instead, as Graphics3D does: three snapshots of an unboxed spiral shell at ImageSize -> {450, 350} draw it 327, 339 and 290 px wide (Woxi: 315, 315 and 290 px; the box sphere gave 197 px for the first). The 4–8 % shortfall of the first two is not decoded. Whether an explicit SphericalRegion -> True with an automatic range should use the contents sphere too is open: the morphing-surface snapshots above fit the box sphere, but it is not recorded whether their PlotRange was pinned.

SphericalRegion -> True draws about 6 % larger than Wolfram

Woxi frames the picture by the sphere around the (2 %-padded) bounding box and widens the perspective view until that sphere fits. That reproduces the proportions Wolfram draws across differently shaped scenes. It also matches the shrink ratio of a cylinder from {0,0,0} to {10,0,0} at ImageSize -> {550, 350} (324/532 in Wolfram, 331/550 in Woxi). In absolute terms, though, four snapshots of one Demonstration at ImageSize -> {400, 400} (a Show of a ParametricPlot3D and Graphics3D) all came out 6–7 % larger in Woxi. That is as if Wolfram's sphere were around a box padded by about 5.5 % per side instead of 2 %. Where the extra margin comes from was not decoded.

With an automatic range, Woxi's sphere is the one around the box center that just encloses the contents (2 % padded), not the one through the box corners. Four snapshots of closed polyhedra (a ring of triangles capped by two pyramids, in 2 × 2 × 1.5 to 2 × 2 × 2.3 boxes) at ImageSize -> {400, 400} match it to within 1 %, while the box sphere drew them 1.55–1.63× too small. Contents that fill the box (cuboids, long bars) reach its corners, so the two spheres nearly agree there. A pinned PlotRange or an explicit PlotRangePadding keeps the box sphere. Wolfram's documentation describes the sphere as one "around the three-dimensional bounding box", and an earlier unit test expected two unit disks 2 apart to span 55 % of a 400 × 400 picture, as the box sphere gives. Where that figure came from is not recorded, and it contradicts the polyhedron snapshots, whose boxes are nearly the same shape. Woxi now draws the disks at about 75 %. This needs checking with wolframscript.

A flat scene is still off. A twisted band of radius 3 around the z-axis has a 6 × 6 × 2 bounding box. Drawn at ImageSize -> {450, 400} with the default ViewPoint, it was about 1.36× larger in four Wolfram snapshots than under the box sphere. Matching them takes a framing sphere of radius about 3.4. The contents sphere (about 3.2) closes most of that gap, but now draws the band roughly 7 % too large. The 6–7 % excess of the ParametricPlot3D snapshots above was measured with the box sphere. Those contents largely fill their box, so the contents sphere should change them only a little. They have not been re-measured.

A ring-shaped scene is drawn too large. A Demonstration's cylinder of small triangles and spheres (a 2.1 × 2.1 × 1.2 box at ImageSize -> {300, 350}) spans about 82 % and 89 % of the width in its snapshots. A band of narrow faces of radius 1 and height 1 at ImageSize -> {400, 400} comes out at about 90 % under the contents sphere. Framing by the sphere through the farthest corner of each primitive's own bounding box drew such a band at about 81 % and matched that Demonstration. It was not checked against the polyhedron snapshots above. No single rule is known to fit both.

A second scene of this kind is drawn the same 1.35× larger by Wolfram: a unit Sphere[] with the four vertices {0, ±√2, 1}, {±√2, 0, -1} of a tetrahedron around it (a 2√2 × 2√2 × 2 box) and Boxed -> False, SphericalRegion -> True, ImageSize -> 450, from the default ViewPoint. In a Demonstration's snapshot the ball spans 252 of the 450 pixels. Woxi draws it 187 pixels wide, framing by the box's sphere (radius √5). Framing by the sphere that holds the contents (radius √3 around the box center, padded by 2 %) reproduces the 252 pixels exactly and also fits the band above. That rule was tried and reverted. It contradicts the rings calibration in svg_rendering.rs, where two unit disks 2 apart span about 55 % of a 400 × 400 picture (the box sphere). It also contradicts the documented "sphere drawn around the bounding box", under which a lone Sphere[] shrinks to about 1/√3 of the frame.

Sphere framing of an unboxed box at a fixed ImageSize

Under the default SphericalRegion -> Automatic, Woxi frames a Graphics3D scene like SphericalRegion -> True (by the sphere around the displayed box) when the box is invisible (Boxed -> False), the scene is pinned by an explicit PlotRange or seen from an explicit ViewPoint, and the picture is drawn at ImageSize -> {w, h}. Three Demonstrations' snapshots motivate this, none checked with wolframscript: a cylinder from {-10, 0, 0} to {10, 0, 0} in Show[g, PlotRange -> {{-11, 11}, {-4.25, 4.25}, {-4.25, 4.25}}, ImageSize -> {575, 350}] is about 246 px wide (Woxi: 243 px; the box-outline fit gave 357 px), a tube from {-6, 0, 0} to {6, 0, 0} in a {{-6.5, 6.5}, {-4, 4}, {-4, 4}} box at ImageSize -> {595, 375} is 244.5 px wide (Woxi: 243 px; the outline fit gave 295 px), and a Show of a Graphics3D and a ParametricPlot3D at ImageSize -> {400, 400} from a custom ViewPoint is about 1.02× the sphere framing and 0.86× the box fit.

A Manipulate frame sphere-frames such explicitly aimed or pinned scenes whatever their box and size (boxed scenes in a pinned PlotRange switched between view points, ViewPoint -> Below and a skew view, measure about 0.7× the outline fit).

Without a PlotRange or ViewPoint the outline fit stays, inside a Manipulate too: a plain Boxed -> False Graphics3D of a tall 4 × 4 × 10 building at ImageSize -> {300, 400} in a Manipulate fills about 383 px of the snapshot's 400 px height, where the sphere framing would draw it about 0.73× as tall, and a SphericalRegion -> False cylinder without a PlotRange at ImageSize -> {550, 350} fills the width (532/550).

Show keeps only its first graphic's options, so a Show led by a Graphics3D has no PlotRange and its explicit ViewPoint is what sets it apart from the building. A ParametricPlot3D result, as in wolframscript, carries the extent of its surface as an explicit PlotRange, so a Show led by one is framed by the sphere around that box. A Demonstration's Manipulate of two such Shows at ImageSize -> {290, 290} from ViewPoint -> {0, -2, 0.5} draws a unit sphere (led by a Graphics3D) at about 0.90 of the width and an inner half torus of a 4 × 4 × 2 box (led by a ParametricPlot3D) at about 0.57. Woxi draws them at 0.93 and 0.64; with the contents sphere for both, the torus came out at 0.83. Whether PlotRange and ViewPoint are really the triggers, or merely correlate with them in these four snapshots, is unverified. A Boxed -> False picture given only a width still fits the box outline unless it is made of round solids alone (Sphere, Cylinder, Cone), which are fitted to their contents (wolframscript draws an unboxed Sphere[] 360 × 363, boxed 360 × 391); wolframscript's unboxed hemisphere of 100 small polygons is 360 × 354 against 360 × 305 boxed, which neither rule reproduces. SphericalRegion -> False, AspectRatio -> Full and an explicit ViewAngle turn the sphere framing off. The surface plots (ParametricPlot3D, Plot3D, …) drawn on their own are unchanged.

A fourth Demonstration contradicts the rule. A Manipulate showing Show[g, Graphics3D[…], ViewPoint -> {0, 10, 0}, PlotRange -> 3.0, ImageSize -> {400, 400}] (with g an unboxed ContourPlot3D and every part lying in the plane y = 0) draws the scene at about 60.5 px per unit in three snapshots. That is close to the box-outline fit (Woxi: 63 px per unit). The sphere framing that Woxi applies, from the Manipulate frame and from the rule above, gives 38 px per unit. The view point is much farther away (|ViewPoint| = 10) than in the cases that fit the sphere (about 2 to 3.4), but which property turns the sphere framing off is unverified.

A close ViewPoint contradicts the rule. A Demonstration's snapshot of a Show of three Boxed -> False Graphics3Ds (a desk fan: rings of radius up to 1 in the y-z plane, on a stand reaching down to z = -1.5) at ImageSize -> {600, 400} from ViewPoint -> {1, -1, 0} draws the fan about 380 px tall, 0.95 of the height. Woxi's sphere framing draws it 284 px tall, and even the box-outline fit (SphericalRegion -> False) only 300 px. The width-to-height ratio (0.58) matches a perspective eye at |ViewPoint| box sides, so only the scale is off: Wolfram fits roughly the projected contents, not the box (whose perspective outline is about 1.25× the contents here) nor its sphere. No single rule found so far reproduces this and the three snapshots above; unverified with wolframscript.

An unboxed scene without a PlotRange or ViewPoint in a picture of fixed width and height is framed by the shape of its box. A compact box (longest side at most 2.25 times the shortest, contents not flat) is sphere-framed. A Demonstration's Manipulate shows a plain Boxed -> False Graphics3D at ImageSize -> {400, 400}: a 2 × 4 plane in z = 0 crossed by a vertical arrow from z = -2 to z = 2. Its snapshots draw the plane about 323 px wide (Woxi: 322 px; the fit to the contents gave 398 px). Another one draws the five Platonic solids at ImageSize -> {80, 80}: a unit cube spans 65.5 × 71.5 px and a tetrahedron of edge 1 spans 49 × 42.5 px, off center (Woxi: 66.5 × 72 and 50.5 × 44, each solid 2–3 % larger than in the snapshot). An elongated box (the tall building above, a thin 3.4 × 3.4 × 39 cylinder that fills 95–98 % of a 150 × 150 picture) and flat contents are fitted to the frame by their contents. The limit of 2.25 lies between the plane's 2 × 4 × 4 box and the building's 4 × 4 × 10 one. Whether the shape of the box is really what decides is unverified with wolframscript. A cylinder about as wide as it is tall (8 × 8 × 7.06) at ImageSize -> {150, 150} now spans 94 % of the frame, just under the 95–98 % of that Demonstration's snapshots.

A second square picture agrees. A Demonstration's Manipulate shows an unboxed Graphics3D of polygons at ImageSize -> {400, 400}, from the default camera and with no PlotRange. The polygons form a triangular prism cut into tetrahedra and prisms, in a 1.2 × 1.2 × 1 box. Its snapshot draws the scene about 314 × 276 pt. That is the sphere-framed size (Woxi with SphericalRegion -> True: 314 × 279). The outline fit draws it 398 × 354, so the scene touches the picture's edges. Fitting the scene's box outline instead of its contents (as a Boxed -> True picture does) gives 350 × 311, which does not match either. Three rules were tried and each contradicts an earlier snapshot:

  • Sphere-framing every square unboxed picture in a Manipulate breaks the fixed-volume cylinders at ImageSize -> {150, 150} (see an_unboxed_scene_without_a_set_view_fills_a_pinned_picture). They fill 95–98 % of the frame, but sphere framing draws the thin one at 84 %.
  • Sphere-framing every unboxed picture no taller than wide also breaks the stepped stack of cuboids at ImageSize -> {400, 300}, which keeps the outline fit.
  • A rule based on how compact the box is breaks the 8 × 8 × 7 cylinder. It also fills its frame.

The two sphere-framed scenes are built from Polygons (and an Arrow). The outline-fitted ones are Cylinders and Cuboids. It is not known whether that difference matters. None of these cases has been checked with wolframscript.

PointSize in Graphics3D draws larger than Wolfram

Base length of relative Thickness / PointSize in Graphics3D

Woxi measures a relative Thickness[t] and PointSize[s] in a Graphics3D against the picture's width, or against its shorter side when ImageSize -> {w, h} pins a picture less tall than wide. Two Demonstration snapshots motivate the shorter side, neither checked with wolframscript: PointSize[1/60] atoms at ImageSize -> {595, 375} are about 6–6.5 px wide (shorter side: 6.25 px; width: 9.9 px), and Thickness[0.012] lines at ImageSize -> {580, 370} are about 4.5 px wide (shorter side: 4.44 px; width: 6.96 px). Both also fit a fixed base of the default 360 px width (6 px and 4.32 px), which the snapshots can't rule out.

SphericalRegion framing and the default Tube radius

A Demonstration's snapshot (Graphics3D at ImageSize -> {580, 370}, ViewPoint -> {0, -1, 1}, SphericalRegion -> True, a scene about 9.3 × 28.9 × 9.1 units) is drawn about 1.15× as large as Woxi draws it, with slightly weaker perspective. Framing by the bare sphere diameter 2 r of the unpadded box (no r · d / √(d² − r²) widening for the view cone) would match that snapshot, but the widened span matches the other snapshots listed under "Sphere framing of an unboxed box at a fixed ImageSize" better, so the framing is unchanged. The same snapshot's Tube[BSplineCurve[…]] with no radius (a curve 24 units long) is drawn with a radius of about 0.11, about 0.0035 of the scene box's 31.7-unit diagonal. A second Demonstration's tube icosahedron (separate radius-less two-point tubes in a scene about 11 units across) measures the same fraction, so Woxi now sizes a radius-less Tube as 0.0035 of the diagonal of the scene's box. Whether that is Wolfram's exact rule (rather than, say, a fraction of the picture) is unverified with wolframscript.

3D tick step on an exact unit PlotRange

Woxi picks the automatic 3D tick step from about four intervals with the 1, 2, 2.5, 5 multipliers, so an axis whose PlotRange is exactly {0, 1} ticks at 0.25 (0.00, 0.25, …). A Demonstration snapshot of a ParametricPlot3D with PlotRange -> {{0, 1}, {0, 1}, {0, 1}} shown at ImageSize -> {400, 400} with SphericalRegion -> True ticks every axis at 0.5 (0.0, 0.5, 1.0) with minor ticks between. The wider labels also push the left z-axis label partly out of the picture. Whether Wolfram's step depends on the projected axis length or drops the 2.5 multiplier in 3D can't be told from one snapshot, so the current rule stays.

Axis edges and tick density on an elongated 3D box

A Demonstration's snapshots of a Graphics3D with BoxRatios -> {2, 1, 1}, the default ViewPoint, PlotRange -> {All, {-5, 5}, {-5, 5}} and ImageSize -> {500, 400} put the y axis on the upper-left box edge (x low, z high) and the z axis on the left vertical edge (x low, y low). Woxi's AxesEdge -> Automatic takes the exposed edge nearest the viewer, which for this box is the lower-right y edge and the right vertical z edge; it matches Wolfram for a cube and for a {1, 1, 0.4} box. The same snapshots label the two short axes -5, 0, 5, where Woxi steps by 2.5 (-5.0, -2.5, …), so Wolfram seems to thin the ticks of a short box side. One box shape doesn't pin down either rule, so both stay as they are. (A Demonstration snapshot of a box 1.6 times as tall as it is deep does pin down one exception: the x axis, along the front face, stays on the bottom front edge although the top back one is nearer the viewer; Woxi follows that.)

Direction of 3D tick marks

Wolfram draws a 3D tick mark in the scene along one of the two other coordinate directions, into the box. The rule Woxi uses was read off wolframscript renderings of a unit cube with long colored ticks from 23 view points: the z axis's ticks run along the horizontal axis whose edge meets the z axis's edge; an x or y axis's ticks lie in the horizontal face on its edge when that face is turned away from the viewer, and run vertically otherwise; either falls back to the other direction when it is foreshortened below about 0.55 (horizontal) or 0.78 (vertical) of its length, or nearly parallel to the axis on screen. It reproduces all but three borderline views: ViewPoint -> {3, -1, 2} draws the y axis's ticks vertically where Woxi keeps them along x, {2, -1, -2} the z axis's along x where Woxi picks y, and {-0.5, -1, 3} the z axis's along y where Woxi picks x. The marks are about 5 pixels long across the line of sight, foreshortened with the scene.

Texture and VertexTextureCoordinates

A textured convex Polygon in Graphics3D is drawn with its image (per-triangle clip path and affine matrix), shaded by the scene lighting of a white surface (a color-matrix filter). Textured concave or holed polygons render as plain default-blue faces. This cannot be checked against wolframscript by diffing SVG (it rasterizes 3D output).

Some Complex* plot functions are unimplemented

ComplexArrayPlot, ComplexContourPlot, ComplexVectorPlot and ComplexStreamPlot have no implementation; wolframscript renders all of them. (ComplexPlot, ComplexPlot3D, ComplexListPlot and ComplexRegionPlot are implemented.)

GeoGraphics view and output form

The zoom level and single-point default span are Woxi heuristics and will not match wolframscript's view. GeoGraphics text output is -Graphics- in Woxi where wolframscript dumps the full GeoGraphics[-Graphics-, GeoBackground -> …, GeoCenter -> …] options form, and GeoRegionValuePlot returns a bare Graphics where WL wraps it in Legended.

Geodesic values differ in the last 2–4 digits

GeoDistance and friends agree with WL to ~12 significant figures. Wolfram displays the shortest round-trip of its own geodesic f64, which differs from geographiclib (both the Rust crate and the canonical Python reference) by a few to tens of ULP. Not reproducible with this library.

Entity["City", …] resolves to the region centroid, because the offline country database has no city-level data — Munich resolves to Bavaria's center rather than WL's actual Munich coordinates. GeoNearest returns a human name where WL returns its canonical entity id.

DiskSegment and other region primitives are not drawn

DiskSegment has its measures but no graphics rendering.

Buttons inside a picture are not clickable

Inset[Button[label, action], pos] inside a Manipulate body draws correctly and the action is held, but pressing it does nothing: the renderer does not report each inset button's pixel rectangle, and Woxi Studio has no hit-testing against the rendered picture. (Button[Graphics[…], action] cells of a GraphicsGrid are the exception: they carry hit regions, and Woxi Studio overlays clickable areas on them.)

Manipulate control gaps

  • A TabView of controls is flattened — every tab's controls are shown at once, since Woxi's control panel is one flat list.
  • A TabView in a Manipulate body (or any rendered layout) is drawn as its row of tab labels above the selected pane's rounded gray panel, but the labels sit just above the panel rather than overlapping its top edge, and they are not clickable in the picture (the tab is switched from the control panel instead). The exact front-end colors and margins are approximated.
  • One unrecognized control spec makes the entire Manipulate give up, so a single unsupported control takes every other control with it.
  • Manipulate[…, Initialization :> …] leaks its definitions into the session.

Iterated NIntegrate over a Boole[…] region can still be slow for

some outer-parameter ranges

NIntegrate[Boole[cond], {inner, a, b}] integrates exactly (a boundary- crossing search, not quadrature), and the iterated (2D+) form now detects the common case where the inner region's measure touches exactly zero partway across the outer range — a kink in the outer integrand's derivative — and splits the outer integration there. That covers a region disappearing (or appearing) as the outer variable sweeps past it, e.g. a horizontal strip moving off the edge of a disk.

It does not detect a kink where the region's boundary switches which underlying curve is active without the total number of boundary crossings changing — e.g. cutting a disk with a horizontal plane whose height sweeps past the disk's own top or bottom edge (as opposed to past the disk entirely): the inner slice keeps exactly one crossing in, one out, on both sides of that switch, so the crossing-count signal sees no kink there. Outer sample points near that switch fall back to the shared evaluation budget as a bounded-but-slow backstop (tens of seconds, not the multi- minute hang before that budget was shared across the whole iterated call — see NINTEGRATE_BUDGET in src/functions/calculus_ast.rs) rather than hanging outright. Verified with:

woxi eval 'NIntegrate[Boole[p^2 + (q - 3)^2 < 4 && q < 4], {p, -2, 2}, {q, 1, 5}]'
# Correct (2.456739...+), but takes on the order of tens of seconds.

Woxi's own SVG cannot be compared

wolframscript's ExportString[…, "SVG"] is always cairo output — pt units, text as glyph outlines, rgb(%) colors — for every graphics type. A test that prints raw SVG can never match. Assert the meaning instead (Area[Polygon[…]] rather than counting <polygon> tags).

Cairo also stamps per-run ids into the output, so even comparing wolframscript with itself fails:

wolframscript -code 'ExportString[Graphics[Line[{{0, 0}, {1, 1}}]], "SVG"] ===
                     ExportString[Graphics[Line[{{0, 0}, {1, 1}}]], "SVG"]'
# False

Two pictures that are the same drawing therefore cannot be compared through ExportString in a doc test either; pin those in tests/interpreter_tests/graphics.rs instead.

Play prints as -Sound-

wolframscript -code 'Play[Sin[2 Pi 440 t], {t, 0, 1}]'
# Sound[SampledSoundFunction[CompiledFunction[{11, 15., 5446}, …], 8000, 8000]]
woxi eval 'Play[Sin[2 Pi 440 t], {t, 0, 1}]'
# -Sound-

wolframscript compiles the amplitude function and prints the whole compiled object, internal register layout and all. Woxi wraps the inert Play call in a Sound, which reports the same Head and renders the same playable widget, but prints as the short form. Test with Head, AudioSampleRate or AudioLength, never against the printed form.

GraphPlot accepts a DirectedEdge-keyed edge shape rule

wolframscript -code 'Head[GraphPlot[{1 -> 2, 2 -> 3},
                       EdgeShapeFunction -> {DirectedEdge[1, 2] -> (Line[#1] &)}]]'
# GraphPlot   (unevaluated, no message)
woxi eval 'Head[GraphPlot[{1 -> 2, 2 -> 3},
             EdgeShapeFunction -> {DirectedEdge[1, 2] -> (Line[#1] &)}]]'
# Graphics

wolframscript's GraphPlot builds an undirected graph out of a rule list, so only an UndirectedEdge-keyed rule matches a part of it; a DirectedEdge key matches nothing and the whole call is abandoned without a message. Woxi accepts either key. Not reproduced: silently abandoning the plot looks like a defect, and the same call with an UndirectedEdge key conforms on both sides.

StreamPlot streamline spacing is an approximation (not reproducible)

Woxi places evenly spaced streamlines (Jobard–Lefer) about 1/22 of each axis' range apart by default. Wolfram's spacing depends on the field: counting the streamlines crossing a vertical line, a uniform flow (StreamPlot[{1, 0}, {x, -1, 1}, {y, -1, 1}]) has 29, but the flow around a cylinder ({x, -3, 3}, {y, -2, 2}) has 17 at its upstream edge. Its seeding algorithm is not recoverable from the output, so Woxi's default sits between the two, and StreamPoints settings keep Wolfram's proportions to it.

VectorPlot3D lays its arrows out differently

Woxi centers one arrow in each cell of an n×n×n grid (VectorPoints -> n), the longest 0.7 / n of the box side. wolframscript samples a staggered lattice with spacing 1 / (2 (n - 1)) of the side and drops some of its points (4, 18, 49, 100, 221 arrows for n = 2 … 6 of a uniform field), its longest arrow 0.225, 0.18, 0.164, 0.155, 0.15 of the side for n = 2 … 6 and 0.9 / n from there on, and widens the range (to ±1.222 for {x, -1, 1} at n = 4). Both size the heads (Arrowheads[{{0.3 L, 1.}}]) and tubes (L / 20) by the longest arrow L, so only the layout and L differ.

StreamPlot3D picks different extra seeds past the coarse lattice

StreamPlot3D[…, StreamPoints -> n] seeds a k×k×k lattice over the middle 80 % of each side (k³ ≤ n, both sides agree) and tops it up with points of a finer lattice. Which finer points come first differs: for k = 2 (n = 9 … 16) wolframscript takes the eight (±r, ±r, ±r) points (r = 0.267 on {-1, 1}) in the order (-,-,+), (-,+,-), (-,+,+), (+,-,-), (+,-,+), (+,+,-), (+,+,+), (-,-,-), Woxi nearest-the-center-first in lattice order starting at (-,-,-). So StreamPlot3D[{-y, x, 0.2}, …, StreamPoints -> 10] draws its two inner helices through different seeds (a different phase offset between them). The finer lattice is not consistent either: for k = 3 the extras are (±0.4, ±0.4, ±0.4) and for k = 4 (±0.48, ±0.48, ±0.48), in yet other orders (probed with the fields {1, 0, 0} and {0, 0, 1}, whose lines show the seeds' (y, z) and (x, y)). Sorting by a floating-point distance to the center, by Nearest, or by lattice order reproduces none of the observed orders.

Plot argument forms from the reference pages that are still missing

Found by the round-4 parameter sweep of the plot reference pages; the expected pictures come from the reference pages' own examples.

  • 3D plots draw no legends: ParametricPlot3D[{…, Legended[curve, "label"]}, …] draws the curve but no legend, and PlotLegends is ignored by the 3D plot functions.
  • Callout labels (PlotLabels -> Callout[Automatic, Above] in BarChart, PlotLabels -> Callout[Automatic] in PieChart, LabelingFunction -> Callout in ListPointPlot3D) are drawn as plain labels beside their element, without the leader line.
  • Histogram[<|"one" -> {…}, "two" -> {…}|>, n, PlotLabels -> Automatic] draws no dataset labels (PlotLegends -> Automatic does draw the legend).
  • ListPlot3D of a height matrix numbers its x/y axes from 0, Wolfram from 1.
  • Tabular / Dataset column selection (ListPlot[tab -> "col"], NumberLinePlot[tab -> {"a", "b"}], ListPolarPlot[tab -> {"θ", "r"}], …) is unsupported, since there is no Tabular.
  • Region iterators (Plot[f, {x} ∈ Line[…]], ParametricPlot[…, {u, r} ∈ region], RegionPlot3D[…, {x, y, z} ∈ Ball[…]]) are unsupported.
  • LogLogPlot / LogLinearPlot with a lower limit of 0 ({x, 0, 10}) are an error; Wolfram plots from just above 0. ScalingFunctions -> "Reverse" is not applied to the log plots.
  • ComplexPlot[f, {z, Infinity}] (the infinite-plane form) is an error.

Styling options that still have no effect

Found by the round-5 parameter sweep of the plot reference pages: each is accepted, but the picture is the same as without it.

  • Plot: ClippingStyle, ExclusionsStyle, PlotRangeClipping, PlotLayout.
  • ListPlot/ListLinePlot: ClippingStyle, LabelingFunction -> f with a pure function.
  • ScalingFunctions other than "Log"/"Log10"/None (e.g. "Reverse", "Log2", "SignedLog"), and ScalingFunctions on ParametricPlot.
  • Graphics: PlotRegion, RotateLabel, AlignmentPoint, BaselinePosition, FormatType; LabelStyle sets only the color.
  • ParametricPlot: BoundaryStyle.
  • ContourPlot: Axes, AxesStyle, AxesLabel, AxesOrigin, BoundaryStyle, PlotRange -> {zmin, zmax}, PlotPoints, PlotTheme.
  • PolarPlot: PlotPoints; FrameStyle on a framed polar plot.
  • DensityPlot, RegionPlot: FrameStyle.
  • Histogram: BarOrigin, LabelingFunction; ColorFunction only for a single dataset.
  • BarChart: ChartElementFunction other than "Rectangle", "FadingRectangle" and "GlassRectangle" (whose shading is an approximation of WL's raster), AxesOrigin, per-axis Axes -> {x, y} and AxesStyle -> {x, y}; ColorFunction only for a flat list; PlotTheme other than "Business".
  • PieChart: PlotTheme, ChartElementFunction other than "GlassSector"; SectorSpacing only for the space between rings.

Bar, pie and sector charts: remaining layout differences

Found by the graphics comparison suite (charts/ group). Fixed: the ChartLayouts ("Stacked", "Percentile", "Overlapped", "Stepped"), negative bars, BarOrigin -> Top, Style/Labeled/Around data wrappers, LabelingFunction -> Above, SectorOrigin (angle, direction, inner radius), the SectorChart mapping, Histogram's {min, max, dx} and {"Log", n} bins, ScalingFunctions -> "Log" and stacked histograms. Still different:

  • ChartLayout -> "Stacked" / "Percentile": WL pads the x range on the left as if there were more groups; Woxi starts it 2% before the first bar, as for grouped bars.
  • BarOrigin -> Top draws no bar-edge marks on the top axis.
  • A donut (SectorOrigin -> {Automatic, r}) keeps the plain pie's outer radius; WL's fills a little more of the frame.
  • Placed[…, "RadialCallout"] labels: WL shrinks the pie less and bends the leaders; Woxi draws straight short leaders.
  • PairedBarChart's edges are black, not gray.
  • BubbleChart: tick labels are too large and the largest bubble is about 0.75 of WL's radius.
  • Automatic BarSpacing uses WL's spacing for charts of few bars (a bar 0.902 of its step, groups four bar gaps apart). Flat lists follow WL as the bar count grows; grouped charts of many bars do not (WL narrows them, for Table[Range[5], 6] to 0.661 of the step, and lets 8 × 6 bars touch).
  • A framed grouped BarChart's tick between two groups is a fixed 2.73 pt; WL's is scaled ({0.008, 0}) and varies with the chart.
  • PieChart of several datasets keeps the plain pie's outer radius; WL's rings fill a little more of the frame.
  • A log x axis (Histogram[…, {"Log", n}]) is labeled 0.05, 0.1, 0.5, … where WL writes 0.010, 0.100, 1, 10.
  • DiscretePlot: ExtentSize.
  • Grid: ItemSize.

Automatic histogram bins are too narrow for large samples

HistogramList/Histogram without a bin spec take the Freedman–Diaconis width 2 IQR / n^(1/3) rounded to 1, 2 or 5 times a power of ten. That matches Wolfram for small and medium samples (all the HistogramList unit tests, and samples of 10 to a few hundred skewed means, where Wolfram uses widths of 0.2, 0.1, 0.05 and 0.02). For a sample of 10,000 reals from SkewNormalDistribution[0, 1, 8], Wolfram (14.1, from a stored notebook snapshot) draws bins of width 0.2. Its own bin counts put the IQR at about 0.835, so the Freedman–Diaconis estimate is 0.078, which Woxi rounds to 0.1. Wolfram's widths are about twice as wide here, so for large n it is not using plain Freedman–Diaconis. Two rules fit all of these observations: one caps the n in the estimate somewhere between about 400 and 1,300, and the other switches to Sturges' rule for large samples. Without a wolframscript run on deterministic large data, there is not enough evidence to choose between them.

Curve meshes: remaining differences

Mesh, MeshFunctions, MeshStyle and MeshShading on the curves of Plot, joined ListPlot and ListLinePlot match wolframscript in the mesh point positions, counts, colors and radii, except for:

  • MeshShading with several mesh functions. Both take a rank-k array, and both reject a flat list (MeshShading::colshd, which Woxi does not print). Woxi indexes the array by each function's region in turn. Wolfram's indexing does not follow the regions: Plot[Sin[x], {x, 0, 2 Pi}, Mesh -> {1, 1}, MeshFunctions -> {#1 &, #2 &}, MeshShading -> {{Red, Blue}, {Green, Orange}}] draws Green then Red, and with Mesh -> {1, 2} one stretch runs across the x mesh value without being split.
  • ListPlot[…, Joined -> True, Mesh -> Full] draws each data point twice in Wolfram (16 points for 8 data), once in Woxi. The picture is the same.
  • A list plot's dot PointSize is a fraction of the plot area's width in Wolfram (about 340 pt of a 360 pt image, depending on the tick labels). Woxi uses the image width, so dots, and list-plot mesh points with them, are about 5% larger.
  • Mesh -> True (Wolfram: 50 x values) and Mesh -> {1.5, 3}, which Wolfram rejects with Mesh::ilevels, give no mesh. Woxi does not print the message.
  • In {Plot[…, Mesh -> Full], Plot[…, Mesh -> All]}, Wolfram draws each plot half as wide while keeping the absolute dot and line sizes. Woxi draws the plots full size, so the mesh points look much smaller when the picture is scaled down.

Side-by-side comparison with wolframscript: remaining differences

Found comparing the pictures of the Wolfram-Language-Graphics-Tests suite (wolframscript and Woxi rendering the same Export[…, "SVG"] calls):

  • Show[p1, p2] merges the plot ranges; Wolfram keeps the first plot's automatic PlotRange, cutting off the second plot's data outside it.
  • The automatic PlotRange of ListPlot keeps every point; Wolfram drops outliers (ListPlot[{0, 1, 2, 3, 100, 5, 6, 7}] shows about 0–16).
  • Placeholder[…] itself has no display form (the numbered placeholder boxes of PlotLegends -> Automatic | "Placeholder" are drawn).
  • Labeled[f, label, pos] without a side (3, Scaled[s]) puts the label above or below the curve point, a step along a sloping curve; WL's own search lands a few points away (Labeled[Sin[x], "sin(x)", 3]: WL shifts the box 2.5 pt right). WL sizes the PlotRangePadding for an Above / Below label slightly larger than Woxi.
  • Per-point Labeled[pt, label, pos] in ListPlot data ignores pos.
  • Highlighted[f, Placed["Ball" | "Dropline", x]]: WL 15 labels the callout Rotate[x, y, 0] (x turned by y radians), which Woxi copies; its box width (39 pt for "2"/"0.45", 56 pt for "2.5"/"2500") follows no rule found, Woxi sizes it as both numbers plus 11 pt.
  • PlotLayout panels of labeled datasets (ListPlot[{Labeled[d1, "a"], Labeled[d2, "b"]}, PlotLayout -> "Row"]): WL centers each label at the top of its panel; Woxi draws it as the panel's end label.
  • Graphics PlotMarkers (PlotMarkers -> {{Graphics[…], size}, …}) and PlotMarkers -> Automatic shapes draw the default dot.
  • Point-level Style[point, …] in ListPlot data is not applied (a styled dataset or the whole styled data is).
  • Tick labels are sized for Arial (to reproduce WL 15's ImagePadding), but drawn in Atkinson Hyperlegible Next, whose digits are wider: a long left tick label such as 6000 loses part of its first glyph at the image edge.
  • Wolfram's front end also applies ImageSizeMultipliers to automatically sized graphics inside text-like constructs (f[g] is drawn 360 wide in Woxi); lists and layouts: see "Graphics inside lists and layouts".
  • TraditionalForm: Binomial and HypergeometricPFQ are written as calls, Div/Grad/Laplacian lose their variable subscript, and a product with a fraction factor is not merged into one fraction.

ScalingFunctions: remaining differences

Scaled plots are the plot of the scaled function (Plot[Log[f], …]) with the ticks of ChartingScaledTicks`, as in Wolfram, so what still differs comes from elsewhere:

  • The automatic y range of Plot is Woxi's IQR fence, not Wolfram's clipping: Plot[x^2, {x, 0, 10}, ScalingFunctions -> "Log"] reaches down to about 0.01 where Wolfram stops at 0.039 (Plot[Log[x^2], …] is clipped at -3.25), and Plot[Abs[Gamma[z]], {z, -4, 8}, ScalingFunctions -> "Log"] misses the 10^5 spike at z = -4, which Wolfram's first sample just inside the interval hits (see "Plot samples just inside the interval's ends").
  • Wolfram's Plot range reaches out to the scaled 0 (Plot[Exp[x], {x, 1, 10}, ScalingFunctions -> "Log"] starts at 1, Plot[1/x^2, {x, 1, 10}] at 0); Woxi's starts at the lowest sample.
  • On a "Reciprocal" axis Wolfram's x axis sits at the scaled 0 (the original infinity); Woxi's at the lowest sample.
  • The x tick label at the axes' crossing is dropped even where Wolfram keeps it (ScalingFunctions -> {None, {-Log[#] &, Exp[-#] &}} hides the 0, {"Reverse", None} the 0 at the right end).
  • A framed plot's scaled (non-log) axis gets the scaled tick labels but plain automatic tick marks; a framed log axis has no minor tick marks on its left edge.
  • Automatic GridLines on a scaled (non-log) axis are spaced linearly in the scaled coordinate rather than at the scaled ticks.

Merged graphics use a different tick font

A plot merged with other graphics by Show (say a DensityPlot under a StreamPlot) is redrawn by the Graphics renderer, whose tick labels are a monospace font, larger than the plot renderer's sans-serif ones. Wolfram draws both alike.

Lines of a Column in a Text label are set closer together

The lines of Text[Style[Column[{"0000", "Step: 0"}], 18], pos] inside a Graphics are one font size apart (18 pt) in Woxi; Wolfram's front end sets them about 25 pt apart (roughly 1.4 font sizes), as its line height plus the Column's own row spacing. The same tspan layout also serves a string with "\n" line breaks, whose Wolfram pitch has not been measured.

Graphics inside lists and layouts: remaining differences

An automatically sized picture in a list, Grid, Column, TableForm or Row with a separator is drawn at half its size (a quarter in a Row of several items), at that size, as Wolfram draws it. What still differs:

  • A picture whose data Woxi cannot draw again keeps its full-size rendering, shrunk: one whose Show redraw differs from it (Plot with PlotLegends, a few ListPlot ranges with AspectRatio -> Automatic) and whose call cannot be evaluated again (it has a side effect, or its meaning depends on something other than its own arguments and their symbols' values, such as a function that reads a Table iterator).
  • Legended[plot, legend] in a list: Wolfram fits plot and legend together into the 180 pt ({Plot[x, {x, 0, 1}, PlotLegends -> Automatic]} is 196 pt wide); Woxi draws the plot 180 wide and puts the legend beside it.
  • Graphics3D at a reduced width is square in Woxi and taller in Wolfram ({Graphics3D[Sphere[]]} 196 x 196 vs 196 x 180), and the 3D surfaces of a TableForm of SphericalPlot3Ds come out somewhat smaller.
  • Line wrapping only breaks between the list's own elements; a nested list wider than the page is not broken inside, as Wolfram does.
  • The braces are a stretched serif glyph approximating Wolfram's; plot heights are whole points, so a wrapped list can be 1 pt taller.
  • Grid/Column cells are 6 pt apart, Wolfram's gap is about 5.5 pt (Grid[{{g, g, g}}] of 100 pt pictures is 312 wide, Wolfram 311).
  • Labeled[plot, label, Top] keeps its picture at full size; Wolfram reduces it the way it reduces a picture nested in any other layout. In a GraphicsGrid cell the difference shows: Wolfram's plot takes under half the cell's width while its label spans the cell, where Woxi's plot fills about three quarters of it. (Measured off a stored front-end rendering of GraphicsGrid[{{Labeled[ListPlot[…], Row[{…}], Top], …}}, ImageSize -> 600], not re-verified against wolframscript.)

Column item heights with ItemSize and large text

Framed[Column[{"10", "♠"}, Center, 0, ItemSize -> {3, 2}, ItemStyle -> Directive[24, Bold]]] is 52 pt wide in both engines, but Wolfram's box is about 57 pt tall and Woxi's 82 pt: Woxi pads each 24 pt text item to 32 pt and reads the item height 2 as two 14 pt lines plus padding (36 pt), where Wolfram's items stay about one font size tall. A string separator in a Row (" ") is also wider in Woxi (monospace spaces, about 17 pt) than in Wolfram (about 8 pt).

Tables, grids and typeset math: remaining layout differences

Found comparing Export[…, "SVG"] of both engines:

  • GraphicsGrid with ImageSize -> Automatic: a single plot is drawn 600 wide by Wolfram (a single Graphics[…] keeps its own 360), and a row of pictures of different shapes gets one shared height in Wolfram; Woxi keeps each cell's own shape. The cell gaps are not decoded: with d = Graphics[Disk[]] and r = Graphics[Rectangle[{0, 0}, {2, 1}]] Wolfram gives {{d, d}} 600 x 300 (disks 269 across, Woxi about 262), {{r, r}} 600 x 165 (Woxi 170), {{r}} 347 x 188 (Woxi 360 x 203), {{d}, {r}} 355 x 547 (Woxi 360 x 563); with Spacings -> 0 they agree ({{r, r}} 600 x 156). The gap Wolfram leaves around a picture is neither a fixed number of points nor a fixed fraction of the cell (about 17 pt of a 360 cell, 18 of 300, 15 of 200, 11 of 120).
  • A TableHeadings rule adds 1 pt to the gap it sits in only in Wolfram.
  • Table and typeset text is 14 pt in Woxi, 13 pt in Wolfram, so every table is about 8% larger (the row pitch, 1.33 em, and the column gaps are the same in em).
  • A subscript inside a Styled run (nested <tspan>s under dominant-baseline="central") is drawn raised, like a superscript, when resvg rasterizes the SVG; a plain one (BaseForm cells) is lowered.
  • TraditionalForm (box layout): ℯ is a plain upright e (the embedded fonts have no double-struck one); operators inside scripts and nested fractions keep their full spacing where Wolfram sets them tight (n=0 under a ∑, 1+x in a matrix fraction); an implicit product's space is a full monospace advance, wider than Wolfram's.

Automatic Plot range: outlier quantiles are approximate

Both engines clip outliers off an automatic range with the rule of the internal Charting`CommonDump`icomputeSceneRange (17.5 % / 82.5 % quantiles lo, hi; an extreme further than 2.5 (hi - lo) beyond is replaced by 1.5 (hi - lo) beyond). ListPlot matches exactly. For Plot the rule runs inside the kernel's Visualization`Core`Plot on its own adaptive samples; Woxi weighs its samples by the x stretch each stands for, which lands within about 1 % of WL's value (Plot[Exp[x], {x, -1, 10}]: WL 7948, Woxi ≈ 8070), not on it. WL also clips some curves the rule leaves alone on the continuous curve (Plot[x^6, {x, 0, 1}] stops at 0.634 in WL, Woxi shows all of it to 1).

A partly automatic range, PlotRange -> {0, Automatic}, still gives the fully automatic range in Woxi; WL clips its automatic end against the given one (ListPlot[{1, 2, 3, 4, 100, 5, 6, 7}, PlotRange -> {0, Automatic}] → WL y range {0, 17.5}).

NIntegrate now uses global Gauss–Kronrod refinement with a double-exponential singularity handler. The reviewed smooth monitor has 77 samples; the singular 1/Abs[Sqrt[x]] monitor on {x,-1,0,1} has 262 samples in Wolfram's order, agreeing within machine rounding. Near nonzero singular endpoints, arbitrary-precision sample coordinates avoid cancellation in the double-exponential tail.

Dendrogram leaf order is reconstructed, not exact

Woxi orders the leaves with a model fitted to WL's output: single linkage, the new cluster in the first slot of the merged pair, the last slot moved into the second, and ties going to the last pair found. That reproduces sorted data and most permutations, but not every case:

wolframscript -code 'Cases[Dendrogram[{10, 12, 0, 1}], Inset[Framed[Short[l_], ___], ___] :> l, Infinity]'
# {10, 12, 1, 0}; Woxi draws 10, 12, 0, 1

Equal dissimilarities between several pairs ({6, 5, 1, 2} → WL 6, 5, 2, 1) also order differently. The plot geometry (leaf padding, depth, label strip) is measured from WL's default 360 pt and 432 pt pictures rather than derived from its PlotRangePadding/ImagePadding.

Images

Image3D has no volume rendering

Wolfram draws an Image3D as a translucent volume in a 3-D box. Woxi computes with it (ImageAdd, ImageAdjust, Threshold, GaussianFilter, ImageTake, …) but displays it as its Image3D[…] expression, so a notebook that shows one (TheLayoutOfTheCenterOfYerevanArmenia) prints the voxel array instead of a picture.

ImageEffect[img, {"Comics", {t1, t2}}] and ListDeconvolve are unimplemented

Both are undecoded: "Comics" is a two-threshold binarization whose middle band is dithered by a position-dependent pattern that also depends on the image size; ListDeconvolve's "DampedLS" damping does not match a plain Tikhonov solve with either cyclic or zero padding.

HistogramTransform equalizes on the bands, not on a spline

Woxi maps each pixel to the midpoint of the band its value occupies in the cumulative distribution, rescaled from the 256 display levels to k/255. That reproduces wolframscript exactly whenever the distinct values are few or evenly spread — a four-value ramp, a two-value image, a constant channel, and the 256-level identity all agree to the last bit — but wolframscript actually interpolates the cumulative distribution (its Interpolation::inhr message leaks out for a constant channel), so for other value distributions the two differ by up to about 3·10⁻³:

wolframscript -code 'ImageData[HistogramTransform[Image[{{0., 0.25, 0.5, 0.75, 1.}}]]]'
# {{0.1, 0.301961, 0.501961, 0.701961, 0.901961}}
woxi eval 'ImageData[HistogramTransform[Image[{{0., 0.25, 0.5, 0.75, 1.}}]]]'
# {{0.0984314, 0.299216, 0.5, 0.700784, 0.901569}}

Reproducing the rest needs wolframscript's exact spline through its 256-bin histogram. Test rounded (Round[100 …]) or on the exact cases above.

ColorBalance matches the Bradford model to ~3·10⁻⁴

Both engines run a von Kries adaptation in Bradford cone space over the same D50 working matrix, dividing away the chromaticity (XYZ normalized to Y = 1) of the reference. Woxi lands within about 3·10⁻⁴ of wolframscript, which is enough for Round[100 …] to agree everywhere but not for a bare ImageData comparison:

wolframscript -code 'ImageData[ColorBalance[Image[{{{0., 1., 0.}}}], Green]]'
# {{{0.863451, 0.863391, 0.863085}}}
woxi eval 'ImageData[ColorBalance[Image[{{{0., 1., 0.}}}], Green]]'
# {{{0.863393, 0.863393, 0.863393}}}

wolframscript's answer is not even neutral — the three channels differ in the fourth decimal — so its matrix product is not the textbook one. Ruled out: D65 primaries (an order of magnitude worse), the rounded Bradford inverse, and CAT02/plain-von-Kries cone matrices.

A two-channel image (gray plus alpha) diverges outright: Woxi balances the gray channel and drops the alpha, wolframscript mixes the two channels into something that is not the balance of either. Same family as the four-channel ColorConvert entry below — an unusual channel count with no color space to go by.

Pruning[image] picks the other pixel of a final pair

The counted form Pruning[image, n] conforms exactly. The bare form, which wears every thin arc down to a single pixel, agrees with wolframscript everywhere except which of the last two pixels is kept:

wolframscript -code 'ImageData[Pruning[Image[{{0, 0, 1, 0, 0}, {0, 0, 1, 0, 0},
                                              {0, 0, 1, 0, 0}, {1, 1, 1, 1, 1}}]]]'
# the surviving pixel is in the bottom row
woxi eval '…'
# the surviving pixel is one row up

Woxi keeps the first pixel in raster order of a component that a pass would empty. That matches wolframscript for horizontal, vertical and diagonal pairs alike in every other case tried, so the rule wolframscript really uses is something else again — it is not raster order, reverse raster order, or distance from the component's centroid.

ColorConvert of a four-channel image with no color space

wolframscript -code 'ImageData[ColorConvert[Image[{{{1., 0., 0., 0.25}}}], "RGB"]]'
# {{{1., 0., 0.25}}}
woxi eval 'ImageData[ColorConvert[Image[{{{1., 0., 0., 0.25}}}], "RGB"]]'
# {{{1., 0., 0.}}}

With ImageColorSpace -> Automatic and four channels, wolframscript builds its three output channels out of channels 1, 2 and 4 — it keeps the alpha and drops the blue. Given ColorSpace -> "RGB" explicitly it agrees with Woxi (alpha rides along untouched). Not reproduced: it looks like an off-by-one in wolframscript's channel handling, and the explicit spelling conforms.

ImageAdd and friends refuse mismatched dimensions

wolframscript -code 'ImageData[ImageAdd[Image[{{0.1, 0.2}}], Image[{{0.3}}]]]'
# {{0.4, 0.2}}
wolframscript -code 'ImageData[ImageAdd[Image[{{0.3}}], Image[{{0.1, 0.2}}]]]'
# {{0.5}}
woxi eval 'ImageData[ImageAdd[Image[{{0.1, 0.2}}], Image[{{0.3}}]]]'
# Error: Evaluation error: ImageAdd: images must have the same dimensions and channels

The result always takes the first image's dimensions, but the second image is read differently depending on which is larger: a smaller second image is applied at the top-left and the rest of the first is passed through, while a larger one contributes its last element (0.3 + 0.2 = 0.5), not its first. ImageMultiply and ImageSubtract behave the same way.

Refusing is at least honest, but it refuses with a hard error, which aborts the enclosing evaluation.

Four image heads accept a bad specification silently

wolframscript -code 'ImageCrop[Image[{{0.1, 0.2}}], x]'
# ImageCrop::arg2: x is not a positive integer, pair of integers, Full or Automatic.
woxi eval 'ImageCrop[Image[{{0.1, 0.2}}], x]'
# ImageCrop[-Image-, x]     (no message)

wolframscript -code 'ImagePad[Image[{{0.1, 0.2}}], x]'
# ImagePad::imgpadn: Expecting a number or a 2 by 2 matrix of numbers instead of x.
woxi eval 'ImagePad[Image[{{0.1, 0.2}}], x]'
# ImagePad[-Image-, x]      (no message)

wolframscript -code 'TotalVariationFilter[{1, 2, 3, 4, 100}, -1]'
# TotalVariationFilter::arg2: Expecting a non-negative real number, a vector of
# such numbers (for multi-channel images) or Automatic instead of -1.
woxi eval 'TotalVariationFilter[{1, 2, 3, 4, 100}, -1]'
# TotalVariationFilter[{1, 2, 3, 4, 100}, -1]   (no message)

These return the right expression and only the message is missing, so they are conformance gaps rather than wrong answers. Blur and ImageMultiply["x"] are missing ::bdrad and ::bdarg for the same reason. Note that TotalVariationFilter's second argument is a regularization parameter, not a neighborhood range, so it does not share the other filters' validation.

More than the documented number of arguments gives ::argt in Woxi where wolframscript routes through its options machinery and gives nonopt — systemic across ImageTake, ImagePartition and DistanceTransform. The hypothesis tests share it: FisherRatioTest[a, b, 1, "TestStatistic"] gives FisherRatioTest::argb (WL: nonopt … beyond position 3), and VarianceEquivalenceTest[{a, b}, "TestStatistic", All] stays unevaluated without WL's nonopt … beyond position 2.

FindThreshold implements only the default method

FindThreshold[image] and FindThreshold[data] follow the default "Cluster" method (Otsu): real levels in 256 bins over their own range, integer levels on their raw values, the first maximizing bin as the threshold, the midpoint when only two levels occur, and 1. for a constant image. The one-argument MorphologicalBinarize uses the same split binned on [0, 1]. Method options are not supported.

EdgeDetect keeps a whole flat gradient plateau

wolframscript -code 'ImageData[EdgeDetect[Image[{{0, 0, 1, 1, 0, 0, 1, 1, 0, 0}}]]]'
# {{0, 1, 0, 1, 0, 1, 0, 0, 1, 0}}
woxi eval 'ImageData[EdgeDetect[Image[{{0, 0, 1, 1, 0, 0, 1, 1, 0, 0}}]]]'
# {{0, 1, 0, 1, 1, 1, 1, 0, 1, 0}}

A period-4 square wave is resonant with the default radius-2 kernel and produces a gradient magnitude that is exactly constant across six pixels. wolframscript keeps alternating ones there; Woxi's non-maximum suppression keeps the whole plateau.

No rule over the magnitudes of the two neighbors can tell index 3 from index 4 in that run — both have equal magnitudes on both sides — so the tie-break uses information that could not be identified from the outputs. Every non-degenerate case matches, over 15 reference cases spanning 1D and 2D shapes, color and Byte images, and explicit thresholds. Not reproducible.

LaplacianGaussianFilter and DerivativeFilter are unimplemented

wolframscript -code 'First[ImageData[LaplacianGaussianFilter[Image[{{0., 0., 0., 1., 0., 0., 0.}}], 1]]]'
# {0., 0., 1.8418419230004717, -3.683683846000945, 1.8418419230004717, 0., 0.}
wolframscript -code 'First[ImageData[DerivativeFilter[Image[{{0., 0., 0., 1., 0., 0., 0.}}], {0, 1}]]]'
# {0.05771365940052183, -0.21539030917347252, 0.803847577293368, 0., …}

Both are feature gaps rather than divergences. Neither can reuse GradientFilter directly: DerivativeFilter normalizes its kernel differently (the impulse responses do not agree up to a scale factor), and LaplacianGaussianFilter's three-tap response at radius 1 is a scaled second difference rather than the second-derivative-of-Gaussian kernel the name suggests.

LaplacianFilter's radius-1 response is weaker than Wolfram's

Woxi builds LaplacianFilter[img, r] from second differences of a Gaussian with σ = r/2. Its radius-1 impulse response is a 3 x 3 kernel with center -1.93, edge taps 0.362, and diagonal taps 0.119:

cargo run -- eval 'ImageData[LaplacianFilter[Image[ReplacePart[Table[0., {5}, {5}], {3, 3} -> 1.]], 1]][[2 ;; 4, 2 ;; 4]]'

No wolframscript reference is available yet. A Wolfram front-end snapshot of ImageAdjust[LaplacianFilter[photo, 1], {0.7, 0.6}] on 75 x 75 Byte RGB photos shows edges about 2–3 times stronger. The snapshot fits a 4-neighbor second difference scaled by roughly 1.6–1.9 far better (mean pixel error 0.0014–0.005) than Woxi's kernel (0.049). That scale is close to the 1.8418… factor LaplacianGaussianFilter uses at radius 1 (see above). The exact taps need a wolframscript probe, such as the impulse response above, before the kernel is changed.

ImageResize downsampling filter taps are unverified

When an axis shrinks, Woxi averages every source pixel an output pixel covers (a box filter weighted by overlap); when it grows, it interpolates linearly. A Wolfram front-end snapshot of an 18x reduction of a rasterized disk shows the same soft gray edges, but the exact taps of Wolfram's antialiasing filter need a wolframscript probe, such as:

cargo run -- eval 'ImageData[ImageResize[Image[{{0., 0., 0.}, {0., 1., 0.}, {0., 0., 0.}}], 1]]'
cargo run -- eval 'ImageData[ImageResize[Image[Table[If[i == 3, 1., 0.], {6}, {i, 6}]], {3, 6}]]'

Color-space tags do not propagate

ImageTake and ImagePartition propagate an image's color-space tag; Blur, ImageAdjust, blends, morphological operations and ImageResize all construct an untagged image. Wolfram probably propagates — each needs its own probe.

LABColor and its family

LABColor is deliberately out of scope; XYZColor, LUVColor and LCHColor belong to the same family, whose ColorConvert round-trips go through D50/D65 white points and WL-specific matrices that would all need to match bit for bit.

ColorData named gradients

ColorData["Rainbow", 0.5] and ColorData["Rainbow"] (a ColorDataFunction) are unimplemented. ColorData[name, "ColorList"] is Missing["NotApplicable"] in WL, so the control points are not exposed — they would have to be recovered by sampling and the interpolation scheme guessed. The indexed schemes (1, 2, 3) are implemented but scheme 1 agrees to ~15 digits rather than bit for bit.

ColorData["Named"] collections (Studio: Select, View and Compare Named Colors demo)

ColorData["Named"], ColorData[scheme, "Range"] and ColorData[scheme, "ColorList"] stay unevaluated for the named collections, so the Demonstration Select, View and Compare Named Colors initializes with Part::partw errors and its color-dot panels are empty. Only "HTML" and "Legacy" have lookup tables (by name). Making the notebook work needs the exact "Atoms", "Crayola", "GeologicAges", "WebSafe" and "System" tables (names, RGB values and per-channel exactness) plus the shape of the "Range" result, none of which can be reconstructed without wolframscript.

ColorQuantize is a stub

Echoes unevaluated; a median-cut palette choice would likely be a selection-artifact problem.

ImageMeasurements intensity on color images

WL takes the luma and carries its Real32 rounding (MinIntensity of pure red is 0.29899999499320984); those measures are left unevaluated in Woxi.

GaussianFilter on an image

Differs in the last digits because wolframscript rounds its intermediates to f32 while Woxi rounds only at the boundaries. wolframscript is also inconsistent with itself here, giving 0.80123907 and 0.80123901 for the same kernel tap across evaluation orders.

ImageEffect[img, {"MotionBlur", r, θ}] kernel (unverified)

Woxi averages 2r + 1 bilinear samples on a symmetric line at θ degrees. Not checked against wolframscript (engine unactivated when it was written); WL's kernel shape, its direction convention and its edge handling may differ.

AudioTrim on tiny objects

wolframscript gives {{1., 0.}} for {0., 1., 0.} but {{1.}} for {1., 0., 1.}, dropping a non-silent sample — minimum-window artifacts at 44.1 kHz, not a rule worth matching. FourierDCT/FourierDST differ in the last ULP.

ImageDeconvolve shifts by a pixel and iterates its own way

Woxi deconvolves with a regularized inverse filter in the frequency domain ("DampedLS", "Tikhonov" and "Wiener" share it), so a 1×1 identity kernel gives the input back, scaled by the regularization. wolframscript's result is shifted one pixel up and to the left, the last row and column repeated — with the identity kernel {{1}} and with the centered {{0, 1, 0}} alike:

wolframscript -code 'ImageData[ImageDeconvolve[Image[{{0.1, 0.2, 0.3, 0.4, 0.5}}], {{1}}, Method -> "RichardsonLucy"]]'
# {{0.2, 0.3, 0.4, 0.5, 0.5}}
wolframscript -code 'ImageData[ImageDeconvolve[Image[{{0.1, 0.2, 0.3, 0.4, 0.5}}], {{1}}, Method -> {"Tikhonov", 0.01}]]'
# {{0.19998, 0.29997, 0.39996, 0.49995, 0.49995}}   (shifted, times 1/(1 + 0.01^2))
woxi eval 'ImageData[ImageDeconvolve[Image[{{0.1, 0.2, 0.3, 0.4, 0.5}}], {{1}}, Method -> {"Tikhonov", 0.01}]]'
# {{0.0990099, 0.19802, 0.29703, 0.39604, 0.49505}}

The default "DampedLS" is an iterative method whose output ({{0.207692, 0.3, 0.392308, 0.430769, 0.369231}} for the row above) cannot be derived from these samples, and "RichardsonLucy", "TSVD", "Hybrid", "SteepestDescent" and "TotalVariation" are unimplemented (the call stays unevaluated). Not reproducible without WL's implementation.

TotalVariationFilter runs its own descent

Woxi matches WL's scale invariance (the data is divided by its largest magnitude first), the 0 parameter (replaced by √$MachineEpsilon, so the result is the input) and the type of an image result, and converges to a total-variation-smoothed result of the same shape, but not to WL's numbers:

wolframscript -code 'TotalVariationFilter[{0., 0., 1., 0., 0., 1., 1., 1., 0.5, 0.}]'
# {0.00069, 0.0068, 0.8, 0.1, 0.1, 0.9336, 0.9334, 0.9330, 0.5, 0.1}
woxi eval 'TotalVariationFilter[{0., 0., 1., 0., 0., 1., 1., 1., 0.5, 0.}]'
# {0.041, 0.059, 0.8, 0.081, 0.119, 0.938, 0.925, 0.938, 0.5, 0.1}

What is known of WL's iteration: MaxIterations -> 1 is one Jacobi step of (1 - p Δ) u = f (reflecting boundary, so every pixel becomes (p (u[i-1] + u[i+1]) + f[i]) / (1 + 2 p)), and the second step is u2 = 2 J(u1) - f with J that Jacobi map; "Laplacian" and "Poisson" agree with "Gaussian" there. The third step fits no linear recurrence of J(u2), u2, J(u1), u1 and f, so a shrinkage step is active by then. Woxi ignores MaxIterations and Method. Not reproducible so far.

Export of a multi-segment Sound

Single Play and Audio exports are byte-identical to wolframscript. For Sound[{Play, Play}] segment 1 matches byte for byte, but WL applies an unexplained affine requantization to segment 2 (residual ≈ 0.54·s − 0.54 LSB, uncorrelated with the time shift; not float32 rounding, not floor-versus-round, not global normalization). Maximum error ≤ 1 LSB of int16. Not reproducible.

Graphs

Wolfram's graph layer is igraph-backed, and two classes of its output are not recoverable from outside.

GraphData[] carries a slice of the atlas, not all 12474 entries

Woxi bundles the named entities it can answer every property for, plus the parametrized families ({"Complete", n}, {"Cycle", n}, {"Path", n}, {"Star", n}, {"Wheel", n}, {"CompleteBipartite", {m, k}}). Names, vertex labeling and edge order follow Wolfram's, and an unknown entity gets the same GraphData::notent message and unevaluated result — but Length[GraphData[]] is 14 against WL's 12474, and any entity outside the bundled set is a notent where WL answers. Only the ~760-entry property list is likewise abridged: GraphData["Properties"] returns the nine properties Woxi answers.

Classes and indexed entities are not bundled either: GraphData["Connected", ;; 5] (the first entries of a class), GraphData[{6, 125}, "Graph", "Labeled"] (the 125th 6-vertex graph) and the "SpanningTrees" property all answer notent/notprop, so reference examples that lay these graphs out with GraphicsGrid/GraphicsRow fail at the GraphData call — the grid layout itself handles graphs, Tooltip-wrapped graphs and ragged Partition[…, UpTo[n]] rows.

Selection among equal optima

FindVertexCover, FindEdgeCover, FindVertexCut and FindEdgeCut each pick one minimum solution via igraph internals. Three candidate models (lexicographically smallest, complement of the lexicographically first or last maximum independent set, greedy minimum-degree) are each contradicted by probes: CompleteGraph[4] → {1,2,3}, CycleGraph[6] → {2,4,6} (not {1,3,5}), GridGraph[{2,3}] → {2,3,6}. FindVertexCut[PathGraph[{1..5}]] is {4} where {2} and {3} are equally small. Not reproducible.

FindIndependentVertexSet[g, nspec] and FindIndependentVertexSet[g, nspec, s] (e.g. FindIndependentVertexSet[g, Infinity, All], all maximal independent sets) stay unevaluated: the reference page lists the sets in an order that is neither sorted nor vertex-list order ({{2, 6, 5}, {2, 3, 5}, {2, 3, 4}, {1, 4}}), and that enumeration order is not reproducible.

KnapsackSolve is the same shape: value-optimal solutions are easy, but WL's choice among ties follows its LinearProgramming simplex/branch-and-bound. Reverse-index DFS fits some probes and max-count others, and the two contradict.

FindHamiltonianCycle[g, k] enumeration order

wolframscript -code 'FindHamiltonianCycle[Graph[{1<->2,2<->3,3<->4,4<->1,1<->3,2<->4}], All]'
# {{1<->3, 3<->2, 2<->4, 4<->1}, {1<->2, 2<->3, 3<->4, 4<->1}, {1<->2, 2<->4, 4<->3, 3<->1}}
woxi eval 'FindHamiltonianCycle[Graph[{1<->2,2<->3,3<->4,4<->1,1<->3,2<->4}], All]'
# {{1<->2, 2<->3, 3<->4, 4<->1}, {1<->2, 2<->4, 4<->3, 3<->1}, {1<->3, 3<->2, 2<->4, 4<->1}}

The set of cycles, their orientation and their count match (12 for CompleteGraph[5], 60 for CompleteGraph[6]), and k = 1 is the single-argument cycle on both sides; Woxi lists them in lexicographic DFS order. WL's order is not lexicographic in any reading tried: on CompleteGraph[5] it groups by last vertex descending (5, 4, 3), then by second vertex descending, but the third vertex ascends in some groups and descends in others. With k below the total, Woxi's first k are therefore a different subset.

Vertex order within a component

ConnectedComponents on an undirected graph: Graph[{1<->2, 3<->4}] gives {{1,2},{3,4}} in Woxi and {{2,1},{4,3}} in WL. WeaklyConnectedComponents already ships a divergent order for the same reason — {1→2} lists as {2, 1} but the structurally identical {7→8} lists as {7, 8}, and {a→b} lists as {a, b}. Every hypothesis tried (original order, DFS pre/post, BFS from the target, degree-based start) is contradicted. WeaklyConnectedGraphComponents is unimplemented for this reason. Not reproducible.

TopologicalSort vertex order

WL's vertex ordering is not reproducible by DFS reverse-postorder or by Kahn with a min/max heap: {1->3, 2->3} → {1,2,3} needs Kahn-min, but {1->2, 1->3, 2->4, 3->4} → {1,3,2,4} needs DFS, and the two contradict. Also {1->2, 3->4} → {3,4,1,2} and Graph[{1,2,3}, {1->3}] → {1,3,2}. A sweep of 115 random DAGs against 42 candidate algorithms (Kahn with a min/max heap, FIFO and LIFO keyed on either VertexList index or vertex value; DFS reverse-postorder over four start orders × four successor orders; each of those on the transposed graph) tops out at 67/115 — no candidate fits.

The order in fact does not depend on the graph alone. Graph[{4,1,2,7,3,6,5}, {6->7}] and Graph[{1,2,3,4,5,6,7}, {6->7}] both give {3,6,7,1,2,5,4}, so VertexList order is mostly ignored; but Graph[{7,6,5,4,3,2,1}, {6->7}] gives {3,6,7,1,5,2,4}, and relabeling the same graph to the matching strings gives {c,d,e,f,g,b,a}. That is WL's internal vertex hashing showing through, and it is deterministic per run but not derivable. Woxi always returns the lexicographically smallest topological order (Kahn's algorithm, ties broken by VertexList index) — a valid ordering, just not always WL's. Not reproducible.

FindHamiltonianPath choice

Graph[{1 <-> 2, 1 <-> 3}] answers {3, 1, 2} while the structurally identical Graph[{2 <-> 1, 1 <-> 3}] gives {2, 1, 3}. Woxi does a greedy DFS from the first vertex. Not reproducible.

Provenance-dependent edge order

Generator graphs (CycleGraph, CompleteGraph, StarGraph, PetersenGraph) and explicitly constructed Graph[{…},{…}] objects produce different edge orderings from the same operations (Subgraph, LineGraph, NeighborhoodGraph). Woxi implements the generator convention. When a neighborhood or subgraph covers the whole graph, WL emits igraph's BFS traversal order.

GroupCentralizer generator order

The returned generators are almost the structural centralizer generators, but the ordering contradicts itself across cases — S4/(12)(34) gives rotations ascending while S6/(12)(34)(56) reverses the first pair, and fixed points use descending adjacent transpositions unlike the 2-cycle classes' star swaps. It is Schreier–Sims discovery order. Not reproducible.

VertexCoordinates annotations

An item-level VertexCoordinates read returns the laid-out coordinate, so Woxi answers from its own GraphEmbedding — the values diverge because the layout differs.

"PlanarEmbedding" coordinates

GraphLayout -> "PlanarEmbedding" and GraphEmbedding[g, "PlanarEmbedding"] give a crossing-free straight-line drawing in both, but not the same one. WL places the vertices on an integer grid (ImportString["Fxo[g", "Graph6"] spans {0..6} × {0..6}, a triangle {0,0}, {6,0}, {0,6} outside), the shape of a canonical-ordering grid drawing whose exact variant is not known. Woxi puts the largest face of a Demoucron–Malgrange–Pertuiset embedding on a regular polygon and every other vertex at the barycenter of its neighbors (Tutte), so the points are reals in [-1, 1]. A graph that is not biconnected falls back to the default layout.

Multi-entry rule lists inside a graph option

WL scrambles the order of a multi-entry rule list inside an option (VertexLabels -> {2 -> "b", 1 -> "a"} for the input {1 -> "a", 2 -> "b"}) — internal hash order. Woxi keeps input order.

Graph layouts that only approximate Wolfram's

  • Large trees in the automatic layout: Wolfram draws a 16-vertex tree in layers and a 65-vertex tree with springs; the exact cutoff is undocumented. Woxi switches to its spring embedding above 32 vertices.
  • Spring-electrical layouts (the automatic layout of a non-tree graph with more than 8 vertices or more than one cycle, or of a tree with more than 32 vertices, "SpringElectricalEmbedding", HypercubeGraph, GraphPlot of a general graph): Woxi runs its own Fruchterman–Reingold layout turned so the long axis is horizontal. It relaxes a sunflower start and a DFS-circle start and retains the lower spring-energy result, avoiding the crossed local minimum of the reviewed six-vertex graph. Components of 64 or more vertices are laid out multilevel instead (coarsened by matchings, the coarsest graph laid out as above, then refined level by level), so long meshes and chains come out unfolded as in WL; GraphPlot of a rule list lays out the undirected graph, so an acyclic rule list is spring embedded rather than layered. WL's coordinates, orientation and choice between symmetry-equivalent vertex placements are not reproduced. Small graphs with several cycles now use this layout too, including HypercubeGraph[3] and the reviewed six-vertex GraphPlot; they no longer fall back to a circle. GraphPlot3D also uses its own deterministic force layout. Its native Wolfram cube orientation is independent of SeedRandom; both systems use the same default ViewPoint -> {1.3, -2.4, 2}.
  • "CircularEmbedding" order (default "OptimalOrder" -> True): the order does not depend on the order the edges are listed in. Woxi walks the graph depth-first from the first vertex, trying the highest-numbered neighbor first and following directed edges forwards only; in a tree whose walk ends in exactly two dead ends the walk's first run is turned round. The same reversal now applies to directed cycles with one chord and two DFS dead ends: directed cycles with a chord from vertex 1 to vertex 3 match for sizes 4 through 7, including the reviewed string-label graph. Across 1,000 random directed graphs, the structural cycle-plus-chord correction improves exact matches from 701 to 708 without regressing any previously matching example. Extending the rule to all strongly connected graphs or mixed graphs regresses many other examples and is intentionally avoided. The earlier DFS algorithm was checked against 320 random small graphs: every tree, about half the other undirected graphs and three quarters of the directed ones match exactly. The rest are wolframscript's own heuristic, not decoded: e.g. the mixed Graph[{1 -> 2, 2 <-> 3, 3 -> 4, 4 <-> 1, 1 -> 3}] is {1, 3, 2, 4} against Woxi's {1, 4, 3, 2}.
  • "LayeredDigraphEmbedding" of a non-tree: longest-path layers and barycentric ordering; WL's crossing minimization can pick the mirror image, and WL draws long edges as splines through the layers. The automatic layout of a connected directed acyclic graph with several undirected cycles (a Hasse diagram) is layered the same way, with the layers one unit apart. Within a layer Woxi places the vertices at least one unit apart near the median of their neighbors and snaps them to the unit grid of the widest layer (halves to the right), so the drawing is balanced like WL's; WL's exact coordinate assignment is not decoded, so a symmetric drawing (a diamond) can come out half a unit off center.
  • GraphPlot PlotStyle: Woxi applies PlotStyle -> s to the edges only (unless EdgeStyle is given); how WL combines it with the default vertex style is not verified.
  • "GridEmbedding" of a disconnected graph: Woxi now lays out each component on its own unit lattice, pads its bounding rectangle by one eighth of the mean sum of coordinate spans plus 0.00001, and packs the rectangles in columns with evenly distributed spare height. This matches the reviewed 12-vertex graph and additional mixed-size component examples. More general rectangle packing can still differ: six isolated vertices form a 2-by-3 arrangement in Wolfram rather than Woxi's strip. Disconnected "BipartiteEmbedding" still lays out the whole graph rather than packing each component separately.
  • "SpiralEmbedding" scale: the spiral is WL's (Rakhmanov–Saff–Zhou), the sphere radius only approximates WL's (0.42 Sqrt[n]).
  • Tree[…] layout uses a tidy tree; WL spreads leaves differently.
  • Automatic vertex-label placement: with an explicit GraphLayout -> "CircularEmbedding" or "StarEmbedding", an outer "Name" label sits outside the circle on its vertex's spoke, as in WL; otherwise it is above-right, which is what WL does for its default layouts too.
  • Graph arrowheads: Arrowheads[Medium] (12 pt), or 2.5 vertex radii for a graph of more than 20 vertices or with small vertices. The switch-over is read off a handful of graphs (cycles of 20 and 21 vertices, a path of 11); it is not exactly WL's rule.
  • CommunityGraphPlot draws WL's look (gray closed-spline rings round each community, WL's community colors) but its own layout: each community is laid out as its own graph and the communities as the vertices of the graph of communities, turned so linked vertices face each other. WL bends the chain of three triangles of the comparison test into a V where Woxi draws a straight row.
  • FindGraphCommunities maximizes modularity the Louvain way; it gets stuck in a worse local optimum than WL on some graphs (the Petersen graph: five pairs where WL finds two communities of five).
  • EdgeShapeFunction named arrow shapes: "Arrow", "FilledArrow", "UnfilledArrow", "ShortFilledArrow", "ShortUnfilledArrow" draw WL's head graphics; "CurvedArc" is WL's quadratic Bézier. A curved edge is cut where it leaves the vertex along the line to its control point; WL cuts it where the curve crosses the vertex's disk.
  • MultiedgeStyle -> d: Woxi bends each of two parallel edges out by about d / 2 of their length (a quadratic Bézier with control points 2 d lengths apart), read off a Demonstration snapshot of MultiedgeStyle -> 0.3; WL's exact curve has not been measured, nor how it fans out three or more parallel edges. Automatic keeps Woxi's own smaller spread.
  • Vertex labels at the edge of a GraphPlot: WL pads the plot so a vertex label right of the rightmost vertex stays inside the image; Woxi sizes the plot range from the vertices alone, so a long label there is cut off at the image border.

Knot data

KnotData knows the knot table, not the curated geometry

Woxi names every knot of the Rolfsen table (KnotData[All], up to ten crossings) and answers what follows from the name alone — CrossingNumber, AlexanderBriggsList/AlexanderBriggsNotation, StandardName, Name. A SpaceCurve (and the ImageData tube swept around it) exists only for the trefoil and the torus knots, from their textbook parametrizations; the trefoil's is the one wolframscript uses too. wolframscript's curves for the other knots are InterpolatingFunctions built from its curated data, which Woxi does not bundle — so a table torus knot such as SolomonSeal (5_1) gets the torus-knot formula instead of wolframscript's interpolated curve:

wolframscript -code 'KnotData["SolomonSeal", "SpaceCurve"][1.]'  # {2.16047, -1.44119, -0.497685}
woxi eval 'KnotData["SolomonSeal", "SpaceCurve"][1.]'            # {-0.950339, 2.07653, -0.958924}

KnotData["Properties"] lists only the properties above (wolframscript has 68), and KnotData[name] draws the curve rather than wolframscript's pre-built tube mesh.

Chemistry data

IsotopeData: NUBASE2020 chart with NIST masses and abundances

IsotopeData lists the 3557 ground states of the NUBASE2020 evaluation (resources/isotope_data.tsv.gz), WL lists 3558. Half-lives, decay modes, branching ratios and daughters are NUBASE2020's, which can differ from WL's curated values in the last digits and in modes NUBASE marks as uncertain (? becomes Missing["Unknown"] in "BranchingRatios"). Atomic masses are NIST's where NIST lists the isotope and computed from NUBASE's mass excess otherwise; values are machine reals rather than WL's precision-tagged numbers.

ElementData[…, "StableIsotopes"] draws from the same table and applies the same coarser cut: an isotope counts as "stable" when NIST reports a measured natural abundance for it, not by true nuclear-decay stability. Long-lived primordial radionuclides that still occur naturally (potassium-40, rubidium-87, thorium-232, the natural uranium isotopes, …) are included, matching how these elements are conventionally described in chemistry references, but diverging from a strict "does it decay" reading.

IsotopeData[…, "BindingEnergy"] is not looked up — it is computed from NIST's atomic mass for the isotope via the standard mass-excess formula BE = (Z·m(¹H) + N·m(n) − M(A,Z))·c², using CODATA 2018 constants for the neutron mass and the u→MeV conversion factor, then divided by the mass number (wolframscript reports the binding energy per nucleon). This reproduces textbook values (carbon-12's 92.16 MeV total, 7.68 MeV per nucleon) but agrees with wolframscript's own tabulated value only to about seven significant figures — 7.6801447 against WL's 7.6801446 for carbon-12.

IsotopeData[…, "AtomicMass"] and …, "IsotopeAbundance" carry the same units as wolframscript ("AtomicMassUnit", "Percent") but as machine reals. WL tags its own values with the precision its measurement uncertainty justifies, which is not reconstructible from NIST's published digits:

Quantity[12.`9., "AtomicMassUnit"]
Quantity[98.9399999999999946176`3.2172206556445184, "Percent"]

The abundances themselves are NIST's, which are not always Wolfram's: NIST puts carbon-12 at 98.93 %, WL at 98.94 % (the difference between the tabulated representative composition and the best-measurement range it sits in).

IsotopeData["Properties"] lists the EntityProperty["Isotope", …] objects Woxi answers — fourteen, against the roughly sixty of Wolfram's curated chart (magnetic moments, medical applications, …). Same story as ElementData["Properties"].

Geometry and regions

MeshRegion keeps its input cells; Wolfram canonicalizes them

Wolfram rewrites a constructed MeshRegion (machine-real coordinates, re-oriented polygons: Polygon[{{1, 2, 4, 3}, …}] becomes {Polygon[{{3, 4, 2, 1}, …}]}) and enumerates its 1-cells in its own order. Woxi keeps the input, so MeshCells[mr, 1] and PropertyValue[{mr, 1}, MeshCellMeasure] list the same edges in a different order. The 2-D mesh renderer also ignores MeshCellStyle, MeshCellHighlight and MeshCellLabel (cells are drawn in the default color).

FindCurvePath finds one curve where Wolfram may find several

Woxi orders the points along a single shortest tour, closed or cut at its longest step. Wolfram splits scattered points into several curves: FindCurvePath[RandomSample[Table[{t, t^2}, {t, -1, 1, 0.25}], 9]] gives two curves there. A closed polygon and a sampled open curve match.

Three region measures are missing for heads whose siblings have them

wolframscript -code 'ToString[{RegionDimension[Tube[{{0,0,0},{0,0,2}}]],
                     Area[Torus[{0,0,0},{1,3}]], SurfaceArea[Torus[{0,0,0},{1,3}]],
                     Volume[Hexahedron[]]}, InputForm]'
# {2, 8*Pi^2, Undefined, 1}
woxi eval '{RegionDimension[Tube[{{0,0,0},{0,0,2}}]], …}'
# each one echoed back unevaluated

Tube is absent from the intrinsic-dimension table (Cylinder and Cone are there). Torus has RegionMeasure — RegionMeasure[Torus[{0,0,0},{1,3}]] is 8*Pi^2, correct — but Area/SurfaceArea do not route a 2-dimensional region to it the way they do for Sphere. Hexahedron's volume is only computed from the center-and-edge Platonic form, not from the eight-vertex form its default expands to, which needs a general decomposition rather than a table entry. Independent of how the region was written: the zero-argument default forms diverge for the same reason the explicit ones do.

TriangleCenter accepts a triangle embedded in 3D

TriangleCenter[Triangle[{{0,0,0},{4,0,0},{0,3,0}}], "Circumcenter"] is {2, 3/2, 0} in Woxi; wolframscript handles only the planar case and leaves the call unevaluated. Deliberate — the 3D center is well defined.

ConvexHullMesh's 3D facet order and rotation is qhull's

3D point sets build a real hull (a standard incremental "beneath-beyond" algorithm, not qhull) whose coplanar triangles are merged into the polygons they tile, as qhull reports them — a cube's sides are six quads. Its facets are the same polygons with the same outward orientation as wolframscript's; what is not replicated is qhull's own bookkeeping:

wolframscript -code 'ToString[ConvexHullMesh[{{0,0,0},{1,0,0},{0,1,0},{0,0,1}}], InputForm]'
# BoundaryMeshRegion[{{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}},
#   {Polygon[{{3, 2, 1}, {2, 4, 1}, {4, 3, 1}, {3, 4, 2}}]},
#   Method -> {"SeparateBoundaries" -> False}, WorkingPrecision -> Infinity]
woxi eval 'ToString[ConvexHullMesh[{{0,0,0},{1,0,0},{0,1,0},{0,0,1}}], InputForm]'
# BoundaryMeshRegion[{{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}},
#   {Polygon[{{1, 3, 2}, {1, 2, 4}, {1, 4, 3}, {2, 3, 4}}]},
#   Method -> {"SeparateBoundaries" -> False}, WorkingPrecision -> Infinity]

Each face above is a cyclic rotation of the matching wolframscript face ({1,3,2} rotates to {3,2,1}, {1,2,4} to {2,4,1}, and so on) — the same triangle, the same winding, just listed starting at a different vertex. The facet order and each facet's starting vertex follow no sort that explains the samples below. Compare hulls with each face rotated to start at its lowest vertex (which keeps the winding) and the list sorted: Sort[RotateLeft[#, First[Ordering[#, 1]] - 1] & /@ MeshCells[m, 2][[All, 1]]].

Reference outputs (all carry Method -> {"SeparateBoundaries" -> False}, WorkingPrecision -> Infinity):

points faces
{{0,0,0},{1,0,0},{0,1,0},{0,0,1}} {{3,2,1},{2,4,1},{4,3,1},{3,4,2}}
the same plus {1,1,1} {{3,2,1},{2,4,1},{4,3,1},{3,5,2},{5,4,2},{4,5,3}}
the eight unit-cube corners {{3,2,1,4},{1,2,6,5},{4,1,5,8},{2,3,7,6},{3,4,8,7},{5,6,7,8}}

Mesh regions: constructor normalization, messages and MeshCellMarker

ConvexHullMesh normalizes its MeshCellStyle/MeshCellHighlight/ MeshCellShapeFunction/MeshCellLabel options into per-cell Properties the way wolframscript does, but three related normalizations are open:

  • The MeshRegion[…]/BoundaryMeshRegion[…] constructors themselves are echoed as given. wolframscript converts the coordinates to machine reals, splits a Line[{1, 2, 3, 4, 1}] boundary into its segments, wraps the cells in a list and normalizes the options into Properties:
wolframscript -code 'ToString[BoundaryMeshRegion[{{0,0},{2,0},{2,2},{0,2}}, Line[{1,2,3,4,1}]], InputForm]'
# BoundaryMeshRegion[{{0., 0.}, {2., 0.}, {2., 2.}, {0., 2.}},
#   {Line[{{1, 2}, {2, 3}, {3, 4}, {4, 1}}]}, Method -> {"SeparateBoundaries" -> False}]
woxi eval 'ToString[BoundaryMeshRegion[{{0,0},{2,0},{2,2},{0,2}}, Line[{1,2,3,4,1}]], InputForm]'
# BoundaryMeshRegion[{{0, 0}, {2, 0}, {2, 2}, {0, 2}}, Line[{1, 2, 3, 4, 1}]]
  • MeshCellMarker -> {{0, 1} -> 3} normalizes to {0, {1}} -> MeshCellMarker -> {3}, {0, Default} -> MeshCellMarker -> 0 and sits between MeshCellStyle and MeshCellHighlight; Woxi keeps it as an ordinary trailing option.
  • A mesh region in a message is summarized as BoundaryMeshRegion[<2>, <2>] (Part::partd on one, say); Woxi prints the whole object.

Mesh cell order is qhull's

Which vertex a triangle starts at, and the order of the cells, follow qhull — {{1,2,3},{3,2,4}} against Woxi's {{1,2,3},{2,4,3}}, the same two triangles with the same orientation. Compare with Sort[Sort /@ MeshCells[m, 2][[All,1]]].

Wolfram is also inconsistent with itself here: Perimeter[DelaunayMesh[…]] of an exact square is 8. while Woxi gives the exact 8. RegionMeasure[Polygon, spec] in WL is a machine-precision quadrature value (3.366666189468263 for the exact 101/30) while its MomentOfInertia[Polygon] is exact — so Woxi leaves polygon RegionMoment unevaluated on purpose.

Symbolic region membership

RegionMember with a symbolic point is unevaluated for HalfSpace, StadiumShape and others. WL emits a Reduce-normalized condition Element[x | y, Reals] && <inequality> with non-trivial canonicalization: rational bounds cleared to integers, division by the coefficient gcd, negative-coefficient terms moved across, and an all-negative normal flipped to a >= 0 shape. Reproducing it is a mini-Reduce.

Region scope gaps

  • RegionDisjoint leaves ellipse Disk[c, {a, b}] (a quartic distance problem), ImplicitRegion, Annulus and Line unevaluated.
  • RegionMoment for an ellipse Disk is open, as is MomentOfInertia beyond what is implemented.
  • Simplices in a higher embedding dimension than their intrinsic dimension (a triangle given as three points in 3-space) need the Gram determinant and are unevaluated. The no-argument regular Tetrahedron[]/Simplex[n] defaults are only partly handled.
  • RegionBounds and RegionMember for Annulus are unimplemented.
  • SphericalShell and CapsuleShape SurfaceArea with symbolic radii is left unevaluated, because wolframscript itself hangs on it.
  • RegionMeasure[ImplicitRegion[…]] is hard in general.

PolyhedronData form divergences

Two entries in the hand-written Dodecahedron record print differently: Sqrt[5/8 + (11*Sqrt[5])/40] against WL's Sqrt[5/8 + 11/(8*Sqrt[5])], and a Sqrt[…] where WL gives Root[1 - 20*#1^2 + 80*#1^4 &, 3, 0]. Re-evaluating the first flips it to Wolfram's, so === against the stored value can be False for the same value depending on how many evaluation passes each side saw.

Molecule residues

[13C]-style isotope atoms get a WL UnpairedElectronCount property Woxi omits, and the no-carbon Hill ordering diverges — WL writes ammonium as NH4 (N before H) where Woxi keeps strict alphabetical order.

MoleculePlot options and MoleculePlot3D

MoleculePlot honors ImageSize, PlotTheme -> "AllAtom" (every hydrogen drawn), PlotTheme -> "Monochrome" (labels in the bond color) and AtomLabels rules whose value is "AtomIndex"; the index is drawn as a small number beside the atom, while WL's exact placement and styling are unverified. AtomLabels -> None keeps the heteroatom symbols, and other themes ("Aromatic", …) and frame options such as ImagePadding are accepted but change nothing. MoleculePlot3D builds its own ball-and-stick Graphics3D (CPK colors, covalent-radius bond lengths, a deterministic force-field conformer) instead of WL's conformer and primitive tree.

SpherePoints and ShiftRegisterSequence

SpherePoints[n] returns specific polyhedral configurations for small n, but the machine values leak WL's construction pipeline (SpherePoints[4] starts 0.9999999999999999), and large n switch to an undocumented regularized spiral. ShiftRegisterSequence's explicit-taps form contradicts its own default-form model: {4, {3,4}}, {5, {2,5}} and {5, {3,5}} all return {0} even though those polynomials are primitive, yet the n=4 default satisfies exactly the {3,4} recurrence. Not reproducible.

IsolatingInterval

No decodable convention: Sqrt[2] → {45/32, 91/64} (width 2^-6), Sqrt[3] → width 2^-5, but 2^(1/3) and Root[#^5-#-1&,1] → {0, 2} (unrefined), and Sqrt[2]+Sqrt[3] → {1, 4} (width 3, not from bisection at all). The refinement depth comes from WL's internal interval-arithmetic convergence loop. Not reproducible.

JuliaSetIterationCount

Escaping orbits fit R = 2 + |c|² over four probes, and an undecided orbit gives cap+1. But bounded orbits return small counts via an attractor/cycle detection with internal tolerances — [0, 1/2] → 3, [0, 0.9] → 5, [0, 0.31] → 2, yet the parabolic [0.25, 0.1] → 1001. A fixed inner threshold needs ε ∈ (0.0343, 0.0625]; successive-difference and Brent-checkpoint models both fail. MandelbrotSetIterationCount was decodable and is implemented. Not reproducible.

FindClusters without an explicit cluster count

FindClusters[{1,2,10,11,20,21}] gives {{1,2,10,11},{20,21}} in Woxi and {{1,2},{20,21},{10,11}} in WL — a different k and a non-sorted emission order, both from an internal silhouette/gap heuristic. The explicit-k and DistanceFunction forms are correct. Not reproducible.

Classify probabilities and ClassifierFunction display

Woxi trains its own small, deterministic models for each Method (for example a 16-unit tanh network, a 50-tree forest, an RBF SVM with Platt scaling), while WL tunes hyperparameters and uses randomized training. On well-separated data the decided classes agree, but "Probabilities", the exact decision boundary, measures computed from them, and the Automatic method choice (Woxi always picks "LogisticRegression") generally differ. A ClassifierFunction also prints as its stored association rather than WL's summary box. Not reproducible.

FindPeaks with a non-zero smoothing scale

FindPeaks[list, σ] is not FindPeaks[GaussianFilter[list, σ]]: at σ=2.2 the blurred list still has two peaks but FindPeaks reports one, and no blur radius reconciles the counts across σ. It is a scale-space tracking pass. A bare sharpness inherits σ as its scale and is not the plain second difference of the blurred data either. Woxi leaves any non-zero scale unevaluated.

Astronomy residues

SunPosition, MoonPosition and SiderealTime now agree closely, but:

  • The Sun's near-meridian azimuth differs by ~20″, because Meeus's short solar series is only good to 0.01°.
  • Sunrise/Sunset stay 13–30 s away: the half-day length implies wolframscript uses an effective horizon altitude near −0.885°, not the standard −50′ that Meeus documents. The offset is systematic across latitudes and seasons but has no physical derivation. Do not tune the constant to fit it.
  • SiderealTime is 0.28 s off (a different nutation/precession model).

Import, export, units and system

Character encodings: lone surrogates, and strict JSON imports

ToCharacterCode, FromCharacterCode, ByteArrayToString, StringToByteArray, ExportString and ImportString were fuzzed against wolframscript on 2026-11-12 (every byte of every 8-bit encoding, and 500 random string calls; all agree). What still differs:

  • A UTF-8 sequence that decodes to a surrogate ({237, 160, 128}) gives the character 55296 in wolframscript; a Rust string cannot hold a lone surrogate, so Woxi gives U+FFFD.
  • ImportString[…, "JSON"] decodes UTF-8 leniently in Woxi; wolframscript rejects a string holding a character above 255 (General:: jsonoutofrangeunicode) or an invalid byte sequence and fails.

Read / ReadList messages about text with \r, tabs or stray commas

Stream reads were fuzzed against wolframscript on 2026-11-12 (1,050 random texts and read sequences over StringToStream, OpenRead and file names; all values and positions agree). Two kinds of message still differ:

  • A Read::readt / ReadList::readt message whose text contains a carriage return or a tab: wolframscript lays the string out as a 2D box in which \r breaks the line too, so its layout differs from Woxi's, which only breaks at \n.
  • ReadList of a file whose text has a comma with nothing beside it (c1{1,) also prints wolframscript's parser warning Syntax::com: Warning: comma encountered with no adjacent expression. … (line 1 of "file") before the readt message; Woxi prints only the readt.

A plain read after a pattern read still sees the rest of the stream

ReadString[stream, patt] returns the text before the first match of patt and consumes the match. wolframscript implements that by pulling a 10 000-character chunk into a buffer: later pattern reads consume from the buffer and continue correctly, but a later plain ReadString[stream] reads from the underlying file position instead, which the chunk already moved past. On anything under 10 000 characters that means the rest of the stream is simply lost:

wolframscript -code 's = StringToStream["aaa%HEAD%rest"]; {ReadString[s, ___ ~~ "%HEAD%"], ReadString[s]}'
# {, EndOfFile}
woxi eval 's = StringToStream["aaa%HEAD%rest"]; {ReadString[s, ___ ~~ "%HEAD%"], ReadString[s]}'
# {, rest}

StreamPosition shows the same thing from the other side: after a pattern read wolframscript reports the chunk's file offset (10000, or the file size for a shorter file) where Woxi reports the logical position just past the match. Every value a pattern read returns agrees, including a whole sequence of them — WLJS Notebook's .wln reader is four pattern reads on one stream and gives identical text on both. Only mixing a pattern read with a plain read on the same stream diverges, which is why Woxi keeps the self-consistent behavior rather than emulating the buffer.

ExampleData content is generated by design

Woxi serves Wolfram's whole ExampleData catalog — all 19 collections and their entries, the same property names, the same head and shape of every value and the same metadata (image sizes, channels and types, sample rates and lengths, vertex and face counts, matrix dimensions and nonzero counts, table dimensions, column names and types, graph sizes and direction, …) — but none of Wolfram's data. Every value is generated, deterministically, from the entry name: photographs are crude drawings with the original's histogram statistics, 3D scans are rough models with exactly the original's vertex and face counts, recordings are synthesized, books are generated text with the original's word, line and paragraph counts, tables are drawn column by column from the original's ranges, spreads, category frequencies and correlations. Descriptions and sources are Woxi's own text. The structure is recorded from wolframscript by scripts/example_data_meta.wls into resources/example_data_meta.tsv.gz.

wolframscript -code 'ImageDimensions[ExampleData[{"TestImage", "Mandrill"}]]'  # {512, 512}
woxi eval 'ImageDimensions[ExampleData[{"TestImage", "Mandrill"}]]'            # {512, 512}
wolframscript -code 'ExampleData[{"TestImage", "Mandrill"}]'                   # the photograph
woxi eval 'ExampleData[{"TestImage", "Mandrill"}]'                             # a drawn mandrill

So: test metadata (ImageDimensions, Length, VertexCount, Dimensions, Head, …), never content. The exceptions are five classic networks that are real, assembled from their publications (ZacharyKarateClub, DolphinSocialNetwork, LesMiserables, USPoliticsBooks, WordAdjacencies); their vertex names follow the publication ("MlleBaptistine") rather than Wolfram's spelling ("Mlle Baptistine").

Known structural gaps:

  • "Matrix" entries with more than 4 000 000 stored entries (92 of the 2338, up to 99 million) stay unevaluated: Woxi holds sparse arrays as ordinary expressions. Their metadata properties are served.
  • "TestImage3D" volumes are Image3D[{slice, …}] stacks of packed slices rather than Image3D[NumericArray[…], "Byte", …], and "TimeSeries" / "EventSeries" values are Woxi's normalized TimeSeries[…] rather than TemporalData[…] (see the TimeSeries section).
  • Options of an example image omit Wolfram's MetaInformation (file comments, creation dates).
  • Synthetic test patterns ("Gray21", "ResolutionChart", "Ruler", "TestPattern") are drawn, not reproduced pixel for pixel.
  • "FilePath" names a file Woxi exports on first request under the temporary directory, not a paclet file; "AudioFile" reads that file.
  • ExampleData["SpatialPointData"] is $Failed in wolframscript (the collection needs a server), and is in Woxi too.
  • The retired "TestImage" entries "Lena" and "TestPattern" (no longer listed, still served with ExampleData::obsolete) were added to the table by hand from the USC-SIPI originals they came from (4.2.04, 512 × 512 RGB; testpat.1k, 1024 × 1024 gray; both sizes and color types confirmed against wolframscript). Their histogram statistics are estimates, not recorded from wolframscript.

ShortTimeFourier partitions differently

Woxi's default partition offset is half the window; wolframscript's is 1, so the same signal yields 3 frames against its 8. The property names differ too: Woxi answers "WindowSize", "Offset" and "NumberOfFrames" where wolframscript's ShortTimeFourierData has "PartitionSize", "PartitionOffset", "SmoothingWindow", "PartitionPadding", "FourierParameters", "SampleRate" and "DataType".

UnitSimplify is unimplemented

Two parts. The clean one: a compound dimension matching a named SI derived unit becomes that unit (N*m → Joules, kg*m/s^2 → Newtons, J/s → Watts), while metric units and no-named-unit compounds stay (1/s stays 1/s, not Hertz). The rabbit hole: a single imperial unit converts to a magnitude-dependent metric unit — Feet → 762/25 Centimeters, Miles → 25146/15625 Kilometers — and the metric-prefix choice (cm vs m vs km) is WL-specific and unpredictable. Implementing only the clean part would still diverge on the common cases.

Temperature arithmetic is not affine

expression wolframscript Woxi
Quantity[5,"Celsius"] + Quantity[3,"Celsius"] Quantity[5543/10, Kelvins] Quantity[8, DegreesCelsius]
Quantity[10,"Celsius"] - Quantity[3,"Celsius"] Quantity[7, DegreesCelsiusDifference] Quantity[7, DegreesCelsius]
Quantity[5,"Celsius"] + Quantity[3,"Kelvins"] Quantity[8, DegreesCelsius] a compat error
2 Quantity[5,"Celsius"] Quantity[5563/10, Kelvins] Quantity[10, DegreesCelsius]

Needs a full absolute-versus-difference temperature model with the DegreesCelsiusDifference / DegreesFahrenheitDifference units.

MixedRadixQuantity is unimplemented

Needs MixedMagnitude and MixedUnit first.

WXF serialization bails

BinarySerialize deliberately leaves these unevaluated rather than write bytes that would differ: a Plus/Times containing a numeric-complex term (WL sorts Complex first in sums and folds numeric factors into it in products), Pattern/Function/Slot expression kinds, BigFloat, and multi-operator comparison chains. The deserializer treats the NumericArray token as corrupt, since Woxi has no such object. BinarySerialize[Range[3]] is packed in WL — only literal lists are comparable.

CSV ColumnTypes

wolframscript types the last column of a labeled table as "String" when the text does not end in a newline, contradicting its own import of the same field as an integer. It also changes its CSV behavior mid-session once any "Table" import has run — HeaderLines is ignored in a cold kernel and honored after, and booleans are coerced in a cold kernel and left as strings after. Woxi implements the cold-kernel behavior and stays newline-agnostic. Not reproducible.

Its ColumnTypes values are self-contradictory in the labeled two-column case as well: "a,b\n1,2" types the last column as String although it holds numbers, while "a,b,c\n1,2,3" types all three Integer64.

Import of a URL whose body is an HTML error page

Import reads a URL's body whatever the HTTP status, and wolframscript then imports it by its content: a 404 page behind an image URL comes back as the page's plain text. Woxi saves the body under the URL's extension and imports that file, so the page fails to decode as an image and gives $Failed; Woxi has no "HTML" importer to read it with:

# Import["http://www.spore.com/static/image/500/291/274/500291274701_lrg.png"]
#   WL "Not Found  \nThe requested URL was not found on this server."
#   Woxi $Failed

Import element lists

WL's element list for CSV names EventSeries and TimeSeries, which Woxi does not implement.

Named characters and Unicode drift

wolframscript's Unicode database is older than Rust's. A sweep of CharacterNormalize over the BMP and SMP found zero cases where wolframscript normalizes and Woxi disagrees — every difference is the reverse, Woxi normalizing a character wolframscript does not know yet (Latin Extended-D additions, Vithkuqi, Latin Extended-F, Todhri, ㋿). Woxi's output is the standards-correct one. Never write a conformance test on a code point added after Unicode ~13.

Note also that wolframscript stores most named characters at private-use code points (\[Rule] is U+F522, \[WarningSign] U+F725), and mangles non-ASCII input in both -code and -file — several apparent divergences in this area are artifacts of that.

SeedRandom streams differ

Wolfram uses a proprietary generator, Woxi uses ChaCha8; no seed produces the same sequence. Verify determinism and distribution instead. SeedRandom[n, Method -> m] likewise draws from ChaCha8: each non-default method ("Congruential", "Rule30CA", "MersenneTwister", …) gets its own reproducible stream (a key derived from the method is mixed into the seed), but none of them reproduces the named algorithm's numbers or statistical quirks. Not reproducible. The quasi-random methods {"MKL", Method -> {"Sobol" | "Niederreiter", "Dimension" -> d}} are the exception: they draw the actual low-discrepancy sequences (Bratley–Fox direction numbers, base-2 Niederreiter matrices, Gray-code order). Not yet checked against wolframscript: whether Intel MKL's streams start at the origin as Woxi's do (or skip it), use the same free choices in the Niederreiter matrices beyond dimension 2, and ignore the seed.

Performance

Woxi's list operations are bound by expression-allocation throughput, not by algorithmic complexity: Expr::List holds an owned vector with no structural sharing, so building a large result deep-copies its elements. Tuples[{Range[4900], Range[70]}] (343k pairs) takes ~1.5 s in release — roughly 100× slower than wolframscript, which shares structure. A real fix needs Rc/Arc-backed lists or a different allocator.

A Table of many FindRoot calls is slow the same way, for a different reason: each Newton iteration re-substitutes the numeric guess into the whole symbolic expression tree and walks it again with the general evaluator, and every one of those recursive sub-evaluations pays evaluate_expr_to_expr's per-node bookkeeping (recursion-depth tracking, the stacker stack-growth check, the termination latch). wolframscript's kernel instead compiles the numeric expression once. As part of a scheduled QA routine, Woxi Studio was tested against a randomly sampled Wolfram Demonstration notebook (a chemical-engineering phase-equilibrium plot) whose Manipulate computed a 100×100 Table of FindRoot calls once in its Initialization to build an Interpolation; this construct-equivalent example (invented constants and variable names, similar expression nesting depth — not the Demonstration's own code or data, which is copyrighted) reproduces both the shape and the cost:

k1 = 3.2; k2 = 47.5; k3 = 6.1; m1 = 2.4; m2 = 33.8; m3 = 4.9; c1 = 1.3; c2 = 0.8;
a = 10^(k1 - k2/(k3 + T));
b = 10^(m1 - m2/(m3 + T));
g = Exp[c1 (c2 ((1 - u)/(c1 u + c2 (1 - u))))^2];
h = Exp[c2 (c1 (u/(c1 u + c2 (1 - u))))^2];
tbl = Table[
   FindRoot[u a g + (1 - u) b h - v == 0, {T, 1, 50}],
   {u, 0.01, 1, 0.01}, {v, 1, 100, 1}];

The 10,000 FindRoot calls take ~40 s in a release build against wolframscript's sub-second evaluation — long enough that opening such a notebook in Woxi Studio, which instantiates a stored Manipulate's widget (and so runs its Initialization) synchronously when the file loads, freezes the UI for the whole computation. Like the Tuples case above, a real fix is a faster/compiled numeric evaluation path rather than a targeted change to FindRoot itself.

woxi eval exits 0 on an evaluation error

The error goes to stderr but the exit code stays 0, so a shell check like woxi eval '…' >/dev/null 2>&1 && echo OK reports OK even when the expression failed. (wolframscript -file has the same property.)

woxi run does not echo the value an aborted script ended on

wolframscript -file prints the terminal value of a script that stopped early — $Aborted for Abort[], TerminatedEvaluation[RecursionLimit] for a recursion past $RecursionLimit — even though a script otherwise prints only what Print sends:

printf 'Print["a"]\nAbort[]\nPrint["b"]\n' > /tmp/ab.wls
wolframscript -file /tmp/ab.wls  # a  + $Aborted
woxi run /tmp/ab.wls             # a

Both stop before Print["b"], so only the echo is missing. woxi eval and wolframscript -code agree (both print $Aborted / TerminatedEvaluation[RecursionLimit]).

woxi repl does not tag the output prompt with the result's form

When a REPL line evaluates to an output-form wrapper, wolframscript moves the wrapper into the prompt and prints the wrapped expression:

In[1]:= 7//FullForm
Out[1]//FullForm= 7      (* wolframscript *)
Out[1]= FullForm[7]      (* woxi repl     *)

Same for MatrixForm, TableForm, InputForm and the other form wrappers. woxi eval is unaffected — script mode prints FullForm[7] on both sides. The REPL gets only the formatted string back from interpret, so tagging the prompt needs the result expression (and a per-wrapper rendering) plumbed through to repl.rs.

balanced_ternary computes a wrong value

btmultiply["+-0++0+", btsubtract[tobt@-436, "+-++-"]] gives +--0 in Woxi where wolframscript gives ----0+--0++0. The divergence is inside btadd's Fold over a transposed, padded character matrix combined with a multi-clause StringReplace over alternative patterns — a pattern-matching or accumulator bug, not the (already fixed) #0@ self-reference.

Sockets

The TCP socket functions (SocketOpen, SocketConnect, SocketListen, SocketReadMessage, SocketReadyQ, SocketWaitNext, SocketWaitAll, Sockets) were implemented against behavior recorded from wolframscript in advance. The entries below are the parts of that surface no wolframscript run has confirmed: the machine Woxi is developed on has no Wolfram Engine, so these are Woxi's choices, not verified matches. Check each one against wolframscript before writing a conformance test on it.

Property values

Checked against wolframscript 15.0 (2026-11-11): Type is None for every TCP socket, a listener's CharacterEncoding is "UTF8" and its RecordSeparators is None, and a handler's TimeStamp is a DateObject — Woxi now answers all of these the same way. ConnectedClients on a TCP client is None in wolframscript and still {} in Woxi.

c["SourcePort"] returning {} was recorded, so Woxi answers {} for every property a TCP socket does not keep. (A ZeroMQ socket answers an unknown property with an invalidGetOption failure, verified.)

ZeroMQ

ZeroMQ sockets were checked against wolframscript 15.0 and, on the wire, against libzmq 4.3.5 (pyzmq) on 2026-11-11. What still differs:

  • ZMQ_STREAM is not implemented: SocketOpen/SocketConnect give a zmqinvcmd failure for it.
  • Only the tcp:// transport exists. inproc:// and ipc:// addresses give a zmqinvcmd failure ("Protocol not supported"); wolframscript supports both.
  • wolframscript accepts a port above 65535 (SocketOpen[{"127.0.0.1", 70000}, "ZMQ_PAIR"] binds, apparently modulo 2^16); Woxi refuses it with an addrspec failure.
  • After SocketOpen["tcp://*:port", …] wolframscript cannot read its own address properties back (they come out as Missing["NotAvailable", …]); Woxi reports the wildcard address.
  • "ZMQ_FD" is the descriptor of Woxi's listening socket or current connection, not libzmq's signaler descriptor; both are arbitrary numbers.
  • Socket options other than "Subscribe", "Unsubscribe" and "Identity" are recorded and read back but have no effect (high-water marks, linger, heartbeats, CURVE/PLAIN security, …). Only the NULL security mechanism is spoken.
  • SocketConnect waits up to a second for the first connection attempt, so an endpoint that is already listening is connected when it returns; libzmq connects entirely in the background.
  • An XPUB passes subscriptions on without ZMQ_XPUB_VERBOSE semantics: only the first subscription to a topic and the last cancellation of one.

Handler associations for events other than "DataReceived"

A "DataReceived" handler is called with the recorded seven keys — TimeStamp, SourceSocket, Socket, Data, DataBytes, DataByteArray, MultipartComplete — in that order. "DataReceived" is the only event name wolframscript accepts: any other key makes lis["HandlerFunctions"] read Missing["NotAvailable", "HandlerFunctions"]. Woxi keeps "Accepted", "Closed" and "Error" as extensions, and what wolframscript would pass such a handler was never recorded; Woxi passes TimeStamp, SourceSocket and Socket, plus a Message key for "Error".

A closed socket is closed again without complaint

wolframscript answers a second Close with a failure object naming the socket:

wolframscript -code 'srv = SocketOpen[0]; Close[srv]; Close[srv]'
# Failure["SocketsLink", <|"MessageTemplate" :> SocketObject::invalidSock,
#                          "MessageParameters" -> {SocketObject["TCPSERVER-…"]}|>]
woxi eval 'srv = SocketOpen[0]; Close[srv]; Close[srv]'
# "127.0.0.1:…"

The rest of Woxi's socket layer reports an unusable socket as $Failed plus a free-text line rather than as a Failure[…], so this is one instance of a wider difference in how the two report a bad socket.

Data and DataBytes are delayed association entries (key :> value), so a handler that only reads DataByteArray pays neither the text decoding nor one Expr per byte. Which of the keys wolframscript delays is unverified; the laziness itself is what the recorded behavior called for.

SocketWaitNext and SocketWaitAll on a timeout

The one recorded data point is that both stayed unevaluated for a client socket with nothing pending and a one-second timeout. Woxi generalizes that: each waits for activity on the listed sockets — an event a listener handled, including one on a connection it accepted, or data waiting on the wire — and leaves the call unevaluated when the timeout runs out. SocketWaitNext returns the socket, SocketWaitAll the list it was given. Whether wolframscript's rule is the same, or whether "unevaluated" was reporting something narrower (a client socket being an invalid argument, say), is unknown.

SocketReadMessage[sock, n]

SocketReadMessage[c, 2] was recorded returning unevaluated with nothing pending, which is equally consistent with wolframscript having no two-argument form at all. Woxi reads up to n bytes of what has already arrived and stays unevaluated when nothing has — agreeing with the recorded case either way, but a superset if the form does not exist.

An unusable socket is $Failed, not a Failure[…] object

Verified against wolframscript on 2026-09-10, and the root of most of the entries in this section. Every operation on a socket wolframscript considers unusable returns the same object:

Failure["SocketsLink",
  <|"MessageTemplate" :> SocketObject::invalidSock,
    "MessageParameters" -> {SocketObject["baef81c0-…"]}|>]

and prints nothing — reads, Close on an already closed socket, and every property query, "UUID" and "Properties" included. (A read that fails for another reason carries a different template, e.g. SocketReadMessage::zmqerror with {"Interrupted system call"}.) Woxi prints the free-text line and returns $Failed instead.

Displayed at top level the Failure renders as its message text with the socket spelled as a front-end summary box (a DisplayForm[TagBox[…]] of several kilobytes of GraphicsBox), so no testcase that displays one can conform — which is why the closed-socket read lives in tests/interpreter_tests/sockets.rs rather than in the doc tests.

Resolved 2026-09-10: Woxi used to keep answering property queries on a closed socket (Close[srv]; srv["DestinationPort"] gave the port back where wolframscript failed). It now rejects them all with $Failed, silently — wolframscript prints nothing there either, since its failure is the returned object. Only the shape of the failure value still differs.

A refused connection blocks SocketReadMessage forever

Verified against wolframscript on 2026-09-10. Connecting to a port nothing listens on still yields a socket, because Wolfram connects lazily:

wolframscript -code 'c = SocketConnect["127.0.0.1:1"]; Head[c]'   # SocketObject

SocketReadMessage[c] then waits for a first byte that never arrives and never returns — there is no default timeout. Woxi detects the unusable socket instead and answers The socket object … is invalid or not open. plus $Failed.

tests/cli/sockets/SocketReadMessage.md used to run exactly that as a testcase; it now shows it as an untested example and leaves the behavior to the unit tests, because no bound on the call makes it conform. Never run it against wolframscript: a stuck wolframscript holds the single license slot, so every later invocation fails with the misleading Your Wolfram Engine installation is not activated, which turns one hanging testcase into dozens of unrelated failed documents. scrut's per-document timeout does not prevent this — it reaps its own shell but not the wolframscript below it. The wo wrapper caps each attempt at WO_TIMEOUT seconds (300 by default) and kills the kernel with it for exactly this reason.

Error text

The socket object … is invalid or not open. and Failed socket operation: … are free text, not tagged messages: they leave $MessageList empty, which is what was recorded. The exact wording of the second was recorded only for a privileged-port bind (Permission denied); Woxi uses the operating system's message for every bind failure, and reports $Failed as the value.

A socket read races its own listener

Reading a connection directly (SocketReadMessage, ReadString, …) while a SocketListen handler is attached to it means two readers on one socket, and which of them gets a given chunk is a matter of timing. wolframscript polls the same socket from both places and presumably has the same problem, but this was not tested. Use one or the other, not both.

Timing of handler calls

Handlers run on the thread that evaluates Wolfram code — the only thread that may touch an Expr — so they fire where evaluation waits: Pause, a blocking socket read, SocketWaitNext/SocketWaitAll, SocketReadyQ with a timeout, and between statements. A long computation with no such point defers every handler until it ends. The recorded wolframscript behavior agrees (a handler observably fired during a later blocking call rather than at write time), but only for that one case.

No transport but TCP

SocketOpen[port, "UDP"], ZeroMQ schemes ("inproc://…", "ZMQ_*" socket types) and SocketOpen's "ZMQ_STREAM"-family options are not implemented: anything that is not TCP leaves the call unevaluated. Sockets["TCP"] is accepted and is the same as Sockets[].

Together[…, Modulus -> p] only handles univariate rational functions

woxi eval 'Together[1/x + 1/y, Modulus -> 3]'   # stays unevaluated

The modular path cancels over GF(p) with univariate polynomial arithmetic, so a multivariate fraction (or a composite modulus) is returned unevaluated.

BesselJ/I/Y/K at complex arguments lose accuracy for large |z|

woxi eval 'BesselJ[0, 40. + 5. I]'   # power series, cancellation error

Complex (and negative-real BesselY/BesselK) arguments are evaluated with the plain power series in machine precision, which is accurate for moderate |z| (roughly below 12) but suffers cancellation beyond that; there is no asymptotic-expansion branch yet.

ColorData[4, k] indexed scheme is not tabulated

woxi eval 'ColorData[4, 9]'   # stays unevaluated

Only the indexed schemes 1, 2, 3, 30, 35 and 97 are tabulated; a graphic that colors with scheme 4 renders those primitives with the default color.

Named VertexShapeFunction/EdgeShapeFunction shapes are approximations

VertexShapeFunction -> "Capsule", "Star", "Triangle", "FiveDown", "ConcaveHexagon", "Parallelogram" and "RoundedUpTrapezoid" are drawn as a plain polygon or rounded rectangle at roughly the right size; the exact proportions differ from wolframscript. Named edge shapes other than "Line"/"Arrow" (e.g. "CarvedArrow", "DashedLine", "DottedLine", "DiamondLine", "FilledArcArrow") still fall back to the plain edge. GraphData also lacks most atlas names (e.g. "PappusGraph", "HeawoodGraph"), so Demonstrations that pick graphs by name still fail.

Colorize

  • Colorize[m, ImageSize -> …] ignores ImageSize (Image carries no display size), and the Automatic palette is Woxi's own distinct-hue scheme rather than Wolfram's exact colors.
  • ColorFunction -> "HypsometricTints" (and other ColorData gradients not yet implemented) falls back to a gray ramp.
  • On an image, a pixel at exactly ⅝, 6/8 or ⅞ lands one table entry (one byte) above wolframscript's: Colorize[Image[{{0.75, 1.}}], ColorFunction -> (RGBColor[#, #, #] &)] gives byte 192, wolframscript
  • No index rule that fits these also fits a dense sweep of other values, where min(floor(1024 x), 1023) matches.
  • On an integer-type image with no ColorFunction (label coloring) Colorize stays unevaluated.

PolyhedronData["BilinskiDodecahedron", ...]

Geometry (unit edges, volume, surface area, face structure) is derived from the golden-rhombus zonohedron; the vertex order, orientation and the "Classes" list were not checked against wolframscript.

PolyhedronData golden rhombic solids and "NetFaces" are unverified

AcuteGoldenRhombohedron, ObtuseGoldenRhombohedron and RhombicIcosahedron are built as unit-edge zonohedra (z axis = the polar symmetry axis) without access to wolframscript, so the vertex/face order, orientation and the printed form of the exact metrics may differ from Wolfram's. Their Circumradius and Midradius are Missing["NotApplicable"] (the vertices/edges are not equidistant); the rhombic icosahedron's Inradius is too. "NetFaces" returns a GraphicsComplex over de-duplicated 2D points (the shape a Demonstration indexing p[[1, #]] & /@ p[[2, 1]] expects) — inferred from that usage, not checked directly.

PolyhedronData["GyroelongatedSquareDipyramid", …] ordering is unverified

The vertex/face order and orientation of the solid are built without access to wolframscript and may differ from Wolfram's; Circumradius, Inradius and Midradius are Missing["NotApplicable"]. The "NetCoordinates" lattice is the strip layout a Demonstration caches, but "NetFaceIndices" (16 triangles: an 8-triangle strip plus a row of 4 above and 4 below) was inferred from how that Demonstration folds the net, so its face numbering is not checked directly.

PolyhedronData["SmallStellatedDodecahedron", …] vertex/face ordering is unverified

The vertex order, face order/winding and the printed form of the exact metrics were derived from the geometry (icosahedral vertices, {5/2, 5} pentagram faces, unit pentagram chord) without access to wolframscript, so they may be ordered or simplified differently from Wolfram's.

PolyhedronData["GreatIcosahedron", …] ordering and volume are unverified

Vertices reuse the small stellated dodecahedron's order and faces are the 20 outward-wound unit triangles of mutual second neighbors, derived from the geometry without access to wolframscript; Wolfram's vertex/face order may differ. "Volume" is not derived and reports Missing["NotAvailable"].

PolyhedronData "Dual", "Image", "SkeletonImage", "NetImage" and "NetGraph" are unverified

Implemented without access to wolframscript. "Dual" gives the dual's entity for the Platonic, Archimedean/Catalan and Kepler–Poinsot solids and the pyramid/prism/dipyramid families, and Missing["NotAvailable"] otherwise — including the antiprisms, whose duals ({"Trapezohedron", n}) are not among the known solids, and the Johnson solids, whose exact Wolfram answer is unknown. PolyhedronData[e, "Dual", "Name"] returns the same entity. "Image" is the same Graphics3D as PolyhedronData[e]; "SkeletonImage" draws a Schlegel diagram (convex solids) or a view down the z axis, and "NetImage" fills the "NetFaces" polygons. Wolfram's styling, layout and lighting of these pictures differ. "NetGraph" is the vertex-edge graph of the "NetCoordinates"/"NetFaceIndices" net, with VertexCoordinates set to the net's points and edges sorted; Wolfram's vertex and edge order may differ.

PolyhedronData[] lists fewer entities than Wolfram, so positions differ

PolyhedronData[] holds the 162 solids Woxi knows, while Wolfram's list has 195 (a Demonstration drives a 1–195 slider through PolyhedronData[][[n]]). Positions therefore name different solids: the stored snapshots of that Demonstration show the Icosidodecahedron at position 127 (Woxi: position 85) and a nonconvex uniform star polyhedron with octahedral symmetry at position 51. Positions 163–195 are out of range in Woxi (Part::partw). The missing entities appear to be nonconvex uniform polyhedra and similar solids, but which ones, and how Wolfram sorts the family entries ({"Antiprism", n}, {"Prism", n}, …) among the names, could not be determined without wolframscript, so the catalog has not been extended.

Solve roots with a symbolic parameter keep the quadratic-formula form

The roots are right but not written the way wolframscript writes them. Solve[(x - 3)^2 == a, x] gives (6 - 2*Sqrt[a])/2 here and 3 - Sqrt[a] in WL; Solve[(x/2 + 1)^2 == c, x] is (-4 + 4*Sqrt[c])/2 against 2*(-1 + Sqrt[c]); Solve[y == 1/(x - 3)^2, x] is (6*y - 2*Sqrt[9*y^2 - y*(-1 + 9*y)])/(2*y) against (-1 + 3*Sqrt[y])/Sqrt[y], and the cube's principal root is 3 + (y^(-1))^(1/3) against 3 + y^(-1/3). WL's forms look like Factor of the inverted single power (Factor[3 - 1/Sqrt[y]]), but the rule that picks them is not pinned down; numeric coefficients already agree.

Solve of a cubic with symbolic coefficients is unevaluated

Solve[x^3 + b x + c == 0, x] (and any cubic whose coefficients or right-hand side are symbols, e.g. 1/(2 u^2) - k/u - k/u^3 == b) stays unevaluated; wolframscript returns the closed-form Cardano radicals. The Orbital Precession of Mercury Demonstration depends on one such Solve for its Schwarzschild window intercept, so that value is left symbolic (the three plots still render).

Solve through a linear denominator uses its own root form

When a rational equation depends on the unknown only through one denominator sum linear in it (a + b q), the roots are found for that sum and mapped back (q -> (root - a)/b). They are equal to Wolfram's but not guaranteed to be printed in the same arrangement.

AxesLabel on ParametricPlot is not drawn

ParametricPlot[…, AxesLabel -> {Re[z], Im[z]}] omits the axis labels (seen in the Logarithmic Integral on the Critical Line Demonstration).

WordData is not available

WordData[word] (parts of speech, definitions) ships no data in Woxi, so it stays unevaluated. The Oulipo: Wordshift + 7 Demonstration needs it (its Manipulate is initialized from it together with an ExampleData text, which Woxi generates), so only its static content and stored output render. DictionaryLookup works against the bundled word list, which may differ from Wolfram's dictionary.

Texture in Plot3D / TextureCoordinateFunction is ignored

Plot3D[…, PlotStyle -> Directive[Texture[image]], TextureCoordinateFunction -> …] draws the surface with the default coloring instead of mapping the image onto it (seen in the Developing a Perspective Anamorphic Image Demonstration). ImageForwardTransformation and HighlightImage, which that notebook's flat view uses, are implemented.

MorphologicalPerimeter edge handling is unverified

MorphologicalPerimeter[image, t] marks foreground pixels that touch a background pixel horizontally or vertically; pixels outside the image are ignored (not treated as background). Whether Wolfram counts the image border as background, and its exact connectivity, has not been checked against wolframscript (seen in the Segmenting a Medical Image Demonstration).

NDSolve with WhenEvent and Sow does not run

NDSolve[{…, WhenEvent[t[s] == 1, Sow[{x[s], y[s]}]]}, …] over an implicit (differential-algebraic) system stays unevaluated, so Reap collects nothing. The All Real Roots of a Nonlinear System of Equations Demonstration relies on this to mark its roots: the contour curves render, but the red root points and the root table are missing.

InverseLaplaceTransform of machine-precision rational functions

When the exact rules don't apply directly to machine-precision input (e.g. a product of 1./(s - pole) factors with numeric complex poles), Woxi inverts the Rationalized expression exactly and applies N to the result. The values agree with WL, but the form follows Woxi's exact answer (real Cos/Sin damping terms) where WL may return a sum of complex exponentials.

ReplaceAll of many call sites by a large InterpolatingFunction

Table[x[i][t], {i, 80}, {t, 0, 388, 0.1}] /. sol[[1]] with the NDSolve result of an 80-equation system (the default view of the Circulant Ring Systems Demonstration) deep-copies the tabulated data for every one of the ~310,000 replaced x[i] heads, so it takes minutes instead of Wolfram's shared-structure instant. Applying an InterpolatingFunction itself is O(log points) now; only the per-occurrence copy remains.

Upvalues whose pattern ends in OptionsPattern[] need an explicit option

Foo[c_Curve, OptionsPattern[]] ^:= … is stored with a fixed argument count, so Foo[Curve[1]] (no options) does not match it, while Foo[Curve[1], a -> 2] does. In Wolfram OptionsPattern[] also matches zero arguments. The Turtle Fractals Demonstration defines such a Show upvalue, which its Manipulate never calls.

ExampleData[{"Text", name}] is generated text

The texts exist with their titles, authors, languages and line structure, but their words are generated (see the ExampleData section). The Effect of Keyword Length on the Letter Frequency in Encrypted Messages Demonstration builds its message popup from StringTake[ExampleData[{"Text", #}], 5000], so its chart shows the letter frequencies of the generated English text — close to, but not the same as, the original's.

HamiltonianCycles of an UndirectedGraph[…] result

GraphUtilitiesHamiltonianCyclessearches the graph's sparse adjacency matrix in its stored order.UndirectedGraph[g]of a directedgkeeps, in Wolfram, the storage order ofTranspose[m] + m— every vertex's in-neighbors ofgbefore its out-neighbors — while aGraphbuilt from the same edges is stored ascending. Woxi's graphs carry no storage order, so it searches theUndirectedGraphresult ascending and can report other cycles first (the same set withAll`).

Rotate[Text[…], angle] inside a Grid cell is not rotated

A Grid cell holding Rotate[Text["Value"], 90 Degree] (the usual vertical axis label beside a GraphicsGrid, as in the Intramarginal Rent Demonstration) is drawn unrotated. Rotation is honored for plot labels (PlotLabel/AxesLabel) but not for Grid cell content.

Combinatorica graph functions and {"Prism", n} (unverified against wolframscript)

CombinatoricaFromUnorderedPairs,V,ToAdjacencyLists,ConnectedComponents,BreadthFirstTraversal[g, v]andShortestPathwere written from the package's documented behavior (as needed by theTwo Points on a PolyhedronDemonstration) and could not be checked against a real kernel: the circular-embedding vertex coordinates, the tie-breaking order of the traversal/shortest path, and theLevel/Edgeflags ofBreadthFirstTraversal(left unevaluated) may differ. Likewise the vertex order, face order and orientation ofPolyhedronData[{"Prism", n}, …]are a guess;"InsphereRadius"/"Midradius"reportMissing["NotApplicable"]`.

Mean of a TruncatedDistribution over a discrete base

Mean[TruncatedDistribution[{1, Infinity}, GeometricDistribution[0.25]]] integrates the density instead of summing the probability mass, so it gives 5.186… rather than 4 (found while sampling the distribution for the Block Bootstrap for Time Series Demonstration). Quantile/CDF of a truncated discrete distribution likewise exclude the lower bound's own mass.

ColorData[n] for most indexed schemes

Only some indexed schemes are tabulated (see ColorData in functions.csv); e.g. ColorData[61][k] stays unevaluated, so the Manipulate of the A Minimal Circumcircle Measure of District Compactness Demonstration loses its fill/line colors. The same holds for ColorData[7, k] and ColorData[13, k] (the Circumcircles of Two Midpoints and an Altitude Demonstration colors its triangle, discs and background with them). The schemes' values could not be checked against a real kernel. ColorData[8][k] (the row backgrounds of the Grid in the The Perfect Venn Diagram Demonstration's plot title) is in the same state.

Text width of Row/Grid captions is overestimated

Text is measured at a fixed 8.4 px per character, which is wider than the proportional face the FrontEnd uses for digits and spaces. A Pane[…, {450, 300}] holding Row[{Grid[…], Graphics[…], Grid[…]}] captions (the Power versus Work Demonstration) therefore lays out wider than the pane and clips its right-hand column, where the FrontEnd fits it.

The same fixed advance (0.6 em per character) under-measures wide capitals, so narrow Spacings look uneven: in Grid[{{"DN", "≈", 1.26}}, Spacings -> {{1 -> 1.3, 2 -> .3, 3 -> .3}}] the ≈ touches DN while a visible gap still separates it from 1.26.

Machine complex numbers with a 0. imaginary part

wolframscript -code '{LogGamma[2. + 0. I], Erf[0.5 + 0. I], Zeta[2. + 0. I], BesselJ[0, 2. + 0. I]}'
# {3.552713678800501*^-15 + 0.*I, 0.5204998778130466 + 0.*I, 1.6449340668482264 + 0.*I, 0.22389077914123562 + 0.*I}
woxi eval '{LogGamma[2. + 0. I], Erf[0.5 + 0. I], Zeta[2. + 0. I], BesselJ[0, 2. + 0. I]}'
# {LogGamma[2. + 0.*I], 0.5204998778130465, 1.6449340668482264, BesselJ[0, 2. + 0.*I]}

Arithmetic, Power, Sqrt, Exp, Log, Sign, Gamma and the circular and hyperbolic functions keep the 0. imaginary part (they read the argument through machine_complex_parts). Special functions such as LogGamma, PolyGamma, Zeta, Erf and the Bessel family still either drop it or stay unevaluated.

Sum over symbolic bounds with a step stays unreduced

Sum[k^i, {i, q h, 0, -q}] is re-indexed to Sum[k^(h q - q i), {i, 0, h}] but not summed in closed form (the kernel gives (-1 + k^(q + h q))/(-1 + k^q)). Applying a definition stored from it to numbers evaluates correctly. A concrete step that does not divide a symbolic span runs to Floor[(n - a)/s] (Sum[k^i, {i, 0, n, 2}] matches); with a step of 3 from 1 wolframscript writes the top power as k^(3*(1 + Floor[(-1 + n)/3])) where Woxi expands it to k^(3 + 3*Floor[(-1 + n)/3]).

Automatically sized Graphics in a Row inside a fixed Pane

A Pane[Grid[{{Row[{Graphics[…], Graphics[…], …}]}, …}], {300, 300}] cell keeps each automatically sized picture at its default width, so the row is far wider than the pane (arrows 330 points long). The FrontEnd shrinks those pictures to fit the pane. fit_grid_to_pane_width only squeezes pictures that are direct Grid cells or nested Grid columns, not pictures inside a Row cell.

NDSolve of complex periodic PDEs

A complex-valued solution of a 1-D PDE with periodic boundaries (e.g. the nonlinear Schrödinger equation) is returned as u -> Function[{t, x}, re[t, x] + I im[t, x]] built from two real InterpolatingFunctions, where wolframscript returns a single complex InterpolatingFunction. Values agree to the solver tolerance, but the printed form of the result differs.

HighlightMesh draws no highlighting

HighlightMesh[mesh, spec] returns the mesh with the Properties -> {{d, Default} -> MeshCellHighlight | MeshCellLabel -> …} option wolframscript adds. Woxi now renders mesh cells and explicit MeshCellLabel options, but does not yet apply the stored MeshCellHighlight and MeshCellLabel properties from HighlightMesh. wolframscript's echo also normalizes the mesh itself (machine coordinates, {Polygon[…]} cells), which Woxi does not.

ComputationalGeometry`VoronoiDiagram of machine points: last digits

Woxi ports the package's divide-and-conquer Delaunay and its circumcenter formula, so exact input gives wolframscript's result exactly and the index lists always match. With machine coordinates a vertex whose circumcenter involves cancellation can differ in the last few digits:

# Needs["ComputationalGeometry`"]; First[VoronoiDiagram[{{0.1,0.3},{1.7,0.2},{0.9,1.3},{1.1,2.9},{2.3,1.7}}]][[1]]
# wolframscript: {-1.5185185185185164, 2.4148148148148145}
# woxi:          {-1.518518518518515, 2.414814814814813}

The kernel's Dot/Det round differently (probably fused multiply-adds).

ImageLines finds other lines

Woxi's Hough transform reports one line per straight stroke. wolframscript reports several near-duplicate lines for each: on a 20 × 20 image with one diagonal it returns ten lines, Woxi one. The peak picking is not decoded, so the two Round[First /@ ImageLines[…]] cases are skip-listed.

Decoded so far, from the lines wolframscript returns for w × h images: the accumulator has Round[d] - 1 distance bins over the diagonal d, centered on the image center, and 2 Round[π d/(4√2)] + 1 angle bins at (k + 1/2) π/n. A single 20-pixel column comes back as 12 lines with normals between 150° and 24°. Most of them are not local maxima of a plain vote count under any pixel-center or rounding convention tried, so the voting itself (weights, prior edge detection or smoothing) is still unknown. MaxFeatures -> 1 returns the default list's second line, so the list is not ordered by strength either.

PolyhedronData covers only a subset of the polyhedron entities

Only the polyhedra listed in src/functions/polyhedron_data.rs are known. Further entities (e.g. "SquashedDodecahedron", the Johnson solids, "Antiprism" / "Dipyramid" / "Pyramid" families, "TriakisTetrahedron") give PolyhedronData::notent, so notebooks that offer them in a menu (such as polyhedron projection demonstrations) fail on those entries.

EdgeDetect: "ShenCastan", "StraightEdges" and the default threshold

Method -> "Canny" (or Automatic) and Method -> "Sobel" are computed; "ShenCastan" and a non-zero "StraightEdges" leave the call unevaluated.

With an explicit threshold t the result matches wolframscript pixel for pixel (72 of 72 random smoothed images, both methods, r = 1, 2, 3): thin with a bilinear comparison one pixel ahead and behind along the gradient, then keep each 8-connected ridge whose strongest pixel reaches t. The default threshold is not FindThreshold[GradientFilter[img, r]], which Woxi uses. On the same images the effective default lies between 0.9 and 1.07 times that value, and no FindThreshold method or histogram convention tried reproduces it. Woxi agrees on 29 of 36 such images; the others differ by one weak ridge run.

Solve of a nonlinear numeric system returns spurious solutions first

Solve[{eq1, eq2}, {x, y}] for two rational equations with machine-number coefficients (such as the equilibrium equations of a binary vapor–liquid mixture) returns ten solutions, mostly complex, with an unphysical real one (x -> -1.2*^16) first. wolframscript lists the physical solution first, so sol[[1]] — the usual way to pick it — gives a different value.

DSolve has no Riccati / Bessel-type solutions

DSolve[α y'[x] + γ y[x]^2 == x^(k-2), y[x], x] stays unevaluated. wolframscript reduces it to the linear equation u'' == (γ/α^2) x^(k-2) u and returns ratios of Bessel* / Hypergeometric0F1Regularized functions (elementary for special k). Notebooks that wrap it in y[x] /. DSolve[…] (e.g. Riccati-equation Manipulates) therefore only draw the equation panel, and ReplaceAll::reps fires for the unevaluated DSolve.

ToString[TraditionalForm[…]] is not a linear-syntax string

wolframscript returns the string "\!\(TraditionalForm\…)"(box markup in linear syntax, e.g.x^(k - 2)); Woxi returns an unevaluatedDisplayForm[FormBox[…]], soText[ToString[TraditionalForm[…]]]` in a Manipulate shows the raw box structure.

FindShortestTour picks a different tour among equally short ones

The length always matches, and with at most 12 points the tour is optimal. When several tours are equally short, Woxi can return a different one, or the same one in the other direction. Examples:

  • Collinear {{0,0},{3,0},{1,0},{2,0}}: WL {1, 4, 2, 3, 1}, Woxi {1, 3, 4, 2, 1}.
  • A 7-point set where WL chose the direction whose second stop has the lower index. Woxi always reports the direction whose second stop has the higher index, which matches every other small case probed.
  • Duplicate points: WL starts at point 2 ({2, 4, 1, 3, 2}).

Above 12 points Woxi uses iterated 2-opt/Or-opt local search. On random instances the tour comes within about 0.4% of WL's length and is sometimes shorter. FindShortestTour[graph] returns the cheapest Hamiltonian cycle along the graph's edges (or {}); it has not been compared against WL.

Grid Interpolation in two or more dimensions differs in the last digit

Woxi builds an n-D grid interpolation as a tensor product of the 1-D local Lagrange pieces, with the last axis innermost. wolframscript returns the same values but can round the last bit differently. For example, x + y z sampled on a 3×3×3 grid gives 0.6400000000000001 at {0.3, 1.7, 0.2} where WL gives 0.6399999999999999. Partial derivatives (Derivative[1, 0, 0][f]) can come out a few ULP away from WL's value, so a mixed derivative that WL returns as exactly 0. can be about 1*^-16 in Woxi.

Interpolation ignores PeriodicInterpolation -> True

wolframscript's periodic interpolation wraps the argument into the data's period and takes the cubic's neighbors across the seam: Interpolation[{{0, 1}, {1, 2}, {2, 0}, {3, 1}}, PeriodicInterpolation -> True] gives 1.6875 at 0.5 (the window {-1, 0, 1, 2} with the value at -1 taken from 2) and the same at 3.5. Woxi interpolates the data as it stands (2.25 at 0.5) and extrapolates outside it with InterpolatingFunction::dmval, which is what stops ShapingARoadAndFindingTheCorrespondingWheel.

Symbolic values: Interpolation and Fit write their results differently

wolframscript -code 'Interpolation[{{1, a}, {2, b}, {3, c}, {5, d}}, InterpolationOrder -> 1][2.5]'
# 0.5*(b - c) + c
woxi eval '…same…'   # 0.5*b + 0.5*c

Values that are not numbers, such as symbols or PlusMinus[v, u], are interpolated as a linear combination of the values. Woxi writes it as each value times its weight; wolframscript keeps the Newton divided-difference form. Fit with such responses uses wolframscript's form, s_j (P_j1 y_1 + …) with unit-length design columns, but the pseudo-inverse's last digits (and tiny entries such as -2.45*^-16 b versus 2.2*^-16 b) differ.

NDSolve ignores the "FixedStep" sub-method

Method -> {"FixedStep", Method -> "ExplicitEuler"} (or any other sub-method) is accepted but not honored: Woxi integrates with its own accurate scheme. For y'[t] == -y[t], y[0] == 1 on {t, 0, 1} with StartingStepSize -> 0.1, WL's explicit Euler gives y[1] = 0.9^10 = 0.348678, while Woxi returns 0.367879. Step-size stability demonstrations therefore do not show the instability WL does.

FindMinimum/FindMaximum take Newton steps, wolframscript quasi-Newton

wolframscript -code 'FindMaximum[Log[x] - x, {x, 3}]'
# FindMaximum::nrnum: The function value -1. - 3.14159 I is not a real number at {x} = {-1.}.
# {-1.3068528194400546, {x -> 2.}}
woxi eval 'FindMaximum[Log[x] - x, {x, 3}]'
# FindMaximum::nrnum: The function value -4.09861 - 3.14159 I is not a real number at {x} = {-3.}.
# {-1.9013877113318902, {x -> 3.}}

wolframscript's first step is a unit step along the gradient and later steps use a secant estimate of the curvature; Woxi's damped Newton uses the exact second derivative from the start, so the two visit different points and stop at different ones when a trial point leaves the real domain. Both end with the same message.

A fit with zero residual degrees of freedom has no parameter table

wolframscript -code 'lm = LinearModelFit[{{0, 1}, {1, 0}}, x, x]; Quiet[lm["ParameterTableEntries"]]'
# {{1., Indeterminate, Indeterminate, Indeterminate}, {-1., Indeterminate, Indeterminate, Indeterminate}}
woxi eval 'lm = LinearModelFit[{{0, 1}, {1, 0}}, x, x]; lm["ParameterTableEntries"]'
# FittedModel::elmntav: "ParameterTableEntries" is not an available property.

wolframscript divides by the zero degrees of freedom (with Power::infy messages) and reports Indeterminate standard errors and statistics; Woxi does not store the table for such a fit.

Style[Column[{Style[…, color], …}], size] inside Text loses the per-item colors

wolframscript -code 'ExportString[Graphics[Text[Column[{Style["a", Blue], Style["b", Red]}], {0, 0}]], "SVG"]'
woxi eval 'ExportString[Graphics[Text[Column[{Style["a", Blue], Style["b", Red]}], {0, 0}]], "SVG"]'

wolframscript draws each line in its own color; Woxi flattens the Column to one multi-line text label, which carries a single fill color.

Inexact trig Solve and complex ArcTan[x, y] differ in the last digits

wolframscript -code 'InputForm[Solve[Sin[b] == 0.5 Cos[b], b]]'
# {{b -> -2.677945044588987}, {b -> 0.4636476090008061}}
woxi eval 'InputForm[Solve[Sin[b] == 0.5 Cos[b], b]]'
# {{b -> -2.6779450445889874}, {b -> 0.4636476090008059}}
wolframscript -code 'InputForm[ArcTan[1.2, 0.5 I]]'
# 0. + 0.44365159750045163*I
woxi eval 'InputForm[ArcTan[1.2, 0.5 I]]'
# 0. + 0.44365159750045147*I

The solutions are the same principal values in the same order; Woxi reaches them through machine roots of the resolvent in Cos[b] and ArcTan[c, s], wolframscript through an evaluation order it does not document, so a few ulps differ. Complex two-argument ArcTan is evaluated as -I Log[(x + I y)/Sqrt[x^2 + y^2]], which matches wolframscript's branches but not its last digits.

N evaluates inside Hold

wolframscript -code 'N[Hold[ArcTan[1, 2]]]'
# Hold[ArcTan[1., 2.]]
woxi eval 'N[Hold[ArcTan[1, 2]]]'
# Hold[1.1071487177940904]

wolframscript only numericizes the numbers inside a held expression; Woxi evaluates the numericized calls as well.

CountryData[…, {"Shape", {projection, center}}] coordinates

The shape is drawn from the bundled 1:110m outlines, projected on a unit sphere with the center given as {lat, lon}. wolframscript uses finer outlines and its own coordinate scale, so point counts and coordinates differ. Hemispheric projections ("Orthographic") drop the vertices on the far side instead of clipping the outline at the horizon, and the conic projections use fixed standard parallels ("Albers") or the center latitude ("LambertConic", "Bonne").

Numeric radicals without a shared prime: WL splits some rational bases

Sqrt[7/3] 5^(1/5) is (5^(1/5)*Sqrt[7])/Sqrt[3] in WL but stays Sqrt[7/3]*5^(1/5) in Woxi, and likewise (7/3)^(1/3) 5^(1/5). WL does not split Sqrt[3/7] 5^(1/5), (2/3)^(1/3) 5^(1/5) or Sqrt[7/3] 5^(1/5) x, so the rule (it seems to depend on the base being above 1 and the product being purely numeric) is not pinned down. Radicals that share a prime are merged like WL (Sqrt[7/3] 3^(1/5) is Sqrt[7]/3^(3/10)).

KernelMixtureDistribution exact Variance and display

  • Variance[KernelMixtureDistribution[{1, 2, 4}]] is (7*(200 + 81*3^(3/5)))/900 in Woxi and the equal (7*(243 + 200*3^(2/5)))/(900*3^(2/5)) in WL, whose bandwidth square keeps 3^(2/5) in the denominator — evaluated alone, WL's own 189/(100 3^(2/5)) absorbs the 3 just like Woxi. Interval-rule bandwidths ({1, 2, 3, 4, 5}) match.
  • CDF[KernelMixtureDistribution[{1, 2, 4}], 3.] is 0.6550092996714579 in Woxi (and in WL's own N[CDF[…, 3]]) but 0.6550092996714578 in WL.
  • WL's InputForm prints the container's tags unquoted (DataDistribution[KernelMixture, {1/3, Gaussian, …}, 1, 3]); Woxi keeps them as strings, like the "Empirical" and "Histogram" containers.

Weierstrass functions at machine precision: last digits and imaginary noise

Woxi evaluates WeierstrassZeta, WeierstrassSigma and complex WeierstrassP/WeierstrassPPrime through the lattice's theta function; the values agree with WL to about 14 significant digits, not to the last bit. For real arguments WL attaches a rounding-noise imaginary part (WeierstrassZeta[1.5, {1., 2.}] is 0.49214540663758793 + 4.6454696025598575*^-17*I), where Woxi returns the real 0.492145406637588.

ButterworthFilterModel: exact highpass and bandpass normalization

The exact highpass and band filters are the same transfer functions as WL's but scaled differently: ButterworthFilterModel[{"Bandpass", 2, {1/3, 1}}] is ((4 s^2)/9)/((1/3 + …)(1/3 + …)) in Woxi and (4 s^2)/((1 + … + 3 s^2) (1 + … + 3 s^2)) in WL, which clears each factor's denominators (and for a highpass multiplies each factor by a unit). Lowpass models, machine-number models and the filtered values match. ToDiscreteTimeModel of a machine model agrees with WL to the last one or two digits.

Short only truncates integers

Short[expr] / Short[expr, n] on a list, sum or other compound expression is returned unchanged instead of eliding the middle as <<k>>, so Panel[Short[Range[100]]] in a Manipulate shows every element. Only the digits of an over-long integer are shortened (shorten_for_display in src/functions/graphics.rs).

ImageRotate: exact pixel-corner ties at an arbitrary angle

ImageRotate at an angle that is not a right angle samples the source pixel under each output pixel center. When that point falls exactly on a source pixel corner (the canvas center of an even-sized image on an odd canvas), wolframscript's choice depends on its transform's rounding noise: ImageRotate[Image[{{1, 0}, {0, 1}}, "Byte"], 1] has a 0 in the center, Woxi takes the lower-right pixel (1). At Pi/4 both pick the lower-right.

Exact Eigenvectors with quadratic-surd components: unreduced form

wolframscript -code 'Eigenvectors[{{0, 0, 1, 0}, {1, 0, 1, 0}, {1, 1, 0, 0}, {1, 1, 0, 0}}]'
# {{-((-1 - Sqrt[5])/(3 + Sqrt[5])), 1, 1, 1}, {-1, 0, 1, 1}, {-((1 - Sqrt[5])/(-3 + Sqrt[5])), 1, 1, 1}, {0, 0, 0, 1}}
woxi eval 'Eigenvectors[{{0, 0, 1, 0}, {1, 0, 1, 0}, {1, 1, 0, 0}, {1, 1, 0, 0}}]'
# {{(7 + 3*Sqrt[5])/(11 + 5*Sqrt[5]), 1, 1, 1}, {-1, 0, 1, 1}, {(7 - 3*Sqrt[5])/(11 - 5*Sqrt[5]), 1, 1, 1}, {0, 0, 0, 1}}

The values are equal, but the elimination leaves a different quotient, so N of the two differs in the last digits.

A name repeated across list arguments is not checked for equality

h[{a_}, {a_}] := a;
h[{1}, {2}]
# Woxi:         1
# wolframscript: h[{1}, {2}]

List argument patterns are decomposed into per-element accessors, which bind each name independently, so the repeated a never has to agree (nested calls such as f[g[i_], g[i_]] are checked correctly).

SparseArray: internal entry order of sums, Select keeping sparsity

  • Plus @@ SparseArray[{{1, 2}, {0, 5}}] equals wolframscript's value, but wolframscript stores the sum's entries in a different order ({{2}, {1}} with values {7, 1}, Woxi {{1}, {2}} with {1, 7}), so the InputForms differ.
  • Select[sparse, pred] returns a dense list; wolframscript keeps a SparseArray when the background passes pred.
  • Fold, FoldList, Sort and Union of a SparseArray emit ::normal and stay unevaluated in wolframscript; Woxi does not reject them.

DualLinearProgramming with Method -> "InteriorPoint"

wolframscript's interior-point solution carries solver noise ({1.0000000003499416, 1.0000000000555387} for an optimum of {1, 1}); Woxi solves exactly and converts, giving {1., 1.}.

A conditional := after a = value keeps the = value

wolframscript drops a symbol's Set value when a conditional own value is added (w = 5; w := {1} /; c == 1 leaves only the conditional rule, so w stays w when the test fails), but keeps an unconditional := value as the fallback. Woxi does not record whether a symbol's value came from = or :=, so it keeps either one as the fallback (w evaluates to 5).

Transcendental Root[{f, x0}] objects

  • wolframscript stores x0 as an arbitrary-precision number of about 20 digits (1.729255558981859572470645195450822395620.53); Woxi keeps the correctly rounded machine number (1.7292555589818597`).
  • For an equation with negative exponents wolframscript first rewrites f (2/2^t + 2/3^t == 1 gives -2 - 2*E^(Log[2]*#1 - Log[3]*#1) + E^(-(Log[3]*#1) + (Log[2] + Log[3])*#1) &); Woxi uses lhs - rhs (-1 + 2^(1 - #1) + 2/3^#1 &). The roots agree.
  • Root::invrt is reported when the refined root is more than 10^-6 (relative) away from x0; wolframscript's exact threshold is somewhere between 1.610^-7 and 4.810^-6 for the cases probed.

FindGeometricTransform: last digits and noisy perspective fits

The transforms agree with wolframscript to about 1e-9, but not in the last digits (wolframscript's exact-fit error is 2.29*^-15 where Woxi's is a different tiny number). With more than four noisy plane points the default (perspective) fit is Woxi's linear least-squares homography, which need not be the minimizer wolframscript reports.

Bates, Davis and Fisher z distributions

  • The linear 1 - x term of an upper CDF[BatesDistribution[…]] piece is written c (-1 + x) by Woxi; wolframscript does so for BatesDistribution[4] and BatesDistribution[3, {-1, 2}] but writes -(4*(1 - x))/9 for BatesDistribution[2, {-1, 2}].
  • BatesDistribution with a symbolic n or interval keeps PDF/CDF unevaluated (wolframscript does the same for symbolic n, but gives a form for a symbolic interval with numeric n).
  • Quantile[DavisDistribution[…], p] stays unevaluated: its CDF has no closed form (wolframscript leaves the symbolic CDF too, but inverts it numerically).
  • In Mean[FisherZDistribution[n, m]] Woxi orders the factor n^2*(m/n)^(n/2); wolframscript writes (m/n)^(n/2)*n^2.
  • Numeric PDF/CDF/Quantile values can differ in the last digit.

A left-hand-side /; guard is printed on the right-hand side

wolframscript -code 'f[p_] /; p == 1/2 := 2; DownValues[f]'
# {HoldPattern[f[p_] /; p == 1/2] :> 2}
woxi eval 'f[p_] /; p == 1/2 := 2; DownValues[f]'
# {HoldPattern[f[p_]] :> 2 /; p == 1/2}

A rule stores its guard in a trailing condition slot whichever side it was written on. The two forms match the same calls; only the printed rule differs.

Maximize of (1 - x)/(Log[1/x] + 1) on [0, 1] is numeric, not ProductLog

wolframscript -code 'Maximize[{(1 - x)/(Log[x^(-1)] + 1), 0 <= x <= 1}, x]'
# {(1 - E^(2 + ProductLog[-1, -E^(-2)]))/(-1 - ProductLog[-1, -E^(-2)]), {x -> E^(2 + ProductLog[-1, -E^(-2)])}}
woxi eval 'Maximize[{(1 - x)/(Log[x^(-1)] + 1), 0 <= x <= 1}, x]'
# {0.3178444328993727, {x -> 0.31784443289937303}}

The critical point solves Log[1/x] + x == 0-type equations that Woxi's Solve does not invert to ProductLog, so the optimizer falls back to Newton.

RegionConvert[…, "Implicit"] of a parallelogram is not reduced

wolframscript -code 'RegionConvert[Parallelogram[{1, 2}, {{1, 0}, {1, 1}}], "Implicit"] /. {\[FormalX] -> x, \[FormalY] -> y}'
# ImplicitRegion[x <= y && 1 + x >= y && Inequality[2, LessEqual, y, LessEqual, 3], {x, y}]
woxi eval 'RegionConvert[Parallelogram[{1, 2}, {{1, 0}, {1, 1}}], "Implicit"] /. {\[FormalX] -> x, \[FormalY] -> y}'
# ImplicitRegion[0 <= 1 + x - y <= 1 && 0 <= -2 + y <= 1, {x, y}]

Woxi bounds the parallelogram's coordinates t = Inverse[{v1, v2}ᵀ] . (x - o) between 0 and 1. wolframscript reduces that system further for some vectors and leaves it as is for others (Parallelogram[{0, 0}, {{-1, -1}, {-1, 0}}] gives the same 0 <= -y <= 1 && 0 <= -x + y <= 1 in both). The regions are equal. Only boxes, balls (round or axis-aligned ellipsoids) and parallelepipeds are converted; other regions stay unevaluated.

CanonicalGraph of a highly symmetric graph labels differently

wolframscript -code 'EdgeList[CanonicalGraph[PetersenGraph[]]][[;; 3]]'
# {1 <-> 3, 1 <-> 4, 1 <-> 7}
woxi eval 'EdgeList[CanonicalGraph[PetersenGraph[]]][[;; 3]]'
# {1 <-> 2, 1 <-> 3, 1 <-> 4}

Woxi orders vertices by their refined degree coloring and settles the ties left over with the lexicographically smallest edge list. That reproduces wolframscript's labels for graphs that degree refinement separates (paths, stars, trees, cycles, complete bipartite graphs) but not for vertex-transitive ones, where wolframscript's tie-breaking rule is unknown. Isomorphic graphs still come out identical in Woxi.

Generalized eigenvectors with a singular b can differ in sign

wolframscript -code 'Eigensystem[{{{1., 0}, {0, 2.}}, {{1., 0}, {0, 0}}}]'
# {{Infinity, 1.}, {{0., 1.}, {1., 0.}}}
woxi eval 'Eigensystem[{{{1., 0}, {0, 2.}}, {{1., 0}, {0, 0}}}]'
# {{Infinity, 1.}, {{0., -1.}, {-1., 0.}}}

With b singular Woxi takes the eigenpairs of Inverse[a] . b and inverts the eigenvalues (Infinity for its zero ones). The eigenvalues agree, but the vectors keep that reduced problem's sign choice and the finite eigenvalues can differ in the last bit.

Text with a Row of Style-sized labels

  • Graphics[Text[Row[{Style["12", Bold, 54], …}], pos]] draws the row at the default font size: the Style sizes inside a Row passed to Text are not applied, so a barcode's printed digits come out much smaller than in wolframscript.

Parameter sweep 3 (special functions & calculus): unverified forms

These argument forms are documented on the reference pages, but their exact wolframscript output could not be confirmed (the pages render outputs only as images), so they are not implemented yet:

  • D[AngerJ[ν, μ, x], x] / D[WeberE[ν, μ, x], x] stay as Derivative[0, 0, 1][AngerJ][ν, μ, x]. From the integral definition the derivative is WeberE[ν, 1 + μ, x]/2 (and -AngerJ[ν, 1 + μ, x]/2), which also equals (AngerJ[-1 + ν, μ, x] - AngerJ[1 + ν, μ, x])/2; which form wolframscript prints is unknown. The 2-argument D[AngerJ[ν, x], x] is likewise left as Derivative[0, 1][AngerJ][ν, x]. Whether AngerJ[ν, 0, z] auto-reduces to AngerJ[ν, z] is also unverified (Woxi keeps it).
  • The 3-argument AngerJ/WeberE are evaluated numerically only for μ > -1, where the defining integral converges; wolframscript continues analytically to μ ≤ -1.
  • Wronskian[eqn, y, x] (e.g. Wronskian[y''[x] - x y[x] == 0, y, x]): by Abel's identity the answer is C Exp[-∫ p], and the reference page says the result agrees with the explicit-basis Wronskian only "except for a constant", but which constant wolframscript picks is unconfirmed.
  • AsymptoticSolve[eqn, y, {x, x0, n}] and its Reals 4-argument form: the 3-argument series-in-x form is not implemented, so neither is the Reals filter on top of it.
  • CircleThrough[pts, q] / CircleThrough[pts, q, r] with points that are not all at distance r from q stay unevaluated; wolframscript's behavior there is unverified.

Parameter sweep 4 (ODEs & calculus): open items

Outputs confirmed from the reference pages, not yet matched:

  • DSolve of a linear system with a symbolic coefficient ({y'[x] == y[x] - a z[x], z'[x] == y[x] - z[x], y[0] == 1, z[0] == 4}) and with rational-function coefficients (the Bessel-type {y' == -4 y/x + 4 z/x, z' == (4/x - x/4) y - 4 z/x}) stay unevaluated: the system solver works in machine floats. WL gives closed forms in Sqrt[1 - a] and in BesselJ[4, x]/x^4, BesselY[4, x]/x^4.
  • Limit[RealAbs[x] Tan[y]^2, {x -> 0, y -> Pi/2}] (y first) stays unevaluated; WL gives Infinity. The inner Limit[c Tan[y]^2, y -> Pi/2] with a symbolic factor c does not resolve.
  • Integrate[Sqrt[x] Sqrt[1 + x], x] (WL: (Sqrt[x] Sqrt[1 + x] (1 + 2 x) - ArcTanh[1/Sqrt[x/(1 + x)]])/4), Integrate[Sqrt[x] Sqrt[1 + x] Sqrt[2 + x], x] (an EllipticE form) and Integrate[BesselJ[2, x]/(1 + x^2), {x, 0, Infinity}] (WL: (2 - 3 Pi BesselI[2, 1] + 3 Pi StruveL[2, 1])/6) stay unevaluated.
  • FunctionDomain in several variables handles only nonzero denominators; FunctionDomain[Beta[a, Sqrt[x]], {a, x}] and the Complexes form FunctionDomain[BesselJ[x, 1 + Gamma[y]], {x, y}, Complexes] stay unevaluated.
  • Curl[u^2 v^2 x^2 y^2 z^2, {u, v, x, y, z}] needs SymmetrizedArray (see "Higher-rank Curl").
  • The divergent NIntegrate[BesselJ[3, y]/x + 1, {x, 0, 5}, {y, 0, 5}] does not return; the reference page's 1.9431 is the integral of BesselJ[3, y]/(x + 1), which Woxi does compute. Likewise its {2., -1., -5.} is for Log[y]/x^(4/5).
  • Nested NSum[(-1)^n (2/n)^k/k^2, {n, 2, Infinity}, {k, 1, Infinity}] is right (1.14434) but takes ~45 s.
  • Integrate[Sinh[x] Cosh[x], x] gives Cosh[x]^2/2; WL's form is unverified.

Parameter sweep 4 (distributions): known divergences and unverified forms

Probability of a compound event in one variable now splits the real line into the intervals where the event holds and measures them through the CDF (and Reduce decides such events the same way). The values agree with the reference pages; some printed forms do not:

wolframscript -code 'Probability[x^2 > 3 || Abs[x] < 1, x \[Distributed] ExponentialDistribution[λ]]'
# -E^(-Sqrt[3] λ) (-1 - E^(Sqrt[3] λ) + E^(Sqrt[3] λ) Cosh[λ] - E^(Sqrt[3] λ) Sinh[λ])
woxi eval 'Probability[x^2 > 3 || Abs[x] < 1, x \[Distributed] ExponentialDistribution[λ]]'
# 1 - E^(-λ) + E^(-(Sqrt[3]*λ))
  • The same for Probability[(x^2 < 5 && 2 x + 3 < 5) || x^3 + x > 11, x \[Distributed] ExponentialDistribution[2]]: wolframscript prints 1 - E^-2 + E^-2 Root[-11 + #1 + #1^3 &, 1, 0], Woxi the Togethered quotient of the same value.
  • Wolfram keeps -(5 + Sqrt[21])/(2 Sqrt[2]) with the minus outside the sum, Woxi distributes it to (-5 - Sqrt[21])/(2*Sqrt[2]). The two evaluate to the same Woxi expression, so the Probability results compare ===.
  • A discrete distribution with a symbolic parameter keeps the CDF's regularized form: Probability[x <= 3, x \[Distributed] PoissonDistribution[μ]] is GammaRegularized[4, μ] in Woxi, (1/6) E^-μ (6 + 6 μ + 3 μ^2 + μ^3) in wolframscript, and Probability[2 < x < 9, x \[Distributed] BinomialDistribution[10, p]] stays in BetaRegularized form.

Not implemented, because the exact output could not be confirmed (the reference pages only plot them):

  • PDF/CDF of TruncatedDistribution[{2, 3}, TriangularDistribution[{1, 4}]] and of ProductDistribution[TriangularDistribution[{2, 4}], TriangularDistribution[{1, 7}]] at symbolic points (multi-piece Piecewise bases), PDF[CensoredDistribution[…], x] of a continuous base, and CDF[CensoredDistribution[{a, b}, d], x] for a finite b > a (only the documented {a, ∞} and {a, a} shapes are produced).
  • RandomVariate[QuantityDistribution[…], n]: wolframscript returns a QuantityArray[StructuredArrayStructuredData[…]]`, which Woxi does not implement; the single-variate form works.
  • Other families with Quantity parameters (LaplaceDistribution, GammaDistribution, rate parameters such as ExponentialDistribution's): only NormalDistribution, UniformDistribution, WeibullDistribution, ParetoDistribution and RayleighDistribution are documented to become a QuantityDistribution.
  • Covariance[MultivariateHypergeometricDistribution[…]]: its documented diagonal is written n (-n + m1 + m2) (-m2^2 + m2 (m1 + m2))/…, unlike the Variance form, so the construction rule is unclear.

AlphabeticSort options and most languages are not implemented

  • AlphabeticSort[list, lang] knows only "English", "Swedish" and "Spanish"; any other language (and a language entity or the Language option) stays unevaluated.
  • IgnoreCase, IgnoreDiacritics, IgnorePunctuation and CaseOrdering are not implemented: how wolframscript orders elements that compare equal under IgnoreCase -> True (e.g. {"b", "A", "a", "B"}) is unverified.
  • The default collation is a simplified Unicode collation (letters compared accent- and case-blind, then by accent, then lower case first; æ as ae). Its treatment of punctuation, digits and æ in English ({"Encyclopaedia", "Encyclopædia", "Encyclopedia"} in Woxi) is unverified against wolframscript.

Template options not implemented

  • TemplateSlot[…, "DefaultValue" -> v] is not used for a missing slot.
  • InsertionFunction -> "json" (a format name rather than a function) is not supported.
  • Attributes[TemplateIf] still reports {Protected} although Woxi holds its arguments (wolframscript's attribute list is unverified).

Special functions (parameter sweep, round 4)

Confirmed against the Wolfram reference pages, not fixed:

  • Series[f, {x, Infinity, n}] for BesselJ/BesselY/BesselI/BesselK, LegendreP[1/2, x], ChebyshevT[1/3, x] and LaguerreL[1/2, x] returns wolframscript's asymptotic expansion (e.g. Series[BesselJ[0, x], {x, Infinity, 3}] // Normal is a Cos[Pi/4 - x]/Sin[Pi/4 - x] form with powers of 1/Sqrt[x]). Woxi leaves these calls unevaluated, since it no longer returns a Taylor series with BesselJ[0, Infinity] coefficients.
  • ZetaZero[k, t] (the kth zero above height t, or below it for a negative k) is not implemented: ZetaZero[-1, 5.6] and ZetaZero[-2, 15.] are 0.5 - 14.1347 I in wolframscript.
  • BetaRegularized[0, 0, 0] is Indeterminate in wolframscript; Woxi leaves it unevaluated (the value at z = a = 0 for other b is unverified).
  • Machine Fibonacci[ν, x] uses the closed form in f64 arithmetic, as the one-argument form does (which matches wolframscript's Fibonacci[-0.5] = 0.35157758425414287, one ulp from correct rounding); wolframscript's last digit for Fibonacci[5.8, 3] (283.483 on the reference page) is unverified.

Parameter sweep 4 (options): confirmed but not implemented

The reference pages give these outputs; Woxi does not produce them yet.

  • PolynomialMod[x^2, 2 x - 1, CoefficientDomain -> Integers] is x^2 (integer coefficients are not inverted); Woxi leaves the call unevaluated. How a partial reduction proceeds when the leading coefficient does not divide (e.g. 3 x^2 modulo 2 x - 1) is unverified.
  • DiscreteLimit[E^(a n), n -> ∞, Assumptions -> a > 0] is ∞ (0 for a < 0), and DiscreteLimit[y^n, n -> ∞, GenerateConditions -> False] is ∞. Without options wolframscript gives ConditionalExpression[Infinity, a > 0] / ConditionalExpression[Infinity, Log[y] > 0]; Woxi gives E^(a*Infinity) and y^Infinity.
  • Roots[x^2 - a x + 2 == 0, x, Using -> Roots[a^2 - 5 == 0, a]] gives the roots for each value of a, as ((x == … || x == …) && a == -Sqrt[5]) || ((…) && a == Sqrt[5]); Woxi leaves the call unevaluated.
  • RankDecomposition[m, Tolerance -> t] of a machine matrix: wolframscript factors a machine matrix with an orthogonal (QR-like) first factor, not as pivot columns times the row-reduced form, so Woxi's machine result differs even without Tolerance; the option stays unevaluated.
  • GeneralizedLinearModelFit / LogitModelFit with Weights: the likelihood-based properties (LogLikelihood, AIC, BIC, NullDeviance) are left out, since wolframscript's weighted likelihood is unverified. WorkingPrecision other than MachinePrecision stays unevaluated.
  • Together[…, Extension -> …] leaves the reduced denominator factored over the field (verified for the reference examples); Cancel gives it expanded, and which form Cancel uses when the denominator does not cancel completely is unverified.

Parameter sweep 5 (simplification): confirmed but not implemented

The reference pages give these outputs; Woxi does not produce them yet.

  • Number-theoretic bounds under FullSimplify are True in Wolfram and stay unevaluated: Prime[n] > n Log[n] for a positive integer n, EulerPhi[n] >= Sqrt[n] for n > 6, DivisorSigma[0, n] < EulerPhi[n] for n > 30, and DivisorSigma[1, 2^(p - 1) (2^p - 1)] with 2^p - 1 ∈ Primes.
  • ComplexExpand of ArcSin, ArcCos, ArcSec, ArcSinh, ArcCosh and ArcCsch of x + I y: Wolfram goes through the logarithmic form and keeps Log[Sqrt[…]] with the polar form of the inner square root; the exact arrangement is not recoverable from the reference pages' text, so only ArcTan, ArcTanh and fractional powers expand.
  • ComplexExpand[Haversine[x + I y]] is I Im[Haversine[x + I y]] + Re[Haversine[x + I y]]; Woxi returns the input.
  • FunctionExpand[TukeyWindow[x]] (and TukeyWindow[x, α]) is a Piecewise with conditions such as -(1/3) - 2*x <= 0; Woxi leaves it unexpanded.
  • FunctionExpand[PascalBinomial[0, m]] is Sin[m Pi]/(m Pi); Woxi leaves it unexpanded.

String functions on a circular BioSequence across the wrap point

String functions accept linear "DNA"/"RNA" and circular "CircularDNA"/"CircularRNA" sequences, but StringReplace and StringDelete stay unevaluated on a circular sequence when a match wraps around from the last letter to the first, because the rotation Wolfram picks for the result is not recoverable from the documented examples:

wolframscript -code 'StringReplace[BioSequence["CircularDNA", "GTTGGCTTG"], "GGN" -> "A"]'
# BioSequence["CircularDNA", "TATAT"]
wolframscript -code 'StringDelete[BioSequence["CircularDNA", "CTGGCGGTGGYGG"], "GGY"]'
# BioSequence["CircularDNA", "T"]

Peptide sequences (and their degenerate letters B, Z, J, X) and the other string functions on circular sequences (StringStartsQ, StringSplit, StringReverse, …) are not handled either.

Parameter sweep 5 (performance): still slow or not implemented

These reference-page examples still time out or diverge in Woxi:

  • PrimePi[10^15]: prime counting uses Lucy's O(n^(¾)) method up to 10^14 (PrimePi[10^13] takes ~9 s in release); a Meissel–Lehmer/LMO algorithm is needed for 10^15 and beyond.
  • Expand[(x + y + z)^1000] // Length gives the right 501501 but takes ~11 s: the multinomial expansion itself is quick, building and evaluating half a million big-coefficient Times terms is not.
  • MaxMemoryUsed[expr] reports Woxi's own peak growth (about ten times wolframscript's 80000208 for Range[10^7], since every element is a full expression node).
  • FiniteField is not implemented, so MatrixPower/LinearSolve over FiniteField[29, 4] stay symbolic.
  • NSolve/Solve/FindInstance with MaxRoots on degree-10^6 polynomials, real-root isolation of sparse degree-10^6 polynomials over Reals, the slow FindInstance examples, Resolve[Exists[…], Integers] of a four-variable knapsack equation, ReliefPlot of a 301×301 table and Plot3D/Graphics3D with Texture are not addressed.

Parameter sweep 5 (options): known divergences and open items

  • NSum[1/((k - 20)^2 + 1), {k, 0, ∞}] is 3.09286 in wolframscript: with the default 15 leading terms its tail extrapolation misses the bump at k = 20, which NSumTerms -> 30 fixes (3.10462). Woxi sums accurately either way and gives 3.10462 for both. Likewise NProduct[1 + 1/(1 + (k - 20)^2), {k, 0, ∞}] is 12.8567 in wolframscript (default NProductFactors) and 12.9013 in Woxi. Not reproducible without Wolfram's extrapolation internals.
  • JoinAcross with the "Right" and "Outer" join specifications: the order and padding of unmatched rows is unverified, so the calls stay unevaluated ("Inner" and "Left" are implemented).
  • RenameFile[a, b] onto an existing b (and RenameFile[a, b, OverwriteTarget -> False]) fails as documented ("file2 must not exist"); the message text (RenameFile::eexist / RenameFile::filex) is inferred from CopyFile's and unverified.
  • Trace[expr, form, TraceAbove -> …]: Trace only records the input and the result, so patterns and TraceAbove are not implemented.
  • FindMinimumCostFlow (and its EdgeCost / EdgeCapacity options) is not implemented.

Wavelets (parameter sweep, round 5)

DiscreteWaveletPacketTransform of odd-length data pads differently

For an odd-length input the reference page shows the last coarse/detail pair built from the final sample and a zero, while Woxi's "Periodic" padding wraps around to the first sample:

wolframscript -code 'Normal[DiscreteWaveletPacketTransform[Range[5]]]'
# {{0} -> {2.12132, 4.94975, 3.53553}, {1} -> {-0.707107, -0.707107, 3.53553},
#  {0, 0} -> {5., 2.5}, {0, 1} -> {-2., 2.5}, {1, 0} -> {-1., 2.5}, {1, 1} -> {-1.2116883882008518`*^-16, 2.5}}
woxi eval 'Normal[DiscreteWaveletPacketTransform[Range[5]]]'
# (rounded) {{0} -> {2.12132, 4.94975, 4.24264}, {1} -> {-0.707107, -0.707107, 2.82843},
#  {0, 0} -> {5., 4.5}, {0, 1} -> {-2., 1.5}, {1, 0} -> {-1., 1.5}, {1, 1} -> {0., 2.5}}

How Wolfram extends odd-length data for the other filter lengths is not recoverable from the page, so it is not implemented.

Unverified wavelet forms

  • The default n of "SmoothGarrote" (x^(2n+1)/(x^(2n) + δ^(2n))) is not stated on the reference page; Woxi uses n = 1.
  • "SURE"/"SUREShrink" use the page's surethreshold formula on the finest detail coefficients. "SURELevel", "SUREHybrid", "GCV", "GCVLevel" and "FDR" are not implemented (no reproducible values on the page).
  • WaveletPhi/WaveletPsi of BattleLemarieWavelet[n, lim] with a symbolic argument stay unevaluated; Wolfram returns a Piecewise of an InterpolatingFunction.

DiscreteAsymptotic (parameter sweep, round 5)

Confirmed against the DiscreteAsymptotic reference page, not fixed; Woxi leaves these unevaluated:

  • DiscreteAsymptotic[QPolyGamma[2, n], n -> Infinity] is Log[n]/2 (QPolyGamma itself is not implemented).
  • DiscreteAsymptotic[StirlingS1[n, 2], n -> Infinity] is (-1 + n)! Log[n] on the page, without the (-1)^n sign of the signed Stirling numbers; StirlingS2[n, 2] gives a long saddle-point form in ProductLog[E^(1/2) (-1 - n)/2].
  • DifferenceRoot sequences and Inactive[RSolveValue][…] (the reference page gives e.g. 2 E^(-2 n) n^(-1 + 2 n) Pi for y[n + 1] == n^2 y[n], y[1] == 1), Inactive[InverseZTransform][…] (a Root[-1 - 6 #1 + 6 #1^3 &, 2] form), and the numeric Sum[Binomial[n, k]^3, {k, 0., n}].
  • Expansion points other than Infinity: DiscreteAsymptotic[Inactive[Sum][1/(k^2 + a), {k, 0, Infinity}], a -> 0] is 1/a.
  • SeriesTermGoal -> m (or {n, Infinity, m}) with m > 1 is only implemented for a constant times Gamma, Factorial or Pochhammer of n + c (the Stirling series); other sequences stay unevaluated.
  • Terms of equal growth are added as they are (LucasL[n] + Fibonacci[n] gives GoldenRatio^n/Sqrt[5] + GoldenRatio^n), and several exponentials with rational bases are merged into one (2^n 3^n gives 6^n, as 4^n/(1 + 2^n) gives 2^n on the page); wolframscript's form for these is unverified.

Special functions (parameter sweep, round 5)

Verified against the reference pages, not fixed:

  • Inverse Jacobi functions with complex arguments: InverseJacobiNC[0.2 - 0.3 I, 0.1 + 0.5 I] is 0.0756637 + 1.88568 I in WL, InverseJacobiNS[0.2 + I, 0.1 - 0.3 I] -0.948949 + 3.22127 I and InverseJacobiDS[0.2 + I, 0.1 - 0.3 I] 2.15012 + 2.89165 I. Woxi returns other valid inverses (ns(u) = z holds): NS differs by the period 2 i K', and WL's choice of representative for these three is not recoverable from the page. The other nine functions match the page's complex examples.
  • Complex arbitrary-precision values are not implemented for the elliptic core: N[EllipticF[12/5, 3], 50] (complex) and InverseJacobiDN[1/2, 0.532](complex, precision-tracked) come back as machine numbers. Real values (N[InverseJacobiCD[½, ½], 50],N[EllipticK[⅓], 50]) and the real-axisInverseJacobiDN/NDvalues (K + i y,i y`) are arbitrary precision.
  • CoulombG/CoulombH1/CoulombH2 at a half-integer order (N[CoulombG[1/2, 7, 1]] is 1.4449801769045936*^6) stay unevaluated: there the reflection formula is 0/0 and the limit needs extra precision. Integer orders use the outgoing-wave (WhittakerW) form, accurate only to ~1e-9 (CoulombG[3, 0.12, 7.] is -1.0693069242936613 vs WL -1.06930692292444), and only for real arguments: CoulombH2[3, 4 + I, 0.8] stays unevaluated. No Coulomb function evaluates to arbitrary precision (N[CoulombH1[3, 2, 5], 25]).
  • CosDegrees[90 - x] is SinDegrees[x] in WL; Woxi keeps it, as 90 Degree does not reduce to Pi/2.
  • Arbitrary-precision Coth[Around[...]]-style uncertainties are machine only; Coth[Around[Sqrt[3], 0.1]] differs from WL in the last two digits of the uncertainty.

Parameter sweep 5 (long tail): known divergences and unverified forms

The four-parameter GompertzMakehamDistribution CDF has the right value, but its exponent prints with the terms in a different order (Woxi's Plus ordering puts -(t θ λ ξ) before (1 - E^(t λ)) ξ):

wolframscript -code 'CDF[GompertzMakehamDistribution[λ, ξ, θ, α], t]'
# Piecewise[{{1 - E^((1 - E^(t*λ))*ξ - t*θ*λ*ξ - t^2*α*λ^2*ξ), t >= 0}}, 0]
woxi eval 'CDF[GompertzMakehamDistribution[λ, ξ, θ, α], t]'
# Piecewise[{{1 - E^(-(t*θ*λ*ξ) - t^2*α*λ^2*ξ + (1 - E^(t*λ))*ξ), t >= 0}}, 0]

RegionCentroid of a multi-segment Line gives the right value, but wolframscript reduces the y coordinate to 1/2 while Woxi leaves the quotient (how Wolfram simplifies here is unclear, since it keeps the x quotient):

wolframscript -code 'RegionCentroid[Line[{{0, 0}, {1, 1}, {1, 0}}]]'
# {(1 + 1/Sqrt[2])/(1 + Sqrt[2]), 1/2}
woxi eval 'RegionCentroid[Line[{{0, 0}, {1, 1}, {1, 0}}]]'
# {(1 + 1/Sqrt[2])/(1 + Sqrt[2]), (1/2 + 1/Sqrt[2])/(1 + Sqrt[2])}

FindPeaks sometimes reports a peak on the first element at position 1/2 rather than 1, for reasons the reference pages do not show (FindPeaks[{2, 1, 3, 5, 6, 6, 4, 3, 2, 4, 7, 2, 3, 4, 3, 2}, 0, 0] starts with {1/2, 2} but the 16-element FindPeaks[…, 0] with a final …, 2, 2, 1} starts with {1, 2}). Woxi always reports {1, 2}.

Not implemented, because the exact output could not be confirmed or the machinery is missing:

  • PeakDetect/FindPeaks at the default or a non-zero scale with three or four arguments, with Quantity data or thresholds, with Padding -> "Fixed" and other non-constant paddings, and FindPeaks with InterpolationOrder: they need the scale-space tracking pass. Also the default-scale PeakDetect[{2, 1, 6, 5, 7, 4}] is {0, 0, 0, 0, 1, 0} in wolframscript but {1, 0, 1, 0, 1, 0} in Woxi.
  • CategoricalDistribution "ProbabilityTable" (needs Dataset), "ProbabilityPlot" and "NEntropy", Probability/Expectation over a categorical distribution, MarginalDistribution of a uniform categorical distribution, and the class order of an unsorted list of rules (rules are sorted per variable, as the Titanic counts example shows).
  • CDF[InverseGaussianDistribution[μ, λ, θ], x] and the moments of the four-parameter GompertzMakehamDistribution (no closed forms; both stay unevaluated). N[Mean[GompertzMakehamDistribution[E, 1, 3, 2]]] is 0.0748474 in wolframscript.
  • LUDecomposition of a rectangular machine-precision matrix (the condition number is not documented for that case).
  • FindDivisions[{0, 10, {Pi, Pi/4}}, {5, 5}] (nested divisions with symbolic units) and bases other than 10 with nested counts. For a base k other than 10 the step is the power of k closest to the raw step, which matches the documented bases 2 and 3 only.
  • MinimalPolynomial over a FiniteField (FiniteField is not implemented).
  • ImplicitRegion forms such as ImplicitRegion[x^3 - x == 0, {x}] stay unevaluated region objects, as in Wolfram; their measures and centroids are not computed.

Parameter sweep 5 (charts & 3-D list plots): open items

Verified against the reference pages, but not (fully) implemented:

  • SectorChart of several datasets ({{{a1, r1}, …}, {{a2, r2}, …}}, also a nested association <|"group a" -> <|"a" -> {1, 1}, …|>, …|>) draws no sectors; only one dataset is supported.
  • ChartLabels / PlotLabels of multi-ring PieChart3D / SectorChart3D (the ring names) are not drawn; only a single pie/ring is labeled.
  • With an explicit ChartStyle list, PieChart3D colors its slices in size order rather than data order (the slices are drawn smallest first).
  • EventData[values, censoring] is not implemented, so a chart of it prints the "not yet implemented" notice (the chart itself draws the values).
  • AxesLabel -> Automatic with Quantity data does not show the units on the axes (ListLinePlot3D, RectangleChart, RectangleChart3D); the magnitudes are plotted.
  • Tabular data with column specifications (tabdata -> {"TotalFat", …}, tabdata -> {{"n=1"}, …}) and ts -> {"a", "b"} column labels of a multi-component time series are not supported.
  • TernaryListPlot: Labeled / Callout points and datasets, PlotLabels -> Placed[…, pos] and QuantityArray data are not handled.
  • ListFitPlot examples built on ResourceData, FinancialData or AirTemperatureData cannot be fetched.

WL 15 chart and color-function plot styling: open items

Found comparing the graphics-tests renders (2026-11):

  • ListPlot3D and Plot3D draw their default mesh (15 lines across each direction plus the outline) as segments painted among the facets with a small depth bias, so where a fold lies within that bias of the surface behind it a few segments still show through; WL clips them exactly.
  • SphericalPlot3D (drawn through the Graphics3D renderer, in the WL 15 default theme materials) draws no default mesh (Mesh -> Automatic rules lines of constant θ and φ in wolframscript).
  • Density and contour plots follow WL 15's frame layout (2% padding, ticks on all four edges, label-sized ImagePadding), but where a contour runs exactly through grid nodes at the domain's edge (Sin[x] Sin[y] at x = Pi, y = 2 Pi) the last cell holds a short diagonal instead of WL's straight end. WL's faint triangulation mesh (GrayLevel[0.5, 0.4] edges of its adaptive mesh) is not drawn.
  • MatrixPlot's FrameTicks labels are strings ({11.5, "1"}) where wolframscript has integers, and the Raster colors are 8-bit quantized (wolframscript gives the exact blend).
  • ColorData["WL14DefaultDensityGradient"][0.3] (a Blend of its LABColor stops) differs from wolframscript in the last digit of one channel (0.11330600638196153 vs …156): Blend's interpolation arithmetic is not WL's.
  • WaveletMatrixPlot's coefficient layout and scaling differ: wolframscript scales symmetrically about 0 over coefficients that Woxi's pyramid does not reproduce.
  • A vertical BarChart follows WL 15's sizing (plot area at 1/GoldenRatio, label-sized y gutter, Scaled[0.05] headroom), but its axes are still plotters': the y axis sits at the plot area's left edge (WL: at the bars' extent, inside a 2% PlotRangePadding), the ticks point outward (WL: inward), there is no zero baseline with the two group-end ticks, and the pictures come out a few points off (360 x 220 and 360 x 248 where wolframscript has 224 and 245).
  • BoxWhiskerChart and DistributionChart's "Quantile" / "Density" elements build WL's framed Graphics, but the automatic BarSpacing (box width) and the invisible range Point that pads the category axis are fitted curves, not WL's rule: they are exact for one box and within about 0.04 plot units for 2–50 boxes (WL's x range for 3 boxes is {0.4756, 3.5244}, Woxi's {0.4809, 3.5191}). DistributionChart's plain violins keep their own 0.4 half-width.
  • BoxWhiskerChart[…, "Diamond"] draws no mean-confidence diamond (the diamond's half-height, 2.674 for {1, 2, 2, 3, 3, 3, 4, 4, 5, 9, 15}, matches no obvious StudentTDistribution quantile), and the element list form ignores the styles given with each element ({{"Outliers", Red}}); outliers are drawn as Points where WL insets a dot glyph.
  • "Density" samples the kernel estimate on 120 strips over the data range; WL uses 248 and stops a hair inside the range.

WL 15 Plot styling and layout: open items

Found comparing the graphics-tests renders (2026-11):

  • The automatic ImagePadding follows WL 15's rule (plot_padding.rs: tick labels measured in Arial at 10 pt, 3 pt from their frame edge or axis, labels 6 / 8 pt beyond, 0.5 pt minimum, one more point right and below, the height rounded up), so the picture sizes of Plot, ListPlot, ListLinePlot, StackedListPlot, LogPlot, ParametricPlot and axed or framed Graphics match. Still different:
  • Plot[Exp[x], {x, 0, 5}] is 220 tall (WL 219): WL's automatic PlotRange reaches down to 0 ({0., 148.4}), Woxi's starts at the curve's minimum 1.
  • DateListPlot[{{{2020, 1, 1}, 1}, {{2020, 6, 1}, 3}, {{2021, 1, 1}, 2}}] (unverified since DateListPlot draws through ListPlot with WL's date ticks) was 227 tall (WL 221).
  • LogPlot[Exp[x], {x, 0, 10}, Frame -> True] is 222 tall (WL 221): WL's right padding is 4 pt, unexplained by the tick labels.
  • Plot[{Sin[x], Cos[x]}, {x, 0, 2 Pi}, PlotLegends -> Automatic] is 442 wide (WL 414): the legend takes more room.
  • Tick labels are measured as WL sets them (a minus 0.63 em wide, 10 000 in digit blocks) and drawn in digit blocks, but with a hyphen for the minus.
  • Explicit Ticks labels of an unframed plot without axes (explicit_ticks_svg) and the decade labels of a framed log axis are still drawn at Woxi's old sizes and offsets (13 / 14.5 px), though the padding measures them at 10 pt. (A frame's explicit ticks are drawn by frame_ticks_svg at WL's offsets.)
  • Plot[Sin[x], {x, 0, 10}, Frame -> True, FrameTicks -> All] is 223 tall (WL 224): WL re-labels the frame for All with 0 (not 0.0) and a narrower minus, which moves its left/right padding by 0.46 pt. ListPlot with FrameTicks -> All matches.
  • A symbol used as a tick label ({180, b}) is set upright; WL sets it in italics (TraditionalForm), and writes -a with a minus sign.
  • A symbol used as a plot legend entry is likewise set upright; WL sets it in italics (TraditionalForm). AxesLabel and FrameLabel entries already follow WL.
  • Frame edges and tick marks are 1 px wide; WL draws them 0.5 pt wide.
  • Graphics[{Disk[]}, ImageSize -> 100, AspectRatio -> 1/8] is 100 x 14 (WL 100 x 17).
  • Show[ParametricPlot[{2 t, 3 t}, {t, 0, 1}], Graphics[…], PlotRange -> 10, ImageSize -> 300] is 300 x 297 (WL 300 x 300): WL keeps the plot's PlotRangePadding under the explicit range, so the end tick labels need no padding; with PlotRange -> {{-1, 3}, {0, 1}} 297 → 94 (WL 88).
  • GraphicsGrid of two Rectangle[{0, 0}, {2, 1}] is 600 x 171 (WL 165), of two Rectangle[{0, 0}, {1, 4}] 226 wide (WL 225).
  • 3D picture size: Graphics3D and the Plot3D-family renderers now follow WL's model (perspective box, height (w - pw) a + ph capped at 1.2 w), with the padding measured from where the tick labels land rather than WL's fixed pw = 19.15, ph = 14.26. Woxi's tick labels sit a little closer to the box, so Plot3D comes out 360 x ~273-282 (WL 290.7). ListPointPlot3D, ListLinePlot3D, VectorPlot3D and the 3D charts still use their own square framing.

  • The automatic tick step rule is unknown for log axes over more than 6 decades (WL labels every 2nd decade over 8, every 3rd over 9, every 4th over 12 and 20) and for ListPolarPlot, whose x axis over 3.4 steps by 1 while its y axis over 3.5 steps by 0.5.

  • PlotLayout -> "Row" | "Column" | {…, n} panels are drawn, not returned as WL's expression (an outer Graphics of Inset panels with ChartingTicksFunctionframe ticks);PlotLegendsis dropped, and the grid's margins (top margin 11 over one row, 2 over a column) are fitted to the comparisons rather than decoded. AnImageSize` scales WL's whole layout (gaps and fonts grow); Woxi keeps 5 pt gaps.
  • Plot[…, ImageSize -> Scaled[s]] inside a Pane is drawn at that width with Woxi's usual small-plot layout: its tick labels crowd, where WL keeps the full-size fonts and leaves out the minor ticks.
  • Plot[…, ColorFunction -> f, PlotLegends -> Automatic] gives no BarLegend (wolframscript: BarLegend[{f, roundedMinMax[…]}]); an explicit PlotLegends -> BarLegend[…] is drawn.
  • Woxi's own SVG rasterizer (Export[…png, Import[svg]]) anti-aliases each polygon on its own, so abutting opaque polygons show thin seams. A function plot's ColorFunction curve and fill are now one element each, painted with a horizontal gradient through the vertex colors (Wolfram's VertexColors); a ColorFunction curve whose x does not increase (a parametric or unsorted list curve) is still drawn as one piece per color run.

Parameter sweep 5 (long tail, batch 2): known divergences and unverified forms

HornerForm[p, {y, x}] has the right nesting, but Woxi's canonical Times/Plus ordering prints it differently:

wolframscript -code 'HornerForm[x y + 2 x^2 y + 2 x y^2 + 4 x^2 y^2, {y, x}]'
# y (x (1 + 2 x) + x (2 + 4 x) y)
woxi eval 'HornerForm[x y + 2 x^2 y + 2 x y^2 + 4 x^2 y^2, {y, x}]'
# (x*(2 + 4*x)*y + x*(1 + 2*x))*y

Not implemented, because the documented output could not be reproduced from a stated rule or needs missing machinery:

  • BooleanConvert[expr, form, cond]: Wolfram does not minimize. The page's BooleanConvert[Xor[x, y, z], "DNF", x && (y || z)] is (y && z) || (!y && !z), while minimization under the condition gives y && z.
  • The clause order of BooleanCountingFunction[{2, 3}, {a, b, c, d, e}, "CNF"] differs from Woxi's BooleanConvert CNF order.
  • Arg/Sign of Around: Wolfram keeps Derivative[1][Arg][-1.1] unevaluated in the uncertainty, which Woxi evaluates to 0..
  • RealDigits[5.635, 10, Automatic, -15] ({{0, 0}, -14}) and RealDigits[5.635, 10, 20, -15] (one 0, then Indeterminates) are not consistent with one precision cut-off.
  • CoprimeQ[5, 7, GaussianIntegers -> True] is False on the reference page although 5 and 7 have no common Gaussian prime factor.
  • LeviCivitaTensor[d, SymmetrizedArray] (SymmetrizedArray is not implemented), Circumsphere[Octahedron[]] (PolyhedronCoordinates is not implemented), MultiplicativeOrder[a] (finite fields), EffectiveInterest[{p1 -> r1, …}] (term-structure interpolation), FunctionRange[…, Complexes], the coordinate-chart forms of FrenetSerretSystem and ArcCurvature, SyntaxQ[…, TeXForm] and Root[{f, x0}].
  • AbsoluteTime["05/10/1"] (an ambiguous date, with AbsoluteTime::ambig).
  • AbsoluteTime[{"05/06/22", {"Day", "Month", "YearShort"}}] is the integer 3863376000 on the current reference page, but Woxi keeps the machine real 3.863376*^9 that its earlier wolframscript-verified tests record.
  • Arbitrary-precision numbers print with all their guard digits in Woxi (N[Pi^10, {Infinity, 5}] is 93648.04747608302097371679.97…), where wolframscript prints only the significant ones (93648.0475`).
  • Round-5 long tail, third batch, not implemented (missing machinery or no reproducible documented output): the angle-spec and Point forms of CircularArcThrough, CharacterName name types (no Unicode name database), 2-D SavitzkyGolayMatrix, JordanReduce, FrobeniusReduce, GroupStabilizer (Wolfram's generator sets are not canonical), 3-argument IncidenceList, Insphere (needs PolyhedronCoordinates), parametric Perimeter, AnglePath3D, Latitude/Longitude, MusicKeySignature, TemplateObject application, WordFrequency with alternatives, Enclose with tags, TreeDepth, AddSides/ApplySides, FunctionContinuous, CantorStaircase and the 1-argument AugmentedSymmetricPolynomial.
  • LowerTriangularMatrix[SparseArray[…]]: Wolfram's stored CSR data keeps the input's insertion order, which Woxi's sorted sparse arrays do not.

List plots: multiaxis, date ticks and data forms (2026-11)

  • MultiaxisArrangement draws one axis per frame side. WL stacks further axes outside the frame (All with 3 series: two left axes; {Right -> {1, 2}, Left -> 3}: two right axes); Woxi merges the axes of a side into one shared axis.
  • Date axes (DateListPlot, ListPlot of a date-stamped TimeSeries) have WL's major ticks and labels (DateListPlotDumpDateTickswith 6 divisions:"Year","MonthNameShort Year","MonthNameShort Day", …) but no minor ticks; WL marks every month / every half day between them. Hour-and-finer steps areFindDivisionsof the unit count, not WL's own hour/minute tables.ListPlotof aTimeSeriesusesChartingScaledTicks[DateScale] in WL, which Woxi approximates with the same DateTicks rules.
  • ListPlot data that mixes Interval and Around values draws caps on every bar (WL caps only the Around ones); an Interval with several ranges, or Interval[{a, b}, {c, d}] read as an x and a y interval, is not supported.

Field plots: remaining differences (graphics-tests, 2026-11)

  • ContourPlot with a RegionFunction masks whole grid cells, so the region's edge is a staircase; WL clips the bands to the region boundary.
  • ContourLabels are placed a third of the way along each contour line (alternating ends between levels); WL's label placement differs.
  • ComplexPlot: WL's SVG export frames the data rectangle with a thin black box (an edge of its texture-mapped polygon); Woxi does not.
  • LineIntegralConvolutionPlot: the default coloring approximates WL's brown-to-cream magnitude gradient with "SiennaTones" over 0.4..0.8 of the rescaled norm (within a few percent); the noise texture and its intensity mapping are Woxi's own, so pixels never match.
  • StreamPlot seeds and spaces its streamlines differently from WL (WL leaves the corners of a rotational field sparse).
  • VectorPlot: VectorScaling -> Automatic lengths follow WL's 1/3 + 2/3 (√(1 + 80 s) - 1)/8; VectorSizes, VectorMarkers and VectorAspectRatio are not implemented. The arrowhead shape is Woxi's plain triangle, not WL's curved-back head.
  • TimelinePlot: WL widens the date range so callout boxes fit; Woxi keeps the 6% padding. Overlapping callout boxes are not stacked into further rows.
  • PolarPlot with PolarAxes: the angular labels are drawn inline (5 π/6), not as stacked fractions, because Text of a TraditionalForm fraction is not typeset; the picture is padded by 15% of the radius for the labels where WL's own export clips them. PolarPlot without polar axes pads its range to a round tick (±1.0 for a rose reaching ±0.95) where WL keeps the data extent.
  • DateListPlot's frame and ticks are 1 pt #666; WL draws 0.5 pt GrayLevel[0.4] (the shared frame renderer of the list plots).
  • DensityPlot's BarLegend does not label the ends of its range (WL shows 0 and 1.0 for Exp[-(x^2 + y^2)]).
  • ComplexContourPlot draws its curves in the WL 14 palette at 2 pt; WL uses the older palette at 1 pt.

ListSurfacePlot3D

  • Scattered (non-array) point lists are wrapped in their convex hull, whereas Wolfram reconstructs a (possibly non-convex) surface from the points.

Notebook-sweep gaps (misc cluster, 2026-11)

  • AbsoluteOptions[plot, FrameTicks] returns {}: Wolfram lists the resolved tick specifications ({{left, right}, {bottom, top}}, each tick {x, label, {in, out}}). PlottingPriceDivergences reads them back.
  • Solve of a system with a symbolic parameter and a fractional power (t/T1 == (P2/p)^(2/7) in CompressibleFlowThroughANozzleDiffuser) returns {}; Wolfram rationalizes the exponent and returns 12 parametric solutions.
  • CoordinateTransformData[] (the list of supported transforms) and the parametrized 3-D systems (BipolarCylindrical, Toroidal, Confocal, …) are not implemented (3DCoordinateSystemTransformations).
  • FindIndependentEdgeSet is not implemented (SpreadsheetLikeSolutionOfLargeScaleSystemsOfEquations).
  • Import of a URL that answers with an HTTP error is a hard evaluation error (Import: failed to download …: … returned error: 404); Wolfram imports the error page by its content, so Import["http://www.spore.com/static/image/500/076/115/500076115030_lrg.png"] is the text Not Found … (3DSporeCreations, whose data is offline).

Eigenvalues of equal magnitude are ordered by float noise

Eigenvalues sorts by decreasing magnitude, and the magnitudes of exact eigenvalues are compared as machine numbers. For eigenvalues of equal magnitude (1 and the cube roots of unity of {{1, 0, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}, {0, 1, 0, 0}}) the order then follows the last bit of Abs[(-1)^(1/3)], which differs between platforms' libm: on macOS Woxi lists the real ones first, as wolframscript does; on Linux they come last.

Notebook-sweep gaps (timeout cluster, 2026-11)

  • A product with a machine complex factor orders it last in Woxi: {1. + 2.5 I, 3.} a is {a*(1. + 2.5*I), 3.*a}, wolframscript {(1. + 2.5*I)*a, 3.*a}.
  • N[-GoldenRatio + 2 GoldenRatio/(2 + GoldenRatio) + GoldenRatio^2/(2 + GoldenRatio), 30] (an exact zero) is 0``79.09 with N::meprec in wolframscript; Woxi answers a tiny nonzero -4.68…30.*^-97`.
  • Linear Solve results keep common factors wolframscript cancels: Solve[{(x - 1) 2 + (y - 2) Pi == 0, x == 1 + t, y == 1 + 2 t}, {x, y, t}] gives x -> (2*Pi + 3*Pi^2)/(2*(Pi + Pi^2)) (wolframscript -1/2*(-2 - 3*Pi)/(1 + Pi)); with GoldenRatio coefficients wolframscript partly rewrites the answer in radicals.
  • Solve[-Sin[3 t] + 2 Sin[5 t] == 0, t] (several multiples of the unknown) stays unevaluated; wolframscript gives ten ConditionalExpression families (StationaryStatesOfMaximalEntropyRandomWalk…).
  • Solve of a transcendental equation with machine coefficients over Reals ((3800 (325 - T) - 3000 (T - 350) + 7*^10/(E^(4330.04/T) (2 + 70000/E^(4330.04/T))))/15000 == 0) stays unevaluated; wolframscript answers {{T -> 365.49893230547883}} with Solve::ratnz (ContinuousStirredTankReactorThatLosesCooling).
  • Maximize of a rational function with machine coefficients under linear constraints (MaximizingConversionToAnIntermediateProduct…) does not finish: the exact elimination over the rationalized coefficients swells in the rational extended GCD of mfactor::square_free. wolframscript answers in 0.3 s (and its NMaximize finds a different local maximum).
  • Plot3D samples far more densely than wolframscript (5202 against 1213 evaluations for Plot3D[f, {m, 1, 300}, {k, 1, 10}]), which with arbitrary-precision intermediates times out TheSatisfiabilityThreshold.
  • Where wolframscript underflows a machine power to 0. (General::munfl, PayThePoints' (12 + r)^-360), Woxi computes the power through a promoted overflow and keeps arbitrary precision: the values differ (Woxi's is the exact one) and each evaluation is ~100x slower.
  • FindArgMin[…, Method -> "Newton"] on a diverging start (QuantumMotionOfTwoParticles…) ends at a different point than wolframscript and takes ~1.5 s per call (wolframscript 15 ms).

Argument-form sweep conformance (C_args, 2026-11)

Apart with Modulus

Apart[1/(x^2 + x), Modulus -> 3] is x^(-1) - (1 + x)^(-1) in WL, while Woxi reduces the partial-fraction coefficients mod 3 (x^(-1) + 2/(1 + x)). WL reduces the numerator and denominator mod p and factors the denominator mod p (Apart[1/(x^2 + 1), Modulus -> 2] is (1 + x)^(-2)), but then mixes rational and reduced coefficients: Apart[1/(x^2 - 1), Modulus -> 5] is 1/(3*(1 + x)) - 1/(3*(4 + x)) (unreduced thirds) while Apart[2/(x (x + 1)^2), Modulus -> 3] is 2/x + (1 + x)^(-2) + (1 + x)^(-1) (reduced) and Apart[(x^3 + 2)/(x^2 (x^2 + 1)), Modulus -> 5] is 1/(3*x^2) + (2 + x)^(-1) (one term unreduced, one reduced). Denominators of distinct linear factors seem to keep rational coefficients, but no rule covers all probes. ApartSquareFree[(1 - x^2)/(x^4 + 2 x^2 + 1), Modulus -> 2] is (1 + x^2)^(-1) (WL treats 1 + x^4 as (1 + x^2)^2 there; Woxi gives the equal (1 + x)^(-2)).

BooleanMaxterms / BooleanMinterms without variables

BooleanMaxterms[{{0, 1, 1}}] (and BooleanFunction[k, n]) evaluate to a BooleanFunction whose InputForm is WL's internal BDD encoding, BooleanFunction["BDD" -> {3, 0, 2, 1, 1, 1, 3, 2, 1, -1}]; Woxi leaves the call unevaluated. Not reproducible without WL's BDD node numbering.

ConstantImage[…, opts] adds Magnification -> Automatic

ConstantImage[RGBColor[0, 0.5, 1], {50, 50}, ImageSize -> 100] lists ColorSpace -> "RGB", ImageSize -> 100, Interleaving -> True, Magnification -> Automatic in WL; Woxi prints the first three (its Image has no magnification slot). ImageSize -> Small (a named size) is not kept.

Gauges and graph layouts

ClockGauge, ThermometerGauge and VerticalGauge (like AngularGauge and HorizontalGauge) return WL's internal styled gauge Graphics (LightDarkSwitched, nested Style, Scaled ticks); Woxi draws its own primitives, so their Graphics expressions and Cases over them differ. The linear gauges' GaugeMarkers -> "BarMarker" (parallel bars from the start of the scale, one strip per value) and GaugeLabels placement (a text beside the scale, Placed[label, side] picking the side) approximate WL's look rather than reproduce its geometry. GraphPlot and LayeredGraphPlot coordinates come from WL's spring-electrical and layered layouts and are not reproducible point for point.

CountryData curated data

Woxi's CountryData uses WL's entity names and classes, but its numbers come from the World Bank (resources/country_data.tsv.gz, CC BY 4.0), so populations, GDPs and areas differ from WL's own curated values (US area: WL 9.63142*^6 km^2, World Bank 9.83151*^6), and "Population" is the latest World Bank year rather than WL's rounded estimate. Yearly series are returned as TimeSeries[{{{year}, value}, …}] (WL: a TimeSeries over DateObjects). The further indicators ("BirthRateFraction", "LifeExpectancy", "PovertyFraction", sub-populations, trade and national-account figures, …; see scripts/gen_country_indicators.py) are the latest World Bank year and so also differ from WL's curated values; WL properties without a World Bank counterpart (radio stations, airports, military, …) return Missing["NotAvailable", prop]. The shape and polygon properties come from Natural Earth's 1:110m outlines, coarser than WL's and with their own nesting, so tests over their point structure (SchematicCoordinates, {"Shape", …}) differ; "BorderingCountries" is derived from shared outline vertices and misses borders too short for that scale. "Flag" is a 160 px wide Image of the public-domain Wikimedia Commons flag (via flagcdn.com, see scripts/gen_country_flags.py), so its pixels and ImageDimensions differ from WL's own flag images (the Gaza Strip and the West Bank show the flag of Palestine). "FlagDescription" is the "description" part of the current CIA World Factbook flag entry (see scripts/gen_country_flag_descriptions.py), so its wording can differ from WL's older curated text, and territories the Factbook does not describe (French overseas departments, the Gaza Strip, the West Bank, Western Sahara, the Aland Islands) give Missing["NotAvailable", "FlagDescription"].

CityData beyond the verified cities

Besides the Wolfram-verified cities of city_data.json, CityData knows the GeoNames cities (CC BY 4.0) of at least 100 000 people. Their entity names are GeoNames' ASCII names in CamelCase, so regions can be spelled differently from WL ("NorthHolland" where WL writes "NoordHolland"), their populations are GeoNames' figures, and CityData[{All, country}] lists only those cities (WL lists every town it knows).

ChemicalData curated data

ChemicalData covers ~200 compounds from PubChem (resources/chemical_data.tsv.gz). Atom order, bonds and 2-D coordinates match WL (both use PubChem's records); the 3-D conformer ("AtomPositions", "MoleculePlot") is PubChem's and differs from WL's, the molecular weights carry PubChem's precision (butane 58.12, WL 58.124), "FormulaDisplay" is the Hill formula instead of WL's condensed structural formula, "LogAcidityConstant" is the first pKa PubChem states (conjugate-acid values for amines), and the drawings are Woxi's own.

ProteinData curated data

ProteinData covers the ~360 reviewed human proteins UniProtKB annotates with the GO term "actin binding" or one of its descendants (resources/protein_data.tsv.gz). Standard names are HGNC symbols and the sequences are UniProt's canonical ones ("CFL1" and "CFL2" align exactly as in a stored WL snapshot), but "Name" is HGNC's current approved name, which can differ from WL's (older) wording, the GO annotations are UniProt's current ones, and a class (ProteinData["ActinBinding"]) lists only the bundled proteins annotated directly with its term. Only the "Name", "StandardName", "Sequence", "SequenceLength" and GO class properties are available; the other properties WL lists are Missing["NotAvailable"].

Symbolic MatrixPower with irrational or complex eigenvalues

MatrixPower[m, n] for a symbolic n is written as s . J^n . s^-1 and matches WL for upper-triangular matrices and rational matrices with rational nonzero eigenvalues. Matrices with radical or complex eigenvalues ({{1, 2}, {3, 4}}, {{a, b}, {c, d}}, {{0, 1}, {-1, 0}}) and a zero eigenvalue (WL writes DiscreteDelta[n], 0^n) stay unevaluated. Probes: WL's result for numeric radical eigenvalues equals Cancel /@ (s . D^n . (Cancel /@ Inverse[s])) with its own JordanDecomposition s, but for symbolic radicals ({{a, b}, {c, d}}, {{1, 2}, {3, x}}) it is s . D^n . (Cancel /@ Inverse[s]) without the outer Cancel (the outer one flips the sign of -a + d - Sqrt[…] factors that WL keeps); which case applies is not decoded, and Woxi's Inverse/Cancel of radical expressions, its symbolic eigenvectors and its I^n products (I/2 I^n stays separate in WL) differ from WL's anyway.

Unit-test conformance sweep (misc cluster, 2026-11)

Divergences the unit-test cross-check (verify_unit_tests.ts) found and that are skipped there (EXACT_EXPR_SKIP) or compared with a tolerance (NEAR_MATCH), with the reason.

  • Stored objects in an older internal form still evaluate. A Demonstration notebook saved by an older version stores TemporalData[EventSeries, {{values}, {{t0, t1, dt}}, 1}], version-less CompiledFunction[{Blank[Real]}, …, Function[…], Evaluate] dumps and raw NearestFunction[1, {n, 1}, …, Hold[Nearest[…]]] objects. wolframscript 14 rejects all three (TemporalData::invstrct, or the call stays unevaluated); Woxi evaluates them so the notebooks run. Deliberate.
  • **AudioWaveform** is defined in Woxi as the sound player of the "Sounds of Waveforms" Demonstration; a plain kernel has no definition (and with ``Needs["Audio"]` the legacy package rejectsAudioSquare).
  • Plot attributes before the first plot. Attributes[Plot] is {Protected, ReadProtected} on a cold wolframscript kernel (an autoload stub) and {HoldAll, Protected, ReadProtected} once any plot has been drawn; Woxi reports the loaded attributes. Same non-determinism as Attributes[ParallelDo].
  • SmoothKernelDistribution follows wolframscript's stored grid density (512 points from min - 5 h to max + 5 h, linearly binned data, kernel cut at 5 h, trapezoid-normalized, linear in between; Variance is the trapezoid one plus δ^2/3). Two things remain: the Gaussian Variance differs from wolframscript's in the tenth digit (1.3056733890928802 against 1.3056733885323657; the Epanechnikov one agrees to the last bit), and the "Rectangular" kernel, which wolframscript stores as an adaptively sampled step function (90 points for {1., 2., 3.5}, bandwidth 0.7, its support cut at the data's ends), keeps Woxi's exact kernel sum.
  • DictionaryWordQ[w, Language -> l]: Woxi's word list is English only.
  • Stream numbers. wolframscript keeps stream 3 open for its own output file, so its first StringToStream is InputStream[String, 4]; a kernel's (and Woxi's) is 3.
  • TreePlot returns the legacy GraphPlot drawing in wolframscript (GraphicsComplex, Hue directives, a disk radius from its own size heuristics, the graph center as the default root); Woxi draws its own tree layout from the same root (a unique source, else the graph center: least eccentricity, then least total distance, the later vertex on a tie), but stacks a non-tree's layers from one edge where wolframscript centers them on the root. Not compared: Graphics internals.
  • Last-digit values (NEAR_MATCH): PeriodogramArray (FFT round-off, 6.249999999999998 for 6.25), Hyperfactorial[4.] (27647.99999999983), SphericalHankelH1[2, -5.] (Woxi's real part is the correctly rounded SphericalBesselJ), Projection onto a list of machine vectors, Mean[InverseChiSquareDistribution[53.2, 1.04]], Accuracy[N[Exp[100], {Infinity, -10}]] (wolframscript's two Log10s disagree in the last bit) and the spline peaks of FindPeaks[…, InterpolationOrder -> 2 | 3] (same positions; the values at a list end come out as 2.000000000000001 in wolframscript).
  • Two-sample KolmogorovSmirnovTest p-values are exact rationals rounded once; wolframscript's own evaluation is off by one unit in the last place for some samples (Range[60] against Range[5, 70]: 0.3653150154290672, the exact value rounds to …725).

Machine results that differ in the last digits

Iterated and least-squares machine results agree with wolframscript to within a few units in the last place but not bit for bit: Solve/NSolve roots (2.999999999999999 against 3.), LinearProgramming with integer variables (0.49999999999999956), constrained FindMaximum stopping points (1.0000000026163025), NIntegrate (0.5000000000000006), LinearSolve least-squares and minimum-norm solutions, FindFit, NonlinearModelFit, GeneralizedLinearModelFit, machine Eigenvalues, QPochhammer, Erfc and InverseErf, the normal-approximation p-values of MannWhitneyTest past 40 values (0.14538130875888647 against 0.14538130875888652), and a RecurrenceTable solved for its leading terms (72.49999999999999). The conformance harness compares these with NEAR_MATCH (relative 10^-8). Where a rounding step magnifies the difference (Round[…, 10^-6] of an ANOVA sum on a tie, the L of a bounded FindMaximum rounded to 10^-6) the cases are skipped.

Software arithmetic past the machine range

Machine arithmetic that overflows continues as arbitrary-precision numbers. Woxi computes those exactly from the machine operands and tags them with wolframscript's precision (15.954589770191005, or 52 bits for an integer power); wolframscript's software arithmetic carries its own rounding: (10.^400 + 10.^400)/10.^399 is 19.999999999999925 and 1.5^3000/1.5^2999 is 1.5000000000000002 (Woxi 20. and 1.5), and 1.*^200 1.*^200/(1.*^300 1.*^100) // N underflows with General::munfl to 0. (Woxi 1.). N[(2 + I)^5, 20] gives the two parts of a complex number different precisions (-38.`19.98…, 41.`20.02…) where Woxi keeps 20 for both.

NSolve root order and multiplicity

For a numeric polynomial system wolframscript lists the roots in the order its homotopy continuation finds them ({{-5.557, -5.59}, {0.365, -1.6}}) and, for the restricted three-body equilibrium system, repeats roots of higher multiplicity (8 solutions where Woxi gives the 5 distinct ones). Woxi sorts the distinct roots.

FindInstance picks other witnesses

FindInstance[x > 1000, x] is {{x -> 1027}} and FindInstance[x < -1000, x] is {{x -> -1075}} in wolframscript (an internal heuristic); Woxi gives the nearest integers 1001 and -1001.

CylindricalDecomposition cell boundaries (unverified against wolframscript)

Linear formulas are decomposed exactly, but where two bounds of a variable tie (y > x && y > -x at x == 0) the tie goes to the cell of the bound listed later ((x < 0 && y > -x) || (x >= 0 && y > x)), and cells from different disjuncts are merged only when they are adjacent pieces of the same cell. Wolfram may attach the boundary to the other side, split it into a cell of its own, or merge cells differently. Nonlinear formulas go through Reduce over the reals and stay unevaluated where it does.

NDSolve accuracy and step control

Several assertions about NDSolve, NDEigensystem and NDEigenvalues results hold for Woxi's solvers but not for wolframscript's: the cylindrical reactor PDE system, the periodic Schrödinger equation (Abs[u - exact] < 10^-4), the step count of an index-1 DAE at AccuracyGoal -> 3 versus 12, a DAE with a (1 - u)^1.5 constraint (which wolframscript does not solve at all), the FEM eigenvalues of -u'' (4.0001, 9.0006 against Woxi's 4., 9.) and of an anharmonic oscillator (2.633, 4.781 against 2.632, 4.777), a FindFit with a NumericQ-guarded model (wolframscript lands 10^-5 off), and a large sparse LinearSolve whose residual stays above 10^-12 in wolframscript.

DSolve particular solutions and constants

  • Variation of parameters needs wolframscript's integrals of trigonometric products, which depend on how the integrand is scaled: Integrate[Cos[x] Sin[2 x], x] is -1/2*Cos[x] - Cos[3*x]/6 but Integrate[Cos[x] Sin[2 x]/2, x] is -1/3*Cos[x]^3, and Integrate[Sin[x] Cos[3 x], x] is Cos[x]^2/2 - Cos[4*x]/8 (Woxi Cos[2*x]/4 - Cos[4*x]/8). So y'' + 4 y == Cos[x] gives (4*Cos[x]^3*Cos[2*x] + …)/12 there and (3*Cos[x]*Cos[2*x] + Cos[2*x]*Cos[3*x] + …)/12 in Woxi (equal values), and likewise the initial value problem with Sin[x] forcing.
  • Cauchy–Euler equations are solved, but a forcing power that resonates with a root (x^2 y'' + x y' - 4 y == x^2, wolframscript C[1]/x^2 + x^2*C[2] + (-x^2 + 4*x^2*Log[x])/16) stays unevaluated. Other variable-coefficient equations that are not exact (x y'' + 2 y' + x y == 0) stay unevaluated, and so does a system that reduces to one ({y' == 2 z, z' == -y/(2 x^2)}).
  • A boundary-value problem whose parameter makes it an eigenvalue problem ({x^2 y'' + x y' + (2 + l) y == 0, y'[1] == 0, y'[2] == 0}) is solved for generic l only, {{y[x] -> 0}}; wolframscript returns a Piecewise of C[1]*Cos[Sqrt[2 + l]*Log[x]] under the eigenvalue conditions (l == (4*n^2*Pi^2 - 2*Log[2]^2)/Log[2]^2, n an integer).
  • Damped pairs of characteristic roots are written term by term with wolframscript's constant numbering only at second order; a higher-order equation keeps them factored (y'''' + 4 y == 0: E^t*(C[1]*Cos[t] + C[2]*Sin[t]) + (C[3]*Cos[t] + C[4]*Sin[t])/E^t, wolframscript (C[1]*Cos[t])/E^t + E^t*C[4]*Cos[t] + (C[2]*Sin[t])/E^t + E^t*C[3]*Sin[t]).
  • x y'' == 1 gives x*(-1 + Log[x]) + C[1] + x*C[2]; wolframscript sorts the product holding a call after C[1] (C[1] + x*C[2] + x*(-1 + Log[x])), but x*(1 + y) before it.
  • A boundary-value solution over a denominator built from powers of E has its signs normalized differently: {y'' == y, y[0] == 1, y[1] == 0} is -((-E^2 + E^(2*x))/(E^x*(-1 + E^2))) in wolframscript and -((E^2 - E^(2*x))/(E^x*(1 - E^2))) in Woxi, the sign rule of Together for such numerators (Together[E^(2 - x) - E^x] is -((-E^2 + E^(2*x))/E^x) there).

Reduce of polynomial systems outside shape position

Systems whose Gröbner basis is {g(x), a y - q(x)} are answered as (x == … || …) && y == q(x), as in wolframscript. Other shapes differ: {x^2 + y^2 == 1, x^2 - y^2 == 0} is ((x == -(1/Sqrt[2]) || x == 1/Sqrt[2]) && y == -x) || (… && y == x) there (the second equation factored into branches) where Woxi lists the four points; {x^2 == 1, y^2 == 4} enumerates the points with y first; a parametric system ({x^2 + y^2 == 1, x + y == a}) keeps y == a - x there. A solved linear value that is not a polynomial is expanded in wolframscript (Reduce[3 y == Sin[x] + 1, y] is y == 1/3 + Sin[x]/3; Woxi y == (1 + Sin[x])/3).

Remaining symbolic forms

  • Eigenvectors of an exact numeric 3×3 matrix with Root eigenvalues: wolframscript writes each component as its own Root object ({Root[9 - 44*#1 + 30*#1^2 + 33*#1^3 & , 2, 0], …}), Woxi as a rational function of the eigenvalue. Radical eigenvectors are normalized differently too ({{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}: -((-15 - Sqrt[33])/(33 + 7*Sqrt[33])) against (15 + Sqrt[33])/(33 + 7*Sqrt[33]); {{1, 1, 0}, {1, 2, 1}, {0, 1, 3}}: {-1, -1, 1} against {1, 1, -1}).
  • MeijerG closed forms cover one pole series (G^{1,0}_{0,1}, G^{1,1}_{1,1}, G^{1,0}_{0,2}) of a symbol, with r = n or r = 1/n. A compound argument (MeijerG[{{}, {}}, {{a}, {b}}, x^2], wolframscript x^(-a + b)*(x^2)^(a + (a - b)/2 + (-a + b)/2)*BesselJ[a - b, 2*x]) or other r stay unevaluated, and G^{1,1}_{1,1} with r = 2 orders its factors z^(b/2)*(1 + Sqrt[z])^(-1 + a - b) where wolframscript has (1 + Sqrt[z])^(-1 + a - b)*z^(b/2) (the Times order of a power of a symbol against a power of a sum holding its root).
  • DiscreteAsymptotic[Sin[n], n -> Infinity] stays unevaluated; wolframscript returns one exponential branch written in Cos[1/2] and Sin[1/2]. Of the Log and Exp forms of factorials only n!, Gamma[n] and Gamma[n + 1] (times constants and exponentials) are reproduced: Log[(2 n)!], Log[Gamma[2 n]], Sqrt[n!] and n! + 1 (1 + (n^(1/2 + n)*Sqrt[2*Pi])/E^n there) differ, as does DiscreteAsymptotic[Gamma[n + 1], n -> Infinity] (E^(-1 - n)*(1 + n)^(1/2 + n)*Sqrt[2*Pi]). Log[n! 2^n] comes out right up to the product 2^n*Sqrt[2*Pi], which wolframscript writes 2^(1/2 + n)*Sqrt[Pi] (and 3^n Sqrt[6] as Sqrt[2]*3^(1/2 + n)).
  • Indefinite integrals of p(x) Sqrt[q(x)] for a quadratic q stay unevaluated. wolframscript's forms vary with the radicand: (x*Sqrt[1 + x^2] + ArcSinh[x])/2, but (x*Sqrt[4 + x^2])/2 + 2*ArcTanh[x/Sqrt[4 + x^2]], (x*Sqrt[2 - 3*x^2])/2 + ArcTan[x/Sqrt[2/3 - x^2]]/Sqrt[3], ((1 + x)*Sqrt[2 + 2*x + x^2])/2 - Log[-1 - x + Sqrt[2 + 2*x + x^2]]/2 and (Sqrt[1 + x^2]*(x + 2*x^3))/8 - ArcTanh[x/Sqrt[1 + x^2]]/8; the definite Integrate[Sqrt[1 - x^2], {x, 0, 2}] is ((2*I)*Sqrt[3] + ArcSin[2])/2 there (Woxi leaves it unevaluated) and Integrate[Sqrt[1 + x^2], {x, 0, 1}] is (Sqrt[2] + ArcSinh[1])/2 (Woxi 1/Sqrt[2] + ArcSinh[1]/2).
  • RotationMatrix[t, {a, 1, 0}] with a symbolic component stays unevaluated (wolframscript's general formula carries Conjugate of every component).

CombinatoricaBooleanAlgebra` vertex order and coordinates (unverified)

BooleanAlgebra[n] is built as the Hasse diagram of the subsets of an n-set (vertex k = subset with the bits of k - 1, one row per subset size). Vertex/edge counts and connectivity are exact, but the edge ordering and the embedding coordinates were not compared against wolframscript.

ImageEffect[img, {"PoissonNoise", s}] scale convention (unverified)

Woxi draws each channel v as s·Poisson(v/s) (mean preserved, variance s·v). The exact meaning of Wolfram's amount parameter could not be checked against wolframscript, so the noise magnitude may differ.

List plots (graphics comparison sweep, 2026-11)

  • Labeled[pt, label, Above] etc.: the labels sit where wolframscript puts them, but wolframscript pads the image further (its y axis runs to 1.0 for points up to 0.8; the PlotRange itself stays {0, 0.8}).
  • ListVectorPlot resamples the interpolated data on VectorPlot's regular grid; wolframscript places its arrows on an irregular (jittered) layout (295 arrows for both an 11 × 11 array and 16 scattered points).
  • Not investigated in this round: ListContourPlot of scattered points (WL leaves the area outside the convex hull blank), ListDensityPlot with InterpolationOrder -> 0 (WL's cells span [i, i + 1]) and PlotLabels placement for parametric {x, y} curves, callout leader shapes, and the RSolve-precision and NIntegrate sample divergences in the list-plot-app-* tests.

Graphics primitives sweep leftovers (2026-11)

Found by the visual Graphics-Tests comparison; not fixed yet.

  • Thin is clamped to 0.5 pt (WL 0.25).
  • Graphics frames are drawn 1 pt wide in the theme gray; wolframscript uses 0.5 pt in GrayLevel[0.4] (frame and tick marks).
  • GraphicsGrid[…, ImageSize -> 400] of labeled graphics is 456 pt tall (wolframscript 414): wolframscript shrinks each item to about 81 pt across inside a 100 pt column, the layout rule is not decoded.
  • GraphicsRow[{Graphics[…, ImageSize -> 250], GraphicsColumn[{Show[Plot[…, ImageSize -> 200], …], Graphics[…, ImageSize -> 200]}]}, ImageSize -> {500, 350}] (a tall 19 x 27 picture beside a plot over a legend): Wolfram draws the left picture only about 128 pt wide (0.51 of its ImageSize) and the column about 207 pt wide, together spanning only about 365 x 218 pt of the 500 x 350 picture; Woxi gives each cell half the width (left about 238 pt wide). Same undecoded shrink as the item above.
  • Dashing[{0, d}] with CapForm["Round"]: wolframscript's SVG shows short ticks, Woxi round dots.
  • Framed labels in a list (Framed[i, Background -> Yellow]): Woxi adds a space before each comma, uses non-stretchy braces and tighter boxes.
  • Inset of a nested Graphics with Text: the inner text does not scale with the inset.
  • GraphicsGrid[{{g, plot}}] where g = Graphics[{Inset[photo, c], …}, PlotRange -> {{1, 34}, {-32, 1}}, ImageSize -> 250] and photo is a 250 x 250 Graphics[Raster[…], ImageSize -> 250]: the notebook front end shrinks the grid to 472 x 250 pt and draws the inset photo about 1.13 times the width of g's cell, overflowing the plot range and cropped only by the cell edge. Woxi lays the cell out 273 wide and keeps the inset at 250, so it sits inside the plot range with a margin. Same undecoded grid layout rule as the items above.
  • A plot label written as a product of a string and a number wrapper, PlotLabel -> "opacity =" NumberForm[x, {3, 2}], is drawn by the notebook front end with the number first (3.03 opacity =); Woxi keeps the canonical Times order and draws the string first. Not checked against wolframscript, so whether Times or the label's TraditionalForm formatting reorders it is unknown.
  • PointSize[0.004] points come out at r 0.43 instead of 0.5 pt.

TraditionalForm typesetting leftovers (graphics comparison sweep, 2026-11)

  • Evaluated sums are not put in TraditionalForm's term order. wolframscript writes 1 + x as x + 1, -1 + n as n - 1 and reorders the terms of an antiderivative (-1/6 log(x^2 - x + 1) + 1/3 log(x + 1) + tan^-1(…)/√3); it also splits a rational coefficient off a function factor inside such a sum (1/3 log(x + 1), but a lone Log[x]/3 is log(x)/3). Held sums keep their order in both. The ordering rule (not a plain reversal) is not decoded.
  • A held product written without parentheses but parsed as nested binary operators, 1/(2 Pi I) S f[z]/(z - a) d z, parenthesizes the left group ((∮γ f(z)) ⅆz): wolframscript reads it as one flat Times. Woxi's held tree cannot tell that chain from an explicitly parenthesized (a b/c) d. The root cause is the parser: in Wolfram / binds tighter than * and implicit multiplication (Hold[a b/c] and Hold[a*b/c] are Times[a, Times[b, Power[c, -1]]], Hold[a/b c] is Times[Times[a, Power[b, -1]], c]), while Woxi parses a b/c as Times[Times[a, b], Power[c, -1]]. Wolfram's TraditionalForm then merges a nested Times holding a reciprocal into the fraction instead of parenthesizing it.
  • PlotLabel -> Binomial[15, k] is drawn as the one-line text Binomial(15, k); wolframscript typesets the stacked binomial. Plot labels are drawn as text markup, which has no 2D boxes except fractions.
  • Grid[{{…, StandardForm[expr]}}] cells are text: StandardForm 2D boxes (a radical over a fraction) are not laid out.
  • A Sum/Product inside a Column item sets its limits as scripts (as in wolframscript); the same sum at a Grid cell or Row item level is not covered.
  • A TraditionalForm expression drawn in a graphic's text (a polynomial PlotLabel such as x^3 - 2 x^2 - 3 x) has no space around its infix operators: Woxi draws x³-2x²-3x, Wolfram's front end x³ − 2x² − 3x. The box-to-SVG renderer is shared with output cells, whose tests expect tight operators, so spacing them only inside graphics needs its own pass.

Layout and form wrappers (graphics comparison sweep, 2026-11)

  • Short[expr, n] keeps parts from both ends while they fit a width budget calibrated against ToBoxes[Short[…]] (70 characters for one line, 108 for two, about 58 more per further line, each part counted at its estimated typeset width plus one for its separator). The counts match for integer and symbol lists on one line (Short[Range[1000]] keeps 11 + 11), but can be off by one elsewhere (Short[Range[1000], 3]: WL 25 + 25, Woxi 25 + 24); WL's real rule measures typeset widths. A multi-line Short is drawn on one line rather than wrapped, and Short does not shorten inside a single over-wide part.
  • Grid column padding: Woxi pads every column by 12 points (6 per side) around 8.4-point characters, wolframscript by about 2.5 points around 7.9-point characters, so Grid[{{a, b}, {c, d}, {e, f}}] is 41 points wide vs 21. Changing the default padding re-lays out every grid.
  • TableForm of stacked fractions (TableForm[Table[1/(i + j), …]]) draws the fractions at full size; wolframscript shrinks them (SVG 141×164 vs 123×94).
  • ItemSize text wrapping breaks only at spaces (a long word keeps its line), using two characters per em; wolframscript also breaks inside a word ("cont"/"ent") and aligns the cells of a row on their first baseline. Row heights from ItemSize -> {…, {h…}} are approximate.
  • FontWeight -> "Thin"/"Black" are written to the SVG (font-weight="100"/"900"), but the embedded Atkinson house font has only regular and bold weights (plus their italics), so they draw regular.
  • Underscript[x, "_"] (a one-character accent) is drawn as an underlined x rather than a separate _ below it.
  • BarLegend labels use an ASCII hyphen-minus (-10) where wolframscript draws a minus sign (−10). Continuous bars now use SVG gradients.

Plot styling and labeling options (graphics comparison sweep, 2026-11)

  • Structured mathematical plot titles and legend entries now use native layout boxes, including stacked fractions, binomials and joined radicals. Some curve annotations and explicit tick labels still use text markup; a Plot's Ticks -> {{Pi/2, 3 Pi/2}} labels read π/2 rather than stacked fractions (a Graphics axis already stacks them).

Some curve annotations still use text markup. - PlotTheme -> "Monochrome" in a list plot draws every series black but without the theme's per-series PlotMarkers shapes. - Callout[f, label, Above] puts the label straight above its anchor with a vertical leader; WL offsets it to the side along a curved leader. PlotLabels -> Automatic leaders are straight where WL draws a dog-leg, and a Placed[label, Above] at the first point of a curve is centered on it (overlapping the y axis) where WL keeps it clear of the axis. - PlotPoints -> n, MaxRecursion -> 0 samples evenly; WL jitters the initial samples, so the polyline vertices differ. - EvaluationMonitor sees Woxi's own adaptive samples (close to uniform), not WL's (clustered at the extrema); a Plot of a step function draws each step only between the samples either side of a jump. - An automatically sized GraphicsRow of several pictures fits them into 640 points; a row of variables holding already-rendered plots is not re-laid out at the cell width.

Plot ranges and ticks (graphics comparison sweep, 2026-11)

Decoded and fixed: the crossing-label rule (a label at the axes crossing is dropped only when the other axis runs more than 2.6 pt past it on the label's side), the function-plot zero reach (an automatic range within 0.1228 of its span from 0 is extended to it), constant curves (0..2 c), Automatic/All x ranges from the sampled points, the 1e-6-step inset of the end samples, Show keeping the first plot's range, and Graphics ticks on the plot step rule. Still open:

  • The automatic outlier clipping of function plots depends on where the samples fall: Plot[{x^(1/4), x^(3/4), x^(3/2), x^(7/2)}, {x, 0, 2}] tops out at 3.81 (WL 3.77, so Woxi labels a 4), Plot[Tan[x], {x, 0, Pi/2}] at 8.50 (WL 8.24), Plot[x^2, {x, 1, 10}, ScalingFunctions -> "Reciprocal"] at 0.360 (WL 0.349). Woxi weighs its quantiles by x stretch over its own adaptive samples; WL's sample set differs.
  • Pole spikes reach different heights because the adaptive refinement lands at different distances from the pole: LogLogPlot[Abs[10^2/((I w)^2 + 100)], {w, 1, 10^5}] peaks near 900 (WL 137, which then also ticks every 2 decades instead of every 3), and the Abs[Gamma[z]] log plot spikes differ the same way. The coarse PlotPoints -> 5/MaxRecursion -> 0 grids differ from WL's initial grid for the same reason.
  • PlotRange[Plot[…, PlotRange -> h]] reports {-h, h} for x too; WL keeps the iterator domain. A log axis reports original values where WL reports the scaled ones.
  • ListPolarPlot pads its symmetric range 5 % on both axes; WL pads x by 2 % and y by 5 % (±1.399 data radius: WL x axis ends at ±1.43).
  • PlotTheme -> "Business" (GridLines -> {None, Automatic}) draws a grid line at every y tick; WL leaves out the outermost ones (±1.0 of a sine). With an explicit GridLinesStyle, WL draws those outermost lines in it but the interior ones in a darker default, so the automatic grid lines carry two styles; not decoded.
  • Show[Histogram[…, PlotRange -> All], Plot[…]]: the combined x range is the union (0..80); WL ends at the histogram's 75.
  • Label-driven range widening is still missing: LabelingFunction / Callout labels of ListPlot do not widen the range (WL makes room so the top label is inside), LabelingFunction -> Above does not pad the range up, and callout placement does not alternate sides as WL does. A PlotLabels -> Placed[…, Above] label does not pad the range either (WL's y axis then runs to 1.5 for a sine).
  • FrameTicks -> {{f, None}, {f, None}} with a tick function and PlotRangePadding -> None on a ListPlot: both are ignored (the wolframscript reference itself errors, so the target is unclear).

3D graphics (graphics comparison sweep, 2026-11)

Fixed this round: Ellipsoid/Parallelepiped/Simplex/CapsuleShape, ListContourPlot3D, StreamPlot3D, perspective camera and picture size, PlotRange clipping of curved solids, ViewPoint -> Top/Front, cylinder and cone bounds/rims, VertexColors, Plot3D's BoundaryStyle/Mesh/MeshStyle/ MeshFunctions/MeshShading/RegionFunction/Filling/PlotLegends, smooth RegionPlot3D, per-level ContourPlot3D colors, solid VectorPlot3D arrows, GraphPlot3D of a Graph. Later: smooth (Gouraud) shading of curved primitives and plot surfaces — each facet is lit at its corners and filled with an SVG linear gradient, the least-squares single-direction fit of the three corner colors (rms error about 0.1–1.2 levels of 255 under the default colored lights, at most ~6 on a coarse surface) —, coplanar faces drawn in primitive order, lines ordered against large faces, rounded Tube ends and corners and the slim Arrow[Tube] head, upright z axis label, EdgeForm[Dashed] with an inherited edge style, FaceGrids, AxesEdge, unlabeled ticks, ContourPlot3D's default mesh and gradient normals, scattered ListPlot3D drawn on its own triangulation, BarChart3D / RectangleChart3D / Histogram3D / BubbleChart3D built as wolframscript's Graphics3D, PieChart3D's view, colors and smooth wall. Later still: automatic 3D tick steps (and automatic FaceGrids spacing) are the smallest of 1, 2 and 5 × 10^k leaving fewer than five intervals, so a 0..10 axis steps by 5 and a unit sphere's by 0.5, as in wolframscript. What still differs:

  • Smooth shading interpolates colors linearly across a facet (Gouraud), so a sharp highlight or the edge of a colored light still shows the facets faintly where wolframscript (an embedded raster) lights per pixel. A gradient varies along one direction only; where the red, green and blue gradients of a facet point different ways (colored lights), the fill is their best single-direction approximation.
  • Curved surfaces cost SVG size: a lone sphere is ~200 KB (68 KB flat), a 50 x 50 Plot3D ~1.6 MB (0.8 MB), ContourPlot3D with its mesh ~2 MB.
  • The painter's sort splits only triangles that pass through each other; a cycle of three or more mutually overlapping, non-intersecting triangles is broken by centroid depth. Plot3D/ListPlot3D/ContourPlot3D surfaces still sort by centroid depth (their mesh lines are merged in by depth), and axis lines are drawn over the scene rather than hidden behind it.
  • StreamPlot3D seeds: wolframscript starts from a lattice 10% inside the box and tops it up from the twice-as-fine lattice, nearest the center first, whatever the field — as Woxi does. Among the points equally far from the center wolframscript's order is lattice order with the all-negative point last (StreamPoints -> 10 adds (-,-,+) and (-,+,-) of the inner 2×2×2 cube); Woxi keeps plain lattice order, so it adds (-,-,-) and (-,-,+). Lines stop at the box only; WL's color scaling over the lines is approximated by the drawn lines' magnitude range.
  • VectorPlot3D: wolframscript places its arrows on a jittered layout (221 of them by default, 64 for VectorPoints -> 4); Woxi uses the cell centers of an n³ grid (n = 6 by default). Heads are hexagonal.
  • SliceDensityPlot3D: wolframscript jitters its sample positions randomly (the center planes sit at e.g. x = 0.00053), so x y z on "CenterPlanes" shows a gradient of tiny random-sign values; Woxi samples the planes exactly and draws one color. Slice outlines are not drawn.
  • ListPlot3D InterpolationOrder -> 0 (flat tiles with gaps between them, and WL's automatic outlier clipping of the z range) is not implemented: Woxi draws the interpolated surface.
  • SphericalPlot3D and RevolutionPlot3D draw the default mesh (15 lines of each parameter, snapped to their sampling grid, and the surface's edges); SphericalPlot3D draws the edges as separate lines where wolframscript joins them into one. RegionPlot3D draws neither its default mesh nor the black curves where a surface meets the box; RegionPlot3D, RevolutionPlot3D and SphericalPlot3D surfaces are still shaded flat. RevolutionPlot3D flattens the box of a plain profile z = f(t) to BoxRatios -> {2, 2, 1/GoldenRatio} as wolframscript does, but keeps the x/y ratio 1 for a partial sweep (wolframscript: {2, 1, …} for θ ∈ [0, π]).
  • DensityPlot3D's default OpacityFunction (mid values transparent) is not reproduced: the voxels stay near opaque.
  • DensityPlot3D (a Raster3D) draws its voxels as sharp-edged translucent cubes; wolframscript's volume rendering blends neighboring voxels, so their edges look blurred. A vector SVG can approximate it with a feGaussianBlur over the voxel faces, but the 3D painter has no way yet to mark which of its triangles form a volume.
  • PlotTheme -> "Marketing" and Exclusions/ExclusionsStyle in Plot3D are ignored.
  • 3D charts: the translucent backdrop panels wolframscript puts behind BarChart3D and RectangleChart3D (Scaled polygons with VertexColors) are not drawn; BubbleChart3D's largest bubble is a fifth of the data's smallest extent (wolframscript's is up to 1% smaller). BarChart3D with ChartLabels or ChartLegends, PieChart3D and SectorChart3D keep Woxi's own chart renderer (no axes, square framing). DensityPlot3D's volume is as listed above.

Graphics review follow-up (2026-11-05)

Fixed the saved visual review notes for custom BarChart functions (including rounded rectangles through the canonical Graphics renderer), mixed BoxWhiskerChart element specifications and Student t mean diamonds, ViewProjection -> "Orthographic", Placed labels in EdgeLabels, portable long arrows in script layouts, TraditionalForm arithmetic spacing in grid cells, finite LabelingSize on function plots, custom arrowhead paint order, and the measured monospace width of padded base-number table cells.

The SliceDensityPlot3D[x y z, "CenterPlanes", …] sampling difference listed above is an exact-zero field on all three slices. Its graphics comparison now uses x + y + z so it exercises actual gradients without depending on Wolfram's random perturbations of the slice positions. Exact zero slices remain exact in Woxi.

The headless Wolfram Engine initially exported the front-end-only boxes containing FE`Evaluate[FEPrivate`TruncateStringToWidth[…]] for finite LabelingSize instead of the graph. This reference-generation problem was resolved in the graphics comparison harness: within UsingFrontEnd, a scoped FE`Evaluate definition sends the truncation operation to MathLink`CallFrontEnd[FrontEnd`Value[...]] before SVG export. The original LabelingSize -> 30 example now exports a 190 pt high graphic without internal code. Woxi renders the truncated labels, keeping short labels intact.

Saved graphics review fixes (2026-11-05, second pass)

Corrected styled frame measurement and asymmetric margins, inactive integral / sum / product notation, joined-list gaps at missing samples (including spline interpolation), parametric mesh functions with the actual third parameter, Wolfram's thin axes strokes, inset-relative arrowhead sizes, filled boundary meshes with holes and edge styles, mesh vertex indices, implicit / Boolean / affine region pictures, and connected radicals in ordinary table cells. Invalid stored frame tick callbacks now draw Wolfram's red error frame; inline tick functions resolve against the numerical axis ranges.

Finite LabelingSize now renders labels with Wolfram's Text-style width measure and three-dot truncation. The corresponding repaired reference is valid for reviewing Woxi's output.

Bar charts for slides (2026-11-10)

Found rendering a commits-per-month BarChart for a slide deck. Fixed: Text[expr, pos, offset, dir] reads dir in screen space (in Graphics and in a plot's Epilog, which ignored it before); BarChart honors Style[label, size], TicksStyle, LabelStyle, AxesLabel and PlotLabel sizes and an explicit ImagePadding; LabelStyle sizes an unframed Plot's tick labels; a zero-area Rectangle keeps its EdgeForm line; exported Text carries a sans-serif font-family itself. A negative lower PlotRange bound on BarChart was already honored.

These were not compared against wolframscript (none was available in the session) and still need checking:

  • Text["2024-09", …]: the - looks longer in wolframscript's PNGs. Woxi draws the string's own hyphen-minus; whether WL typesets it as a minus sign or en dash, or only its font's hyphen is wider, is open.
  • | in a bold FontFamily -> "Helvetica" Text is short in Woxi's PNG export where the machine has Helvetica (whose bar spans only the cap height); without Helvetica the rasterizer falls back to Atkinson Hyperlegible, whose bar is full height. Likely a font, not a glyph-choice, difference.
  • GeometricTransformation/Scale around a Text with a direction maps the direction through the linear part ({dx sx, dy sy}), as for any vector.
  • ImagePadding -> {{l, r}, {b, t}} with an All side is honored per side by BarChart; Plot treats any All side as a fully automatic padding.
  • BarChart AxesLabel / FrameLabel take only the size of their Style[…] (not its color or weight), and big tick labels show the known Arial-versus-Atkinson width gap more: at 30 pt the first glyph of a long left tick label touches the image edge.
  • A PlotLabel holding a stacked fraction (Row[{…, a/b, …}], also inside Style[…, size]) is typeset as one picture by the box layout, whose text is set in the monospace typesetting font; Wolfram keeps the title's proportional font, so such a title comes out wider than the reference.

Unit conformance follow-up (2026-11-06)

Verified against Wolfram Engine 15.0.0 for Mac OS X ARM. The launcher did not auto-detect the installed kernel; the reference runs used WOLFRAMSCRIPT_KERNELPATH pointing at the app bundle's kernel.

Fixed the reported runtime differences:

  • N[machineReal, p] preserves machine precision at every requested precision.
  • City latitude/longitude carry angular units. All 67 bundled cities have verified coordinates and labels, with 398 disambiguation matches. Qualified query shapes and unknown-name/property results agree with the reference. The table remains a static subset; its existing population estimates are retained separately from the verified coordinate/identity data.
  • Mars/Ceres entity orbital measurements retain their reference precision, independently of the secular elements used for the two-body ephemeris.
  • All 51 gradient display names are verified, including hyphenated color pairs and "CMYK colors".
  • Quartiles uses the canonical Quantile interpolation and the exact-number ordering shared with Sort, preserving rationals and large integers. Box geometry, whiskers and means retain exact data; outliers use the reference's inset glyphs and marker styles.
  • Mirrored chart axes and probability scales retain symbolic Charting`ScaledTicks callbacks, resolving them only when drawing. Spacer[0] is a zero-width label, not a space that adds image padding.
  • Distribution-chart quantile rectangles carry their rounding option; density columns use a shaded GraphicsComplex and one bounding rectangle.
  • BarChart3D draws the twelve backdrop panels. The canonical 3D renderer resolves their Scaled coordinates from the scene bounds and handles uniform opacity in vertex color directives.
  • VectorPlot preserves the LAB gradient in its symbolic primitives; StreamPlot3D uses unquantized RGB triples for vertex colors. VectorPlot3D uses VectorColorFunction, and a constant field keeps the default series blue when the unsupported ColorFunction option is given.
  • Grayscale rasters retain scalar data and a value range, while automatic raster tick labels retain numeric types. Explicit tick-label types survive.
  • ProbabilityScalePlot supports the Weibull transform and exact point sizes. Point-size directives retain their expression through serialization and Show.
  • Explicit bar legends acquire their default options and placement function. Show with PlotRange -> All combines sampled extents rather than reverting to the function plots' unsampled interval endpoints.

The geometry regressions now expand GraphicsComplex indices before reading coordinates, distinguish mesh paths from the region boundary, account for rotation and translation of paired density curves, and locate the vertex array by its head rather than a wrapper-dependent Part path. Palette tests check the plotted series colors, rather than also counting highlight/default style metadata. Tick-label drawing is checked in SVG tests because Wolfram can keep labels in axis specifications instead of Text primitives. VectorPoints checks density and solid-arrow structure; exact sampling layouts differ by reference version (the earlier sweep observed 64 arrows for 4, this version 49). These checks retain their local geometry/rendering coverage. Raster probes accept scalar or RGB data and normalize sparse arrays before reading pixel values; streamline probes preserve RGB triples instead of flattening them into scalar numbers.

Two automatic-range probes differ only in the last few binary digits and use the verifier's existing numeric-tolerance comparison, preserving their printed structure: ListLinePlot's lower y bound is 2.8888888888888955 in Wolfram versus 2.888888888888889, and the all-range ListPlot's lower x bound is 0.916666666666669 versus 0.9166666666666666.

Two invalid-input reference cases remain excluded individually:

  • QuantilePlot[{1, 2}, x] repeatedly terminates with TerminatedEvaluation[RecursionLimit], even after isolation to one case.
  • PairedSmoothHistogram[x, y] constructs a malformed graphic containing unresolved Part and private Charting expressions instead of rejecting non-data arguments. Woxi retains its unevaluated-form regression.

The verifier bisects kernel evaluation failures without startup retries, reports isolated failures as errors, and excludes unfinished comparisons from its pass count. Neither of these two inputs is classified as a cold-start flake; other valid inputs of both functions remain in reference comparisons.

Mixed sine/tangent integrals need hypergeometric primitives

Verified with wolframscript on 2026-11-06 (diff-fuzz seed 1793914225895660000, case seed 13215040516269365654):

Integrate[(Tan[2 x] + Sin[x y]) Sin[x y], x]

Woxi leaves the integral unevaluated. Wolfram returns a combination of four Hypergeometric2F1 terms with parameters ±y/4 and 1 ± y/4, together with the elementary primitive of Sin[x y]^2. Integrating the remaining Sin[b x] Tan[a x] product requires a hypergeometric integration rule. The minimized polynomial-times-tangent case Integrate[x Tan[x], x] is supported by a finite polylogarithmic integration-by-parts recurrence; it does not resolve the original mixed-frequency trigonometric integral.

Seed 1794026622041900000 also found Integrate[(Tan[x+y]+Sin[2*x]^3)*Sin[x*y],x]. Wolfram returns hypergeometric terms for the shifted tangent product and elementary sine terms for the remaining product; Woxi leaves the integral unevaluated. The minimized polynomial Integrate[(x+y)*x*y,x] now preserves the external y factor and matches Wolfram, independently of this missing rule.

Powered sine/cosine product integrals retain shifted-angle grouping

Powered products now integrate through the shared TrigReduce path. For Integrate[Cos[x+y]*Cos[x*y]^2,x] (seed 1794031159154931000), Woxi returns Sin[x+y]/2 + Sin[x+y-2*x*y]/(4*(1-2*y)) + Sin[x+y+2*x*y]/(4*(1+2*y)). Wolfram angle-expands the first sine, reverses the first variable denominator, and collects the terms over 4. Wolfram verified the derivative of Woxi's form exactly on 2026-11-07.

Higher tangent harmonics retain RootSum primitives

Tangent products with commensurate linear frequencies now use rational substitution, matching Wolfram for frequency pairs 1:2, 1:3, and 2:3 (including scaled and symbolic common frequencies). For Integrate[Tan[x]*Tan[4*x],x] and Integrate[Tan[x]*Tan[5*x],x], Woxi retains quartic RootSum primitives from the shared rational integrator. Wolfram instead gives explicit radical/logarithmic or inverse-hyperbolic forms. Verified on 2026-11-07 while investigating fuzz seed 1794028247483472000.

Rational-integral scaling retains an outer denominator

Verified with wolframscript on 2026-11-06, diff-fuzz seed 1793998012131898000:

Integrate[(x^3 - 2 x^2 - 2 x)/(1 - 3 x - 4 x^2), x]

Woxi returns (11*x - 2*x^2 + (39*Log[1 - 4*x])/20 - (16*Log[1 + x])/5)/16; Wolfram distributes the outer factor, returning (11*x)/16 - x^2/8 + (39*Log[1 - 4*x])/320 - Log[1 + x]/5. The values agree, but the symbolic output does not.

Shifted cosine times tangent powers stays unevaluated

The same run found:

Integrate[Cos[x + y] Tan[x]^3 (Tan[x] + Sin[x + y]), x]

Woxi leaves the integral unevaluated. Wolfram returns an elementary antiderivative involving Sec[x]^3, shifted sines and cosines, Log[Cos[x]], and ArcTanh[Tan[x/2]]. The shrinker reaches Integrate[Cos[x + y], x], but that is the separate angle-expansion discrepancy documented above, not a reproducer for the missing product rule.

Seed 1793999916799759000 also found Integrate[Sin[x + y] Tan[3*x], x]: Woxi leaves it unevaluated while Wolfram returns an elementary primitive with ArcTanh[Tan[x/2]], Log[1 +/- 2*Sin[x]], and shifted half-angle ArcTanh terms. This integer-frequency case does not require the hypergeometric primitive of the symbolic-frequency sine/tangent gap above.

TrigReduce leaves tangent powers in mixed sums

Single tangent/cotangent products now use the shared product-to-sum identities, including their hyperbolic counterparts. Diff-fuzz seed 1793998974438453000 found a remaining power case, verified on 2026-11-06:

TrigReduce[Sin[x y]^3 Tan[x] + Tan[x]^2]

Tangent powers now reduce numerator and denominator through the shared sine/cosine power identities. Wolfram writes the tangent-square contribution within this mixed sum as (Sec[x]^2 - Cos[2*x]*Sec[x]^2)/2. For the standalone TrigReduce[Tan[x]^2], both implementations now return (1 - Cos[2*x])/(1 + Cos[2*x]), reducing both numerator and denominator.

Diff-fuzz seed 1794011902339689000 (2026-11-07) also found TrigReduce[Cos[x y]^2 Tan[x]^2]. Both sides now fully reduce the product, but Woxi orders Cos[2*x - 2*x*y] before Cos[2*x]; Wolfram puts it after Cos[2*x*y]. The minimized TrigReduce[Cos[y]^2 Tan[x]] leaves (Sec[x]*Sin[x - 2*y] + Sec[x]*Sin[x + 2*y] + 2*Tan[x])/4 in Woxi; Wolfram factors it as (Sec[x]*(2*Sin[x] + Sin[x - 2*y] + Sin[x + 2*y]))/4. The evaluator simplifies Sec[x]*Sin[x] back to Tan[x] before common reciprocal-factor extraction. The reversed numerator/denominator signs for TrigReduce[Coth[x]^3] are now normalized, along with circular cotangent powers (seed 1794037683798353000). The remaining product-ordering and reciprocal-factor cases are equivalent expressions with different presentation.

Seed 1794016680256839000 also found the call-argument ordering variant TrigReduce[Sin[x]+Sin[x*y]-Tan[x*y]*Cos[x]^2]: Woxi places Sec[x*y]*Sin[2*x-x*y] before Sin[x] and Sin[x*y], while Wolfram puts those single sine terms first. This is the same compound-argument ordering issue as the cosine product above (verified 2026-11-07).

Seed 1794015443102756000 found the cubic mixed-sum variant TrigReduce[Tan[x+y]^3 + Cos[x+y]*Cos[2*x]^3]. Woxi combines the result over the reduced cosine denominator; Wolfram retains Sec[x+y]^3 and Sec[x+y]^2*Tan[x+y] terms. The minimized TrigReduce[Tan[x]^3+x+y] also rewrites the polynomial terms into reciprocal-trig products in Wolfram, so simply changing the tangent power's own representation is insufficient. Verified on 2026-11-07; this remains part of the mixed-sum convention gap.

Seed 1794037683798353000 adds TrigReduce[(Tan[2*x]-Cos[x*y])*Tan[2*x]^3]. Wolfram keeps a common Sec[2*x] outside the numerator, inserting compensating Cos[2*x] factors on its sine terms. Woxi cancels those factors, leaving Sec[2*x] on only some numerator terms. Wolfram simplifies the difference to zero. The minimized TrigReduce[2*Tan[2]^3] now retains its numeric factor outside the reduced sine numerator, matching Wolfram.

Seed 1794031159154931000 also found TrigReduce[Cos[2*x]*(Tan[x]-Sin[x*y]^2)]: Wolfram expands through complex conjugate pairs multiplied by Sec[x], while Woxi retains a short real trigonometric sum. The minimized TrigReduce[Tan[x]-Sin[x]^2] is (-1+Cos[3*x]*Sec[x]+4*Tan[x])/4 in Wolfram, compared with (-1+Cos[2*x]+2*Tan[x])/2 in Woxi. These are equivalent forms.

TrigToExp retains ordering differences

Isolated circular/hyperbolic sine and cosine squares, scalar multiples, and higher integer powers now match the tested Wolfram coefficient forms. Products and powered trigonometric quotients now preserve exponential factor grouping (seed 1794032979590698000, 2026-11-07), resolving the expanded-numerator differences in earlier mixed-product examples.

Low-degree products with rationally scaled shared angles now expand, including Cos[x]*Cos[2*x], Cos[x/2]*Cos[3*x/2], and their hyperbolic counterparts. This resolves the mixed sine/tangent/cosine-product case from seed 1794079366620147000 (2026-11-07). Higher-degree products and products of unrelated angles retain their exponential grouping.

Some ordering differences remain. For TrigToExp[Tan[x*y]*Cos[x]-Cos[3*x]+Cos[x+y]], the transformed product comes before the shifted cosine pair in Woxi and after it in Wolfram. For TrigToExp[(Sin[x]^3-Tan[x+y]^2)*Sin[2*x]^2*Tan[x*y]], Woxi places the sum factor before the tangent numerator; Wolfram places it afterward. Expanding the difference of the two outputs gives zero. The minimized TrigToExp[x-Tan[x]] also puts x first in Woxi rather than last in Wolfram; the corresponding example with a separate z orders correctly.

Higher circular/hyperbolic powers now preserve grouping inside sums (seed 1794036713376450000, 2026-11-07). This resolves TrigToExp[Sin[x]^2+Cos[y]^3], TrigToExp[1-Sin[x]^3], and the mixed tangent/cubic-sine case while retaining the expansion of sums containing only isolated squares.

N of constants prints different guard digits

In the same run, N[E, 22] prints these values: Woxi prints 2.71828182845904523536028747135266249776`22. and Wolfram prints 2.71828182845904523536028746877783245151`22.. The requested 22 digits agree; the extra displayed working digits do not. This remains a byte-for-byte output gap, separate from the small-rational binary-grid rounding cases documented above.

Diff-fuzz seed 1794003161694997000 also found N[Pi, 23]: Woxi prints 3.1415926535897932384626433832795028842`23. and Wolfram prints 3.14159265358979323846264338327950288582`23.. Again the requested digits agree, but the extra guard digits differ (verified 2026-11-06).

Seed 1794032979590698000 also found N[E,19]: the requested digits agree, while Wolfram's printed extra digits begin ...235319747... and Woxi's begin ...235360287.... This is the same guard-digit issue.

The minimized case exposes a separate precision-boundary gap: N[Pi, 0] emits N::precbd and remains unevaluated in Woxi; Wolfram returns 0``-0.49714987269413446. Negative requested precision emits N::precsm in Wolfram and uses zero precision. Positive fractional precisions below one are now accepted in Woxi; zero-precision accuracy tracking remains unimplemented.

TrigExpand chooses different polynomial forms in quotients

Verified on 2026-11-06, diff-fuzz seed 1794002508685553000:

TrigExpand[Sin[x y]^3 + Sin[x y] - Tan[2 x]^2]

The minimized quotient case TrigExpand[Tan[2 x]^2], reproduced by seed 1794019526553002000 on 2026-11-07, now matches Wolfram. Half-angle identities preserve the squared denominator 2*(Cos[x]^2-Sin[x]^2)^2 before expanding angles. This also resolves TrigExpand[Tan[3 x]^2], TrigExpand[Tan[x+y]^2], and the analogous hyperbolic-square denominator cases (seed 1794042350525575000).

Seed 1794052678793255000 also exposed higher quotient powers. Cubic Tan[2*x] and Tanh[2*x] expansions now preserve their denominator powers and match Wolfram. Higher degrees and other angles use the same reduction identity. The fourth-power term-order difference is now resolved, together with TrigExpand[Cos[2*x]^2-Tan[2*x]^3] from seed 1794078589196024000 (2026-11-07): the shared product comparator orders denominator factors canonically before comparing products. An explicitly written TrigExpand[1/(3*Cos[2*x]+Cos[6*x])] also differs: Wolfram expands 4*(Cos[x]^2-Sin[x]^2)^3, while Woxi directly expands the two harmonics. These denominator polynomials are equivalent, but their displayed forms differ.

The original expression from that seed, TrigExpand[Tan[3*x]^2+Tan[x+y]*Cos[x*y]^2], still differs in the numerator: Woxi combines some complementary sine/cosine square terms that Wolfram retains separately. Wolfram verifies that the difference between the full outputs simplifies to zero.

Seed 1794018312928924000 (2026-11-07) found the related TrigExpand[Tan[x]^2 Sin[x+y]] case: Woxi uses a reduced cosine quotient, while Wolfram leaves a sum involving Sec[x] and Tan[x]. The minimized TrigExpand[x Tan[x]^2] now matches Wolfram after recognizing nontrigonometric terms that share an angle variable (seed 1794048635105978000). Both return -x/2 + x*Sec[x]^2/2 + x*Tan[x]^2/2.

Combined sums and products now use the shared trig reduction before angle expansion, matching the polynomial forms for Sin[x] + Sin[x]^3 and Cos[x y]^2 Cos[2 x] (the latter from seed 1794003161694997000). Standalone Sin[x]^3 and 1 + Sin[x]^3 remain unchanged, as in Wolfram. A shared variable outside the trig argument now triggers reduction too: TrigExpand[x+Sin[x]^3] matches Wolfram, while y+Sin[x]^3 stays unchanged. The quotient forms above are algebraically equivalent under the trigonometric identities, but their printed forms still differ.

Seed 1794031159154931000 adds TrigExpand[Sin[x+y]^2+Tan[2*x]]. Wolfram puts the complete expression over Cos[x]^2-Sin[x]^2 before distributing its numerator; Woxi expands the sine-square contribution separately. The minimized TrigExpand[x+Tan[2*x]] has the same distinction: Wolfram displays three terms over that denominator, while Woxi keeps the standalone x.

Seed 1794040363065373000 (2026-11-07) reproduces the secant/tangent representation difference with TrigExpand[Cos[x]^2*(Tan[x]^3-Cos[3*x])]. Wolfram verifies FullSimplify[woxiResult-wolframResult] == 0. The minimized TrigExpand[Tan[x]^3-x] now reduces in Woxi but uses an expanded sine/cosine quotient, where Wolfram gives -x/4-3*x*Sec[x]^2/4-3*Tan[x]/4+3*Sec[x]^2*Tan[x]/4+ 3*x*Tan[x]^2/4+Tan[x]^3/4. A standalone TrigExpand[Tan[x]^3] remains unchanged in both implementations.

Rational integration with repeated irreducible poles

Verified on 2026-11-06 while investigating diff-fuzz seed 1794006364899906000: square-free cubic and quartic denominators now use the shared RootSum residue formula, including polynomial numerators. Repeated irreducible poles still require Hermite reduction. For example, Integrate[1/(1+x+x^3)^2,x] remains unevaluated in Woxi. Wolfram returns (-4+9*x-6*x^2)/(31*(1+x+x^3)) - 6*RootSum[1+#1+#1^3&,(-3*Log[x-#1]+Log[x-#1]*#1)/(1+3*#1^2)&]/31. The simple-pole residue path explicitly rejects repeated roots.

FullSimplify distributes a constant polynomial denominator

Verified on 2026-11-06, minimized from diff-fuzz seed 1794006364899906000: FullSimplify[(1+2*x)/(-3)] returns -1/3 - (2*x)/3 in Woxi and (-1 - 2*x)/3 in Wolfram. The values agree, but rational polynomial content is not retained in the same form. Improper fractions with a nonconstant denominator now consider polynomial division as a candidate, fixing the original (3+4*x)/(x-3) case.

Machine Sinc and PolyLog differ from Wolfram's high-precision rounding

Verified on 2026-11-06 while investigating diff-fuzz seed 1794007662705807000. Sinc[1.5] now rounds the complete quotient once, and PolyLog[4,0.3] uses compensated summation with a guarded tail bound; both original fuzz cases agree with Wolfram.

Some nearby machine evaluations still differ. Woxi gives 0.2393888576415826 for Sinc[2.5], whereas Wolfram gives 0.23938885764158258. Wolfram's own N[N[Sinc[5/2],60]] returns the Woxi value. Likewise PolyLog[2,0.5] gives 0.5822405264650125 in Woxi and 0.5822405264650127 in Wolfram; Wolfram's N[N[PolyLog[2,1/2],60]] agrees with Woxi. For PolyLog[3,0.3], Woxi gives 0.3124001778928926, Wolfram gives 0.31240017789289265, and Wolfram's N[N[PolyLog[3,SetPrecision[0.3,70]],60]] agrees with Woxi. Seed 1794031960996514000 (2026-11-07) also found PolyLog[3,0.2]: Woxi gives 0.20532419573331034, Wolfram's direct machine evaluation gives 0.20532419573331032, and Wolfram's N[PolyLog[3,SetPrecision[0.2,60]]] agrees with Woxi. These direct machine-evaluation differences remain unresolved.

Symbolic and machine NullSpace basis conventions

Verified on 2026-11-06 while investigating diff-fuzz seed 1794009243473726000. Integer input matrices now return primitive integer basis vectors, while rational matrices retain their free-coordinate normalization. Symbolic and machine inputs still use that same row-reduced free-coordinate construction rather than Wolfram's preferred bases:

  • NullSpace[{{x,2,3}}] gives {{-3/x,0,1},{-2/x,1,0}} in Woxi; Wolfram gives {{2,-x,0},{3,0,-x}}.
  • NullSpace[{{2.,3.}}] gives {{-1.5,1}} in Woxi; Wolfram gives {{-0.8320502943378436,0.5547001962252293}}.

The vectors span the same generic null spaces, but symbolic denominator clearing, basis ordering, and numerical orthonormalization remain different.

Scaled odd tangent powers use different antiderivative grouping

Diff-fuzz seed 1794034567657590000 (2026-11-07) minimized an unsupported mixed trigonometric integral to Integrate[Tan[3*x]^3,x]. Woxi returns Log[Cos[3*x]]/3 + Sec[3*x]^2/6, while Wolfram combines this as (2*Log[Cos[3*x]] + Sec[3*x]^2)/6. The same grouping difference occurs with symbolic argument scale and the seventh power. Wolfram keeps the unscaled cubic and seventh-power primitives distributed, and also keeps scaled fifth and ninth powers distributed, so blanket fraction combination would introduce new differences. Both cubic forms differentiate correctly.

The original integral, Integrate[Tan[3*x]^3 - Tan[x*y]^2 + Cos[x+y]*Tan[x*y]^2,x], remains unevaluated in Woxi. Wolfram evaluates the symbolic-frequency cosine/tangent product using Hypergeometric2F1, in addition to the existing tangent primitives. This extends the symbolic-frequency mixed trigonometric integration gap above.

Rational primitives retain different radical and logarithm forms

Seed 1794035699370760000 (2026-11-07) found Integrate[(5+3*x-x^2+2*x^3)/(5-5*x-5*x^2),x]. Woxi returns (15*x-5*x^2-4*Sqrt[5]*ArcTanh[(1+2*x)/Sqrt[5]]- 20*Log[1-x-x^2])/25; Wolfram returns (3*x-x^2-4*ArcTanh[(1+2*x)/Sqrt[5]]/Sqrt[5]-4*Log[1-x-x^2])/5. Wolfram verifies that differentiating the Woxi primitive recovers the integrand.

The minimized negative quadratic logarithm now normalizes its sign. For the related mixed-sign logarithmic derivative Integrate[(-1-2*x)/(1-x-x^2),x], Woxi still returns Log[1-x-x^2] where Wolfram returns Log[-1+x+x^2]. Their derivatives agree, but the branch-dependent integration constant differs.

Equal-parameter hypergeometric machine rounding

Verified on 2026-11-07, diff-fuzz seed 1794041714556375000: Hypergeometric2F1[2,3,2,-0.3] returns 0.4551661356395083 in Woxi and 0.45516613563950836 in Wolfram. Woxi applies the exact identity Hypergeometric2F1[a,b,a,z] == (1-z)^(-b); evaluating that power with machine inputs in Wolfram also gives 0.4551661356395083. Evaluating the hypergeometric function after raising the binary input's precision to 80 digits gives approximately 0.45516613563950843223510757, so the direct machine paths have different intermediate rounding. The minimized zero-numerator case now preserves approximate result precision for fully numeric arguments instead of returning an exact integer.

Hypergeometric rational arguments retain different scalar content

Verified on 2026-11-07, diff-fuzz seed 1794044812549838000: Hypergeometric2F1[2,3,4,-1/2] gives 16*(5/4-3*Log[3/2]) in Woxi and -4*(-5+12*Log[3/2]) in Wolfram. These are exactly equal, but the numeric content and sign remain grouped differently. The minimized Hypergeometric2F1[1,1,4,1] endpoint bug is fixed: the Gauss endpoint formula returns 3/2 before the logarithmic closed form can produce canceling infinities.

FullSimplify combines a radical sum into a nested square root

Verified on 2026-11-07, diff-fuzz seed 1794045270718263000: FullSimplify[(4/Sqrt[7])*(-3*Sqrt[2]-2*Sqrt[23])] remains -12*Sqrt[2/7]-8*Sqrt[23/7] in Woxi, while Wolfram chooses -4*Sqrt[(2*(55+6*Sqrt[46]))/7]. Squaring the positive inner sum proves the two forms equal; Woxi does not offer that nested-radical candidate. The minimized negative scalar-content case now retains -16*(1+2*Sqrt[23]) on its simplification-cost tie.

While checking seed 1794046424858751000, the positive-value variant FullSimplify[Sqrt[2/13]*(5-Sqrt[21])] exposes a related reciprocal candidate: Wolfram returns 4/Sqrt[299+65*Sqrt[21]], while Woxi keeps -(Sqrt[2/13]*(-5+Sqrt[21])). Rationalizing the positive difference proves the two forms equal. Simplify uses the latter form in both engines.

Hyperbolic integral machine rounding

Cycle 79 (make fuzz-diff, seed 1794047080111913000) found CoshIntegral[1.1]: Wolfram returns 0.9906936875136816, while its N[CoshIntegral[SetPrecision[1.1,80]]] reference rounds to 0.9906936875136815. Woxi now agrees with the latter after replacing its machine series with the shared guarded exponential-integral implementation. The same backend difference affects SinhIntegral[1.1]: Wolfram's machine result is 1.1766845920497218, versus the guarded reference 1.1766845920497215. Larger inputs also differ in their final digits. This change additionally fixes substantial large-input errors, premature machine overflow at 710., and the omitted imaginary part of CoshIntegral on the negative real axis.

Seed 1794051010990785000 (2026-11-07) found FullSimplify[(2+2*x)/(4+2*x-5*x^2-4*x^3)]. Woxi returns (2*(1+x))/(4+x*(2-x*(5+4*x))); Wolfram returns (-2*(1+x))/(-4+x*(-2+x*(5+4*x))). Wolfram verifies that their difference simplifies to zero. This is another sign/search-order case in its polynomial Horner-form selection. The reduced FullSimplify[2/(1-5*x^2-4*x^3)] keeps the denominator expanded in Wolfram, while Woxi uses 2/(1-x^2*(5+4*x)).

Seed 1794064956360384000 also found a Simplify sign-search difference: Simplify[(-4+5*x^2+5*x^3)/(3-4*x-x^2+4*x^3)] flips both signs in Woxi, while Wolfram retains the input quotient. Wolfram's own SimplifyCount rates the flipped result at 33 and the retained form at 34, so this is a candidate-search distinction rather than a cost error. The minimized Simplify[-2/(2*x^3)] now canonicalizes its reciprocal to -x^(-3).

Numeric radical content can override simplification cost

Seed 1794068343228530000 (2026-11-07) found FullSimplify[2*Sqrt[5]+4*Sqrt[15]]: Woxi returns Sqrt[5]*(2+4*Sqrt[3]), while Wolfram returns 2*Sqrt[5]*(1+2*Sqrt[3]). Wolfram's own SimplifyCount rates these at 15 and 16 respectively. Nearby controls do not consistently extract both contents: Simplify[3*Sqrt[2]+6*Sqrt[6]] returns 3*(Sqrt[2]+2*Sqrt[6]), and FullSimplify[Sqrt[7]*(3+6*Sqrt[5])] keeps the input product. The general candidate-selection rule remains unresolved.

Machine RealDigits can expose an extra final decimal digit

Seed 1794070447502802000 (2026-11-07) found RealDigits[0.8]. Woxi returns sixteen digits beginning with 8 and followed by zeros; Wolfram's sixteenth digit is 1. The explicit sixteen-digit form agrees with each implementation's default. With seventeen requested digits, Wolfram appends Indeterminate after that 1.

Wolfram returns zero as the sixteenth digit for 0.08, 0.008, 8., and RealDigits[SetPrecision[0.8,80],10,16]. Thus the extra digit is not obtained by directly extracting the exact binary input's decimal digits. Woxi currently promotes machine values from their shortest decimal string; the general machine digit-extraction and uncertainty rule remains unresolved.

Studio: string cells of a Grid beside Column text

A Manipulate body Column[{Grid[{{"abc", "de"}}, Frame -> All], "text"}] draws the grid's string cells in the sans-serif face and the column's string in the monospace one. In Wolfram's rendering both are set in the same fixed-width output face, so the grid's cells look narrower and uniform with the text below them. Woxi's sans-serif default for unstyled Grid cells is deliberate elsewhere (top-level Grid output); which face Wolfram uses for a top-level Grid of strings is not yet verified.

Studio: Grid ItemSize with wider typeset cells

A Grid with numeric ItemSize -> {{w1, w2}} and a column holding a wide TraditionalForm formula (for example a Sqrt of two stacked fractions) renders in Woxi Studio with the formula overflowing its fixed-width column and overlapping the neighbouring cell. Woxi also typesets TraditionalForm in a monospace face regardless of the grid's BaseStyle -> {FontFamily -> Times}, which makes such cells roughly a third wider than in Wolfram. Not yet verified against the kernel's clipping/wrapping rule for over-wide items.

Plot runs the cells of a multi-column Grid title together

PlotLabel -> Grid[{{"sum:", 6.}, {"product:", 9.}}, Alignment -> Left] lines its columns up as a table in Graphics and Show (the way Wolfram draws it), but Plot and the other charts with their own title pipeline (src/functions/plot.rs) still join each row's cells with a space into a single centered line of text.

Show[plots, PlotRange -> {xr, Automatic}] keeps the plots' explicit y range

When Show merges plots that were drawn with an explicit PlotRange -> {0, 100} and is itself given PlotRange -> {{x0, x1}, Automatic}, Wolfram recomputes the vertical range from the merged graphics, dropping outlying vertices such as the Top corners of Filling -> {i -> Top} polygons (a saved snapshot shows roughly 2.5–29.5 for curves spanning 4–22), while Woxi keeps the first plot's 0–100. The exact outlier rule for an Automatic range of merged graphics is not yet known.

ViewAngle with SphericalRegion -> True

Graphics3D[…, SphericalRegion -> True, ViewAngle -> 0.1, ViewPoint -> {0, 10, 0}] of an icosahedron ringed by small solids draws the scene about 4% larger than wolframscript, so the outermost solids touch the picture's top and bottom edges. With an explicit ViewAngle the scale comes from the view volume alone (calibrated without SphericalRegion); how wolframscript combines the two has not been measured.

WaveletScalogram frame coordinates are inferred

The scalogram's shape (AspectRatio -> 1/GoldenRatio, 2% plot range padding), its octave labels on the right edge and the sample-index horizontal coordinates were measured from a stored notebook rendering, not diffed against wolframscript. Explicit vertical FrameTicks positions are read in octave units; Wolfram's own vertical coordinate system for the scalogram is unverified, as are the default tick labels for a DiscreteWaveletData scalogram and its default color function.

A stored rendering of a Morlet scalogram over a sine with a short gap also shows the coarsest octave colored mostly by the edges and the gap, whereas Woxi's coarsest octave also resonates with the sine itself. The scales agree with Wolfram's ("Scales"), so the difference is probably in the boundary extension or the magnitude normalization; it has not been diffed against wolframscript.

Tick side of 3D axes crossing at the box center

With AxesOrigin at the center of an unboxed Graphics3D (for example AxesOrigin -> {0, 0, 0} and PlotRange -> 25), the axes have no outward side. Woxi now puts the tick labels left of a steep axis and below a flat one, with the tick marks pointing the other way. The z-axis placement matches a saved Wolfram snapshot. The flat-axis rule and the direction of the tick marks were not checked against wolframscript (none was available in the session).

Label position of 3D axes crossing at an AxesOrigin

With an explicit AxesOrigin in a Graphics3D (or a 3D plot), Woxi puts each AxesLabel at the end of its axis farther from the viewer, a fixed distance off the axis on the side of the tick marks. A saved Wolfram snapshot (default ViewPoint, AxesOrigin -> {0, 0, 0}) shows the labels at those ends and on that side, but the rule choosing the end (it could also be the end farther from the crossing point) and the exact offset were not checked against wolframscript (none was available in the session).

NDSolveStateData` prints its registry index

An NDSolveStateDataobject is a mutable handle (NDSolveIterate advances it in place), which Woxi keeps in a per-session registry. The expression only carries the registry index, so it prints as NDSolveStateData[1]where wolframscript summarizes the time range covered so far (NDSolveStateData["<" 0. ">"]). Its head, and so patterns like s_NDSolveStateData`, match.

2D plots don't box the Framed lines of a stacked title

PlotLabel -> Column[{Style[Framed[eq], Blue, Background -> LightYellow], "caption"}] boxes the first line in a blue frame on a yellow background above a Graphics3D picture (the way Wolfram draws it), but Plot and the other 2D charts (src/functions/plot.rs) set the framed line as plain text. Only a title that is framed as a whole gets a box there.

Symbols inside a Styled Row PlotLabel drawn upright

A saved snapshot of ListPlot[…, PlotLabel -> Style[Row[{x^m, " vs. ", y^n}], 16]] (with x and y unassigned symbols) shows the letters upright, while Woxi sets single-letter symbols in a plot label in italics as TraditionalForm does elsewhere. Not verified against wolframscript; it is open whether Row/Style keep StandardForm here or the snapshot was rendered with another FormatType.

Lone Latin letters in plot label strings

Saved snapshots show a lowercase Greek letter standing alone as a word of a PlotLabel string ("Outside μ ± ϵ: ") in italics, and Woxi sets those in italics too. Whether the front end does the same for a lone Latin letter of a label string (the a of "a plot") has not been verified against wolframscript, so Woxi keeps Latin letters in strings upright.

A one-letter string subscripted in a graphics label is drawn upright

A saved snapshot of Graphics[{…, Inset[Style[Column[{Row[{Subscript["ζ", 1], " = ", val}], …}], 14], pos]}] shows the subscripted one-letter strings (ζ₁, ω₁, f₁) in italics and the longer strings (" = ", " Hz") upright. Woxi sets every quoted string upright whatever the form, so it draws ζ₁ upright; only a one-letter symbol (Subscript[f, 1]) is italicized. Not verified against wolframscript; it is open whether the front end italicizes every one-letter string in a TraditionalForm label or only one that is a script's base.

SliceContourPlot3D automatic contour levels on coarse slices

With Contours -> n Woxi spaces the levels over the range of its own slice samples. For a distance function sampled with PlotPoints -> 10 on "BackPlanes", a saved snapshot shows the bar legend's levels one step higher than Woxi's (15.6–31.2 instead of 11.7–27.3, same 3.9 spacing): Wolfram's value range starts above Woxi's sampled minimum, and its slice even shows a band below the lowest legend band. How Wolfram samples the slice planes for the value range has not been measured.

Large 3D axis labels under SphericalRegion -> True

Graphics3D[Sphere[], Axes -> True, ImageSize -> 400, SphericalRegion -> True, AxesLabel -> {…, …, Style["zzz", Large, Bold]}] draws the vertical axis's large label partly outside the picture's left edge (its center about 10 px from it). Without SphericalRegion the picture leaves the label room. Shrinking the framing sphere to fit the labels (fitting them together with the contents sphere) does not settle on a layout that keeps the label inside, and was not checked against wolframscript.

Style[…, "Input"] text weight

The "Input" named style sets text in Wolfram's bold input font (a saved snapshot of Style[Row[{…}], Gray, 20, "Input"] shows bold monospace text), while Woxi ignores the style name and draws the text in regular weight. Its stylesheet font size, which applies when no explicit size is given, has not been measured against wolframscript yet.

Text placed on the edge of a Graphics is clipped instead of padded

Graphics[{Text["left", Scaled[{0, .5}]], Text["right", Scaled[{1, .5}]]}, AspectRatio -> .035, ImageSize -> 500, Axes -> {True, False}] (a labeled color bar) draws each label centered on the picture's left and right edges, so half of it falls outside the image. A saved Wolfram snapshot of the same construction shows the image padding grown to fit both labels whole, beside the bar. The exact rule ImagePadding -> Automatic uses to reserve room for text primitives has not been measured against wolframscript.

Plot tick labels ignore the BaseStyle font family and slant

Plot[…, Frame -> True, FrameTicks -> {{{0, "x"}, …}, …}, BaseStyle -> {FontSize -> 16, FontFamily -> "Times", Italic}] (or the same BaseStyle given to a Show of such a plot) sets its tick labels at the requested size but still in the default sans-serif upright face; Wolfram sets them in italic Times like the rest of the plot's text. LabelStyleSpec carries only the color, size, weight and slant, and the tick label writer applies none of the face or slant.

"M10DefaultDensityGradient" is not a known color scheme

Contour plots saved by Mathematica 14.1 and earlier color their bands and their BarLegend with Blend["M10DefaultDensityGradient", #] & (dark blue RGBColor[0.148, 0.33, 0.54] through gray and orange to RGBColor[1., 0.95, 0.75]). Woxi does not know that gradient's stops, so Blend of it stays unevaluated and a stored legend that uses it is drawn with the gray fallback ramp, while the stored plot's bands (explicit RGBColors) are right. The exact stops have not been measured.

Named Pane widths other than Medium

Pane[text, Medium] used as a graphics Text label wraps at about 180 points (measured from a saved snapshot, half a Graphics' Medium of 360). Woxi assumes the other named sizes scale the same way (Tiny 50, Small 90, Large 288), which has not been checked against wolframscript. Woxi's text wrapping also estimates 7 points per character of the default font, so the wrapped label can break into more lines than Wolfram's.

A second Demonstration snapshot points the same way, by more: an unboxed star polyhedron (vertices out to radius 1.19) in PlotRange -> 1.53 with SphericalRegion -> True, ViewAngle -> 10 Degree, the default ViewPoint and ImageSize -> {460, 460} spans about 410 px in Wolfram and about 457 px (11 % larger) in Woxi.

NDSolve across a jump of a piecewise diffusion coefficient

A PDE whose diffusion coefficient jumps by orders of magnitude inside the domain (e.g. If[Abs[r] <= ri, 10.^-6, 10.^-3] for a lumen surrounded by a porous bed) is solved by the method of lines with the flux kept continuous across the jump (each face's coefficient the exact harmonic mean h / ∫ dx / c), which converges to the continuum solution under grid refinement. Wolfram's finite element solution integrates the coefficient over mesh elements that straddle the jump, which lets noticeably more flux through on its default mesh: in a saved snapshot of such a reactor model the outlet averages are about 0.27 (lumen) and 0.11 (bed), where Woxi gives 0.41 and 0.14. Matching it would need Wolfram's exact mesh.

Grid Dividers given as a flat list of three or more rules

Dividers -> {xspec, yspec} is handled, but a longer flat list such as Dividers -> {2 -> Black, 2 -> Black, 5 -> Black} on a four-row, four-column grid is not. Woxi treats every entry after the first as a row rule, so it draws the line under the last row. A saved snapshot shows Wolfram leaving the bottom open and drawing the far-right column line (position 5) instead, over the first three rows only. How Wolfram maps the extra entries has not been checked against wolframscript.

Default 3D edge color of thick outlines

Woxi draws the default Graphics3D face outline in a flat dark gray (rgb(64,64,64)), whatever its width. In a saved snapshot of a white Cuboid under EdgeForm[AbsoluteThickness[6]] (no edge color given), the core of Wolfram's outline is pure black, so the dark gray of thin default edges may come from anti-aliasing a black hairline rather than from the edge color itself. Not yet checked against wolframscript.

Filling stems of ListPlot points beyond the plot range

A point outside the plot range is not drawn, and Woxi drops its Filling -> Axis stem with it. In a saved snapshot of ListPlot[data, Filling -> Axis] whose series grow out of an automatic range, Wolfram still draws a stem running to the range edge for a few of the clipped points (the first two past the last visible point of a series, and the final one) but not for the ones in between. Which clipped points keep their stem has not been checked against wolframscript.

FaceForm on round solids

Woxi lets FaceForm[front, back] color Sphere, Cylinder and Cone unless a plain color directive follows it, in which case the round solid takes that color ({FaceForm[Yellow, Green], White, Cylinder[…]} is a white cylinder). A saved snapshot confirms only that last case. Whether Wolfram ignores FaceForm on round solids altogether, including with no later color, has not been checked against wolframscript. Wolfram also lets the two coincident faces of a zero-thickness Cuboid z-fight (speckles of front and back color); Woxi draws the sheet in its front color.

A slightly shrunk copy of a solid drawn under the original

A scene that draws a copy of a solid scaled by 0.998 about its center in one color, and then the solid itself (opened into frame-shaped faces by a GraphicsComplex rewrite) in a second color, under a distant camera (ViewPoint -> {0, 100, 71}, ViewAngle -> 0.008). Woxi draws the outer surface on top, as the geometry says, so the frames cover the shrunk copy. All four of Wolfram's saved snapshots of such a scene show only the shrunk copy's color and its edges. Even the frames' own edges are hidden; only a few hairline slivers of the outer surface show along silhouettes. That looks like depth-buffer precision under a far camera, with the earlier primitive winning the near-tie. But Woxi already draws exactly coplanar faces later-on-top, as in Wolfram. With that rule, a depth tie would put the outer surface on top, so the cause is unconfirmed. Not yet checked against wolframscript.

A compiled function called with symbolic vector arguments

cf = Compile[{{p, _Real, 1}}, FixedPoint[(# + p.p/#)/2 &, 1., SameTest -> (Abs[#1 - #2] < 10^-6 &)]] called as cf[{x, y, z}] issues CompiledFunction::cfta in wolframscript, then evaluates the uncompiled body with x, y and z left as symbols. The symbolic FixedPoint never satisfies the SameTest, so the kernel never returns, even inside TimeConstrained[…, 10] (verified for more than 120 s). Because ContourPlot3D[cf[{x, y, z}], …] evaluates its body with the variables still free, it hangs the same way. Woxi deliberately leaves the symbolic call unevaluated, so the plot samples the compiled function numerically and returns a Graphics3D. The unit test compiled_vector_argument_iteration_is_not_run_symbolically is in EXACT_EXPR_SKIP.

Unit-test conformance batch (2026-11-25)

These divergences surfaced in one make test-conformance run against wolframscript 15.0. The affected unit tests are in EXACT_EXPR_SKIP, or in NEAR_MATCH for last-ulp cases.

  • High-degree Root: Root[#^10000 - 3 #^7 + 1 &, 2] stays unevaluated in WL 15. It is not put in canonical form and N does nothing. Reduce over the reals answers with Root[{f, x0}] approximations, or factors x^1001 + 3 x^7 + 1 through Root[1 + 3*#1 + #1^143 &, 1, 0]^(1/7). Woxi isolates and evaluates the roots.
  • Inexact Solve/NSolve forms: WL writes 0.125*(5. - 1.*Sqrt[9. - 32.*e]) where Woxi writes 0.625 - 0.5*Sqrt[0.5625 - 2.*e]. WL also orders NSolve rules by its own elimination order ({y -> 0., x -> …}) and lists conjugate roots minus-first. A linear system with rational-function coefficients is normalized differently.
  • Huge-exponent bignums (10.^30000., 2.^1.*^6, Log[Exp[1.*^6]]): digits past the stated precision differ, and so does the last ulp of the precision mark. SetPrecision[1.520*^10002, Infinity]is not exactly15*10^10001` in WL because its mantissa is binary.
  • DSolve/Integrate forms: WL folds (-1 + x)*(1 + x) into -1 + x^2 in a first-order linear solution. Derivative[1][EllipticK] orders EllipticK[#1]*(1 - #1) inside the pure function. Integrate[x E^x/(1 + E^x), x] should give x*Log[1 + E^x] + PolyLog[2, -E^x], but Woxi leaves it unevaluated.
  • NDSolve internals: WL's method of lines on a parameter-only "PDE" uses 25 grid points and is less accurate than Woxi, and it ignores "MinPoints". NDSolveStateDatacopies share state.Plotof anNDSolveresult re-evaluates the right-hand side. ADirichletConditionadded into the equation leavesNDSolveValue` unevaluated.
  • Classifier queries: c["Method"] on a ClassifierFunction returns the whole classifier association in wolframscript.
  • Entity data drift: city ordering, CountryData figures, flags (WL: Graphics) and descriptions, "InfantMortalityFraction" as a Quantity, and ProteinData names, molecular functions and classes all differ from the live knowledgebase.
  • Other WL quirks:
  • FindShortestTour[…, DistanceFunction -> GeoDistance] stays unevaluated.
  • Det of a matrix with entries like 1/(1 + Sqrt[2]) is returned unsimplified.
  • NullSpace does not see that a/(1 - a) + a/(a - 1) is zero.
  • CoordinateTransform["Spherical" -> "Cartesian", list] stays unevaluated.
  • TranslationTransform[…][Line[…]] re-nests the point list.
  • ImageResize uses nearest-neighbor when it enlarges a 1×2 image.
  • Normal[GraphicsComplex[…, Text["a", 3]]] loses the coordinate.
  • Plot internals: a further ~110 structural plot assertions differ: GraphicsComplex vs list wrappers, option lists, BarLegend structure, sampling counts, and where directives sit (see the existing plot-internals notes above).