Details

Time bar (total: 2.5s)

sample14.0ms

Algorithm
intervals
Results
5.0ms249×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid

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

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

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

prune50.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

series95.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
088117
1275101
2132695
3500192

prune36.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize10.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))
14.5b
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
34.6b
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

rewrite88.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:
22.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
12.0ms
(- x (/ (fabs (- y x)) 2.0))
11.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
35.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
17.0ms
(- x (/ (fabs (- y x)) 2.0))
28.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
52.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

simplify136.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
08823559
140542716
250012673

prune459.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

17.5b
(/ (* (cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))) (cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))) (* (cbrt (- x (/ (fabs (- y x)) 2.0))) (cbrt (- x (/ (fabs (- y x)) 2.0)))))
35.6b
(cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))
35.6b
(cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))
35.6b
(cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-div
16×add-exp-log
15×flip3-- flip--
12×cbrt-prod
frac-times associate-/r/ add-cbrt-cube associate-/l/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 cbrt-undiv expm1-log1p-u associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod log1p-expm1-u add-log-exp
pow1/3 difference-of-squares
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
Counts
4 → 87
Calls
4 calls:
54.0ms
(/ (* (cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))) (cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))) (* (cbrt (- x (/ (fabs (- y x)) 2.0))) (cbrt (- x (/ (fabs (- y x)) 2.0)))))
6.0ms
(cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))

series436.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ (* (cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))) (cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))) (* (cbrt (- x (/ (fabs (- y x)) 2.0))) (cbrt (- x (/ (fabs (- y x)) 2.0)))))
102.0ms
(cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))
100.0ms
(cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))
103.0ms
(cbrt (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))))

simplify62.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04892520
118462127
250022095

prune396.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

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

sample331.0ms

Algorithm
intervals
Results
145.0ms7690×body80valid
8.0ms103×body1280valid
6.0ms94×body640valid
5.0ms51×body2560valid
2.0ms39×body320valid
1.0ms25×body160valid