Details

Time bar (total: 2.9s)

sample13.0ms

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

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

prune2.0ms

Filtered
1 candidates to 0 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 → 1

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

series27.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
088110
122697
254097
3152297
4500197

prune48.0ms

Filtered
20 candidates to 16 candidates (80.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New16420
Fresh000
Picked011
Done000
Total16521

Merged error: 0.0b

Counts
21 → 5

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

rewrite40.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:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))
6.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
19.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series127.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ x (/ (fabs (- y x)) 2.0))
45.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
50.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
17.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

simplify46.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02871107
111251001
25002967

prune228.0ms

Filtered
133 candidates to 79 candidates (59.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1312133
Fresh213
Picked011
Done011
Total1335138

Merged error: 0b

Counts
138 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

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

series726.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt x)
180.0ms
(cbrt x)
172.0ms
(cbrt x)
196.0ms
(* (cbrt x) (cbrt x))

simplify118.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0119308
1484281
22976258
35001255

prune269.0ms

Filtered
93 candidates to 72 candidates (77.4%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New93093
Fresh022
Picked011
Done022
Total93598

Merged error: 0b

Counts
98 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
0.0b
(- x (/ (fabs (- y x)) 2.0))
11.9b
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
27.8b
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
121×add-sqr-sqrt
97×times-frac
91×*-un-lft-identity
79×add-cube-cbrt
40×prod-diff
20×difference-of-squares
18×add-exp-log add-cbrt-cube
13×swap-sqr associate-*r* associate-*l*
11×pow1
div-inv add-log-exp
associate-/r* distribute-lft-out--
cbrt-undiv div-exp
expm1-log1p-u flip3-- fma-neg prod-exp flip-- cbrt-unprod log1p-expm1-u associate-/l* unswap-sqr
sub-neg diff-log associate-/r/ associate-/l/
pow2 frac-times frac-2neg pow-plus div-sub associate-*r/ pow-prod-down associate-*l/ clear-num pow-sqr *-commutative pow-prod-up
Counts
4 → 198
Calls
4 calls:
15.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
7.0ms
(- x (/ (fabs (- y x)) 2.0))
4.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
12.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

series125.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
18.0ms
(- x (/ (fabs (- y x)) 2.0))
36.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
51.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

simplify139.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (111.0ms)

IterNodesCost
08823559
140542716
250012673

prune410.0ms

Filtered
210 candidates to 140 candidates (66.7%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New2100210
Fresh011
Picked011
Done033
Total2105215

Merged error: 0b

Counts
215 → 5

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

sample319.0ms

Algorithm
intervals
Results
154.0ms7672×body80valid
15.0ms126×body1280valid
5.0ms50×body2560valid
5.0ms72×body640valid
3.0ms61×body320valid
1.0ms20×body160valid