Details

Time bar (total: 5.7s)

sample43.0ms

Algorithm
intervals
Results
9.0ms195×body80valid
8.0ms37×body1280valid
7.0ms26×body2560valid
3.0ms73×body80nan
2.0ms11×body640valid
1.0msbody5120valid
1.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: 32.1b

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))
1.4b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.6b
(- (* b b) (* (* 3.0 a) c))
19.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite28.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:
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series369.0ms

Counts
4 → 12
Calls
4 calls:
163.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
82.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
48.0ms
(- (* b b) (* (* 3.0 a) c))
75.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify67.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0391774
11518684
25001674

prune209.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New701282
Fresh000
Picked101
Done000
Total711283

Merged error: 4.6b

Counts
83 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 3.0 a) c))
3.0b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
8.6b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
19.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite46.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))
20.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)))

series636.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* b b) (* (* 3.0 a) c))
228.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
287.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
71.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

prune368.0ms

Filtered
160 candidates to 106 candidates (66.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1582160
Fresh11011
Picked011
Done000
Total15913172

Merged error: 4.5b

Counts
172 → 13

localize18.0ms

Local error

Found 4 expressions with local error:

9.7b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))))))
10.2b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
19.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))
19.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
12×times-frac
add-log-exp
pow1 add-exp-log sqrt-prod add-cbrt-cube
difference-of-squares
flip3-- sqrt-div associate-/r* flip--
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/r/ associate-/l/
cbrt-undiv associate--l- neg-sub0 sub-neg frac-2neg flip3-+ div-exp neg-log clear-num flip-+ div-inv
Counts
4 → 80
Calls
4 calls:
8.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))))))
4.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series525.0ms

Counts
4 → 12
Calls
4 calls:
294.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))))))
80.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
75.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
76.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify78.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
04041604
119211363
250011321

prune308.0ms

Filtered
92 candidates to 79 candidates (85.9%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh01111
Picked011
Done011
Total9213105

Merged error: 4.5b

Counts
105 → 13

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) a)
1.4b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.6b
(- (* b b) (* (* 3.0 a) c))
19.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite39.0ms

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

series356.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(/ (/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) a)
83.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
45.0ms
(- (* b b) (* (* 3.0 a) c))
77.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify70.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06011956
123401862
250011841

prune296.0ms

Filtered
149 candidates to 102 candidates (68.5%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New1472149
Fresh2810
Picked011
Done022
Total14913162

Merged error: 4.5b

Counts
162 → 13

regimes680.0ms

Accuracy

84.1% (4.3b remaining)

Error of 10.1b against oracle of 5.8b and baseline of 32.8b

bsearch118.0ms

Steps
ItersRangePoint
10
9.076168226220815e-77
1.5530881076411509e-65
6.779092232466221e-73
7
-2.699945253400381e+124
-1.5580135688955996e+123
-1.0469728991192871e+124

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03717
13717

end0.0ms

sample1.3s

Algorithm
intervals
Results
276.0ms5912×body80valid
275.0ms1064×body2560valid
185.0ms861×body1280valid
133.0ms2882×body80nan
77.0ms454×body640valid
35.0ms110×body5120valid
33.0ms227×body320valid
10.0ms116×body160valid

Profiling

Loading profile data...