Details

Time bar (total: 9.5s)

analyze444.0ms

Algorithm
search

sample41.0ms

Algorithm
intervals
Results
9.0ms31×body2560valid
9.0ms172×body80valid
5.0ms22×body1280valid
2.0ms13×body640valid
2.0ms12×body320valid
1.0ms29×body80nan
1.0msbody5120valid
1.0ms21×body80invalid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.4b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(- (* b b) (* (* 3.0 a) c))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
6.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series65.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
9.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0391774
11518684
25001674

prune160.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New74882
Fresh000
Picked101
Done000
Total75883

Merged error: 5.9b

Counts
83 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 3.0 a) c))
2.9b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
10.0b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite40.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))
16.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:
8.0ms
(- (* b b) (* (* 3.0 a) c))
45.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
55.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
17.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
06342580
131612341
250012328

prune278.0ms

Filtered
106 candidates to 160 candidates (-50.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1582160
Fresh077
Picked011
Done000
Total15810168

Merged error: 5.9b

Counts
168 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 3.0 a) c))
2.9b
(/ (* 1 (/ 3.0 (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* a c)))) (* 3.0 a))
10.2b
(/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* a c))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
86×add-exp-log
54×add-cbrt-cube
40×div-exp
30×prod-exp
22×cbrt-undiv
16×add-sqr-sqrt cbrt-unprod
15×*-un-lft-identity
times-frac 1-exp associate-/l*
add-cube-cbrt
add-log-exp
pow1 sqrt-prod
distribute-lft-out-- difference-of-squares
flip3-- flip-- associate-/l/
distribute-rgt-neg-in frac-2neg sqrt-div clear-num associate-/r* div-inv
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log div-sub associate-*r/
Counts
4 → 101
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
18.0ms
(/ (* 1 (/ 3.0 (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* a c)))) (* 3.0 a))
14.0ms
(/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* a c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series79.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07541551
140551213
250021201

prune143.0ms

Filtered
63 candidates to 113 candidates (-79.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1121113
Fresh178
Picked011
Done011
Total11310123

Merged error: 5.9b

Counts
123 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 3.0 a) c))
2.9b
(/ (/ (/ 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 3.0 (* a c))) a)
9.8b
(/ (/ 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 3.0 (* a c)))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite189.0ms

Algorithm
rewrite-expression-head
Rules
2691×times-frac
1305×add-sqr-sqrt
1304×*-un-lft-identity
872×add-cube-cbrt
221×associate-/l*
216×distribute-lft-out-- difference-of-squares
178×div-inv
111×sqrt-prod
108×distribute-rgt-neg-in
77×associate-/r/
54×add-exp-log add-cbrt-cube
38×flip3-- flip--
33×cbrt-undiv div-exp
10×associate-/r*
add-log-exp
pow1
prod-exp cbrt-unprod
frac-2neg sqrt-div clear-num associate-/l/
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 1078
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
52.0ms
(/ (/ (/ 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 3.0 (* a c))) a)
19.0ms
(/ (/ 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 3.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series99.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
36.0ms
(/ (/ (/ 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 3.0 (* a c))) a)
39.0ms
(/ (/ 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 3.0 (* a c)))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify331.0ms

Algorithm
egg-herbie
Counts
1090 → 1090
Iterations

Useful iterations: 1 (103.0ms)

IterNodesCost
0355624944
1500224439

prune4.3s

Filtered
693 candidates to 1090 candidates (-57.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New108821090
Fresh167
Picked101
Done112
Total109191100

Merged error: 5.9b

Counts
1100 → 9

regimes430.0ms

Accuracy

95.5% (1.1b remaining)

Error of 6.8b against oracle of 5.7b and baseline of 30.2b

bsearch776.0ms

Steps
ItersRangePoint
7
4.050479951513376e+135
4.880654514519628e+137
8.867700434171093e+136
11
-1.0290127703161618e-268
-3.772213730540425e-289
-1.997002166149416e-286
10
-9.207710188811221e+154
-1.1313532039137656e+145
-6.827152947135466e+146

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04528
14528

end0.0ms

analyze437.0ms

Algorithm
search

sample1.2s

Algorithm
intervals
Results
298.0ms1036×body2560valid
267.0ms5229×body80valid
205.0ms867×body1280valid
89.0ms460×body640valid
33.0ms95×body5120valid
31.0ms666×body80nan
31.0ms223×body320valid
18.0ms368×body80invalid
8.0ms90×body160valid

Profiling

Loading profile data...