Details

Time bar (total: 4.3s)

sample39.0ms

Algorithm
intervals
Results
8.0ms204×body80valid
7.0ms29×body2560valid
5.0ms26×body1280valid
4.0ms104×body80nan
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid
0.0msbody5120valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.4b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (* b_2 b_2) (* a c))
1.0b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/l*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 91
Calls
4 calls:
13.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
33.0ms
(- (* b_2 b_2) (* a c))
73.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0368965
11241910
25001901

prune222.0ms

Filtered
103 candidates to 72 candidates (69.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New958103
Fresh000
Picked011
Done000
Total959104

Merged error: 5.9b

Counts
104 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.6b
(- (* b_2 b_2) (* a c))
1.0b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×*-un-lft-identity
13×add-exp-log add-cube-cbrt associate-*r*
11×times-frac
10×add-log-exp
add-cbrt-cube
pow1 associate-*l*
flip3-- sqrt-prod flip--
prod-exp distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
frac-times sub-neg distribute-rgt-neg-in sqrt-div div-exp associate-*l/ cbrt-unprod
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv
Counts
4 → 89
Calls
4 calls:
17.0ms
(* (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(* (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
33.0ms
(- (* b_2 b_2) (* a c))
72.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0428881
11823791
25002771

prune202.0ms

Filtered
101 candidates to 70 candidates (69.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New992101
Fresh257
Picked011
Done011
Total1019110

Merged error: 5.9b

Counts
110 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))))
0.6b
(- (* b_2 b_2) (* a c))
1.0b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
165×times-frac
130×add-sqr-sqrt
129×*-un-lft-identity
77×add-cube-cbrt
27×associate-/r*
26×distribute-lft-out-- difference-of-squares
16×sqrt-prod
15×add-exp-log
13×distribute-rgt-neg-in
10×add-log-exp
associate-/r/ add-cbrt-cube
flip3-- div-exp flip--
pow1
div-inv
cbrt-undiv diff-log associate-/l*
sub-neg rec-exp sqrt-div 1-exp
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num inv-pow
Counts
4 → 177
Calls
4 calls:
13.0ms
(/ 1 (/ a (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))))
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series273.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ 1 (/ a (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))))
35.0ms
(- (* b_2 b_2) (* a c))
73.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify75.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05912456
127062224
250012069

prune238.0ms

Filtered
189 candidates to 86 candidates (45.5%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1881189
Fresh156
Picked011
Done022
Total1899198

Merged error: 5.9b

Counts
198 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.1b
(* (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 a))
8.6b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
21.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
83×add-sqr-sqrt
52×times-frac
51×*-un-lft-identity
33×add-cube-cbrt
28×add-exp-log
24×associate-*l*
18×add-cbrt-cube
16×difference-of-squares
13×associate-*r*
11×sqrt-prod
div-exp
prod-exp distribute-lft-out--
pow1
associate-/r* add-log-exp unswap-sqr
cbrt-undiv
flip3-- associate-/r/ flip-- cbrt-unprod
div-inv associate-/l*
rec-exp sqrt-div 1-exp associate-/l/
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ pow-prod-down associate-*l/ clear-num un-div-inv *-commutative flip-+
Counts
4 → 141
Calls
4 calls:
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
22.0ms
(* (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 a))
11.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series489.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
154.0ms
(* (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 a))
195.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
68.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify108.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
07001778
131701574
250011556

prune302.0ms

Filtered
153 candidates to 112 candidates (73.2%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New1503153
Fresh325
Picked011
Done033
Total1539162

Merged error: 5.9b

Counts
162 → 9

regimes252.0ms

Accuracy

90% (2.9b remaining)

Error of 8.3b against oracle of 5.4b and baseline of 34.3b

bsearch154.0ms

Steps
ItersRangePoint
8
4.1433580792185867e+68
2.4413096282015733e+73
2.397673767055932e+73
8
-3.835192842819844e-306
1.0596325554755924e-307
-1.5747579267209835e-308
10
-1.779583628235151e+73
-1.8574760383643568e+59
-2.9600705709081314e+66

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04532
14532

end0.0ms

sample1.2s

Algorithm
intervals
Results
251.0ms1086×body2560valid
237.0ms5784×body80valid
170.0ms874×body1280valid
117.0ms2970×body80nan
73.0ms480×body640valid
30.0ms105×body5120valid
28.0ms231×body320valid
9.0ms126×body160valid

Profiling

Loading profile data...