Details

Time bar (total: 2.9s)

sample79.0ms

Algorithm
intervals
Results
19.0ms328×body80valid

simplify1.5s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
067
1107
2177
3317
4427
5497
6587
7767
8967
91187
101347
111487
121567
131707
141857
152007
162627
172997
183827
194107
204577
214617
done4617

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (* y (- z x)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
associate-+r+
add-log-exp
distribute-rgt-in sub-neg distribute-lft-in
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ sum-log add-cbrt-cube flip-+
Counts
1 → 15
Calls
1 calls:
9.0ms
(+ x (* y (- z x)))

series65.0ms

Counts
1 → 3
Calls
1 calls:
65.0ms
(+ x (* y (- z x)))

simplify970.0ms

Counts
18 → 18
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
034192
196185
2290165
31271165
done5000165

prune51.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times associate-+r+ unswap-sqr
pow-prod-down pow-sqr
distribute-rgt-in sub-neg rem-sqrt-square distribute-lft-in associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 102
Calls
4 calls:
12.0ms
(+ x (* y (- z x)))
5.0ms
(sqrt (+ x (* y (- z x))))
5.0ms
(sqrt (+ x (* y (- z x))))
37.0ms
(* (sqrt (+ x (* y (- z x)))) (sqrt (+ x (* y (- z x)))))

series68.0ms

Calls
1 calls:
37.0ms
(* (sqrt (+ x (* y (- z x)))) (sqrt (+ x (* y (- z x)))))