Details

Time bar (total: 4.2s)

sample45.0ms

Algorithm
intervals
Results
8.0ms37×body2560valid
7.0ms184×body80valid
6.0ms36×body1280valid
3.0ms91×body80nan
2.0ms16×body640valid
1.0msbody320valid
1.0msbody5120valid
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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.6b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
25.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite106.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:
62.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
8.0ms
(- (* b b) (* 4.0 (* a c)))
25.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
8.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
43.0ms
(- (* b b) (* 4.0 (* a c)))
65.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
66.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify47.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0404890
11481801
25001796

prune242.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 6.6b

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify5.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune22.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 6.6b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) a)
0.6b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
25.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite103.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:
59.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) a)
8.0ms
(- (* b b) (* 4.0 (* a c)))
25.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
9.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series252.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) a)
42.0ms
(- (* b b) (* 4.0 (* a c)))
66.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
64.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify47.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03811101
113431035
250011026

prune255.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 6.6b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* 4.0 (* a c)))
4.1b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) a)
11.6b
(/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
25.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
162×times-frac
146×add-sqr-sqrt
113×*-un-lft-identity
81×add-cube-cbrt
32×difference-of-squares
27×associate-/l*
19×sqrt-prod
16×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 → 184
Calls
4 calls:
8.0ms
(- (* b b) (* 4.0 (* a c)))
91.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) a)
58.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series436.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* 4.0 (* a c)))
149.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) a)
182.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
62.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify117.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
07323438
133893258
250013235

prune531.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 6.5b

regimes217.0ms

Accuracy

81.8% (4.8b remaining)

Error of 10.5b against oracle of 5.6b and baseline of 32.1b

bsearch78.0ms

Steps
ItersRangePoint
6
2.905752377093217e+53
1.5130510757279288e+54
1.4983382189642058e+54
6
-7.09976396972575e-70
-5.325167427794927e-71
-5.6439472304372656e-71

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03616
13616

end0.0ms

sample1.2s

Algorithm
intervals
Results
230.0ms1059×body2560valid
225.0ms5913×body80valid
158.0ms879×body1280valid
109.0ms3016×body80nan
66.0ms461×body640valid
32.0ms122×body5120valid
22.0ms211×body320valid
9.0ms123×body160valid