Details

Time bar (total: 5.4s)

analyze478.0ms

Algorithm
search

sample45.0ms

Algorithm
intervals
Results
10.0ms32×body2560valid
9.0ms165×body80valid
7.0ms27×body1280valid
4.0ms21×body640valid
1.0msbody5120valid
1.0ms24×body80nan
1.0ms14×body80invalid
1.0msbody320valid
0.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.3b

Counts
2 → 1

localize215.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.3b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.2b
(- (* b b) (* (* 4.0 a) c))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.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) (* (* 4.0 a) c)))) (* 2.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series68.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0396773
11550683
25001673

prune150.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New75782
Fresh000
Picked101
Done000
Total76783

Merged error: 6.4b

Counts
83 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.3b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.2b
(- (* b b) (* (* 4.0 a) c))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
53×times-frac
45×*-un-lft-identity
26×add-sqr-sqrt
25×add-exp-log add-cube-cbrt
13×add-cbrt-cube
12×div-exp
11×associate-/r*
10×distribute-lft-out add-log-exp
associate-/r/
pow1
cbrt-undiv distribute-rgt-neg-in flip3-+ flip-+ div-inv
rec-exp 1-exp prod-exp sqrt-prod associate-/l*
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 diff-log neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 114
Calls
4 calls:
13.0ms
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series73.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
16.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify67.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05281585
125961372
250011305

prune150.0ms

Filtered
72 candidates to 126 candidates (-75.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1233126
Fresh246
Picked011
Done000
Total1258133

Merged error: 6.3b

Counts
133 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ 1 (* 2.0 a)) (/ 1 (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.3b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.2b
(- (* b b) (* (* 4.0 a) c))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
333×times-frac
221×*-un-lft-identity
122×add-sqr-sqrt
121×add-cube-cbrt
87×add-exp-log
58×div-exp
50×distribute-lft-out
31×div-inv
25×distribute-rgt-neg-in add-cbrt-cube
21×associate-/r*
17×associate-/r/
15×rec-exp 1-exp
13×cbrt-undiv
12×prod-exp
10×add-log-exp
flip3-+ flip-+
associate-/l*
pow1
sqrt-prod
flip3-- sqrt-div sum-log flip-- cbrt-unprod
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log neg-log clear-num associate-/l/
Counts
4 → 263
Calls
4 calls:
20.0ms
(/ (/ 1 (* 2.0 a)) (/ 1 (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (/ 1 (* 2.0 a)) (/ 1 (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify67.0ms

Algorithm
egg-herbie
Counts
275 → 275
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011144690
150014131

prune317.0ms

Filtered
116 candidates to 275 candidates (-137.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2750275
Fresh066
Picked011
Done011
Total2758283

Merged error: 6.3b

Counts
283 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
10.7b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite48.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:
10.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
16.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series130.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
44.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
56.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06462693
131632447
250032434

prune257.0ms

Filtered
110 candidates to 166 candidates (-50.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1651166
Fresh055
Picked101
Done022
Total1668174

Merged error: 6.3b

Counts
174 → 8

regimes275.0ms

Accuracy

88.5% (3.3b remaining)

Error of 8.8b against oracle of 5.5b and baseline of 34.1b

bsearch844.0ms

Steps
ItersRangePoint
9
5.009638685812967e+118
3.204623881760618e+124
5.740317269058856e+120
8
-6.601867524827876e-296
-1.3317919070310298e-298
-3.900224684404305e-298
10
-1.6015727729009017e+119
-1.463789235069504e+107
-1.2735944960369567e+116

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05232
15232

end0.0ms

analyze472.0ms

Algorithm
search

sample1.3s

Algorithm
intervals
Results
336.0ms1066×body2560valid
285.0ms5146×body80valid
241.0ms911×body1280valid
93.0ms453×body640valid
36.0ms689×body80nan
33.0ms88×body5120valid
33.0ms214×body320valid
23.0ms419×body80invalid
13.0ms122×body160valid

Profiling

Loading profile data...