Details

Time bar (total: 5.2s)

sample35.0ms

Algorithm
intervals
Results
14.0ms275×body80valid
4.0ms89×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03618
16718
212318
316018
417518
517718
617718

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.5b

localize85.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(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:
29.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0ms
(+ (- b) (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)))

series306.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify60.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04183056
114712008
250011917

prune437.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 9.6b

localize88.0ms

Local error

Found 4 expressions with local error:

12.3b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(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:
15.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (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)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0249756
1969641
24038626
35001624

prune410.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 9.6b

localize87.0ms

Local error

Found 4 expressions with local error:

9.5b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite52.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:
17.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (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)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series304.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify175.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
02831394
19981121
247231013
350011013

prune425.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 9.6b

localize92.0ms

Local error

Found 4 expressions with local error:

25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log expm1-log1p-u rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- log1p-expm1-u add-log-exp
Counts
4 → 68
Calls
4 calls:
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(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)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify79.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0139588
1510568
22129564
35001556

prune439.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 9.6b

regimes157.0ms

Accuracy

92.1% (1.0b remaining)

Error of 8.6b against oracle of 7.6b and baseline of 20.0b

bsearch164.0ms

Steps
ItersRangePoint
8
3.1248942757642245e+89
1.1714167766929137e+92
2.505453058045537e+91
10
-3.890563902308465e+123
-8.190267231000954e+105
-3.208627552530475e+123

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05259
15259

end0.0ms

sample894.0ms

Algorithm
intervals
Results
422.0ms8677×body80valid
131.0ms2915×body80nan