Details

Time bar (total: 5.1s)

sample35.0ms

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

localize90.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)))

rewrite81.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))))
21.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)))

series280.0ms

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

prune440.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 8.1b

localize91.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)))
10.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series276.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
64.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify183.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02831391
19981121
247231013
350011013

prune424.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 8.1b

localize92.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)))

rewrite49.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:
25.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.0ms
(expm1 (log1p (+ (- b) (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)))

series318.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
111.0ms
(expm1 (log1p (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0273603
1987558
24004536
35001531

prune383.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 7.1b

localize91.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)))

rewrite80.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)))))
38.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
10.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series268.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
69.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify69.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05175074
114702625
250012496

prune403.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 7.1b

regimes185.0ms

Accuracy

92% (1.0b remaining)

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

bsearch149.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
06359
16359

end0.0ms

sample888.0ms

Algorithm
intervals
Results
427.0ms8736×body80valid
127.0ms2807×body80nan