Details

Time bar (total: 1.2s)

sample40.0ms

Algorithm
intervals
Results
13.0ms32×body1280valid
9.0ms181×body80valid
5.0ms20×body640valid
3.0ms20×body320valid
0.0msbody160valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (3.0ms)

IterNodesCost
089
1139
2218
3268
done268

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
(+ x (sin y))
0.0b
(fma (cos y) z (+ x (sin y)))

rewrite8.0ms

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

series64.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(+ x (sin y))
39.0ms
(fma (cos y) z (+ x (sin y)))

simplify564.0ms

Counts
33 → 33
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
046251
199246
2196220
3472220
41577220
done5001220

prune94.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (fma (cos y) z (+ x (sin y))))
0.0b
(fma (cos y) z (+ x (sin y)))
0.0b
(fma (cos y) z (+ x (sin y)))
0.2b
(* (sqrt (fma (cos y) z (+ x (sin y)))) (sqrt (fma (cos y) z (+ x (sin y)))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
fma-udef
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 86
Calls
4 calls:
1.0ms
(sqrt (fma (cos y) z (+ x (sin y))))
0.0ms
(fma (cos y) z (+ x (sin y)))
0.0ms
(fma (cos y) z (+ x (sin y)))
7.0ms
(* (sqrt (fma (cos y) z (+ x (sin y)))) (sqrt (fma (cos y) z (+ x (sin y)))))

series208.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(sqrt (fma (cos y) z (+ x (sin y))))
42.0ms
(fma (cos y) z (+ x (sin y)))
39.0ms
(fma (cos y) z (+ x (sin y)))
43.0ms
(* (sqrt (fma (cos y) z (+ x (sin y)))) (sqrt (fma (cos y) z (+ x (sin y)))))

simplify161.0ms

Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0921716
11811181
24991044