Details

Time bar (total: 5.2s)

sample292.0ms

Algorithm
intervals
Results
14.0ms195×body80valid
11.0ms33×body2560valid
7.0ms27×body1280valid
4.0ms65×body80nan
4.0msbody5120valid
2.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.2b
(- (* b_2 b_2) (* a c))
1.0b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/l*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
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 → 91
Calls
4 calls:
42.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
37.0ms
(- (* b_2 b_2) (* a c))
67.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
76.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0368965
11241910
25001901

prune247.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
2.9b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
7.5b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
162×times-frac
150×add-sqr-sqrt
115×*-un-lft-identity
81×add-cube-cbrt
34×difference-of-squares
27×associate-/l*
20×sqrt-prod
17×distribute-lft-out--
11×add-exp-log add-cbrt-cube
10×associate-/r/
associate-/r*
flip3-- flip--
div-inv add-log-exp
pow1
cbrt-undiv div-exp
associate-/l/
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 187
Calls
4 calls:
18.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
41.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
27.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series469.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
153.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
188.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
59.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify109.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07302960
132002803
250012783

prune492.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b_2 b_2) (* a c))
0.8b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
11.9b
(/ a (* a c))
23.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
add-exp-log *-un-lft-identity add-cbrt-cube
add-log-exp
add-cube-cbrt
pow1
sqrt-prod
flip3-- times-frac flip-- associate-/l*
cbrt-undiv sub-neg sqrt-div diff-log div-exp difference-of-squares
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 prod-exp clear-num associate-/r* cbrt-unprod div-inv distribute-lft-out--
Counts
4 → 63
Calls
4 calls:
3.0ms
(- (* b_2 b_2) (* a c))
18.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.0ms
(/ a (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series172.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
7.0ms
(/ a (* a c))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify129.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
0277415
1944374
24178369
35002368

prune174.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.8b

localize17.0ms

Local error

Found 4 expressions with local error:

12.4b
(cbrt (+ 0 (* a c)))
12.4b
(cbrt (+ 0 (* a c)))
23.6b
(sqrt (- (* b_2 b_2) (* a c)))
23.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log cbrt-div sqrt-div add-cbrt-cube add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 pow1/3 flip-- flip-+
Counts
4 → 56
Calls
4 calls:
2.0ms
(cbrt (+ 0 (* a c)))
2.0ms
(cbrt (+ 0 (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(cbrt (+ 0 (* a c)))
70.0ms
(cbrt (+ 0 (* a c)))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0226434
1851406
25001386

prune277.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 4.8b

regimes180.0ms

Accuracy

88.1% (3.2b remaining)

Error of 9.1b against oracle of 5.9b and baseline of 32.4b

bsearch195.0ms

Steps
ItersRangePoint
10
9.168682727753708e+124
1.4581761209996442e+140
1.2458828287346784e+132
10
-7.67245561718001e-112
-8.693838132238826e-123
-9.016549581630668e-123
8
-3.3081908876611885e+147
-2.274168596901093e+143
-2.760178712246234e+144

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03821
13821

end0.0ms

sample1.6s

Algorithm
intervals
Results
433.0ms5910×body80valid
347.0ms1059×body2560valid
234.0ms866×body1280valid
184.0ms2708×body80nan
95.0ms432×body640valid
38.0ms94×body5120valid
35.0ms210×body320valid
14.0ms116×body160valid