Details

Time bar (total: 6.2s)

sample30.0ms

Algorithm
intervals
Results
17.0ms328×body80valid

simplify948.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
089
1148
2248
3408
4608
5808
6978
71238
81688
92428
103058
113408
123698
133898
143938
done3938

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x y (* z (- 1.0 y)))
0.0b
(* z (- 1.0 y))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity prod-diff
16×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
associate-*r*
pow1 add-exp-log add-cbrt-cube
associate-*l*
expm1-log1p-u sub-neg associate-*r/ log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 56
Calls
2 calls:
1.0ms
(fma x y (* z (- 1.0 y)))
40.0ms
(* z (- 1.0 y))

series99.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(fma x y (* z (- 1.0 y)))
43.0ms
(* z (- 1.0 y))

simplify1.5s

Counts
62 → 62
Iterations

Useful iterations: done (1.5s)

IterNodesCost
0116865
1214695
2445557
31670515
done5000461

prune173.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize23.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity distribute-rgt-neg-out add-cbrt-cube log1p-expm1-u
+-commutative fma-def flip3-+ unsub-neg sum-log flip-+ fma-udef distribute-lft-out
Counts
2 → 27
Calls
2 calls:
0.0ms
(fma x y (+ (* z 1.0) (* z (- y))))
9.0ms
(+ (* z 1.0) (* z (- y)))

series131.0ms

Counts
2 → 6
Calls
2 calls:
73.0ms
(fma x y (+ (* z 1.0) (* z (- y))))
58.0ms
(+ (* z 1.0) (* z (- y)))

simplify3.1s

Counts
33 → 33
Iterations

Useful iterations: done (3.1s)

IterNodesCost
048386
1135287
2502252
32088248
done5001246

prune101.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt z) (cbrt z))
0.6b
(cbrt z)
0.6b
(cbrt z)
0.6b
(cbrt z)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
31.0ms
(* (cbrt z) (cbrt z))
2.0ms
(cbrt z)
2.0ms
(cbrt z)
2.0ms
(cbrt z)

series0.0ms