Details

Time bar (total: 5.0s)

sample34.0ms

Algorithm
intervals
Results
14.0ms272×body80valid
4.0ms75×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03618
16718
212318
316018
417518
517718
617718

prune3.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: 20.0b

Counts
2 → 1

localize119.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
58×*-un-lft-identity
56×add-sqr-sqrt
50×add-cube-cbrt
37×sqrt-prod
26×distribute-rgt-neg-in
24×distribute-lft-neg-in
12×add-log-exp
10×fma-def fma-neg
neg-mul-1
pow1
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
flip3-- flip--
neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 151
Calls
4 calls:
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(+ (- b) (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)))

series292.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify65.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04183056
114712008
250011917

prune388.0ms

Filtered
163 candidates to 92 candidates (56.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1576163
Fresh000
Picked101
Done000
Total1586164

Merged error: 6.9b

Counts
164 → 6

localize122.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.9b
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
4.3b
(/ (* a c) b)
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
55×add-sqr-sqrt
54×*-un-lft-identity
50×add-cube-cbrt
34×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
14×add-exp-log add-cbrt-cube
10×fma-neg
add-log-exp
neg-mul-1
times-frac
pow1
cbrt-undiv expm1-log1p-u div-exp associate-/r* log1p-expm1-u associate-/l*
flip3-- flip--
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod div-inv associate-/l/ distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 div-sub neg-log
Counts
4 → 156
Calls
4 calls:
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
10.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
5.0ms
(/ (* a c) b)
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series251.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
81.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
19.0ms
(/ (* a c) b)
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify89.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06513102
127072019
250021941

prune408.0ms

Filtered
168 candidates to 89 candidates (53.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1644168
Fresh325
Picked101
Done000
Total1686174

Merged error: 6.4b

Counts
174 → 6

localize118.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 c) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.6b
(- (* b b) (* (* 4.0 a) c))
1.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/r*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/r/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 156
Calls
4 calls:
12.0ms
(/ (* 2.0 c) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series374.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(/ (* 2.0 c) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
48.0ms
(- (* b b) (* (* 4.0 a) c))
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify80.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05453278
121142181
250022098

prune375.0ms

Filtered
168 candidates to 88 candidates (52.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1653168
Fresh325
Picked101
Done000
Total1695174

Merged error: 6.2b

Counts
174 → 5

localize120.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* (* 4.0 a) c))
5.5b
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
18.1b
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
91×prod-diff
75×add-sqr-sqrt
72×*-un-lft-identity
68×add-cube-cbrt log-prod exp-sum
37×sqrt-prod
31×distribute-rgt-neg-in
30×distribute-lft-neg-in
11×fma-neg
10×neg-mul-1 add-log-exp
pow1
exp-prod
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
diff-log log-pow difference-of-squares
sub-neg log-div sqrt-pow1 pow1/2 exp-diff distribute-lft-out--
associate--l- neg-sub0 rem-sqrt-square neg-log rem-exp-log
Counts
4 → 178
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
6.0ms
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
13.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series275.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- (* b b) (* (* 4.0 a) c))
74.0ms
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
82.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify77.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05475049
116292594
250012469

prune352.0ms

Filtered
190 candidates to 84 candidates (44.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1891190
Fresh044
Picked101
Done000
Total1905195

Merged error: 6.2b

Counts
195 → 5

regimes151.0ms

Accuracy

90.2% (1.6b remaining)

Error of 7.8b against oracle of 6.2b and baseline of 22.9b

bsearch324.0ms

Steps
ItersRangePoint
9
1.314833454423355e+61
1.6016599845544569e+66
4.0655806569220817e+64
10
-1.3066530250093286e-290
-5.2386176618841106e-303
-5.297320404694129e-303
10
-1.5021501144069279e+69
-2.501148282372368e+59
-1.2963688795759268e+64

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06689
16689

end0.0ms

sample855.0ms

Algorithm
intervals
Results
459.0ms8710×body80valid
146.0ms2908×body80nan