Details

Time bar (total: 1.8s)

analyze19.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
50%50%0.1%2
50%50%0.1%3
74.9%25%0.1%4
74.9%25%0.1%5
87.4%12.5%0.1%6
87.4%12.5%0.1%7
93.7%6.2%0.1%8
93.7%6.2%0.1%9
96.8%3.1%0.1%10
96.8%3.1%0.1%11
98.3%1.6%0.1%12
98.3%1.6%0.1%13
99.1%0.8%0.1%14

sample14.0ms

Algorithm
intervals
Results
6.0ms241×body80valid
1.0msbody1280valid
1.0msbody2560valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
088
188

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

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

series4.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05064171

prune27.0ms

Filtered
11 candidates to 15 candidates (-36.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12315
Fresh000
Picked011
Done000
Total12416

Merged error: 0.0b

Counts
16 → 4

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

rewrite37.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:
5.0ms
(+ x (/ (fabs (- y x)) 2.0))
5.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
18.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series36.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ x (/ (fabs (- y x)) 2.0))
14.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
13.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

simplify57.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049721627
149721627

prune143.0ms

Filtered
67 candidates to 118 candidates (-76.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1153118
Fresh112
Picked011
Done011
Total1166122

Merged error: 0.0b

Counts
122 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
16×add-sqr-sqrt
14×sqrt-div
13×associate-*r*
12×cbrt-prod add-cube-cbrt sqrt-prod
11×pow1 add-exp-log add-cbrt-cube
10×cbrt-div associate-*l/
flip3-+ flip-+
associate-*l*
frac-times pow-prod-down prod-exp cbrt-unprod distribute-lft-out add-log-exp
pow1/3 associate-*r/ *-commutative unswap-sqr
Counts
4 → 86
Calls
4 calls:
18.0ms
(* (* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
8.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series106.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* (* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
29.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
18.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
19.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify46.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
050382872

prune257.0ms

Filtered
75 candidates to 98 candidates (-30.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New97198
Fresh213
Picked011
Done022
Total995104

Merged error: 0.0b

Counts
104 → 5

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

rewrite33.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:
14.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series81.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
18.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
18.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
21.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049401988
149401988

prune266.0ms

Filtered
77 candidates to 107 candidates (-39.0%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1070107
Fresh011
Picked011
Done033
Total1075112

Merged error: 0.0b

Counts
112 → 5

regimes149.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
088
188

end0.0ms

analyze19.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
50%50%0.1%2
50%50%0.1%3
74.9%25%0.1%4
74.9%25%0.1%5
87.4%12.5%0.1%6
87.4%12.5%0.1%7
93.7%6.2%0.1%8
93.7%6.2%0.1%9
96.8%3.1%0.1%10
96.8%3.1%0.1%11
98.3%1.6%0.1%12
98.3%1.6%0.1%13
99.1%0.8%0.1%14

sample338.0ms

Algorithm
intervals
Results
183.0ms7669×body80valid
12.0ms114×body1280valid
11.0ms84×body640valid
7.0ms54×body2560valid
4.0ms58×body320valid
1.0ms21×body160valid
0.0msbody80invalid

Profiling

Loading profile data...