Details

Time bar (total: 5.5s)

sample38.0ms

Algorithm
intervals
Results
8.0ms199×body80valid
6.0ms24×body2560valid
5.0ms25×body1280valid
3.0ms79×body80nan
2.0ms15×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune2.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: 31.9b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (* b_2 b_2) (* a c))
0.6b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite41.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:
14.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
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)))

series239.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
34.0ms
(- (* b_2 b_2) (* a c))
65.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify66.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05493055
118262150
250022063

prune282.0ms

Filtered
183 candidates to 97 candidates (53.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1758183
Fresh000
Picked101
Done000
Total1768184

Merged error: 4.6b

Counts
184 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.6b
(- (* b_2 b_2) (* a c))
0.6b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
70×add-sqr-sqrt
63×*-un-lft-identity
61×prod-diff
54×add-cube-cbrt
35×sqrt-prod
23×distribute-rgt-neg-in
21×distribute-lft-neg-in
13×add-exp-log associate-*r*
11×times-frac fma-neg
10×add-log-exp
add-cbrt-cube
pow1 neg-mul-1 associate-*l*
flip3-- flip--
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
frac-times sub-neg sqrt-div div-exp associate-*l/ cbrt-unprod
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv
Counts
4 → 169
Calls
4 calls:
17.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
4.0ms
(- (* b_2 b_2) (* a c))
10.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
35.0ms
(- (* b_2 b_2) (* a c))
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify78.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06092985
123341993
250021940

prune264.0ms

Filtered
181 candidates to 96 candidates (53.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1792181
Fresh167
Picked101
Done000
Total1818189

Merged error: 4.6b

Counts
189 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
0.6b
(- (* b_2 b_2) (* a c))
0.6b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite48.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:
17.0ms
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
4.0ms
(- (* b_2 b_2) (* a c))
10.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
34.0ms
(- (* b_2 b_2) (* a c))
69.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify97.0ms

Algorithm
egg-herbie
Counts
269 → 269
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07704550
132153424
250023236

prune292.0ms

Filtered
269 candidates to 112 candidates (41.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2681269
Fresh167
Picked011
Done000
Total2698277

Merged error: 4.6b

Counts
277 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- (* b_2 b_2) (* a c))) a)
0.6b
(- (* b_2 b_2) (* a c))
5.6b
(- (/ (- b_2) a) (/ (sqrt (- (* b_2 b_2) (* a c))) a))
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
1339×times-frac
946×add-sqr-sqrt
940×*-un-lft-identity
926×add-cube-cbrt
749×prod-diff
323×sqrt-prod
210×distribute-rgt-neg-in
207×distribute-lft-neg-in
69×neg-mul-1
60×div-inv
35×fma-neg
add-log-exp
distribute-lft-out--
add-exp-log add-cbrt-cube associate-/l* difference-of-squares
pow1
expm1-log1p-u flip3-- sqrt-div flip-- log1p-expm1-u
associate-/r*
sub-neg diff-log associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square distribute-rgt-out-- frac-2neg sqrt-pow1 pow1/2 div-sub div-exp clear-num frac-sub sub-div
Counts
4 → 889
Calls
4 calls:
6.0ms
(/ (sqrt (- (* b_2 b_2) (* a c))) a)
4.0ms
(- (* b_2 b_2) (* a c))
75.0ms
(- (/ (- b_2) a) (/ (sqrt (- (* b_2 b_2) (* a c))) a))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series270.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (sqrt (- (* b_2 b_2) (* a c))) a)
32.0ms
(- (* b_2 b_2) (* a c))
81.0ms
(- (/ (- b_2) a) (/ (sqrt (- (* b_2 b_2) (* a c))) a))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify269.0ms

Algorithm
egg-herbie
Counts
901 → 901
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0195839816
1500125884

prune1.2s

Filtered
901 candidates to 352 candidates (39.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New9001901
Fresh066
Picked011
Done011
Total9009909

Merged error: 4.6b

Counts
909 → 9

regimes180.0ms

Accuracy

83% (4.9b remaining)

Error of 10.4b against oracle of 5.5b and baseline of 34.3b

bsearch70.0ms

Steps
ItersRangePoint
7
3.0106008231332273e+28
3.853441604264477e+30
3.7841174599135035e+30
6
-4.476507123211522e-46
-8.213689681385728e-47
-8.295870285492555e-47

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03115
13115

end0.0ms

sample1.2s

Algorithm
intervals
Results
260.0ms1067×body2560valid
250.0ms5859×body80valid
182.0ms892×body1280valid
116.0ms2860×body80nan
74.0ms464×body640valid
34.0ms109×body5120valid
27.0ms234×body320valid
9.0ms108×body160valid