Details

Time bar (total: 2.9s)

sample79.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 62.473122%

Results
10.0ms200×body80valid
7.0ms24×body2560valid
3.0msbody5120valid
2.0msbody1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0228
1248
2248

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.1b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
1.0b
(+ (sqrt (+ (* re re) (* im im))) re)
27.6b
(sqrt (+ (* re re) (* im im)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
pow1
*-un-lft-identity
add-sqr-sqrt add-log-exp
add-cube-cbrt sqrt-div sqrt-prod
add-exp-log sqrt-pow1 flip3-+ add-cbrt-cube flip-+
pow1/2 associate-*r/
+-commutative rem-sqrt-square pow-prod-down sum-log distribute-lft-out
Counts
3 → 40
Calls
3 calls:
7.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
6.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))

series38.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
10.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify75.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0247351
1781333
22656327
35001325

prune107.0ms

Filtered
42 candidates to 49 candidates (-16.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New42749
Fresh000
Picked011
Done000
Total42850

Merged error: 18.7b

Counts
50 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
6.1b
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
28.5b
(cbrt (+ (* re re) (* im im)))
28.5b
(cbrt (+ (* re re) (* im im)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×cbrt-prod add-cube-cbrt *-un-lft-identity
associate-*r*
sqrt-prod
pow1 add-exp-log cbrt-div add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-*l* unswap-sqr
pow1/3 sqrt-div associate-*r/
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 65
Calls
4 calls:
8.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
8.0ms
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
3.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series104.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
28.0ms
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
22.0ms
(cbrt (+ (* re re) (* im im)))
21.0ms
(cbrt (+ (* re re) (* im im)))

simplify127.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
03551000
11235940
24815899
35002885

prune149.0ms

Filtered
66 candidates to 77 candidates (-16.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New74377
Fresh156
Picked101
Done101
Total77885

Merged error: 18.7b

Counts
85 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

5.1b
(exp (log (cbrt (+ (* re re) (* im im)))))
13.2b
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (exp (log (cbrt (+ (* re re) (* im im))))))) re)
28.5b
(cbrt (+ (* re re) (* im im)))
28.5b
(cbrt (+ (* re re) (* im im)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div log-prod exp-sum add-log-exp
pow1 exp-prod
add-exp-log flip3-+ add-cbrt-cube flip-+
pow1/3
log-div exp-diff log-pow
+-commutative sum-log rem-exp-log
Counts
4 → 58
Calls
4 calls:
5.0ms
(exp (log (cbrt (+ (* re re) (* im im)))))
11.0ms
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (exp (log (cbrt (+ (* re re) (* im im))))))) re)
3.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series92.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(exp (log (cbrt (+ (* re re) (* im im)))))
29.0ms
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (exp (log (cbrt (+ (* re re) (* im im))))))) re)
22.0ms
(cbrt (+ (* re re) (* im im)))
21.0ms
(cbrt (+ (* re re) (* im im)))

simplify93.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0334795
11008725
23209668
35002636

prune167.0ms

Filtered
64 candidates to 70 candidates (-9.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New69170
Fresh077
Picked101
Done000
Total70878

Merged error: 18.7b

Counts
78 → 8

localize25.0ms

Local error

Found 4 expressions with local error:

28.5b
(cbrt (+ (* re re) (* im im)))
28.5b
(cbrt (+ (* re re) (* im im)))
28.5b
(cbrt (+ (* re re) (* im im)))
28.5b
(cbrt (+ (* re re) (* im im)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
6.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(cbrt (+ (* re re) (* im im)))
21.0ms
(cbrt (+ (* re re) (* im im)))
20.0ms
(cbrt (+ (* re re) (* im im)))
21.0ms
(cbrt (+ (* re re) (* im im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0151560
1426524
21225500
35002468

prune126.0ms

Filtered
56 candidates to 64 candidates (-14.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New63164
Fresh077
Picked101
Done000
Total64872

Merged error: 18.7b

Counts
72 → 8

regimes292.0ms

Accuracy

58.7% (9.5b remaining)

Error of 27.1b against oracle of 17.7b and baseline of 40.6b

bsearch45.0ms

Steps
ItersRangePoint
10
2.8916002143913826e+113
9.908310096609737e+123
2.641426491877618e+121
7
2.5303928779853354e-191
3.4722655433964892e-189
3.2710593673458567e-191

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05055
15055

end0.0ms

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 62.473122%

Results
301.0ms6024×body80valid
192.0ms672×body2560valid
115.0ms490×body1280valid
102.0ms295×body5120valid
56.0ms282×body640valid
20.0ms148×body320valid
8.0ms89×body160valid

Profiling

Loading profile data...