Details

Time bar (total: 2.3s)

sample13.0ms

Algorithm
intervals
Results
5.0ms245×body80valid
1.0msbody1280valid
0.0msbody2560valid
0.0msbody640valid
0.0msbody160valid

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

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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 add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ sum-log add-cbrt-cube flip-+ distribute-lft-out
Counts
1 → 12
Calls
1 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))

series20.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

prune32.0ms

Filtered
15 candidates to 11 candidates (73.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.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
frac-times add-cbrt-cube 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 → 95
Calls
4 calls:
47.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
8.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series207.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03641473
112021394
250011293

prune270.0ms

Filtered
107 candidates to 75 candidates (70.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
0.6b
(cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
0.6b
(cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
0.6b
(cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0)))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
62×cbrt-div
19×flip3-+ flip-+
12×frac-times
cbrt-prod *-un-lft-identity
associate-*r/ associate-*l/
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
distribute-lft-out
Counts
4 → 65
Calls
4 calls:
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
14.0ms
(cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
14.0ms
(cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
14.0ms
(cbrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0)))))

series198.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
03351627
19021541
231411526
350011526

prune293.0ms

Filtered
77 candidates to 63 candidates (81.8%)
Pruning

6 alts after pruning (4 fresh and 2 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))))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity sqrt-prod
28×add-sqr-sqrt
21×pow1
16×sqrt-div
14×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
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 106
Calls
4 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))
13.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
11.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
49.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series133.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02731069
11125971
25001937

prune210.0ms

Filtered
118 candidates to 65 candidates (55.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

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

sample313.0ms

Algorithm
intervals
Results
161.0ms7680×body80valid
10.0ms114×body1280valid
6.0ms80×body640valid
6.0ms49×body2560valid
3.0ms60×body320valid
1.0ms19×body160valid