Details

Time bar (total: 4.1s)

sample37.0ms

Algorithm
intervals
Results
11.0ms188×body80valid
9.0ms33×body2560valid
3.0ms14×body1280valid
2.0msbody5120valid
1.0msbody640valid
1.0msbody320valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0178
1248
2308
3358
4358

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: 37.4b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.3b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
0.3b
(- (sqrt (+ (* re re) (* im im))) re)
27.5b
(sqrt (+ (* re re) (* im im)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-log-exp
*-un-lft-identity
add-cube-cbrt sqrt-prod
add-exp-log sqrt-div add-cbrt-cube
sqrt-pow1
flip3-- flip3-+ pow1/2 associate-*r/ flip-- flip-+ difference-of-squares
+-commutative sub-neg rem-sqrt-square diff-log pow-prod-down sum-log distribute-lft-out--
Counts
4 → 54
Calls
4 calls:
4.0ms
(+ (* re re) (* im im))
8.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))

series282.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* re re) (* im im))
172.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
45.0ms
(- (sqrt (+ (* re re) (* im im))) re)
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify97.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0258459
1938422
23098412
35001410

prune172.0ms

Filtered
66 candidates to 52 candidates (78.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New58866
Fresh000
Picked101
Done000
Total59867

Merged error: 18.7b

Counts
67 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.3b
(- (sqrt (+ (* re re) (* im im))) re)
0.4b
(* (sqrt 2.0) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
27.5b
(sqrt (+ (* re re) (* im im)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
18×sqrt-prod
13×*-un-lft-identity
pow1 add-cube-cbrt associate-*r*
add-log-exp
add-exp-log associate-*l* add-cbrt-cube
sqrt-div difference-of-squares unswap-sqr
sqrt-pow1 pow1/2 pow-prod-down
flip3-- flip3-+ associate-*r/ flip-- flip-+ distribute-lft-out--
+-commutative sub-neg rem-sqrt-square sqrt-unprod diff-log prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 76
Calls
4 calls:
4.0ms
(+ (* re re) (* im im))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
15.0ms
(* (sqrt 2.0) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* re re) (* im im))
49.0ms
(- (sqrt (+ (* re re) (* im im))) re)
175.0ms
(* (sqrt 2.0) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify139.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0314691
11267648
24889633
35001633

prune205.0ms

Filtered
88 candidates to 62 candidates (70.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New86288
Fresh077
Picked011
Done000
Total861096

Merged error: 18.5b

Counts
96 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
6.8b
(- (* (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)))

rewrite26.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-+ associate-*l* flip-+ unswap-sqr
pow1/3 sqrt-div associate-*r/
sub-neg flip3-- diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod
Counts
4 → 66
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)
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series379.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
82.0ms
(- (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
93.0ms
(cbrt (+ (* re re) (* im im)))
95.0ms
(cbrt (+ (* re re) (* im im)))

simplify147.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0307930
11159870
24797842
35002842

prune274.0ms

Filtered
78 candidates to 64 candidates (82.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New74478
Fresh268
Picked101
Done011
Total771188

Merged error: 18.5b

Counts
88 → 11

localize19.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:
4.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)))

series371.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(cbrt (+ (* re re) (* im im)))
92.0ms
(cbrt (+ (* re re) (* im im)))
93.0ms
(cbrt (+ (* re re) (* im im)))
94.0ms
(cbrt (+ (* re re) (* im im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0123488
1408452
21386444
35001444

prune284.0ms

Filtered
64 candidates to 60 candidates (93.8%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New62264
Fresh279
Picked011
Done011
Total641175

Merged error: 18.5b

Counts
75 → 11

regimes291.0ms

Accuracy

58.8% (8.8b remaining)

Error of 26.3b against oracle of 17.5b and baseline of 38.9b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04942
14942

end0.0ms

sample872.0ms

Algorithm
intervals
Results
282.0ms6034×body80valid
176.0ms669×body2560valid
102.0ms314×body5120valid
99.0ms460×body1280valid
45.0ms269×body640valid
21.0ms166×body320valid
7.0ms88×body160valid

Profiling

Loading profile data...