Details

Time bar (total: 2.0s)

sample27.0ms

Algorithm
intervals
Results
16.0ms343×body80valid

simplify92.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

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 1 expressions with local error:

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

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 (/ 4.0 y) (fma 0.25 y (- x z)) 1.0)

series48.0ms

Counts
1 → 3
Calls
1 calls:
47.0ms
(fma (/ 4.0 y) (fma 0.25 y (- x z)) 1.0)

simplify42.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 4 (40.0ms)

IterNodesCost
04882
111670
233970
3149867
4500164

prune35.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.2b
(fma (/ 4.0 y) (- x z) 2.0)

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 (/ 4.0 y) (- x z) 2.0)

series27.0ms

Counts
1 → 3
Calls
1 calls:
27.0ms
(fma (/ 4.0 y) (- x z) 2.0)

simplify40.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
04369
110459
228253
3133253
4500353

prune28.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log *-un-lft-identity add-cbrt-cube
add-sqr-sqrt add-cube-cbrt
add-log-exp
fma-def times-frac 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 distribute-lft-out associate-/l*
Counts
2 → 42
Calls
2 calls:
8.0ms
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
21.0ms
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)

series61.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0265349
11079306
25002297

prune107.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.0b
(* (+ x (* y 0.25)) (+ x (* y 0.25)))
3.0b
(fma y (fma 0.25 y x) (* y z))
7.1b
(- (* (+ x (* y 0.25)) (+ x (* y 0.25))) (* z z))
36.5b
(/ (* 4.0 (- (* (+ x (* y 0.25)) (+ x (* y 0.25))) (* z z))) (fma y (fma 0.25 y x) (* y z)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
flip3-+ flip-+ add-log-exp
expm1-log1p-u frac-times associate-*r/ log1p-expm1-u
times-frac swap-sqr associate-*r* associate-*l* associate-/r*
cbrt-undiv distribute-rgt-in flip3-- distribute-lft-in div-exp associate-*l/ prod-exp associate--l+ flip-- cbrt-unprod associate-/l/
pow2 sub-neg frac-2neg pow-plus fma-neg diff-log prod-diff pow-prod-down clear-num pow-sqr *-commutative pow-prod-up fma-udef div-inv associate-/l* difference-of-squares unswap-sqr
Counts
4 → 91
Calls
4 calls:
11.0ms
(* (+ x (* y 0.25)) (+ x (* y 0.25)))
0.0ms
(fma y (fma 0.25 y x) (* y z))
7.0ms
(- (* (+ x (* y 0.25)) (+ x (* y 0.25))) (* z z))
17.0ms
(/ (* 4.0 (- (* (+ x (* y 0.25)) (+ x (* y 0.25))) (* z z))) (fma y (fma 0.25 y x) (* y z)))

series195.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (+ x (* y 0.25)) (+ x (* y 0.25)))
31.0ms
(fma y (fma 0.25 y x) (* y z))
68.0ms
(- (* (+ x (* y 0.25)) (+ x (* y 0.25))) (* z z))
78.0ms
(/ (* 4.0 (- (* (+ x (* y 0.25)) (+ x (* y 0.25))) (* z z))) (fma y (fma 0.25 y x) (* y z)))

simplify70.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0483989
12410791
25003762

prune283.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes86.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083

end0.0ms

sample700.0ms

Algorithm
intervals
Results
492.0ms10121×body80valid