Details

Time bar (total: 7.2s)

sample285.0ms

Algorithm
intervals
Results
8.0ms33×body2560valid
8.0ms181×body80valid
6.0ms101×body80nan
6.0ms27×body1280valid
3.0ms22×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1237
2307
3327
4347
5347

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
(/ (+ (- 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))))
24.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
19×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
10×fma-def distribute-lft-out add-log-exp
distribute-rgt-neg-in
add-exp-log add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub div-exp prod-diff neg-log clear-num div-inv
Counts
4 → 100
Calls
4 calls:
10.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
19.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series270.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
36.0ms
(- (* b_2 b_2) (* a c))
74.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
69.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0389850
11366779
25001753

prune276.0ms

Filtered
112 candidates to 88 candidates (78.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1039112
Fresh000
Picked101
Done000
Total1049113

Merged error: 6.3b

Counts
113 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.8b
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
10.7b
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
24.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
199×add-sqr-sqrt
198×*-un-lft-identity
186×times-frac
130×add-cube-cbrt
60×prod-diff
50×sqrt-prod
38×distribute-rgt-neg-in
34×distribute-lft-out-- difference-of-squares
30×associate-/l*
21×distribute-lft-neg-in
11×add-exp-log add-cbrt-cube
10×fma-neg associate-/r* associate-/r/
add-log-exp
neg-mul-1 flip3-- flip--
div-inv
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
associate-/l/
frac-2neg sqrt-div diff-log clear-num
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 284
Calls
4 calls:
10.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
19.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
12.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series436.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
137.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
167.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify145.0ms

Algorithm
egg-herbie
Counts
296 → 296
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
09195579
139184508
250014505

prune534.0ms

Filtered
296 candidates to 172 candidates (58.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2942296
Fresh358
Picked011
Done000
Total2978305

Merged error: 6.2b

Counts
305 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

1.1b
(/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.8b
(/ (/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
24.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
951×times-frac
630×add-sqr-sqrt
629×*-un-lft-identity
433×add-cube-cbrt
98×distribute-lft-out-- difference-of-squares
83×associate-/l*
82×sqrt-prod
70×distribute-rgt-neg-in
60×prod-diff
28×associate-/r*
22×div-inv
21×distribute-lft-neg-in
18×add-exp-log add-cbrt-cube
10×fma-neg
cbrt-undiv div-exp
add-log-exp
neg-mul-1
pow1 associate-/r/
expm1-log1p-u log1p-expm1-u
flip3-- frac-2neg sqrt-div diff-log clear-num flip--
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log associate-/l/
Counts
4 → 569
Calls
4 calls:
17.0ms
(/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
11.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
27.0ms
(/ (/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series483.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
71.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
160.0ms
(/ (/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
67.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify130.0ms

Algorithm
egg-herbie
Counts
581 → 581
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0175510832
150029428

prune1.1s

Filtered
581 candidates to 328 candidates (56.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New5792581
Fresh156
Picked011
Done011
Total5809589

Merged error: 6.2b

Counts
589 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

5.6b
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
6.1b
(/ (/ a (/ (- (- b_2) (exp (log (sqrt (- (* b_2 b_2) (* a c)))))) c)) a)
15.5b
(- (- b_2) (exp (log (sqrt (- (* b_2 b_2) (* a c))))))
24.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
891×times-frac
641×add-sqr-sqrt
566×*-un-lft-identity
418×add-cube-cbrt
140×log-prod exp-sum
111×difference-of-squares
90×prod-diff
89×associate-/l*
74×distribute-lft-out--
73×sqrt-prod
67×distribute-rgt-neg-in
30×distribute-lft-neg-in
17×div-inv
13×add-exp-log add-cbrt-cube
10×neg-mul-1 fma-neg
add-log-exp
pow1
cbrt-undiv exp-prod div-exp
expm1-log1p-u sqrt-div associate-/r/ log1p-expm1-u
flip3-- associate-/r* log-pow flip--
log-div sqrt-pow1 pow1/2 exp-diff diff-log
associate--l- neg-sub0 sub-neg rem-sqrt-square frac-2neg neg-log clear-num rem-exp-log associate-/l/
Counts
4 → 540
Calls
4 calls:
6.0ms
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
29.0ms
(/ (/ a (/ (- (- b_2) (exp (log (sqrt (- (* b_2 b_2) (* a c)))))) c)) a)
13.0ms
(- (- b_2) (exp (log (sqrt (- (* b_2 b_2) (* a c))))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series349.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
151.0ms
(/ (/ a (/ (- (- b_2) (exp (log (sqrt (- (* b_2 b_2) (* a c)))))) c)) a)
71.0ms
(- (- b_2) (exp (log (sqrt (- (* b_2 b_2) (* a c))))))
65.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify133.0ms

Algorithm
egg-herbie
Counts
552 → 552
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
0205012892
1500210123

prune1.1s

Filtered
552 candidates to 298 candidates (54.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New5502552
Fresh156
Picked101
Done022
Total5529561

Merged error: 6.2b

Counts
561 → 9

regimes210.0ms

Accuracy

90.5% (2.5b remaining)

Error of 8.5b against oracle of 5.9b and baseline of 32.3b

bsearch145.0ms

Steps
ItersRangePoint
6
6.333441064762502e+69
2.6854631551896503e+70
1.4793880051580374e+70
10
-1.2256122484874663e-236
-9.129152522006918e-253
-9.271872778047194e-253
8
-1.666412824726956e+124
-3.415589734864014e+119
-5.377788818048344e+121

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04224
14224

end0.0ms

sample1.2s

Algorithm
intervals
Results
260.0ms5874×body80valid
256.0ms1055×body2560valid
179.0ms901×body1280valid
118.0ms2908×body80nan
67.0ms430×body640valid
30.0ms101×body5120valid
28.0ms238×body320valid
9.0ms109×body160valid