Details

Time bar (total: 5.8s)

sample52.0ms

Algorithm
intervals
Results
10.0ms33×body2560valid
9.0ms39×body1280valid
9.0ms166×body80valid
4.0ms22×body640valid
4.0ms77×body80nan
2.0ms12×body320valid
1.0msbody5120valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

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

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.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.6b
(- (* b b) (* (* 4.0 a) c))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
11.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
75.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
42.0ms
(- (* b b) (* (* 4.0 a) c))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0438854
11702750
25001735

prune254.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New957102
Fresh000
Picked101
Done000
Total967103

Merged error: 4.4b

Counts
103 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.8b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
8.0b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
125×add-sqr-sqrt
124×*-un-lft-identity
90×times-frac
80×add-cube-cbrt
60×prod-diff
44×sqrt-prod
32×distribute-rgt-neg-in
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
18×add-exp-log add-cbrt-cube
10×fma-neg
associate-/r* add-log-exp
cbrt-undiv neg-mul-1 div-exp
associate-/r/
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 232
Calls
4 calls:
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
13.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series488.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
154.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
172.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify146.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
08295119
137633863
250013860

prune476.0ms

Filtered
244 candidates to 141 candidates (57.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2413244
Fresh246
Picked011
Done000
Total2438251

Merged error: 4.4b

Counts
251 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

5.8b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))) (* 2.0 a))
8.0b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))))
14.3b
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
169×add-sqr-sqrt
146×*-un-lft-identity
102×add-cube-cbrt times-frac
90×prod-diff
82×log-prod exp-sum
44×sqrt-prod
41×distribute-rgt-neg-in
33×associate-/l* difference-of-squares
30×distribute-lft-neg-in
22×distribute-lft-out--
18×add-exp-log add-cbrt-cube
10×neg-mul-1 fma-neg
associate-/r*
add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 273
Calls
4 calls:
20.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))) (* 2.0 a))
16.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))))
14.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series457.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))) (* 2.0 a))
176.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))))
72.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify160.0ms

Algorithm
egg-herbie
Counts
285 → 285
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
09787738
139644917
250014916

prune587.0ms

Filtered
285 candidates to 145 candidates (50.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2841285
Fresh066
Picked101
Done011
Total2858293

Merged error: 4.4b

Counts
293 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* (* 4.0 a) c))
0.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
15.4b
(/ (* 4.0 (* a c)) (* a (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
61×prod-diff
51×add-sqr-sqrt
50×*-un-lft-identity
46×add-cube-cbrt
34×sqrt-prod
25×add-exp-log add-cbrt-cube
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
prod-exp cbrt-unprod
neg-mul-1
cbrt-undiv div-exp
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
sub-neg sqrt-div associate-*r/ associate-/r/ distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 times-frac pow1/2 neg-log clear-num associate-/r* div-inv associate-/l*
Counts
4 → 152
Calls
4 calls:
6.0ms
(- (* b b) (* (* 4.0 a) c))
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
14.0ms
(/ (* 4.0 (* a c)) (* a (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series325.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* (* 4.0 a) c))
73.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
142.0ms
(/ (* 4.0 (* a c)) (* a (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify104.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
06683371
134822161
250012072

prune264.0ms

Filtered
164 candidates to 82 candidates (50.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1631164
Fresh246
Picked011
Done011
Total1657172

Merged error: 4.4b

Counts
172 → 7

regimes148.0ms

Accuracy

93% (1.7b remaining)

Error of 7.2b against oracle of 5.5b and baseline of 29.8b

bsearch143.0ms

Steps
ItersRangePoint
7
3.0106008231332273e+28
3.853441604264477e+30
3.7841174599135035e+30
8
-2.927933099620566e-203
-2.4110032972616562e-207
-2.8254292841125695e-206
2
-4.193597519284562e+95
-3.5355996581575456e+95
-4.111347786643685e+95

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04828
15028
25028

end0.0ms

sample1.5s

Algorithm
intervals
Results
356.0ms1132×body2560valid
323.0ms5781×body80valid
229.0ms895×body1280valid
158.0ms2866×body80nan
95.0ms466×body640valid
40.0ms107×body5120valid
37.0ms247×body320valid
11.0ms109×body160valid