Details

Time bar (total: 5.3s)

sample44.0ms

Algorithm
intervals
Results
10.0ms39×body2560valid
8.0ms180×body80valid
6.0ms30×body1280valid
4.0ms100×body80nan
2.0ms12×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

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

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.6b
(- (* b b) (* (* 3.0 a) c))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 diff-log associate-*l* neg-log *-commutative flip-+
Counts
4 → 60
Calls
4 calls:
8.0ms
(* (* 3.0 a) c)
6.0ms
(- (* b b) (* (* 3.0 a) c))
13.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
6.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series239.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
48.0ms
(- (* b b) (* (* 3.0 a) c))
76.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
96.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0307469
11303428
25001417

prune174.0ms

Filtered
72 candidates to 52 candidates (72.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New65772
Fresh000
Picked011
Done000
Total65873

Merged error: 11.5b

Counts
73 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.8b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
9.1b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
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 → 154
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
17.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
16.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series479.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
147.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
183.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
71.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify119.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
06472692
130762439
250012426

prune431.0ms

Filtered
166 candidates to 111 candidates (66.9%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New15412166
Fresh066
Picked101
Done011
Total15519174

Merged error: 10.8b

Counts
174 → 19

localize19.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.7b
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
9.0b
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
22.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite48.0ms

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

series484.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
150.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
184.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
72.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify125.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
07022050
144191582
250011541

prune330.0ms

Filtered
128 candidates to 86 candidates (67.2%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New1208128
Fresh61117
Picked101
Done101
Total12819147

Merged error: 10.3b

Counts
147 → 19

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.6b
(/ a (/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
9.0b
(/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
58×add-sqr-sqrt
57×*-un-lft-identity
29×add-cube-cbrt
20×associate-/r*
18×add-exp-log add-cbrt-cube
14×distribute-lft-out-- difference-of-squares
11×associate-/r/
10×sqrt-prod
add-log-exp
cbrt-undiv flip3-- distribute-rgt-neg-in div-exp flip--
div-inv
pow1
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 pow1/2 neg-log
Counts
4 → 136
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
14.0ms
(/ a (/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
11.0ms
(/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series407.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
83.0ms
(/ a (/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
180.0ms
(/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify77.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05872060
127301822
250021805

prune348.0ms

Filtered
148 candidates to 106 candidates (71.6%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1453148
Fresh81018
Picked101
Done000
Total15413167

Merged error: 6.5b

Counts
167 → 13

regimes256.0ms

Accuracy

94.5% (1.3b remaining)

Error of 7.8b against oracle of 6.5b and baseline of 29.9b

bsearch224.0ms

Steps
ItersRangePoint
9
1.8873296595059161e+93
4.185563559022972e+102
8.94616693053734e+97
10
-3.652053439877918e-139
-3.418741215203259e-151
-3.478360471345321e-151
10
-1.218044689452388e+116
-9.206374310818687e+98
-1.1961650247121335e+116

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05242
15242

end0.0ms

sample1.3s

Algorithm
intervals
Results
271.0ms5853×body80valid
267.0ms1018×body2560valid
195.0ms920×body1280valid
133.0ms2973×body80nan
80.0ms457×body640valid
33.0ms105×body5120valid
30.0ms236×body320valid
9.0ms100×body160valid

Profiling

Loading profile data...