Details

Time bar (total: 4.0s)

sample77.0ms

Algorithm
intervals
Results
11.0ms38×body2560valid
10.0ms168×body80valid
8.0ms14×body640valid
8.0ms32×body1280valid
4.0ms85×body80nan
2.0msbody5120valid
2.0ms11×body320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune4.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.8b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
1.0b
(- (* b b) (* 4.0 (* a c)))
1.4b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite28.0ms

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

series59.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
8.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0398888
11466803
25001798

prune159.0ms

Filtered
89 candidates to 65 candidates (27.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New82789
Fresh000
Picked011
Done000
Total82890

Merged error: 7.0b

Counts
90 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
1.0b
(- (* b b) (* 4.0 (* a c)))
1.4b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
67×times-frac
48×add-sqr-sqrt
47×*-un-lft-identity
27×add-cube-cbrt
25×add-exp-log
13×associate-/r* add-cbrt-cube
12×div-exp
10×distribute-lft-out-- add-log-exp difference-of-squares
associate-/r/
sqrt-prod
flip3-- flip--
pow1
cbrt-undiv distribute-rgt-neg-in div-inv
rec-exp diff-log 1-exp prod-exp associate-/l*
sub-neg sqrt-div
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 125
Calls
4 calls:
13.0ms
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series71.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05381801
125731602
250021528

prune155.0ms

Filtered
137 candidates to 73 candidates (46.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1361137
Fresh066
Picked011
Done011
Total1369145

Merged error: 6.9b

Counts
145 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

3.5b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
10.9b
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
17.0b
(- (pow b 2) (pow b 2))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
78×times-frac
68×*-un-lft-identity
44×add-cube-cbrt
36×difference-of-squares
27×associate-/l*
22×unpow-prod-down
18×add-exp-log add-cbrt-cube distribute-lft-out--
13×sqrt-prod
12×unpow2 sqr-pow
10×distribute-rgt-out--
cbrt-undiv div-exp associate-/r*
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
div-sub associate-/l/
associate-+l- frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 +-inverses diff-log flip-+
Counts
4 → 175
Calls
4 calls:
27.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
23.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
7.0ms
(- (pow b 2) (pow b 2))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series78.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
33.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
1.0ms
(- (pow b 2) (pow b 2))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify188.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (162.0ms)

IterNodesCost
07602835
139142397
250022370

prune379.0ms

Filtered
187 candidates to 124 candidates (33.7%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1861187
Fresh066
Picked011
Done022
Total18610196

Merged error: 6.9b

Counts
196 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×*-un-lft-identity
10×sqrt-prod
add-log-exp
pow1 add-cube-cbrt
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg distribute-rgt-neg-in neg-log
Counts
4 → 63
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series58.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0203606
1762588
23223580
35001576

prune181.0ms

Filtered
75 candidates to 60 candidates (20.0%)
Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New75075
Fresh066
Picked011
Done033
Total751085

Merged error: 6.9b

Counts
85 → 10

regimes409.0ms

Accuracy

87% (3.8b remaining)

Error of 9.8b against oracle of 6.0b and baseline of 35.2b

bsearch128.0ms

Steps
ItersRangePoint
8
6.823316278298556e+61
7.483462020487317e+65
6.841384097904949e+62
8
-2.9266307033054667e-97
-1.0822712823597246e-101
-4.9416544507568687e-98
9
-1.5833291525376033e-90
-2.16736516441666e-95
-2.1910163229392338e-95
6
-1391.0173919854967
-99.04193821246227
-188.2213156809491

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04632
14632

end0.0ms

sample1.6s

Algorithm
intervals
Results
320.0ms1066×body2560valid
286.0ms5398×body80valid
265.0ms1058×body1280valid
128.0ms2483×body80nan
104.0ms543×body640valid
43.0ms276×body320valid
32.0ms90×body5120valid
15.0ms139×body160valid

Profiling

Loading profile data...