Details

Time bar (total: 4.8s)

sample279.0ms

Algorithm
intervals
Results
6.0ms181×body80valid
6.0ms29×body2560valid
4.0ms26×body1280valid
3.0ms14×body640valid
3.0ms105×body80nan
1.0msbody5120valid
1.0ms10×body160valid
0.0msbody320valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1237
2307
3327
4347
5347

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: 34.2b

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.4b
(- (* b_2 b_2) (* a c))
2.3b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
19×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
10×fma-def distribute-lft-out add-log-exp
distribute-rgt-neg-in
add-exp-log add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub div-exp prod-diff neg-log clear-num div-inv
Counts
4 → 100
Calls
4 calls:
24.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))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series274.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
34.0ms
(- (* b_2 b_2) (* a c))
75.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
68.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0389850
11366779
25001753

prune280.0ms

Filtered
112 candidates to 88 candidates (78.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1048112
Fresh000
Picked101
Done000
Total1058113

Merged error: 6.4b

Counts
113 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.4b
(- (* b_2 b_2) (* a c))
2.3b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
24×add-sqr-sqrt
16×add-cube-cbrt
13×add-exp-log associate-*r*
11×times-frac
10×fma-def add-log-exp
add-cbrt-cube
pow1
distribute-rgt-neg-in associate-*l*
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out
distribute-lft-neg-in flip3-+ sqrt-prod flip-+ unswap-sqr
frac-times flip3-- sqrt-div div-exp associate-*l/ sum-log flip-- cbrt-unprod
cbrt-undiv +-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square rec-exp sqrt-pow1 pow1/2 fma-neg diff-log 1-exp associate-*r/ prod-diff pow-prod-down neg-log un-div-inv *-commutative div-inv
Counts
4 → 104
Calls
4 calls:
18.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
4.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(+ (- 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:
89.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
32.0ms
(- (* b_2 b_2) (* a c))
72.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
59.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify61.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0479897
12066778
25003729

prune253.0ms

Filtered
116 candidates to 91 candidates (78.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1151116
Fresh167
Picked011
Done000
Total1168124

Merged error: 6.4b

Counts
124 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
11.1b
(+ (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
21.4b
(sqrt (- (* b_2 b_2) (* a c)))
21.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
53×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
21×add-cube-cbrt *-un-lft-identity
18×pow1/2
15×swap-sqr
10×fma-def
associate-*r* associate-*l* pow-prod-up unswap-sqr
flip3-- flip-- add-log-exp
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u frac-times log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in
rem-sqrt-square associate-*r/ associate-*l/ sum-log
+-commutative pow2 neg-sub0 associate-+l- neg-mul-1 flip3-+ pow-plus sqrt-unprod neg-log prod-exp rem-square-sqrt *-commutative cbrt-unprod flip-+
Counts
4 → 144
Calls
4 calls:
15.0ms
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
5.0ms
(+ (- 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)))

series258.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
73.0ms
(+ (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify58.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03481239
114521085
250011054

prune302.0ms

Filtered
156 candidates to 94 candidates (60.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1560156
Fresh066
Picked011
Done011
Total1568164

Merged error: 6.4b

Counts
164 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.7b
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
9.9b
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
21.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
199×add-sqr-sqrt
198×*-un-lft-identity
186×times-frac
130×add-cube-cbrt
60×prod-diff
50×sqrt-prod
38×distribute-rgt-neg-in
34×distribute-lft-out-- difference-of-squares
30×associate-/l*
21×distribute-lft-neg-in
11×add-exp-log add-cbrt-cube
10×fma-neg associate-/r* associate-/r/
add-log-exp
neg-mul-1 flip3-- flip--
div-inv
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
associate-/l/
frac-2neg sqrt-div diff-log clear-num
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 284
Calls
4 calls:
10.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
17.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
12.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series442.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
144.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
171.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify147.0ms

Algorithm
egg-herbie
Counts
296 → 296
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
09195579
139184508
250014505

prune515.0ms

Filtered
296 candidates to 172 candidates (58.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2942296
Fresh055
Picked101
Done112
Total2968304

Merged error: 6.2b

Counts
304 → 8

regimes226.0ms

Accuracy

89.8% (2.9b remaining)

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

bsearch129.0ms

Steps
ItersRangePoint
9
1.6278444403979259e+38
5.796736762262291e+44
2.51019106813355e+42
6
-1.4045781091447122e-218
-3.445376932344153e-219
-3.490156328556992e-219
8
-1.0818597257815559e+95
-2.772945999025709e+91
-9.612795529269333e+93

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04325
14325

end0.0ms

sample1.0s

Algorithm
intervals
Results
214.0ms1077×body2560valid
210.0ms5830×body80valid
145.0ms882×body1280valid
96.0ms3037×body80nan
57.0ms448×body640valid
29.0ms112×body5120valid
23.0ms245×body320valid
8.0ms123×body160valid