Details

Time bar (total: 3.6s)

sample59.0ms

Algorithm
intervals
Results
10.0ms33×body2560valid
10.0ms176×body80valid
8.0ms29×body1280valid
4.0ms78×body80nan
3.0ms16×body640valid
3.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09116
19116

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: 35.5b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
1.0b
(- (* b b) (* 4.0 (* a c)))
1.7b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite33.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 → 72
Calls
4 calls:
12.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
8.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series71.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
10.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049591319
149591319

prune173.0ms

Filtered
62 candidates to 84 candidates (-35.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New75984
Fresh000
Picked011
Done000
Total751085

Merged error: 5.7b

Counts
85 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* 4.0 (* a c)))
3.8b
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
9.9b
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
21.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
54×times-frac
50×*-un-lft-identity
31×add-sqr-sqrt
30×add-cube-cbrt
21×associate-/l*
18×add-exp-log add-cbrt-cube
10×distribute-lft-out
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 associate-/r*
div-inv
flip3-- flip3-+ div-sub distribute-frac-neg sqrt-prod flip-- flip-+ associate-/l/
frac-2neg sub0-neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 122
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
10.0ms
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series140.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (* b b) (* 4.0 (* a c)))
48.0ms
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
67.0ms
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify39.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
050943114

prune269.0ms

Filtered
100 candidates to 134 candidates (-34.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1295134
Fresh358
Picked101
Done011
Total13311144

Merged error: 5.6b

Counts
144 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
1.0b
(- (* b b) (* 4.0 (* a c)))
15.0b
(/ (* a c) (* a 2.0))
21.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite23.0ms

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

series47.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
10.0ms
(- (* b b) (* 4.0 (* a c)))
3.0ms
(/ (* a c) (* a 2.0))
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify37.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
04941742
14941742

prune128.0ms

Filtered
51 candidates to 72 candidates (-41.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh189
Picked101
Done011
Total731083

Merged error: 5.6b

Counts
83 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
0.5b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
1.0b
(- (* b b) (* 4.0 (* a c)))
21.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
15×add-sqr-sqrt
14×add-cube-cbrt
12×times-frac
add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-lft-out
associate-/r*
sqrt-prod associate-/l*
flip3-- flip3-+ sqrt-div associate-/r/ flip-- flip-+
cbrt-undiv +-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-exp clear-num sum-log div-inv
Counts
4 → 72
Calls
4 calls:
8.0ms
(/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
6.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series73.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
19.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
10.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify43.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
055311322

prune133.0ms

Filtered
64 candidates to 84 candidates (-31.3%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New81384
Fresh268
Picked011
Done011
Total831194

Merged error: 5.6b

Counts
94 → 11

regimes335.0ms

Accuracy

95.2% (1.2b remaining)

Error of 6.9b against oracle of 5.7b and baseline of 29.6b

bsearch88.0ms

Steps
ItersRangePoint
6
1.1487243557305423e+102
6.148420459531844e+102
2.480507165822079e+102
7
-3.9639939611996993e-296
-1.2313747004456891e-297
-2.459714357747724e-297
9
-1.5966504054646543e+104
-1.4637683111029664e+99
-4.7868277875676773e+101

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05161
15161

end0.0ms

sample1.8s

Algorithm
intervals
Results
346.0ms1070×body2560valid
344.0ms5830×body80valid
236.0ms906×body1280valid
165.0ms2972×body80nan
102.0ms484×body640valid
53.0ms130×body5120valid
31.0ms198×body320valid
11.0ms102×body160valid

Profiling

Loading profile data...