Details

Time bar (total: 4.7s)

sample52.0ms

Algorithm
intervals
Results
12.0ms41×body2560valid
9.0ms172×body80valid
8.0ms34×body1280valid
5.0ms98×body80nan
3.0ms13×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune3.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.3b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.1b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
18.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite30.0ms

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

series294.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
45.0ms
(- (* b b) (* 4.0 (* a c)))
78.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
76.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify48.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0404890
11481801
25001796

prune240.0ms

Filtered
89 candidates to 65 candidates (73.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New791089
Fresh000
Picked101
Done000
Total801090

Merged error: 3.3b

Counts
90 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

4.3b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
5.8b
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
16.3b
(- (pow b 2) (pow b 2))
18.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
78×times-frac
68×*-un-lft-identity
44×add-cube-cbrt
36×difference-of-squares
27×associate-/l*
22×unpow-prod-down
18×add-exp-log add-cbrt-cube distribute-lft-out--
13×sqrt-prod
12×unpow2 sqr-pow
10×distribute-rgt-out--
cbrt-undiv div-exp associate-/r*
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
div-sub associate-/l/
associate-+l- frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 +-inverses diff-log flip-+
Counts
4 → 175
Calls
4 calls:
26.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
24.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
11.0ms
(- (pow b 2) (pow b 2))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series343.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
154.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
1.0ms
(- (pow b 2) (pow b 2))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify181.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (156.0ms)

IterNodesCost
07612839
139052393
250022366

prune441.0ms

Filtered
187 candidates to 124 candidates (66.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1834187
Fresh549
Picked011
Done000
Total1889197

Merged error: 3.3b

Counts
197 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
11.9b
(/ (* 4.0 (* a c)) a)
18.6b
(sqrt (- (* b b) (* 4.0 (* a c))))
18.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite22.0ms

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

series237.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
10.0ms
(/ (* 4.0 (* a c)) a)
73.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
73.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify45.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0331546
11462505
25002485

prune256.0ms

Filtered
80 candidates to 59 candidates (73.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh077
Picked101
Done011
Total80989

Merged error: 3.2b

Counts
89 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
0.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
18.6b
(sqrt (- (* b b) (* 4.0 (* a c))))
18.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite23.0ms

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

series316.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
83.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
75.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
75.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify88.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0190592
1644562
22456556
35001550

prune244.0ms

Filtered
72 candidates to 58 candidates (80.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh077
Picked011
Done011
Total72981

Merged error: 3.2b

Counts
81 → 9

regimes170.0ms

Accuracy

95.9% (1.0b remaining)

Error of 6.7b against oracle of 5.7b and baseline of 29.8b

bsearch185.0ms

Steps
ItersRangePoint
9
1.537663903506608e+146
1.524085477896404e+154
1.828434800801383e+151
9
-1.440519304122712e-265
-1.6559327389548765e-274
-1.6894731563618579e-274
4
-6.635354719968133e+153
-4.347244425542823e+153
-4.5617547656451965e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04835
14835

end0.0ms

sample1.4s

Algorithm
intervals
Results
296.0ms5861×body80valid
292.0ms1016×body2560valid
214.0ms898×body1280valid
144.0ms2937×body80nan
82.0ms447×body640valid
42.0ms119×body5120valid
38.0ms256×body320valid
12.0ms127×body160valid