Details

Time bar (total: 4.6s)

sample290.0ms

Algorithm
intervals
Results
9.0ms200×body80valid
8.0ms30×body2560valid
7.0ms104×body80nan
5.0ms24×body1280valid
3.0ms16×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify16.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: 34.5b

Counts
2 → 1

localize12.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.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.2b
(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:
14.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
17.0ms
(- (* b_2 b_2) (* a c))
11.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series264.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))
66.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
78.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify74.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (50.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: 6.5b

Counts
184 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.4b
(- (* b_2 b_2) (* a c))
1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite43.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:
18.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
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)))

series244.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
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)))

simplify81.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06092985
123341993
250021940

prune275.0ms

Filtered
181 candidates to 96 candidates (53.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1792181
Fresh369
Picked011
Done000
Total1829191

Merged error: 6.5b

Counts
191 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
8.9b
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
57×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
24×add-cube-cbrt *-un-lft-identity
18×pow1/2
15×swap-sqr
10×fma-neg prod-diff
flip3-- associate-*r* associate-*l* pow-prod-up flip-- unswap-sqr
add-log-exp
add-exp-log distribute-lft-neg-in distribute-rgt-neg-in add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u frac-times log1p-expm1-u
neg-mul-1 rem-sqrt-square diff-log associate-*r/ associate-*l/
associate--l- pow2 neg-sub0 sub-neg pow-plus sqrt-unprod neg-log prod-exp rem-square-sqrt *-commutative cbrt-unprod difference-of-squares
Counts
4 → 156
Calls
4 calls:
19.0ms
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
5.0ms
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (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)))

series248.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
71.0ms
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
03821788
115461498
250021387

prune303.0ms

Filtered
168 candidates to 96 candidates (57.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1680168
Fresh077
Picked011
Done011
Total1689177

Merged error: 6.5b

Counts
177 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b_2 b_2) (* a c))
5.5b
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
21.1b
(- (- b_2) (exp (log (sqrt (- (* b_2 b_2) (* a c))))))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite40.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:
4.0ms
(- (* b_2 b_2) (* a c))
6.0ms
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
17.0ms
(- (- b_2) (exp (log (sqrt (- (* b_2 b_2) (* a c))))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series223.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* b_2 b_2) (* a c))
62.0ms
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
66.0ms
(- (- b_2) (exp (log (sqrt (- (* b_2 b_2) (* a c))))))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify74.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05354477
114732268
250022146

prune243.0ms

Filtered
190 candidates to 82 candidates (43.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1873190
Fresh246
Picked101
Done022
Total1909199

Merged error: 6.5b

Counts
199 → 9

regimes232.0ms

Accuracy

86.6% (3.6b remaining)

Error of 9.6b against oracle of 6.0b and baseline of 33.1b

bsearch145.0ms

Steps
ItersRangePoint
6
6.333441064762502e+69
2.6854631551896503e+70
2.6627070202833933e+70
8
-3.207872221154417e-308
6.068018528671512e-305
-1.5917437502612807e-308
9
-1.1385716878983627e+38
-7.767129419132542e+28
-1.2077125772538958e+29

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04224
14424
24424

end0.0ms

sample1.2s

Algorithm
intervals
Results
269.0ms1082×body2560valid
256.0ms5823×body80valid
177.0ms889×body1280valid
122.0ms2907×body80nan
70.0ms442×body640valid
32.0ms107×body5120valid
28.0ms239×body320valid
10.0ms120×body160valid