Details

Time bar (total: 2.6s)

sample19.0ms

Algorithm
intervals
Results
9.0ms310×body80valid

simplify91.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0226
1506
21244
32804
45344
58694
613974
735214
850014

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 0.25 y (- x z))
0.2b
(fma (/ 4.0 y) (fma 0.25 y (- x z)) 1.0)

rewrite2.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
2 → 20
Calls
2 calls:
1.0ms
(fma 0.25 y (- x z))
1.0ms
(fma (/ 4.0 y) (fma 0.25 y (- x z)) 1.0)

series73.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(fma 0.25 y (- x z))
50.0ms
(fma (/ 4.0 y) (fma 0.25 y (- x z)) 1.0)

simplify66.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 4 (63.0ms)

IterNodesCost
065128
1154108
2551108
32995105
45001102

prune54.0ms

Filtered
26 candidates to 21 candidates (19.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh011
Picked011
Done000
Total24428

Merged error: 0.0b

Counts
28 → 4

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
0.3b
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
48×add-sqr-sqrt times-frac
32×add-cube-cbrt
28×associate-*r*
16×associate-*l* associate-/l*
12×distribute-lft-out--
distribute-lft-out
add-exp-log add-cbrt-cube
*-commutative add-log-exp difference-of-squares unswap-sqr
fma-def associate-/r*
pow1 cbrt-undiv expm1-log1p-u associate-*r/ div-exp log1p-expm1-u associate-/l/
+-commutative flip3-- frac-2neg flip3-+ prod-exp clear-num sum-log flip-- cbrt-unprod flip-+ div-inv
Counts
2 → 102
Calls
2 calls:
20.0ms
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
18.0ms
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)

series67.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
41.0ms
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)

simplify51.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0459915
11913872
25001850

prune175.0ms

Filtered
108 candidates to 77 candidates (28.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1062108
Fresh202
Picked101
Done101
Total1102112

Merged error: 0b

Counts
112 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 2.0 (* 4.0 (/ z y)))
0.0b
(fma 4.0 (/ x y) (- 2.0 (* 4.0 (/ z y))))
0.0b
(* 4.0 (/ z y))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
93×add-sqr-sqrt
69×*-un-lft-identity prod-diff
64×add-cube-cbrt
52×associate-*r*
41×times-frac
13×associate-*l*
10×unswap-sqr
associate-*r/
add-exp-log add-cbrt-cube
pow1 add-log-exp
*-commutative div-inv associate-/l*
expm1-log1p-u fma-neg associate-/r* log1p-expm1-u difference-of-squares
prod-exp clear-num un-div-inv cbrt-unprod distribute-lft-out--
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp pow-prod-down flip-- fma-udef
Counts
3 → 145
Calls
3 calls:
13.0ms
(- 2.0 (* 4.0 (/ z y)))
1.0ms
(fma 4.0 (/ x y) (- 2.0 (* 4.0 (/ z y))))
8.0ms
(* 4.0 (/ z y))

series80.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(- 2.0 (* 4.0 (/ z y)))
27.0ms
(fma 4.0 (/ x y) (- 2.0 (* 4.0 (/ z y))))
24.0ms
(* 4.0 (/ z y))

simplify86.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06832013
126241426
250011338

prune368.0ms

Filtered
154 candidates to 76 candidates (50.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1540154
Fresh011
Picked011
Done000
Total1542156

Merged error: 0b

Counts
156 → 2

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1.0 (/ (* 4.0 1) (/ y (- (+ x (* y 0.25)) z))))
0.0b
(/ y (- (+ x (* y 0.25)) z))
0.2b
(/ (* 4.0 1) (/ y (- (+ x (* y 0.25)) z)))

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
666×times-frac
662×*-un-lft-identity
434×add-sqr-sqrt
256×add-cube-cbrt
141×distribute-lft-out--
131×associate-*l*
95×distribute-lft-out
84×associate-*r*
56×unswap-sqr
47×difference-of-squares
43×associate-/r/
41×associate-/r*
28×*-commutative
22×add-exp-log
19×associate-/l*
17×add-cbrt-cube
16×div-inv
15×flip3-- flip--
10×div-exp
cbrt-undiv
add-log-exp
prod-exp
pow1 expm1-log1p-u fma-def frac-2neg clear-num log1p-expm1-u
1-exp cbrt-unprod
+-commutative flip3-+ sum-log flip-+
Counts
3 → 490
Calls
3 calls:
86.0ms
(+ 1.0 (/ (* 4.0 1) (/ y (- (+ x (* y 0.25)) z))))
10.0ms
(/ y (- (+ x (* y 0.25)) z))
25.0ms
(/ (* 4.0 1) (/ y (- (+ x (* y 0.25)) z)))

series163.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(+ 1.0 (/ (* 4.0 1) (/ y (- (+ x (* y 0.25)) z))))
89.0ms
(/ y (- (+ x (* y 0.25)) z))
51.0ms
(/ (* 4.0 1) (/ y (- (+ x (* y 0.25)) z)))

simplify93.0ms

Algorithm
egg-herbie
Counts
499 → 499
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
014215733
150015377

prune411.0ms

Filtered
499 candidates to 174 candidates (65.1%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New4990499
Fresh000
Picked011
Done011
Total4992501

Merged error: 0b

Counts
501 → 2

regimes41.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
0115
1115

end0.0ms

sample510.0ms

Algorithm
intervals
Results
306.0ms10003×body80valid