Details

Time bar (total: 4.9s)

sample62.0ms

Algorithm
intervals
Results
10.0ms42×body1280valid
9.0ms180×body80valid
8.0ms28×body2560valid
4.0ms95×body80nan
3.0ms20×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.7b

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.6b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
0.8b
(- (* b b) (* 4.0 (* a c)))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite32.0ms

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

series307.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
81.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
50.0ms
(- (* b b) (* 4.0 (* a c)))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0398888
11466803
25001798

prune564.0ms

Filtered
89 candidates to 65 candidates (73.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New781189
Fresh000
Picked011
Done000
Total781290

Merged error: 5.7b

Counts
90 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
0.6b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
0.8b
(- (* b b) (* 4.0 (* a c)))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
67×times-frac
48×add-sqr-sqrt
47×*-un-lft-identity
27×add-cube-cbrt
25×add-exp-log
13×associate-/r* add-cbrt-cube
12×div-exp
10×distribute-lft-out-- add-log-exp difference-of-squares
associate-/r/
sqrt-prod
flip3-- flip--
pow1
cbrt-undiv distribute-rgt-neg-in div-inv
rec-exp diff-log 1-exp prod-exp associate-/l*
sub-neg sqrt-div
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 125
Calls
4 calls:
14.0ms
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
8.0ms
(- (neg 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))))

series357.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
80.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
45.0ms
(- (* b b) (* 4.0 (* a c)))
78.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify66.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05381801
125731602
250021528

prune362.0ms

Filtered
137 candidates to 73 candidates (53.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1352137
Fresh6410
Picked101
Done011
Total1427149

Merged error: 5.6b

Counts
149 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* 4.0 (* a c)))
13.8b
(/ (* (/ 1 2.0) (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) a)
17.8b
(- (pow b 2) (pow b 2))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
22×unpow-prod-down
19×add-exp-log *-un-lft-identity
16×difference-of-squares
15×add-cube-cbrt
13×add-cbrt-cube
12×unpow2 sqr-pow
10×distribute-rgt-out--
distribute-lft-out-- add-log-exp
div-exp
pow1 associate-/l/
cbrt-undiv prod-exp
flip3-- times-frac associate-/r* sqrt-prod flip--
frac-times sub-neg flip3-+ sqrt-div diff-log associate-*r/ cbrt-unprod flip-+
rem-sqrt-square rec-exp frac-2neg sqrt-pow1 pow1/2 +-inverses 1-exp associate-*l/ clear-num div-inv associate-/l*
Counts
4 → 104
Calls
4 calls:
3.0ms
(- (* b b) (* 4.0 (* a c)))
24.0ms
(/ (* (/ 1 2.0) (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) a)
8.0ms
(- (pow b 2) (pow b 2))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series136.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* 4.0 (* a c)))
13.0ms
(/ (* (/ 1 2.0) (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) a)
1.0ms
(- (pow b 2) (pow b 2))
78.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify174.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (164.0ms)

IterNodesCost
0522717
13461529
25002480

prune427.0ms

Filtered
116 candidates to 73 candidates (62.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1151116
Fresh055
Picked011
Done011
Total1158123

Merged error: 5.6b

Counts
123 → 8

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New000
Fresh055
Picked011
Done022
Total088

Merged error: 5.6b

Counts
8 → 8

regimes414.0ms

Accuracy

85.5% (4.1b remaining)

Error of 9.7b against oracle of 5.7b and baseline of 33.8b

bsearch283.0ms

Steps
ItersRangePoint
9
2.3323746097403884e+36
1.0155011232908699e+43
2.235685726167663e+41
6
-2.512711951602168e-115
-3.096954504010573e-116
-2.08196289830872e-115
10
-4.757783429561899e-58
-1.0962666198699125e-67
-1.1310572602841707e-67
8
-1.2894641576671917e+86
-1.66941495381885e+82
-7.650194942667988e+84

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05535
15535

end1.0ms

sample1.5s

Algorithm
intervals
Results
301.0ms1054×body2560valid
282.0ms5828×body80valid
209.0ms930×body1280valid
137.0ms2915×body80nan
83.0ms473×body640valid
48.0ms130×body5120valid
26.0ms196×body320valid
11.0ms125×body160valid

Profiling

Loading profile data...