Details

Time bar (total: 4.1s)

sample56.0ms

Algorithm
intervals
Results
13.0ms181×body80valid
10.0ms36×body2560valid
5.0ms23×body1280valid
4.0ms82×body80nan
3.0ms17×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
1.1b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.2b
(- (* b b) (* (* 3.0 a) c))
25.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite20.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:
5.0ms
(* (* 3.0 a) c)
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series43.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3.0 a) c)
17.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
8.0ms
(- (* b b) (* (* 3.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify39.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0302468
11299428
25002417

prune135.0ms

Filtered
72 candidates to 52 candidates (27.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New64872
Fresh000
Picked011
Done000
Total64973

Merged error: 13.6b

Counts
73 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 3.0 a) c))
4.3b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
9.8b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
25.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite42.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--
div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 148
Calls
4 calls:
3.0ms
(- (* 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))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series125.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (* b b) (* (* 3.0 a) c))
43.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
58.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify111.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06342580
131612341
250012328

prune315.0ms

Filtered
160 candidates to 106 candidates (33.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1546160
Fresh167
Picked101
Done011
Total15613169

Merged error: 13.2b

Counts
169 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 3.0 a) c))
4.2b
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
9.7b
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
25.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite42.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
associate-/r*
sqrt-prod
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 110
Calls
4 calls:
4.0ms
(- (* 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)))

series124.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 3.0 a) c))
44.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
57.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
06791938
144781484
250011443

prune213.0ms

Filtered
122 candidates to 81 candidates (33.6%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1184122
Fresh01111
Picked101
Done011
Total11916135

Merged error: 13.0b

Counts
135 → 16

localize14.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 3.0 a) c))
11.5b
(+ (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c))))))
25.9b
(cbrt (- (* b b) (* (* 3.0 a) c)))
25.9b
(cbrt (- (* b b) (* (* 3.0 a) c)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div add-cbrt-cube
flip3-- flip--
pow1/3 sum-log
+-commutative neg-sub0 associate-+l- sub-neg flip3-+ diff-log neg-log flip-+
Counts
4 → 51
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(+ (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c))))))
3.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

series89.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
30.0ms
(+ (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c))))))
24.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
26.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

simplify40.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0353804
11351725
25001702

prune150.0ms

Filtered
63 candidates to 56 candidates (11.1%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New62163
Fresh11314
Picked011
Done011
Total631679

Merged error: 13.0b

Counts
79 → 16

regimes734.0ms

Accuracy

86.5% (3.1b remaining)

Error of 14.3b against oracle of 11.2b and baseline of 34.3b

bsearch108.0ms

Steps
ItersRangePoint
9
6576192704339.47
2.9434032555578894e+20
7.7904401432269e+15
9
2.994308139190913e-109
5.986107531571838e-100
2.931974972841588e-107
9
-7.43176951740542e+107
-7.093321319689126e+100
-6.231863336282291e+107

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06056
16056

end0.0ms

sample1.5s

Algorithm
intervals
Results
318.0ms1082×body2560valid
298.0ms5839×body80valid
214.0ms903×body1280valid
141.0ms2940×body80nan
81.0ms423×body640valid
40.0ms108×body5120valid
31.0ms224×body320valid
11.0ms113×body160valid

Profiling

Loading profile data...