Details

Time bar (total: 3.7s)

analyze480.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
18.7%81.1%0.1%6
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14

sample42.0ms

Algorithm
intervals
Results
9.0ms173×body80valid
8.0ms27×body2560valid
7.0ms28×body1280valid
4.0ms19×body640valid
1.0ms21×body80nan
1.0msbody320valid
1.0ms13×body80invalid
0.0msbody5120valid
0.0msbody160valid

simplify197.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (196.0ms)

IterNodesCost
0193116
1193116

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 33.8b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
0.2b
(- (* b b) (* 4.0 (* a c)))
0.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
13×*-un-lft-identity
add-exp-log add-cbrt-cube
add-log-exp
add-cube-cbrt
times-frac sqrt-prod associate-/l* difference-of-squares
pow1
flip3-- flip--
distribute-lft-out--
cbrt-undiv sub-neg sqrt-div diff-log div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
11.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
4.0ms
(- (* b b) (* 4.0 (* a c)))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series63.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
8.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify38.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
053401316

prune162.0ms

Filtered
62 candidates to 82 candidates (-32.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New75782
Fresh000
Picked101
Done000
Total76783

Merged error: 7.1b

Counts
83 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
0.2b
(- (* b b) (* 4.0 (* a c)))
0.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
13×add-cbrt-cube
12×add-sqr-sqrt
*-un-lft-identity div-exp
pow1 add-log-exp
add-cube-cbrt
prod-exp
cbrt-undiv sqrt-prod
rec-exp flip3-- times-frac 1-exp flip-- associate-/l*
sub-neg pow-flip sqrt-div diff-log cbrt-unprod difference-of-squares
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 pow-prod-down associate-*l/ clear-num associate-/r* associate-/r/ div-inv distribute-lft-out-- inv-pow
Counts
4 → 73
Calls
4 calls:
13.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
4.0ms
(- (* b b) (* 4.0 (* a c)))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series74.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
8.0ms
(- (* b b) (* 4.0 (* a c)))
17.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify38.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049951244
149951244

prune123.0ms

Filtered
57 candidates to 85 candidates (-49.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New82385
Fresh066
Picked011
Done000
Total821092

Merged error: 6.9b

Counts
92 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×sqrt-prod
*-un-lft-identity
pow1 add-cube-cbrt
sqrt-div add-log-exp
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
difference-of-squares
sub-neg diff-log distribute-lft-out--
Counts
4 → 59
Calls
4 calls:
8.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series58.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify38.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04973975
14973975

prune242.0ms

Filtered
58 candidates to 71 candidates (-22.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New69271
Fresh088
Picked011
Done011
Total691281

Merged error: 6.9b

Counts
81 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×sqrt-prod
*-un-lft-identity
pow1 add-cube-cbrt
sqrt-div add-log-exp
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
difference-of-squares
sub-neg diff-log distribute-lft-out--
Counts
4 → 59
Calls
4 calls:
8.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series58.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify39.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04973975
14973975

prune172.0ms

Filtered
58 candidates to 71 candidates (-22.4%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New69271
Fresh189
Picked011
Done022
Total701383

Merged error: 6.9b

Counts
83 → 13

regimes369.0ms

Accuracy

82.3% (5.1b remaining)

Error of 10.9b against oracle of 5.8b and baseline of 34.4b

bsearch48.0ms

Steps
ItersRangePoint
6
2.041973028102089e-153
1.0173100248620036e-152
9.997495995248066e-153
8
-3.235288621317844e+118
-1.6397235269475537e+115
-9.877954748696237e+117

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09240
19240

end0.0ms

sample1.2s

Algorithm
intervals
Results
314.0ms1022×body2560valid
267.0ms5125×body80valid
227.0ms899×body1280valid
99.0ms501×body640valid
40.0ms111×body5120valid
35.0ms663×body80nan
32.0ms219×body320valid
19.0ms377×body80invalid
12.0ms123×body160valid

Profiling

Loading profile data...