Details

Time bar (total: 2.6s)

sample18.0ms

Algorithm
intervals
Results
8.0ms279×body80valid

simplify50.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0911
12111
23611
35711
48511
510011
done10011

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.0b

localize10.0ms

Local error

Found 2 expressions with local error:

3.5b
(* y (+ 1.0 (* z z)))
4.3b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
20×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
16×add-exp-log add-cbrt-cube
13×associate-/l*
cbrt-undiv div-exp
pow1 associate-*r/
associate-*r* associate-*l* prod-exp cbrt-unprod div-inv
flip3-+ associate-/r/ flip-+ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative associate-/l/ unswap-sqr
Counts
2 → 70
Calls
2 calls:
7.0ms
(* y (+ 1.0 (* z z)))
8.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

series117.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(* y (+ 1.0 (* z z)))
58.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

simplify469.0ms

Counts
76 → 76
Iterations

Useful iterations: 2 (121.0ms)

IterNodesCost
01561062
14101035
21488887
done5001887

prune184.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.8b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
4.3b
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
14.7b
(sqrt (+ 1.0 (* z z)))
14.7b
(sqrt (+ 1.0 (* z z)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
30×add-exp-log add-cbrt-cube
28×sqrt-div
24×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
16×associate-*r/
14×flip3-+ flip-+
13×associate-/l*
11×pow1
cbrt-undiv div-exp prod-exp sqrt-prod cbrt-unprod
frac-times associate-/r/
associate-*r*
associate-*l/ add-log-exp
pow-prod-down div-inv
rem-sqrt-square sqrt-pow1 pow1/2
frac-2neg associate-*l* clear-num associate-/r* *-commutative associate-/l/
Counts
4 → 117
Calls
4 calls:
19.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
20.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
3.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))

series211.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
57.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
49.0ms
(sqrt (+ 1.0 (* z z)))
48.0ms
(sqrt (+ 1.0 (* z z)))

simplify794.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (197.0ms)

IterNodesCost
02172776
16102090
226271728
done50001728

prune342.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.8b

localize7.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ 1.0 (* x (* y (+ (* z z) 1.0))))
3.5b
(* y (+ (* z z) 1.0))
4.1b
(* x (* y (+ (* z z) 1.0)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
10×pow1 add-sqr-sqrt associate-*r/
add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod
associate-*l*
distribute-rgt-in distribute-lft-in
associate-*r* pow-prod-down
cbrt-undiv flip3-+ times-frac div-exp flip-+ associate-/l* add-log-exp
associate-/r/ *-commutative
frac-2neg clear-num associate-/r* div-inv unswap-sqr
Counts
3 → 71
Calls
3 calls:
13.0ms
(/ 1.0 (* x (* y (+ (* z z) 1.0))))
10.0ms
(* y (+ (* z z) 1.0))
13.0ms
(* x (* y (+ (* z z) 1.0)))

series177.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(/ 1.0 (* x (* y (+ (* z z) 1.0))))
51.0ms
(* y (+ (* z z) 1.0))
65.0ms
(* x (* y (+ (* z z) 1.0)))

simplify98.0ms

Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
01241034
13411010