Details

Time bar (total: 4.9s)

sample794.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 21.887207%

Guaranteed chance to sample good point: 86.240038%

Results
10.0ms187×body80valid
8.0ms32×body1280valid
7.0ms23×body2560valid
3.0ms14×body640valid
2.0ms10×body320valid
1.0msbody5120valid
0.0msbody80nan
0.0msbody160valid

simplify11.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: 33.9b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.6b
(- (* b b) (* (* 3.0 a) c))
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.7b
(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)
3.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series43.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3.0 a) c)
8.0ms
(- (* b b) (* (* 3.0 a) c))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
17.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0302468
11299428
25002417

prune145.0ms

Filtered
52 candidates to 72 candidates (-38.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New611172
Fresh000
Picked101
Done000
Total621173

Merged error: 12.5b

Counts
73 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 3.0 (* a c))
0.6b
(- (* b b) (* 3.0 (* a c)))
0.7b
(+ (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
24.7b
(sqrt (- (* b b) (* 3.0 (* a c))))

rewrite21.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-*l* 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-*r* 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
(+ (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
3.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

series42.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0292467
11079427
24710416
35003416

prune119.0ms

Filtered
50 candidates to 72 candidates (-44.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh01010
Picked011
Done000
Total721183

Merged error: 12.5b

Counts
83 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt c)
0.6b
(- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
24.7b
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
add-cube-cbrt
pow1
add-exp-log add-cbrt-cube
cbrt-prod sqrt-prod
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 pow1/3 diff-log neg-log flip-+
Counts
4 → 53
Calls
4 calls:
1.0ms
(cbrt c)
3.0ms
(- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
4.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

series71.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(cbrt c)
11.0ms
(- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
19.0ms
(+ (neg b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
17.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

simplify39.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0293748
11054653
25001611

prune122.0ms

Filtered
51 candidates to 65 candidates (-27.5%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New64165
Fresh099
Picked011
Done011
Total641276

Merged error: 12.5b

Counts
76 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))
24.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))
24.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- distribute-rgt-neg-in flip3-+ neg-log flip-+
Counts
4 → 60
Calls
4 calls:
8.0ms
(+ (neg b) (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)))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series56.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0212558
1801538
23387526
35001522

prune184.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New71172
Fresh099
Picked101
Done022
Total721284

Merged error: 12.5b

Counts
84 → 12

regimes528.0ms

Accuracy

97% (0.7b remaining)

Error of 13.1b against oracle of 12.5b and baseline of 34.3b

bsearch112.0ms

Steps
ItersRangePoint
9
3.547740726486026e+82
4.028771889956111e+87
3.4474050457034595e+87
8
8.954781631583551e-166
5.855214282847364e-161
8.983006684649316e-163
9
-9.001808561053642e+159
-1.662564167781351e+151
-1.3322298581209376e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04934
15134
25134

end0.0ms

sample2.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 21.887207%

Guaranteed chance to sample good point: 86.240038%

Results
351.0ms1048×body2560valid
342.0ms5885×body80valid
238.0ms858×body1280valid
92.0ms437×body640valid
48.0ms114×body5120valid
37.0ms234×body320valid
20.0ms360×body80nan
14.0ms127×body160valid

Profiling

Loading profile data...