Details

Time bar (total: 5.7s)

sample51.0ms

Algorithm
intervals
Results
12.0ms45×body2560valid
9.0ms196×body80valid
7.0ms23×body1280valid
4.0ms96×body80nan
2.0ms10×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.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: 35.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series231.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* 3.0 a) c)
46.0ms
(- (* b b) (* (* 3.0 a) c))
85.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
75.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0307469
11303428
25001417

prune183.0ms

Filtered
72 candidates to 52 candidates (72.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New65772
Fresh000
Picked011
Done000
Total65873

Merged error: 13.9b

Counts
73 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 3.0 a) c))
5.1b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
8.9b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
25.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite43.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:
4.0ms
(- (* b b) (* (* 3.0 a) c))
17.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
13.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series470.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* (* 3.0 a) c))
159.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
190.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
76.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify120.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
06352579
131252333
250012320

prune435.0ms

Filtered
160 candidates to 106 candidates (66.3%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1519160
Fresh246
Picked101
Done011
Total15414168

Merged error: 12.8b

Counts
168 → 14

localize28.0ms

Local error

Found 4 expressions with local error:

14.0b
(cbrt (+ 0 (* 3.0 (* a c))))
25.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))
25.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))
25.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity
pow1
sqrt-div
add-exp-log add-cbrt-cube add-log-exp
cbrt-prod rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
cbrt-div
flip3-+ pow1/3 flip-+
Counts
4 → 58
Calls
4 calls:
2.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
4.0ms
(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)))

series335.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
76.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
75.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
79.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0259543
11000516
25002500

prune383.0ms

Filtered
70 candidates to 64 candidates (91.4%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New68270
Fresh11112
Picked101
Done011
Total701484

Merged error: 12.8b

Counts
84 → 14

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 3.0 a) c))
5.0b
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
8.9b
(/ (* 3.0 (* a c)) (* 3.0 (- (- 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 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
14.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series467.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 3.0 a) c))
158.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
188.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
76.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify128.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (111.0ms)

IterNodesCost
06821937
144161476
250021435

prune274.0ms

Filtered
122 candidates to 81 candidates (66.4%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1166122
Fresh4812
Picked101
Done011
Total12115136

Merged error: 12.5b

Counts
136 → 15

regimes479.0ms

Accuracy

92.2% (1.7b remaining)

Error of 13.1b against oracle of 11.4b and baseline of 32.7b

bsearch258.0ms

Steps
ItersRangePoint
9
4.136575721607635e+152
2.0850798451966124e+158
1.2300615712489121e+154
9
7.726796297099125e-115
1.9456244798947194e-105
8.71285355682513e-110
9
-3.1093417089968686e+156
-2.796615923212647e+151
-1.3570665871440235e+154

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06066
16266
26266

end0.0ms

sample1.6s

Algorithm
intervals
Results
411.0ms913×body1280valid
305.0ms1122×body2560valid
281.0ms5735×body80valid
135.0ms2828×body80nan
93.0ms498×body640valid
32.0ms98×body5120valid
29.0ms222×body320valid
10.0ms116×body160valid

Profiling

Loading profile data...