Details

Time bar (total: 3.6s)

sample52.0ms

Algorithm
intervals
Results
10.0ms36×body2560valid
9.0ms184×body80valid
5.0ms23×body1280valid
4.0ms89×body80nan
3.0ms18×body640valid
1.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.7b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
25.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite27.0ms

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

series66.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
9.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0394773
11501683
25002673

prune163.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New721082
Fresh000
Picked011
Done000
Total721183

Merged error: 5.7b

Counts
83 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.8b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
9.3b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
25.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
18.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series137.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
45.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
61.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify102.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06352693
129742447
250012434

prune284.0ms

Filtered
111 candidates to 166 candidates (-49.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1615166
Fresh459
Picked101
Done011
Total16611177

Merged error: 5.6b

Counts
177 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* 4.0 (* a c)))
0.7b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
16.8b
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
25.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
10×add-sqr-sqrt add-log-exp
*-un-lft-identity prod-exp cbrt-unprod
cbrt-undiv div-exp
pow1 add-cube-cbrt
flip3-- sqrt-prod flip--
diff-log
sub-neg sqrt-div associate-*r/ associate-/r/ distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 times-frac pow1/2 neg-log clear-num associate-/r* div-inv associate-/l*
Counts
4 → 72
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
13.0ms
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series86.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
46.0ms
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify65.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0470942
12684750
25002742

prune130.0ms

Filtered
58 candidates to 84 candidates (-44.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New82284
Fresh369
Picked011
Done011
Total851095

Merged error: 5.6b

Counts
95 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 4.0 (/ (* 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) c))
0.4b
(- (* b b) (* 4.0 (* a c)))
0.7b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
25.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
33×times-frac
26×add-sqr-sqrt
25×*-un-lft-identity
21×add-cube-cbrt
16×add-exp-log
13×add-cbrt-cube
10×add-log-exp
div-exp associate-/r*
pow1 cbrt-undiv div-inv
sqrt-prod
flip3-- diff-log flip-- associate-/l*
sub-neg sqrt-div prod-exp distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 pow1/2 1-exp neg-log clear-num associate-/r/ cbrt-unprod
Counts
4 → 94
Calls
4 calls:
11.0ms
(/ 4.0 (/ (* 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) c))
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series74.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05451186
123191074
250011074

prune152.0ms

Filtered
80 candidates to 106 candidates (-32.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1042106
Fresh347
Picked101
Done112
Total1097116

Merged error: 5.6b

Counts
116 → 7

regimes350.0ms

Accuracy

95.7% (1.0b remaining)

Error of 6.6b against oracle of 5.5b and baseline of 29.8b

bsearch103.0ms

Steps
ItersRangePoint
7
7.012417207579252e+108
1.3633655355432952e+110
2.821264388342136e+109
10
-7.55890950842511e-252
-1.434145681223809e-265
-2.6427022137303496e-260
9
-8.123118303304505e+80
-8.66777673642249e+74
-3.453036615513107e+80

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04626
14626

end0.0ms

sample1.5s

Algorithm
intervals
Results
321.0ms1105×body2560valid
296.0ms5835×body80valid
207.0ms853×body1280valid
144.0ms2894×body80nan
87.0ms472×body640valid
39.0ms112×body5120valid
34.0ms232×body320valid
12.0ms125×body160valid

Profiling

Loading profile data...