Details

Time bar (total: 5.1s)

sample35.0ms

Algorithm
intervals
Results
14.0ms277×body80valid
4.0ms86×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.6b

localize84.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite82.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:
28.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)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
79.0ms
(+ (- b) (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)))

simplify61.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04183056
114712008
250011917

prune418.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 8.1b

localize84.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))))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(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:
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)))

series293.0ms

Counts
4 → 12
Calls
4 calls:
79.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)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify177.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02831391
19981121
247231013
350011013

prune404.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 8.1b

localize85.0ms

Local error

Found 4 expressions with local error:

1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.9b
(expm1 (log1p (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×add-sqr-sqrt
10×fma-def
add-cube-cbrt
add-log-exp
pow1 sqrt-prod
add-exp-log expm1-log1p-u distribute-rgt-neg-in sqrt-div add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 expm1-log1p flip3-+ neg-log flip-+ expm1-udef
Counts
4 → 72
Calls
4 calls:
21.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.0ms
(expm1 (log1p (+ (- b) (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)))

series343.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
123.0ms
(expm1 (log1p (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0273603
1987558
24004536
35001531

prune369.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 7.1b

localize86.0ms

Local error

Found 4 expressions with local error:

5.5b
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
21.8b
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
90×prod-diff
77×add-sqr-sqrt
73×*-un-lft-identity
69×add-cube-cbrt
68×log-prod exp-sum
40×sqrt-prod
31×distribute-rgt-neg-in
30×distribute-lft-neg-in
10×neg-mul-1 fma-neg
pow1 add-log-exp
exp-prod sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
sqrt-pow1 pow1/2 log-pow difference-of-squares
rem-sqrt-square log-div exp-diff diff-log distribute-lft-out--
associate--l- neg-sub0 sub-neg neg-log rem-exp-log
Counts
4 → 179
Calls
4 calls:
12.0ms
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
39.0ms
(- (- b) (exp (log (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:
72.0ms
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
79.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify67.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05175071
114702625
250012496

prune396.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 7.1b

regimes182.0ms

Accuracy

92% (1.0b remaining)

Error of 7.9b against oracle of 6.9b and baseline of 19.8b

bsearch141.0ms

Steps
ItersRangePoint
7
7.363656180201337e+60
1.0503009045500217e+63
3.015331758515465e+62
8
-5.3591540899030606e+132
-7.727081080122102e+128
-5.005006561769842e+132

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06160
16160

end0.0ms

sample889.0ms

Algorithm
intervals
Results
428.0ms8736×body80valid
123.0ms2807×body80nan