Details

Time bar (total: 3.2s)

sample18.0ms

Algorithm
intervals
Results
7.0ms328×body80valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0143
1243
2403
3663
4863
5973
61183
71593
82443
94423
106263
116913
127383
137653
147653

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r*
expm1-log1p-u associate-*l/ 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 → 34
Calls
2 calls:
0.0ms
(fma x y (* (- x 1.0) z))
10.0ms
(* (- x 1.0) z)

series67.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0133158
1462135
22228135
35001135

prune90.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (fma x y (* (- x 1.0) z))) (cbrt (fma x y (* (- x 1.0) z))))
0.5b
(cbrt (fma x y (* (- x 1.0) z)))
0.5b
(cbrt (fma x y (* (- x 1.0) z)))
0.5b
(cbrt (fma x y (* (- x 1.0) z)))

rewrite9.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:
5.0ms
(* (cbrt (fma x y (* (- x 1.0) z))) (cbrt (fma x y (* (- x 1.0) z))))
0.0ms
(cbrt (fma x y (* (- x 1.0) z)))
0.0ms
(cbrt (fma x y (* (- x 1.0) z)))
1.0ms
(cbrt (fma x y (* (- x 1.0) z)))

series708.0ms

Counts
4 → 12
Calls
4 calls:
215.0ms
(* (cbrt (fma x y (* (- x 1.0) z))) (cbrt (fma x y (* (- x 1.0) z))))
162.0ms
(cbrt (fma x y (* (- x 1.0) z)))
167.0ms
(cbrt (fma x y (* (- x 1.0) z)))
164.0ms
(cbrt (fma x y (* (- x 1.0) z)))

simplify106.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0246872
1785805
23708713
35001681

prune238.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
expm1-log1p-u times-frac associate-*l* associate-*l/ associate-/r* log1p-expm1-u
flip3-- associate-*r* flip--
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out difference-of-squares
sub-neg frac-2neg flip3-+ fma-neg diff-log prod-diff pow-prod-down clear-num *-commutative flip-+ fma-udef div-inv associate-/l* unswap-sqr
Counts
4 → 79
Calls
4 calls:
3.0ms
(- (* x x) (* 1.0 1.0))
0.0ms
(fma x y (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
10.0ms
(* (- (* x x) (* 1.0 1.0)) z)
9.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

series210.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* x x) (* 1.0 1.0))
63.0ms
(fma x y (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
41.0ms
(* (- (* x x) (* 1.0 1.0)) z)
61.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0340604
11528519
25003502

prune226.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
27×add-sqr-sqrt
25×times-frac
22×add-cube-cbrt
18×associate-*r*
11×add-exp-log add-cbrt-cube
distribute-lft-out
pow1 add-log-exp
expm1-log1p-u associate-*l* associate-/r* associate-/r/ log1p-expm1-u
flip3-- flip-- associate-/l*
cbrt-undiv frac-times flip3-+ div-exp associate-*l/ prod-exp cbrt-unprod flip-+ div-inv difference-of-squares unswap-sqr
sub-neg frac-2neg fma-neg diff-log associate-*r/ prod-diff pow-prod-down clear-num *-commutative fma-udef
Counts
4 → 106
Calls
4 calls:
6.0ms
(- (* x x) (* 1.0 1.0))
0.0ms
(fma x y (* (- (* x x) (* 1.0 1.0)) (/ z (+ x 1.0))))
5.0ms
(/ z (+ x 1.0))
22.0ms
(* (- (* x x) (* 1.0 1.0)) (/ z (+ x 1.0)))

series199.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* x x) (* 1.0 1.0))
58.0ms
(fma x y (* (- (* x x) (* 1.0 1.0)) (/ z (+ x 1.0))))
38.0ms
(/ z (+ x 1.0))
57.0ms
(* (- (* x x) (* 1.0 1.0)) (/ z (+ x 1.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0412779
11857697
25003678

prune292.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes250.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
083
183

end0.0ms

sample442.0ms

Algorithm
intervals
Results
236.0ms10189×body80valid