Details

Time bar (total: 4.5s)

sample35.0ms

Algorithm
intervals
Results
10.0ms290×body80nan
8.0ms307×body80valid

simplify1.1s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0810
11510
22210
33910
47310
513010
624010
746210
8197610
done500010

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.2b

localize8.0ms

Local error

Found 2 expressions with local error:

1.8b
(- (* y y) (* z z))
26.4b
(sqrt (- (* y y) (* z z)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
2 → 35
Calls
2 calls:
3.0ms
(- (* y y) (* z z))
5.0ms
(sqrt (- (* y y) (* z z)))

series86.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(- (* y y) (* z z))
49.0ms
(sqrt (- (* y y) (* z z)))

simplify1.1s

Counts
41 → 41
Iterations

Useful iterations: done (1.1s)

IterNodesCost
062456
1136412
2471361
31868361
done5001360

prune119.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify1.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000
done00

prune6.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify1.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000
done00

prune3.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (+ y z))
0.0b
(sqrt (- y z))
0.3b
(* (sqrt (+ y z)) (sqrt (- y z)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×sqrt-prod
17×*-un-lft-identity
16×sqrt-div
pow1 add-cube-cbrt
associate-*r*
associate-*l*
add-exp-log add-cbrt-cube
frac-times flip3-- sqrt-pow1 flip3-+ pow1/2 flip-- flip-+ unswap-sqr
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
rem-sqrt-square associate-*r/ associate-*l/ distribute-lft-out distribute-lft-out-- difference-of-squares
sqrt-unprod prod-exp *-commutative cbrt-unprod hypot-def
Counts
3 → 81
Calls
3 calls:
4.0ms
(sqrt (+ y z))
6.0ms
(sqrt (- y z))
21.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

series191.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(sqrt (+ y z))
74.0ms
(sqrt (- y z))
78.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

simplify1.3s

Counts
90 → 90
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01221020
1257914
2772886
32668864
done5001862

prune235.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.1b

regimes257.0ms

bsearch30.0ms