Details

Time bar (total: 20.1s)

sample52.0ms

Algorithm
intervals
Results
13.0ms328×body80valid
11.0ms289×body80nan

simplify13.4s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11510
22210
33910
47110
516410
627510
751810
8191210
done500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.5b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
2.0b
(- (* y y) (* z z))
26.2b
(sqrt (- (* y y) (* z z)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity associate-*r*
pow1
add-exp-log add-cbrt-cube add-log-exp
sqrt-div
expm1-log1p-u flip3-- associate-*l* flip-- log1p-expm1-u difference-of-squares
associate-*r/ unswap-sqr
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
3 → 62
Calls
3 calls:
43.0ms
(* x (sqrt (- (* y y) (* z z))))
10.0ms
(- (* y y) (* z z))
13.0ms
(sqrt (- (* y y) (* z z)))

series229.0ms

Counts
3 → 9
Calls
3 calls:
108.0ms
(* x (sqrt (- (* y y) (* z z))))
41.0ms
(- (* y y) (* z z))
80.0ms
(sqrt (- (* y y) (* z z)))

simplify1.3s

Counts
71 → 71
Iterations

Useful iterations: done (1.3s)

IterNodesCost
094839
1199758
2491676
31629676
done5002671

prune276.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize7.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 (0.0ms)

IterNodesCost
000
done00

prune7.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify0.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
done00

prune5.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ y z))
0.0b
(sqrt (- y z))
0.1b
(* x (sqrt (+ y z)))
0.2b
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

rewrite202.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×*-un-lft-identity sqrt-prod
18×sqrt-div
15×associate-*r*
13×pow1
11×add-exp-log add-cube-cbrt add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
expm1-log1p-u frac-times flip3-- associate-*l* pow-prod-down prod-exp flip-- cbrt-unprod log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
hypot-def
Counts
4 → 98
Calls
4 calls:
16.0ms
(sqrt (+ y z))
22.0ms
(sqrt (- y z))
48.0ms
(* x (sqrt (+ y z)))
113.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

series443.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(sqrt (+ y z))
104.0ms
(sqrt (- y z))
112.0ms
(* x (sqrt (+ y z)))
169.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

simplify3.2s

Counts
110 → 110
Iterations

Useful iterations: done (3.2s)

IterNodesCost
01711288
14201142
211581067
338461028
done50001019

prune376.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes446.0ms

bsearch24.0ms