Details

Time bar (total: 3.3s)

sample14.0ms

Algorithm
intervals
Results
5.0ms247×body80valid
0.0msbody2560valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0104
1114
2114

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite11.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:
10.0ms
(+ x (/ (fabs (- y x)) 2.0))

series18.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
088110
122697
254097
3152297
4500197

prune47.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (fabs (- y x)) 2.0))
0.0b
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
0.0b
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
0.4b
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
35×*-un-lft-identity
34×sqrt-prod
21×pow1
16×sqrt-div
15×add-cube-cbrt
11×swap-sqr
10×sqrt-pow1 pow1/2
flip3-+ flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log add-cbrt-cube add-log-exp
pow-prod-up
expm1-log1p-u frac-times hypot-def log1p-expm1-u unswap-sqr
fma-def pow-prod-down pow-sqr
rem-sqrt-square times-frac associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 121
Calls
4 calls:
11.0ms
(+ x (/ (fabs (- y x)) 2.0))
17.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
17.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
92.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series160.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ x (/ (fabs (- y x)) 2.0))
54.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
71.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
18.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

simplify45.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02871107
111251001
25002967

prune427.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite14.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:
10.0ms
(* (cbrt x) (cbrt x))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series725.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(* (cbrt x) (cbrt x))
185.0ms
(cbrt x)
174.0ms
(cbrt x)
170.0ms
(cbrt x)

simplify85.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune273.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
0.3b
(* (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (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)))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
17×associate-*r*
16×add-sqr-sqrt
14×sqrt-div
12×cbrt-prod add-cube-cbrt sqrt-prod
11×pow1 add-exp-log add-cbrt-cube
10×cbrt-div associate-*r/
flip3-+ flip-+
expm1-log1p-u frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out add-log-exp
pow1/3 associate-*l/ *-commutative unswap-sqr
Counts
4 → 94
Calls
4 calls:
38.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
79.0ms
(* (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
8.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
11.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series271.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
82.0ms
(* (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
56.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
53.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06552026
125291872
250021822

prune349.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

regimes75.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
084
184

end0.0ms

sample333.0ms

Algorithm
intervals
Results
144.0ms7708×body80valid
8.0ms101×body1280valid
5.0ms52×body2560valid
5.0ms75×body640valid
2.0ms46×body320valid
1.0ms19×body160valid