Details

Time bar (total: 7.2s)

sample45.0ms

Algorithm
intervals
Results
10.0ms40×body2560valid
7.0ms171×body80valid
7.0ms35×body1280valid
4.0ms89×body80nan
2.0ms11×body640valid
1.0msbody320valid
0.0msbody5120valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0299
1659
21219
31519
41609
51649
61649

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.6b
(- (* b b) (* 4.0 (* a c)))
22.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/l*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 157
Calls
4 calls:
30.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
76.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
9.0ms
(- (* b b) (* 4.0 (* a c)))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series246.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
81.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
37.0ms
(- (* b b) (* 4.0 (* a c)))
61.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify75.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05903305
121012212
250012128

prune572.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
0.2b
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
0.6b
(- (* b b) (* 4.0 (* a c)))
22.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
54×add-sqr-sqrt
53×*-un-lft-identity
30×add-exp-log
29×add-cube-cbrt
20×associate-/r*
18×add-cbrt-cube
14×div-exp
12×distribute-lft-out-- difference-of-squares
11×associate-/r/
sqrt-prod
cbrt-undiv flip3-- flip--
pow1 distribute-rgt-neg-in div-inv add-log-exp
expm1-log1p-u prod-exp log1p-expm1-u associate-/l*
rec-exp 1-exp
frac-2neg sqrt-div clear-num cbrt-unprod
sub-neg rem-sqrt-square pow-flip sqrt-pow1 pow1/2 fma-neg diff-log prod-diff inv-pow
Counts
4 → 148
Calls
4 calls:
44.0ms
(/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
50.0ms
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series360.0ms

Counts
4 → 12
Calls
4 calls:
158.0ms
(/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
99.0ms
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
38.0ms
(- (* b b) (* 4.0 (* a c)))
64.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify79.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05902075
128671822
250021745

prune579.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.9b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a)))
0.2b
(/ 1 (/ 1 (/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))))
0.6b
(- (* b b) (* 4.0 (* a c)))
22.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite154.0ms

Algorithm
rewrite-expression-head
Rules
391×times-frac
201×add-sqr-sqrt
200×*-un-lft-identity
136×add-cube-cbrt
101×add-exp-log
68×div-exp
49×associate-/r*
32×distribute-lft-out-- difference-of-squares
27×add-cbrt-cube
22×rec-exp 1-exp div-inv
19×sqrt-prod
16×distribute-rgt-neg-in
14×cbrt-undiv
12×prod-exp
pow1
associate-/r/ associate-/l* add-log-exp
pow-flip
expm1-log1p-u log1p-expm1-u
inv-pow
flip3-- frac-2neg sqrt-div clear-num flip-- cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff remove-double-div
Counts
4 → 314
Calls
4 calls:
49.0ms
(/ 1 (/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a)))
64.0ms
(/ 1 (/ 1 (/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series286.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ 1 (/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a)))
85.0ms
(/ 1 (/ 1 (/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))))
38.0ms
(- (* b b) (* 4.0 (* a c)))
63.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify75.0ms

Algorithm
egg-herbie
Counts
326 → 326
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
010355076
150014326

prune943.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
0.3b
(/ (/ 1 (* 2.0 a)) (/ 1 (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
0.6b
(- (* b b) (* 4.0 (* a c)))
22.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
462×times-frac
274×add-sqr-sqrt
273×*-un-lft-identity
161×add-cube-cbrt
91×add-exp-log
60×div-exp
56×distribute-lft-out-- difference-of-squares
38×div-inv
34×associate-/r*
31×sqrt-prod
28×distribute-rgt-neg-in
27×add-cbrt-cube
19×associate-/r/
16×rec-exp 1-exp
14×cbrt-undiv
12×prod-exp
11×flip3-- flip--
10×associate-/l*
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u
frac-2neg sqrt-div clear-num cbrt-unprod
sub-neg rem-sqrt-square pow-flip sqrt-pow1 pow1/2 fma-neg diff-log prod-diff associate-/l/ inv-pow
Counts
4 → 355
Calls
4 calls:
39.0ms
(/ 1 (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
60.0ms
(/ (/ 1 (* 2.0 a)) (/ 1 (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series293.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ 1 (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
100.0ms
(/ (/ 1 (* 2.0 a)) (/ 1 (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
38.0ms
(- (* b b) (* 4.0 (* a c)))
64.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify82.0ms

Algorithm
egg-herbie
Counts
367 → 367
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012856523
150015806

prune1.1s

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 4.9b

regimes439.0ms

Accuracy

85.3% (4.2b remaining)

Error of 9.6b against oracle of 5.4b and baseline of 33.9b

bsearch90.0ms

Steps
ItersRangePoint
8
2.068553019413577e+125
1.5793235108451263e+128
8.824801410527501e+125
4
-9.285856612195885e-64
-5.291128096587059e-64
-5.365827530591872e-64

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03616
13616

end0.0ms

sample1.3s

Algorithm
intervals
Results
290.0ms1087×body2560valid
259.0ms5861×body80valid
198.0ms890×body1280valid
125.0ms3052×body80nan
82.0ms476×body640valid
34.0ms107×body5120valid
24.0ms195×body320valid
10.0ms114×body160valid