Details

Time bar (total: 2.6s)

sample12.0ms

Algorithm
intervals
Results
5.0ms248×body80valid
0.0msbody1280valid
0.0msbody2560valid
0.0msbody640valid
0.0msbody320valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (/ (fabs (- y x)) 2.0))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
fma-def add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ sum-log add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
Counts
1 → 17
Calls
1 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.0ms
(+ x (/ (fabs (- y x)) 2.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
088110
122697
254097
3152297
4500197

prune53.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
0.5b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
0.5b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
0.5b
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
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 → 103
Calls
4 calls:
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
47.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))

series200.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
53.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
49.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
48.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))

simplify50.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03751533
112741446
250011341

prune285.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
0.5b
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (* (cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (cbrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))))
0.5b
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
0.6b
(cbrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
378×cbrt-div
144×frac-times
121×flip3-+ flip-+
54×associate-*r/
48×associate-*l/
41×cbrt-prod
34×*-un-lft-identity
24×add-sqr-sqrt
17×add-cube-cbrt
16×pow1
14×associate-*l*
11×add-exp-log pow1/3
10×swap-sqr
associate-*r* distribute-lft-out
pow-prod-down
add-cbrt-cube
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
pow-sqr *-commutative pow-prod-up
pow2 pow-plus
Counts
4 → 199
Calls
4 calls:
14.0ms
(cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
74.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (* (cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (cbrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))))
48.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))

series203.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
50.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (* (cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (cbrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))))
48.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
57.0ms
(cbrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))

simplify118.0ms

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
010007013
129306859
250016659

prune765.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (sqrt x) (sqrt x) (/ (fabs (- y x)) 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 (sqrt x) (sqrt x) (/ (fabs (- y x)) 2.0))

series106.0ms

Counts
1 → 3
Calls
1 calls:
106.0ms
(fma (sqrt x) (sqrt x) (/ (fabs (- y x)) 2.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
088117
1275101
2132695
3500192

prune33.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes62.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample292.0ms

Algorithm
intervals
Results
148.0ms7707×body80valid
9.0ms106×body1280valid
6.0ms90×body640valid
4.0ms44×body2560valid
2.0ms41×body320valid
1.0ms15×body160valid