Details

Time bar (total: 2.0s)

sample14.0ms

Algorithm
intervals
Results
6.0ms252×body80valid
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

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

simplify50.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
088110
122697
254097
3152297
4500197

prune77.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: 0b

Counts
21 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.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:
26.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
9.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
9.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
9.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series205.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03751533
112671446
250011341

prune341.0ms

Filtered
115 candidates to 83 candidates (72.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1150115
Fresh033
Picked011
Done011
Total1155120

Merged error: 0b

Counts
120 → 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))))

rewrite36.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:
5.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)))
15.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series129.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
02871107
111251001
25002967

prune221.0ms

Filtered
133 candidates to 78 candidates (58.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1330133
Fresh022
Picked011
Done022
Total1335138

Merged error: 0b

Counts
138 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(log1p (+ x (/ (fabs (- y x)) 2.0)))
0.0b
(+ x (/ (fabs (- y x)) 2.0))
3.4b
(expm1 (log1p (+ x (/ (fabs (- y x)) 2.0))))

rewrite8.0ms

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

series142.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(log1p (+ x (/ (fabs (- y x)) 2.0)))
16.0ms
(+ x (/ (fabs (- y x)) 2.0))
94.0ms
(expm1 (log1p (+ x (/ (fabs (- y x)) 2.0))))

simplify33.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0306391
11117349
25001327

prune126.0ms

Filtered
48 candidates to 37 candidates (77.1%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New48048
Fresh011
Picked011
Done033
Total48553

Merged error: 0b

Counts
53 → 5

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

sample336.0ms

Algorithm
intervals
Results
184.0ms7728×body80valid
12.0ms115×body1280valid
5.0ms64×body640valid
4.0ms29×body2560valid
3.0ms45×body320valid
1.0ms24×body160valid

Profiling

Loading profile data...