Details

Time bar (total: 4.4s)

sample366.0ms

Algorithm
intervals
Results
8.0ms37×body2560valid
7.0ms184×body80valid
6.0ms36×body1280valid
5.0ms91×body80nan
2.0ms17×body640valid
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.6b

localize14.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))
1.0b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
25.7b
(sqrt (- (* b_2 b_2) (* a c)))

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

series267.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
35.0ms
(- (* b_2 b_2) (* a c))
66.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
87.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify73.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05493055
118262150
250022063

prune368.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.6b

localize5.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune20.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 6.6b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
0.6b
(- (* b_2 b_2) (* a c))
1.0b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
25.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite117.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:
50.0ms
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
9.0ms
(- (* b_2 b_2) (* a c))
31.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
14.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series259.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
32.0ms
(- (* b_2 b_2) (* a c))
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify98.0ms

Algorithm
egg-herbie
Counts
269 → 269
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07704550
132153424
250023236

prune383.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 6.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt a)
0.6b
(- (* b_2 b_2) (* a c))
1.0b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
25.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
61×prod-diff
52×add-sqr-sqrt
51×*-un-lft-identity
47×add-cube-cbrt
34×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
neg-mul-1
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
cbrt-prod flip3-- diff-log flip--
sub-neg sqrt-div distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 pow1/3 neg-log
Counts
4 → 136
Calls
4 calls:
1.0ms
(cbrt a)
11.0ms
(- (* b_2 b_2) (* a c))
30.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series345.0ms

Counts
4 → 12
Calls
4 calls:
188.0ms
(cbrt a)
32.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)))

simplify55.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04302499
113591621
250011533

prune289.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 6.5b

regimes225.0ms

Accuracy

86% (4.8b remaining)

Error of 10.5b against oracle of 5.7b and baseline of 39.9b

bsearch68.0ms

Steps
ItersRangePoint
6
2.905752377093217e+53
1.5130510757279288e+54
1.4983382189642058e+54
6
-7.09976396972575e-70
-5.325167427794927e-71
-5.6439472304372656e-71

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03315
13315

end0.0ms

sample1.2s

Algorithm
intervals
Results
220.0ms1059×body2560valid
214.0ms5915×body80valid
151.0ms880×body1280valid
102.0ms3014×body80nan
63.0ms461×body640valid
34.0ms122×body5120valid
21.0ms213×body320valid
8.0ms119×body160valid