Details

Time bar (total: 3.8s)

analyze339.0ms

Algorithm
search

sample32.0ms

Algorithm
intervals
Results
9.0ms195×body80valid
5.0ms20×body2560valid
3.0ms15×body1280valid
3.0ms15×body640valid
2.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0228
1248
2248

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.7b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
0.6b
(+ (sqrt (+ (* re re) (* im im))) re)
29.9b
(sqrt (+ (* re re) (* im im)))

rewrite19.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)))

series39.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0247351
1781333
22656327
35001325

prune112.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New41849
Fresh000
Picked101
Done000
Total42850

Merged error: 19.0b

Counts
50 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3)
0.6b
(+ (sqrt (+ (* re re) (* im im))) re)
16.7b
(cbrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3))
29.9b
(sqrt (+ (* re re) (* im im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
13×*-un-lft-identity
12×add-sqr-sqrt
11×add-cube-cbrt
pow1
unpow-prod-down cube-prod
sqrt-prod
sqrt-div add-log-exp
add-exp-log add-cbrt-cube
cube-div pow-pow flip3-+ associate-*r/ flip-+
pow-unpow sqrt-pow1
cube-mult cbrt-div pow1/2 unpow3 sqr-pow
+-commutative pow-to-exp rem-sqrt-square pow1/3 pow-prod-down pow-exp sum-log sqrt-pow2 rem-cbrt-cube distribute-lft-out rem-cube-cbrt
Counts
4 → 83
Calls
4 calls:
10.0ms
(pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3)
6.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
4.0ms
(cbrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3))
4.0ms
(sqrt (+ (* re re) (* im im)))

series100.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3)
7.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
23.0ms
(cbrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify58.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0437887
11758863
25002848

prune158.0ms

Filtered
63 candidates to 95 candidates (-50.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New92395
Fresh167
Picked101
Done000
Total949103

Merged error: 19.0b

Counts
103 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

16.3b
(sqrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3))
16.7b
(cbrt (* (sqrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3)) (sqrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3))))
29.9b
(sqrt (+ (* re re) (* im im)))
29.9b
(sqrt (+ (* re re) (* im im)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
32×sqrt-div
22×sqrt-prod
16×associate-*r/
14×cube-div add-sqr-sqrt
add-cube-cbrt *-un-lft-identity flip3-+ flip-+
cbrt-div
pow1 rem-sqrt-square
unpow-prod-down cube-prod
add-exp-log frac-times add-cbrt-cube add-log-exp
sqrt-pow1 pow1/2
associate-*l/ sqr-pow
cbrt-prod cube-mult pow1/3 unpow3
Counts
4 → 76
Calls
4 calls:
5.0ms
(sqrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3))
13.0ms
(cbrt (* (sqrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3)) (sqrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3))))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series82.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(sqrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3))
23.0ms
(cbrt (* (sqrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3)) (sqrt (pow (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))) 3))))
6.0ms
(sqrt (+ (* re re) (* im im)))
9.0ms
(sqrt (+ (* re re) (* im im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04571132
113131037
250021026

prune226.0ms

Filtered
68 candidates to 88 candidates (-29.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New88088
Fresh088
Picked011
Done000
Total88997

Merged error: 19.0b

Counts
97 → 9

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.2b
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
30.9b
(cbrt (+ (* re re) (* im im)))
30.9b
(cbrt (+ (* re re) (* im im)))

rewrite28.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)
4.0ms
(cbrt (+ (* re re) (* im im)))
6.0ms
(cbrt (+ (* re re) (* im im)))

series107.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
29.0ms
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
21.0ms
(cbrt (+ (* re re) (* im im)))
21.0ms
(cbrt (+ (* re re) (* im im)))

simplify132.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
03551000
11235940
24815899
35002885

prune119.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New76177
Fresh077
Picked101
Done011
Total77986

Merged error: 19.0b

Counts
86 → 9

regimes699.0ms

Accuracy

57.6% (8.9b remaining)

Error of 27.0b against oracle of 18.1b and baseline of 39.0b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04149
14149

end0.0ms

analyze334.0ms

Algorithm
search

sample944.0ms

Algorithm
intervals
Results
299.0ms6029×body80valid
207.0ms737×body2560valid
113.0ms482×body1280valid
93.0ms259×body5120valid
47.0ms248×body640valid
25.0ms163×body320valid
7.0ms82×body160valid

Profiling

Loading profile data...