Details

Time bar (total: 2.7s)

sample13.0ms

Algorithm
intervals
Results
5.0ms251×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody160valid

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

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series22.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
088110
122697
254097
3152297
4500197

prune52.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

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

series210.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
52.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
54.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
47.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))

simplify51.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03751533
112741446
250011341

prune317.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
36×*-un-lft-identity
24×add-sqr-sqrt
18×cbrt-div
16×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 sqrt-prod add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
sqrt-div associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 106
Calls
4 calls:
7.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
52.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))

series204.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05041599
117091508
250021402

prune360.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (/ (fabs (- y x)) 2.0))
0.0b
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
12.4b
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
29.4b
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

rewrite53.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:
9.0ms
(- x (/ (fabs (- y x)) 2.0))
13.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
3.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
19.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

series122.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- x (/ (fabs (- y x)) 2.0))
18.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
27.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
54.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

simplify129.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
08823559
140562716
250012673

prune452.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

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

sample303.0ms

Algorithm
intervals
Results
157.0ms7698×body80valid
10.0ms114×body1280valid
6.0ms77×body640valid
5.0ms46×body2560valid
2.0ms44×body320valid
1.0ms22×body160valid