Details

Time bar (total: 4.1s)

sample43.0ms

Algorithm
intervals
Results
15.0ms30×body1280valid
9.0ms182×body80valid
7.0ms28×body640valid
2.0ms10×body320valid
1.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0135
1224
2284
3284

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma (cos y) z (+ x (sin y)))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (cos y) z (+ x (sin y)))

series39.0ms

Counts
1 → 3
Calls
1 calls:
39.0ms
(fma (cos y) z (+ x (sin y)))

simplify39.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03274
17063
228363
3139063
4500163

prune38.0ms

Pruning

2 alts after pruning (1 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)))))

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

series200.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(sqrt (fma (cos y) z (+ x (sin y))))
38.0ms
(fma (cos y) z (+ x (sin y)))
38.0ms
(fma (cos y) z (+ x (sin y)))
41.0ms
(* (sqrt (fma (cos y) z (+ x (sin y)))) (sqrt (fma (cos y) z (+ x (sin y)))))

simplify145.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (137.0ms)

IterNodesCost
0186668
1643577
23624548
35001525

prune224.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
91×sqrt-pow1 sqrt-prod
69×pow1
60×add-sqr-sqrt
47×pow1/2
39×pow-prod-up
22×add-cube-cbrt *-un-lft-identity
17×swap-sqr
15×associate-*l*
12×pow-prod-down
11×add-exp-log pow-sqr add-cbrt-cube unswap-sqr
10×associate-*r*
expm1-log1p-u rem-sqrt-square prod-exp cbrt-unprod log1p-expm1-u add-log-exp
sqrt-unprod
*-commutative
pow2 pow-plus rem-square-sqrt
Counts
4 → 167
Calls
4 calls:
1.0ms
(sqrt (sqrt (fma (cos y) z (+ x (sin y)))))
1.0ms
(sqrt (sqrt (fma (cos y) z (+ x (sin y)))))
30.0ms
(* (sqrt (fma (cos y) z (+ x (sin y)))) (* (sqrt (sqrt (fma (cos y) z (+ x (sin y))))) (sqrt (sqrt (fma (cos y) z (+ x (sin y)))))))
13.0ms
(* (sqrt (sqrt (fma (cos y) z (+ x (sin y))))) (sqrt (sqrt (fma (cos y) z (+ x (sin y))))))

series496.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04711539
118201336
250011288

prune339.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (cbrt (fma (cos y) z (+ x (sin y))))) (sqrt (fma (cos y) z (+ x (sin y)))))
0.2b
(* (* (fabs (cbrt (fma (cos y) z (+ x (sin y))))) (sqrt (fma (cos y) z (+ x (sin y))))) (sqrt (cbrt (fma (cos y) z (+ x (sin y))))))
0.6b
(cbrt (fma (cos y) z (+ x (sin y))))
0.6b
(cbrt (fma (cos y) z (+ x (sin y))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×associate-*r*
12×add-cube-cbrt *-un-lft-identity
11×pow1 add-exp-log add-cbrt-cube
10×sqrt-prod
cbrt-prod
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
pow1/3 *-commutative unswap-sqr
Counts
4 → 76
Calls
4 calls:
5.0ms
(* (fabs (cbrt (fma (cos y) z (+ x (sin y))))) (sqrt (fma (cos y) z (+ x (sin y)))))
15.0ms
(* (* (fabs (cbrt (fma (cos y) z (+ x (sin y))))) (sqrt (fma (cos y) z (+ x (sin y))))) (sqrt (cbrt (fma (cos y) z (+ x (sin y))))))
0.0ms
(cbrt (fma (cos y) z (+ x (sin y))))
1.0ms
(cbrt (fma (cos y) z (+ x (sin y))))

series740.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* (fabs (cbrt (fma (cos y) z (+ x (sin y))))) (sqrt (fma (cos y) z (+ x (sin y)))))
257.0ms
(* (* (fabs (cbrt (fma (cos y) z (+ x (sin y))))) (sqrt (fma (cos y) z (+ x (sin y))))) (sqrt (cbrt (fma (cos y) z (+ x (sin y))))))
186.0ms
(cbrt (fma (cos y) z (+ x (sin y))))
187.0ms
(cbrt (fma (cos y) z (+ x (sin y))))

simplify67.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05621608
125671447
250011425

prune313.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes56.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample1.2s

Algorithm
intervals
Results
403.0ms984×body1280valid
288.0ms5642×body80valid
194.0ms809×body640valid
62.0ms383×body320valid
21.0ms182×body160valid