Details

Time bar (total: 2.6s)

sample33.0ms

Algorithm
intervals
Results
16.0ms279×body80valid

simplify58.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.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

localize7.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))))

rewrite16.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)))
7.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

series115.0ms

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

simplify468.0ms

Counts
76 → 76
Iterations

Useful iterations: 2 (119.0ms)

IterNodesCost
01561062
14101035
21488887
done5001887

prune173.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.8b

localize9.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)))

rewrite51.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))))
22.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
2.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
60.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
44.0ms
(sqrt (+ 1.0 (* z z)))
47.0ms
(sqrt (+ 1.0 (* z z)))

simplify807.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (194.0ms)

IterNodesCost
02172776
16102090
226271728
done50001728

prune345.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)))

rewrite40.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:
12.0ms
(/ 1.0 (* x (* y (+ (* z z) 1.0))))
13.0ms
(* y (+ (* z z) 1.0))
13.0ms
(* x (* y (+ (* z z) 1.0)))

series174.0ms

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

simplify97.0ms

Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
01241034
13411010