Details

Time bar (total: 2.7s)

sample18.0ms

Algorithm
intervals
Results
8.0ms335×body80valid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series63.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0133158
1462135
22228135
35001135

prune85.0ms

Filtered
40 candidates to 29 candidates (72.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u associate-*l/ log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 38
Calls
2 calls:
3.0ms
(+ (* x y) (* (- x 1.0) z))
11.0ms
(* (- x 1.0) z)

series63.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0199197
1834176
24327176
35001176

prune98.0ms

Filtered
44 candidates to 33 candidates (75.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
2.0ms
(cbrt (+ (* x y) (* (- x 1.0) z)))
2.0ms
(cbrt (+ (* x y) (* (- x 1.0) z)))
2.0ms
(cbrt (+ (* x y) (* (- x 1.0) z)))
19.0ms
(* (cbrt (+ (* x y) (* (- x 1.0) z))) (cbrt (+ (* x y) (* (- x 1.0) z))))

series700.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03311339
111241258
250011150

prune292.0ms

Filtered
107 candidates to 86 candidates (80.4%)
Pruning

3 alts after pruning (1 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)))
4.5b
(* (- (* x x) (* 1.0 1.0)) z)
5.7b
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

rewrite25.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)
10.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

series199.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0340604
11528519
25003502

prune219.0ms

Filtered
91 candidates to 70 candidates (76.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes71.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
0114
1114

end0.0ms

sample430.0ms

Algorithm
intervals
Results
226.0ms10102×body80valid