Details

Time bar (total: 3.5s)

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

sample43.0ms

Algorithm
intervals
Results
8.0ms165×body80valid
8.0ms29×body2560valid
7.0ms29×body1280valid
4.0ms21×body640valid
1.0ms28×body80nan
1.0msbody320valid
1.0msbody5120valid
1.0ms16×body80invalid
0.0msbody160valid

simplify206.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (205.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: 31.3b

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))
1.0b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.6b
(- (* b b) (* 4.0 (* a c)))
20.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite26.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:
10.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series62.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
14.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
8.0ms
(- (* b b) (* 4.0 (* a c)))
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

prune155.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New75782
Fresh000
Picked011
Done000
Total75883

Merged error: 4.9b

Counts
83 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
1.0b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.6b
(- (* b b) (* 4.0 (* a c)))
20.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite29.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:
12.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series71.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
16.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
8.0ms
(- (* b b) (* 4.0 (* a c)))
13.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify37.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
049951244
149951244

prune126.0ms

Filtered
58 candidates to 85 candidates (-46.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New82385
Fresh066
Picked011
Done011
Total821193

Merged error: 4.8b

Counts
93 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* 4.0 (* a c)))
10.3b
(- (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))) b)
21.5b
(cbrt (- (* b b) (* 4.0 (* a c))))
21.5b
(cbrt (- (* b b) (* 4.0 (* a c))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div flip3-- add-cbrt-cube flip--
sub-neg pow1/3 diff-log
Counts
4 → 48
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))) b)
4.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

series88.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* 4.0 (* a c)))
31.0ms
(- (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))) b)
23.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
25.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

simplify35.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050441083

prune168.0ms

Filtered
53 candidates to 60 candidates (-13.2%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New60060
Fresh088
Picked011
Done022
Total601171

Merged error: 4.8b

Counts
71 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

15.4b
(- (* (* (cbrt (sqrt (- (* b b) (* 4.0 (* a c))))) (cbrt (sqrt (- (* b b) (* 4.0 (* a c)))))) (cbrt (sqrt (- (* b b) (* 4.0 (* a c)))))) b)
20.6b
(sqrt (- (* b b) (* 4.0 (* a c))))
20.6b
(sqrt (- (* b b) (* 4.0 (* a c))))
20.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div add-log-exp
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
sub-neg diff-log
Counts
4 → 56
Calls
4 calls:
21.0ms
(- (* (* (cbrt (sqrt (- (* b b) (* 4.0 (* a c))))) (cbrt (sqrt (- (* b b) (* 4.0 (* a c)))))) (cbrt (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))))

series57.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05056868

prune160.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

11 alts after pruning (7 fresh and 4 done)

PrunedKeptTotal
New67168
Fresh167
Picked011
Done033
Total681179

Merged error: 4.8b

Counts
79 → 11

regimes310.0ms

Accuracy

88.7% (3.1b remaining)

Error of 8.6b against oracle of 5.6b and baseline of 32.6b

bsearch78.0ms

Steps
ItersRangePoint
10
2.5312074942013306e+65
2.4839001300170943e+77
4.4076190914119784e+69
2
2.8395686309221393e-123
3.041035527734523e-123
2.9121987620533157e-123
9
-1.3801073068520631e+159
-1.436433112909709e+151
-2.282303906287587e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010971
110971

end0.0ms

sample1.2s

Algorithm
intervals
Results
292.0ms973×body2560valid
270.0ms5247×body80valid
213.0ms880×body1280valid
92.0ms478×body640valid
38.0ms101×body5120valid
35.0ms674×body80nan
29.0ms199×body320valid
21.0ms421×body80invalid
12.0ms122×body160valid

Profiling

Loading profile data...