Details

Time bar (total: 4.5s)

analyze595.0ms

Algorithm
search

sample40.0ms

Algorithm
intervals
Results
8.0ms170×body80valid
7.0ms29×body2560valid
6.0ms30×body1280valid
3.0ms18×body640valid
1.0ms31×body80nan
1.0msbody320valid
0.0msbody80invalid
0.0msbody5120valid
0.0msbody160valid

simplify398.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.5b

Counts
2 → 1

localize13.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))))
23.9b
(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:
10.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))))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
7.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
36.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0360964
11233910
25002901

prune136.0ms

Filtered
72 candidates to 103 candidates (-43.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New949103
Fresh000
Picked101
Done000
Total959104

Merged error: 6.0b

Counts
104 → 9

localize12.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))))
23.9b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite31.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:
14.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)))

series53.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
7.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0420880
11816791
25002772

prune114.0ms

Filtered
70 candidates to 101 candidates (-44.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1001101
Fresh178
Picked011
Done000
Total1019110

Merged error: 6.0b

Counts
110 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b_2 b_2) (* a c))
11.3b
(- (neg b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
23.9b
(sqrt (- (* b_2 b_2) (* a c)))
23.9b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
diff-log
sub-neg rem-sqrt-square sqrt-pow1 pow1/2
associate--l- neg-sub0 neg-log difference-of-squares
Counts
4 → 57
Calls
4 calls:
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(- (neg b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series49.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(- (neg b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify95.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0231588
1850505
23394487
35001470

prune95.0ms

Filtered
54 candidates to 69 candidates (-27.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New68169
Fresh167
Picked011
Done011
Total69978

Merged error: 6.0b

Counts
78 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.5b
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
11.5b
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.9b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
57×add-sqr-sqrt
42×*-un-lft-identity
28×add-cube-cbrt
18×add-exp-log add-cbrt-cube
14×difference-of-squares
13×associate-/l*
10×sqrt-prod associate-/r/
associate-/r*
cbrt-undiv flip3-- div-exp flip-- distribute-lft-out--
div-inv add-log-exp
pow1
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 127
Calls
4 calls:
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
15.0ms
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
10.0ms
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series123.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
41.0ms
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
57.0ms
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify68.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05661605
126581446
250011436

prune115.0ms

Filtered
105 candidates to 139 candidates (-32.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1363139
Fresh246
Picked011
Done112
Total1399148

Merged error: 6.0b

Counts
148 → 9

regimes345.0ms

Accuracy

83.7% (4.7b remaining)

Error of 9.6b against oracle of 4.9b and baseline of 33.7b

bsearch491.0ms

Steps
ItersRangePoint
9
9.676612481080008e+98
1.0820883755197331e+107
1.0629485869692184e+107
10
-1.927825129139351e-114
-1.1241075047455707e-128
-1.6074592617615095e-114

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03121
13121

end0.0ms

analyze392.0ms

Algorithm
search

sample1.0s

Algorithm
intervals
Results
260.0ms1062×body2560valid
222.0ms5143×body80valid
177.0ms888×body1280valid
71.0ms462×body640valid
32.0ms239×body320valid
32.0ms789×body80nan
29.0ms98×body5120valid
12.0ms239×body80invalid
9.0ms108×body160valid

Profiling

Loading profile data...