Details

Time bar (total: 5.5s)

sample52.0ms

Algorithm
intervals
Results
11.0ms40×body2560valid
9.0ms183×body80valid
7.0ms25×body640valid
6.0ms27×body1280valid
4.0ms93×body80nan
1.0msbody320valid
0.0msbody160valid
0.0msbody5120valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

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.1b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
1.6b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.6b
(- (* b b) (* (* 3.0 a) c))
23.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite31.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:
12.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series295.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
46.0ms
(- (* b b) (* (* 3.0 a) c))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0433855
11670751
25001736

prune257.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New939102
Fresh000
Picked101
Done000
Total949103

Merged error: 3.4b

Counts
103 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 3.0 a) c))
4.7b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
9.1b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
23.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log prod-diff flip-+
Counts
4 → 158
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
17.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
7.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series429.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 3.0 a) c))
144.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
173.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify133.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
06692663
134312412
250012406

prune448.0ms

Filtered
170 candidates to 117 candidates (68.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1682170
Fresh088
Picked011
Done000
Total16811179

Merged error: 3.4b

Counts
179 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 3.0 a) c))
4.7b
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
9.1b
(/ (* 3.0 (* a c)) (* 3.0 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
23.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
54×add-exp-log add-cbrt-cube
26×times-frac
19×cbrt-undiv div-exp
18×add-sqr-sqrt prod-exp cbrt-unprod
17×add-cube-cbrt *-un-lft-identity
10×associate-*r/ associate-/r/
associate-/l*
flip3-- flip--
div-inv add-log-exp
pow1
expm1-log1p-u associate-/r* log1p-expm1-u
sqrt-prod
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff associate-/l/
Counts
4 → 120
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
16.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
14.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series433.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b b) (* (* 3.0 a) c))
147.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
175.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify134.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
07142019
146791554
250011549

prune293.0ms

Filtered
132 candidates to 91 candidates (68.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1302132
Fresh279
Picked011
Done101
Total13310143

Merged error: 3.4b

Counts
143 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 3.0 a) c))
4.7b
(/ (/ (* a c) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
9.1b
(/ (* a c) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
23.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
54×add-sqr-sqrt
53×*-un-lft-identity
29×add-cube-cbrt
18×add-exp-log add-cbrt-cube
14×associate-/l*
12×distribute-lft-out-- difference-of-squares
10×associate-/r* associate-/r/
sqrt-prod
cbrt-undiv flip3-- div-exp flip--
distribute-rgt-neg-in div-inv add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff associate-/l/
Counts
4 → 140
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
18.0ms
(/ (/ (* a c) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
12.0ms
(/ (* a c) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series433.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 3.0 a) c))
140.0ms
(/ (/ (* a c) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
175.0ms
(/ (* a c) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
71.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify80.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06422034
130611813
250021789

prune320.0ms

Filtered
152 candidates to 108 candidates (71.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1511152
Fresh178
Picked101
Done101
Total1548162

Merged error: 3.4b

Counts
162 → 8

regimes357.0ms

Accuracy

90.2% (2.6b remaining)

Error of 8.2b against oracle of 5.5b and baseline of 32.5b

bsearch181.0ms

Steps
ItersRangePoint
10
1.100420074551047e-18
0.0163835844060345
8.37903889759168e-06
7
-4.075100890035593e-239
-7.186026749476536e-241
-1.1994977793869009e-240
9
-2.697228385254691e+105
-3.334524116472281e+99
-2.2935753422547666e+102

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04627
14627

end0.0ms

sample1.4s

Algorithm
intervals
Results
319.0ms1087×body2560valid
286.0ms5798×body80valid
207.0ms881×body1280valid
138.0ms2960×body80nan
85.0ms443×body640valid
44.0ms118×body5120valid
33.0ms240×body320valid
12.0ms133×body160valid