Details

Time bar (total: 4.8s)

sample35.0ms

Algorithm
intervals
Results
14.0ms274×body80valid
4.0ms97×body80nan

simplify15.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: 19.4b

localize84.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 4.0 a) c))
1.2b
(- (* b b) (* (* 4.0 a) c))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 66
Calls
4 calls:
8.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series203.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* b b) (* (* 4.0 a) c))
41.0ms
(- (* b b) (* (* 4.0 a) c))
59.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
64.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify92.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0170540
1665506
22968498
35001488

prune308.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 6.8b

localize84.0ms

Local error

Found 4 expressions with local error:

8.2b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×add-cube-cbrt fma-def *-un-lft-identity
sqrt-prod
add-log-exp
pow1
sqrt-div
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in rem-sqrt-square flip3-- distribute-rgt-neg-in sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- neg-mul-1 flip3-+ neg-log flip-+
Counts
4 → 76
Calls
4 calls:
12.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
62.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
60.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
63.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify117.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0249756
1969641
24038626
35001624

prune400.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.8b

localize84.0ms

Local error

Found 4 expressions with local error:

10.3b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
10×fma-neg prod-diff
sqrt-prod
add-log-exp
pow1
distribute-lft-neg-in distribute-rgt-neg-in sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
neg-mul-1 diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 88
Calls
4 calls:
14.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
62.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
60.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
63.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify179.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02831391
19981121
247231013
350011013

prune409.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.8b

localize85.0ms

Local error

Found 4 expressions with local error:

8.3b
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))
23.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
10×fma-neg prod-diff
add-log-exp
cbrt-prod distribute-lft-neg-in distribute-rgt-neg-in
pow1
add-exp-log expm1-log1p-u cbrt-div flip3-- add-cbrt-cube flip-- log1p-expm1-u
sqrt-prod
neg-mul-1 pow1/3 sqrt-div diff-log
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log
Counts
4 → 83
Calls
4 calls:
14.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series318.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
60.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
87.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
90.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04281492
116671341
250021298

prune421.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 6.8b

regimes155.0ms

Accuracy

92.2% (0.9b remaining)

Error of 8.5b against oracle of 7.5b and baseline of 19.7b

bsearch169.0ms

Steps
ItersRangePoint
10
8.043557394408689e+68
7.456819745307919e+79
7.351468977489713e+79
8
-1.6689308349593681e+136
-9.575288709361475e+132
-1.2495719643022808e+135

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04958
14958

end0.0ms

sample898.0ms

Algorithm
intervals
Results
430.0ms8741×body80valid
133.0ms2993×body80nan