Details

Time bar (total: 5.4s)

sample290.0ms

Algorithm
intervals
Results
12.0ms41×body2560valid
10.0ms34×body1280valid
9.0ms172×body80valid
5.0ms98×body80nan
2.0ms13×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1337
2467
3497
4497

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

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.4b
(- (* b_2 b_2) (* a c))
1.1b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
18.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
78×*-un-lft-identity
61×prod-diff
58×add-cube-cbrt
38×sqrt-prod
26×distribute-rgt-neg-in
21×distribute-lft-neg-in times-frac
11×fma-neg
10×distribute-lft-out-- add-log-exp difference-of-squares
neg-mul-1 associate-/l*
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 171
Calls
4 calls:
15.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
17.0ms
(- (* b_2 b_2) (* a c))
10.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
36.0ms
(- (* b_2 b_2) (* a c))
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
75.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify73.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05493055
118262150
250022063

prune320.0ms

Filtered
183 candidates to 97 candidates (53.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New17310183
Fresh000
Picked101
Done000
Total17410184

Merged error: 3.4b

Counts
184 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
0.4b
(- (* b_2 b_2) (* a c))
1.1b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
18.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
171×add-sqr-sqrt
170×*-un-lft-identity
165×times-frac
118×add-cube-cbrt
61×prod-diff
46×sqrt-prod
34×distribute-rgt-neg-in
27×associate-/r*
26×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
15×add-exp-log
11×fma-neg
10×add-log-exp
associate-/r/ add-cbrt-cube
neg-mul-1 flip3-- div-exp flip--
pow1
div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv diff-log associate-/l*
sub-neg rec-exp sqrt-div 1-exp
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num inv-pow
Counts
4 → 257
Calls
4 calls:
18.0ms
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
4.0ms
(- (* b_2 b_2) (* a c))
11.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
35.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify102.0ms

Algorithm
egg-herbie
Counts
269 → 269
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07704550
132153424
250023236

prune326.0ms

Filtered
269 candidates to 112 candidates (41.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2654269
Fresh459
Picked011
Done000
Total26910279

Merged error: 3.3b

Counts
279 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ 1 a) (/ 1 (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
0.4b
(- (* b_2 b_2) (* a c))
1.1b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
18.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
897×times-frac
569×add-sqr-sqrt
568×*-un-lft-identity
396×add-cube-cbrt
86×distribute-lft-out-- difference-of-squares
76×sqrt-prod
64×distribute-rgt-neg-in
61×prod-diff
44×add-exp-log
43×div-inv
32×div-exp
29×associate-/r/
27×associate-/r*
21×distribute-lft-neg-in
17×flip3-- flip--
16×add-cbrt-cube
13×associate-/l*
11×fma-neg
10×add-log-exp
cbrt-undiv rec-exp 1-exp
neg-mul-1
pow1
expm1-log1p-u log1p-expm1-u
diff-log
sub-neg sqrt-div
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 neg-log clear-num associate-/l/
Counts
4 → 548
Calls
4 calls:
22.0ms
(/ (/ 1 a) (/ 1 (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
4.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ (/ 1 a) (/ 1 (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
33.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify131.0ms

Algorithm
egg-herbie
Counts
560 → 560
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
0188710995
150019278

prune650.0ms

Filtered
560 candidates to 199 candidates (35.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New5600560
Fresh088
Picked011
Done011
Total56010570

Merged error: 3.3b

Counts
570 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
18.6b
(sqrt (- (* b_2 b_2) (* a c)))
18.6b
(sqrt (- (* b_2 b_2) (* a c)))
18.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
55×add-sqr-sqrt
52×*-un-lft-identity
48×add-cube-cbrt
40×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
10×fma-neg
add-log-exp
pow1 neg-mul-1
sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
diff-log distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg neg-log
Counts
4 → 141
Calls
4 calls:
10.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify56.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03692603
112031735
250011648

prune314.0ms

Filtered
153 candidates to 83 candidates (54.2%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1521153
Fresh167
Picked011
Done022
Total15310163

Merged error: 3.3b

Counts
163 → 10

regimes277.0ms

Accuracy

84.6% (4.4b remaining)

Error of 10.2b against oracle of 5.8b and baseline of 34.2b

bsearch110.0ms

Steps
ItersRangePoint
9
1.537663903506608e+146
1.524085477896404e+154
1.5636109501278876e+146
9
-3.8236705409407114e-69
-3.0658855651502382e-74
-7.650980145198802e-70

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03315
13315

end0.0ms

sample1.4s

Algorithm
intervals
Results
294.0ms5855×body80valid
294.0ms1019×body2560valid
220.0ms896×body1280valid
141.0ms2933×body80nan
87.0ms451×body640valid
44.0ms119×body5120valid
35.0ms253×body320valid
12.0ms130×body160valid