Details

Time bar (total: 1.9s)

sample15.0ms

Algorithm
intervals
Results
5.0ms248×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody2560valid
0.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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))

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

series20.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
088110
122697
254097
3152297
4500197

prune44.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite126.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:
11.0ms
(+ x (/ (fabs (- y x)) 2.0))
17.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
17.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
76.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series122.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ x (/ (fabs (- y x)) 2.0))
48.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
43.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
16.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

simplify48.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
02871113
111771001
25002967

prune251.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
11.8b
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
29.8b
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
80×add-sqr-sqrt
69×times-frac
53×*-un-lft-identity
43×add-cube-cbrt
18×difference-of-squares
17×add-exp-log add-cbrt-cube
13×swap-sqr associate-*r* associate-*l*
10×pow1
associate-/r*
cbrt-undiv div-exp div-inv distribute-lft-out-- add-log-exp
prod-exp cbrt-unprod associate-/l* unswap-sqr
expm1-log1p-u flip3-- flip-- log1p-expm1-u
associate-/r/ associate-/l/
pow2 frac-times sub-neg frac-2neg pow-plus fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num pow-sqr *-commutative pow-prod-up
Counts
3 → 139
Calls
3 calls:
24.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
8.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)))

series93.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
30.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
46.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

simplify101.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
06462101
133281854
250031796

prune347.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 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))

series98.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
088117
1275101
2132695
3500192

prune37.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample347.0ms

Algorithm
intervals
Results
151.0ms7705×body80valid
9.0ms112×body1280valid
5.0ms51×body2560valid
5.0ms70×body640valid
2.0ms43×body320valid
1.0ms21×body160valid