Details

Time bar (total: 1.0m)

sample35.0ms

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

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 32.9b

Counts
2 → 1

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

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
88×add-sqr-sqrt
53×*-un-lft-identity
30×difference-of-squares
22×sqrt-prod
21×times-frac
18×distribute-lft-out--
17×add-cube-cbrt
14×unswap-sqr
10×add-log-exp
associate-*l*
associate-/l*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- swap-sqr *-commutative flip--
diff-log associate-/r*
associate--l- neg-sub0 sub-neg sqrt-div div-sub associate-/l/
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp neg-log clear-num div-inv
Counts
4 → 120
Calls
4 calls:
30.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
15.0ms
(- (* b_2 b_2) (* a c))
24.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
18.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series236.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
32.0ms
(- (* b_2 b_2) (* a c))
67.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
56.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04161177
114161122
250011109

prune273.0ms

Filtered
132 candidates to 81 candidates (61.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1239132
Fresh000
Picked101
Done000
Total1249133

Merged error: 6.2b

Counts
133 → 9

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

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
297×*-un-lft-identity
258×times-frac
243×add-sqr-sqrt
105×add-cube-cbrt
66×difference-of-squares
64×distribute-lft-out
46×associate-/l*
45×sqrt-prod
36×associate-*l*
32×distribute-lft-out--
20×associate-/l/
15×associate-/r*
11×add-exp-log add-cbrt-cube
10×associate-/r/
flip3-- flip-- unswap-sqr
div-inv add-log-exp
pow1
cbrt-undiv div-exp
frac-2neg clear-num
flip3-+ sqrt-div swap-sqr *-commutative flip-+
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 278
Calls
4 calls:
22.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
39.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
31.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
15.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series470.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
150.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
185.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
65.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify123.0ms

Algorithm
egg-herbie
Counts
290 → 290
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
07964143
134963915
250013895

prune537.0ms

Filtered
290 candidates to 161 candidates (55.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2846290
Fresh538
Picked101
Done000
Total2909299

Merged error: 6.1b

Counts
299 → 9

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

rewrite579.0ms

Algorithm
rewrite-expression-head
Rules
2815×add-sqr-sqrt
2590×times-frac
1982×*-un-lft-identity
1758×sqrt-prod
1694×associate-/r*
1450×add-cube-cbrt
1110×frac-times
619×associate-/l/
570×associate-*r*
543×associate-/l*
494×difference-of-squares
245×distribute-lft-out--
173×associate-*l*
116×clear-num
114×frac-2neg unswap-sqr
96×add-exp-log
95×associate-/r/
74×associate-*r/
58×div-inv
54×add-cbrt-cube
49×div-exp
30×associate-*l/
25×cbrt-undiv
24×sqrt-div prod-exp
12×flip3-- flip-- cbrt-unprod
*-commutative
pow1
rec-exp 1-exp
swap-sqr un-div-inv add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow-prod-down
Counts
4 → 2191
Calls
4 calls:
185.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)
128.0ms
(* (/ 1 (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)))
15.0ms
(sqrt (- (* b_2 b_2) (* a c)))
18.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series345.0ms

Counts
4 → 12
Calls
4 calls:
95.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)
128.0ms
(* (/ 1 (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify435.0ms

Algorithm
egg-herbie
Counts
2203 → 2203
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
0500149743

prune5.2s

Filtered
2203 candidates to 1202 candidates (54.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New220122203
Fresh268
Picked011
Done000
Total220392212

Merged error: 6.1b

Counts
2212 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite3.5s

Algorithm
rewrite-expression-head
Rules
63182×times-frac
31896×add-sqr-sqrt
27774×*-un-lft-identity
23662×add-cube-cbrt
15539×sqrt-prod
4114×difference-of-squares
3362×associate-/l*
2056×distribute-lft-out--
1474×div-inv
324×associate-/l/
86×associate-/r*
70×associate-/r/
54×add-exp-log add-cbrt-cube
37×cbrt-undiv div-exp
12×frac-2neg clear-num
flip3-- flip-- unswap-sqr
add-log-exp
pow1
associate-*l*
sqrt-div swap-sqr *-commutative
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 15544
Calls
4 calls:
28.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
608.0ms
(/ (/ (/ (/ a (sqrt 1)) (sqrt 1)) (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
116.0ms
(/ (/ (/ a (sqrt 1)) (sqrt 1)) (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
18.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series431.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
131.0ms
(/ (/ (/ (/ a (sqrt 1)) (sqrt 1)) (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
164.0ms
(/ (/ (/ a (sqrt 1)) (sqrt 1)) (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify4.1s

Algorithm
egg-herbie
Counts
15556 → 15556
Iterations

Useful iterations: 0 (114.0ms)

IterNodesCost
011708449972

prune44.6s

Filtered
15556 candidates to 8385 candidates (53.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New15553315556
Fresh257
Picked101
Done011
Total15556915565

Merged error: 6.1b

Counts
15565 → 9

regimes210.0ms

Accuracy

87.4% (3.3b remaining)

Error of 8.7b against oracle of 5.4b and baseline of 31.6b

bsearch120.0ms

Steps
ItersRangePoint
9
4.546949039871578e+116
7.0067478635952275e+121
7.369869774752497e+119
4
2.7062129888597453e-95
4.861630376334293e-95
2.7444235711350233e-95
9
-6.621891359339352e+42
-4.1115514380901975e+36
-4.8085485579241775e+39

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04125
14125

end0.0ms

sample1.0s

Algorithm
intervals
Results
220.0ms1063×body2560valid
204.0ms5848×body80valid
141.0ms850×body1280valid
92.0ms2860×body80nan
60.0ms465×body640valid
26.0ms105×body5120valid
25.0ms234×body320valid
8.0ms120×body160valid