Details

Time bar (total: 6.0s)

sample38.0ms

Algorithm
intervals
Results
15.0ms283×body80valid
4.0ms96×body80nan

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03918
18018
214318
317718
418918
519318
619318

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.4b

localize91.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
28.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
28.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
58×*-un-lft-identity
56×add-sqr-sqrt
50×add-cube-cbrt
37×sqrt-prod
26×distribute-rgt-neg-in
24×distribute-lft-neg-in
12×add-log-exp
10×fma-def fma-neg
neg-mul-1
pow1
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
flip3-- flip--
neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 151
Calls
4 calls:
31.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series290.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify64.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04183056
114712008
250011917

prune428.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 10.2b

localize95.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
5.0b
(/ (* a c) b)
28.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite143.0ms

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

series330.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
169.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
18.0ms
(/ (* a c) b)
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify79.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06103137
125642048
250011968

prune459.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 9.7b

localize93.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
5.5b
(/ a (/ b c))
28.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite138.0ms

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

series335.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
171.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
19.0ms
(/ a (/ b c))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify98.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
08333504
135072369
250022332

prune699.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 9.7b

localize105.0ms

Local error

Found 4 expressions with local error:

17.3b
(cbrt (/ b c))
17.3b
(cbrt (/ b c))
17.3b
(cbrt (/ b c))
28.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
27×add-sqr-sqrt times-frac
26×add-cube-cbrt *-un-lft-identity
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div pow1/3 sqrt-prod div-inv
sqrt-div
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
Counts
4 → 89
Calls
4 calls:
2.0ms
(cbrt (/ b c))
2.0ms
(cbrt (/ b c))
2.0ms
(cbrt (/ b c))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series258.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(cbrt (/ b c))
60.0ms
(cbrt (/ b c))
64.0ms
(cbrt (/ b c))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify94.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0246595
1749568
23058560
35002536

prune570.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 9.7b

regimes230.0ms

Accuracy

89.6% (1.6b remaining)

Error of 8.3b against oracle of 6.7b and baseline of 22.1b

bsearch268.0ms

Steps
ItersRangePoint
6
4.231934083523606e+52
2.717919616353272e+53
2.678238127073729e+53
8
-2.5998925637949514e-281
-1.5811508713279925e-284
-1.6092906230877535e-284
8
-4.3398659734944224e+136
-1.0492990687338703e+133
-4.285271160992642e+136

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07996
17996

end0.0ms

sample922.0ms

Algorithm
intervals
Results
456.0ms8722×body80valid
131.0ms2795×body80nan