Details

Time bar (total: 1.3s)

sample13.0ms

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

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.1b

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

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.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

prune42.0ms

Filtered
20 candidates to 16 candidates (80.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New18220
Fresh000
Picked011
Done000
Total18321

Merged error: 0.0b

Counts
21 → 3

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:
1.0ms
(fma (sqrt x) (sqrt x) (/ (fabs (- y x)) 2.0))

series97.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
088117
1275101
2132695
3500192

prune32.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New13013
Fresh011
Picked011
Done011
Total13316

Merged error: 0.0b

Counts
16 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (/ (fabs (- y x)) 2.0))
0.1b
(pow (+ x (/ (fabs (- y x)) 2.0)) 3)
37.0b
(cbrt (pow (+ x (/ (fabs (- y x)) 2.0)) 3))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
14×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt
unpow-prod-down cube-prod
distribute-lft-out add-log-exp
pow1 add-exp-log cube-div add-cbrt-cube
expm1-log1p-u pow-unpow fma-def flip3-+ flip-+ log1p-expm1-u
cube-mult cbrt-div unpow3 sqr-pow
+-commutative pow-to-exp pow-pow pow1/3 pow-exp sum-log rem-cbrt-cube rem-cube-cbrt
Counts
3 → 73
Calls
3 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))
7.0ms
(pow (+ x (/ (fabs (- y x)) 2.0)) 3)
7.0ms
(cbrt (pow (+ x (/ (fabs (- y x)) 2.0)) 3))

series54.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(+ x (/ (fabs (- y x)) 2.0))
23.0ms
(pow (+ x (/ (fabs (- y x)) 2.0)) 3)
15.0ms
(cbrt (pow (+ x (/ (fabs (- y x)) 2.0)) 3))

simplify37.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0243595
1994555
25002549

prune131.0ms

Filtered
82 candidates to 49 candidates (59.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New81182
Fresh000
Picked011
Done022
Total81485

Merged error: 0.0b

Counts
85 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (fabs (- y x)) 2.0))
0.1b
(pow (+ x (/ (fabs (- y x)) 2.0)) 2)
0.1b
(* (pow (+ x (/ (fabs (- y x)) 2.0)) 2) (+ x (/ (fabs (- y x)) 2.0)))
37.0b
(cbrt (* (pow (+ x (/ (fabs (- y x)) 2.0)) 2) (+ x (/ (fabs (- y x)) 2.0))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×add-sqr-sqrt
10×add-exp-log add-cube-cbrt
unpow-prod-down associate-*l*
pow1 add-cbrt-cube add-log-exp
unpow2
expm1-log1p-u associate-*r/ associate-*r* log1p-expm1-u distribute-lft-out unswap-sqr
pow-unpow fma-def flip3-+ prod-exp flip-+ sqr-pow
pow-to-exp cbrt-div pow3 pow-exp
+-commutative cbrt-prod distribute-rgt-in pow-pow distribute-lft-in pow-plus pow1/3 sum-log *-commutative pow-prod-up rem-cbrt-cube cbrt-unprod
Counts
4 → 90
Calls
4 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))
7.0ms
(pow (+ x (/ (fabs (- y x)) 2.0)) 2)
14.0ms
(* (pow (+ x (/ (fabs (- y x)) 2.0)) 2) (+ x (/ (fabs (- y x)) 2.0)))
12.0ms
(cbrt (* (pow (+ x (/ (fabs (- y x)) 2.0)) 2) (+ x (/ (fabs (- y x)) 2.0))))

series75.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ x (/ (fabs (- y x)) 2.0))
17.0ms
(pow (+ x (/ (fabs (- y x)) 2.0)) 2)
21.0ms
(* (pow (+ x (/ (fabs (- y x)) 2.0)) 2) (+ x (/ (fabs (- y x)) 2.0)))
16.0ms
(cbrt (* (pow (+ x (/ (fabs (- y x)) 2.0)) 2) (+ x (/ (fabs (- y x)) 2.0))))

simplify69.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0336926
11359701
25002680

prune186.0ms

Filtered
102 candidates to 68 candidates (66.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1020102
Fresh000
Picked011
Done033
Total1024106

Merged error: 0.0b

Counts
106 → 4

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

sample302.0ms

Algorithm
intervals
Results
150.0ms7717×body80valid
8.0ms87×body1280valid
6.0ms87×body640valid
6.0ms50×body2560valid
5.0ms39×body320valid
1.0ms21×body160valid