Details

Time bar (total: 6.1s)

sample274.0ms

Algorithm
intervals
Results
8.0ms203×body80valid
5.0ms31×body1280valid
4.0ms23×body2560valid
2.0ms79×body80nan
2.0ms17×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune4.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: 32.9b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (* b_2 b_2) (* a c))
0.9b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite46.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
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
4.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
34.0ms
(- (* b_2 b_2) (* a c))
72.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
71.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

prune247.0ms

Filtered
103 candidates to 72 candidates (69.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New949103
Fresh000
Picked101
Done000
Total959104

Merged error: 6.2b

Counts
104 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.6b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
9.4b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
22.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
162×times-frac
150×add-sqr-sqrt
115×*-un-lft-identity
81×add-cube-cbrt
34×difference-of-squares
27×associate-/l*
20×sqrt-prod
17×distribute-lft-out--
11×add-exp-log add-cbrt-cube
10×associate-/r/
associate-/r*
flip3-- flip--
div-inv add-log-exp
pow1
cbrt-undiv div-exp
associate-/l/
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 187
Calls
4 calls:
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
15.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
11.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series481.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
155.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
191.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify107.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
07302960
132002803
250012783

prune494.0ms

Filtered
199 candidates to 148 candidates (74.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1936199
Fresh538
Picked101
Done000
Total1999208

Merged error: 6.1b

Counts
208 → 9

localize18.0ms

Local error

Found 4 expressions with local error:

1.6b
(/ (* (/ 1 (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c))) a)
3.1b
(* (/ 1 (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)))
22.1b
(sqrt (- (* b_2 b_2) (* a c)))
22.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
245×times-frac
227×add-sqr-sqrt
136×*-un-lft-identity
104×add-cube-cbrt
103×sqrt-prod
98×associate-*r*
96×add-exp-log
54×add-cbrt-cube
49×div-exp
33×associate-*l*
25×cbrt-undiv
24×prod-exp difference-of-squares
20×unswap-sqr
12×cbrt-unprod distribute-lft-out--
pow1
rec-exp sqrt-div 1-exp div-inv
add-log-exp
flip3-- associate-/r* associate-/r/ flip-- associate-/l/
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ associate-*l/
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
4 → 251
Calls
4 calls:
28.0ms
(/ (* (/ 1 (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c))) a)
72.0ms
(* (/ 1 (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series362.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(/ (* (/ 1 (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c))) a)
134.0ms
(* (/ 1 (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))
59.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify64.0ms

Algorithm
egg-herbie
Counts
263 → 263
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012944893
150024272

prune599.0ms

Filtered
263 candidates to 150 candidates (57.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2621263
Fresh178
Picked011
Done000
Total2639272

Merged error: 6.1b

Counts
272 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.6b
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
1.8b
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
22.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
831×times-frac
549×add-sqr-sqrt
450×*-un-lft-identity
352×add-cube-cbrt
98×difference-of-squares
74×associate-/l*
52×sqrt-prod
49×distribute-lft-out--
25×associate-/r*
22×div-inv
18×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
add-log-exp
pow1 associate-/r/
flip3-- frac-2neg sqrt-div clear-num flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 440
Calls
4 calls:
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
27.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
11.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series444.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
135.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
170.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
65.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify94.0ms

Algorithm
egg-herbie
Counts
452 → 452
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015717389
150026821

prune1.0s

Filtered
452 candidates to 301 candidates (66.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New4493452
Fresh257
Picked101
Done011
Total4529461

Merged error: 6.1b

Counts
461 → 9

regimes192.0ms

Accuracy

92.1% (1.9b remaining)

Error of 7.3b against oracle of 5.4b and baseline of 29.5b

bsearch78.0ms

Steps
ItersRangePoint
9
4.546949039871578e+116
7.0067478635952275e+121
3.7562991673264556e+118
4
2.7062129888597453e-95
4.861630376334293e-95
2.7444235711350233e-95
2
-1.0790742320216938e+148
-9.881700095519823e+147
-9.995330373606963e+147

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03620
13620

end0.0ms

sample982.0ms

Algorithm
intervals
Results
206.0ms1063×body2560valid
195.0ms5848×body80valid
130.0ms850×body1280valid
88.0ms2860×body80nan
58.0ms465×body640valid
25.0ms105×body5120valid
21.0ms234×body320valid
7.0ms120×body160valid