Details

Time bar (total: 2.0s)

sample24.0ms

Algorithm
intervals
Results
9.0ms244×body80valid
1.0msbody1280valid
0.0msbody320valid
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

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

series18.0ms

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

prune48.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize11.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))
12.5b
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
29.7b
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

rewrite51.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:
13.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
8.0ms
(- x (/ (fabs (- y x)) 2.0))
3.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
18.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:
18.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
20.0ms
(- x (/ (fabs (- y x)) 2.0))
28.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
53.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

simplify130.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
08823559
140542716
250012673

prune440.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (fabs (- y x)) 2)
0.0b
(- x (/ (fabs (- y x)) 2.0))
13.1b
(fma x x (- (/ (pow (fabs (- y x)) 2) (* 2.0 2.0))))
29.7b
(/ (fma x x (- (/ (pow (fabs (- y x)) 2) (* 2.0 2.0)))) (- x (/ (fabs (- y x)) 2.0)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
77×add-sqr-sqrt
62×*-un-lft-identity
52×add-cube-cbrt
50×times-frac
39×prod-diff
10×difference-of-squares
add-exp-log
associate-/r* add-cbrt-cube add-log-exp
pow1 distribute-lft-out--
expm1-log1p-u log1p-expm1-u div-inv
unpow-prod-down pow-unpow fma-neg associate-/l*
flip3-- associate-/r/ flip--
cbrt-undiv pow-to-exp sub-neg pow-pow frac-2neg diff-log div-exp pow-exp clear-num fma-udef unpow2 sqr-pow
Counts
4 → 132
Calls
4 calls:
1.0ms
(pow (fabs (- y x)) 2)
8.0ms
(- x (/ (fabs (- y x)) 2.0))
0.0ms
(fma x x (- (/ (pow (fabs (- y x)) 2) (* 2.0 2.0))))
12.0ms
(/ (fma x x (- (/ (pow (fabs (- y x)) 2) (* 2.0 2.0)))) (- x (/ (fabs (- y x)) 2.0)))

series123.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(pow (fabs (- y x)) 2)
20.0ms
(- x (/ (fabs (- y x)) 2.0))
34.0ms
(fma x x (- (/ (pow (fabs (- y x)) 2) (* 2.0 2.0))))
60.0ms
(/ (fma x x (- (/ (pow (fabs (- y x)) 2) (* 2.0 2.0)))) (- x (/ (fabs (- y x)) 2.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05562573
119721922
250011809

prune303.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

series101.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
088117
1275101
2132695
3500192

prune31.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample305.0ms

Algorithm
intervals
Results
153.0ms7702×body80valid
11.0ms118×body1280valid
5.0ms67×body640valid
4.0ms41×body2560valid
3.0ms47×body320valid
1.0ms30×body160valid