Details

Time bar (total: 8.3s)

analyze376.0ms (4.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
50%50%0.1%5
50%50%0.1%6
50%37.5%12.6%7
50%37.5%12.6%8
50%31.2%18.8%9
50%31.2%18.8%10
50%28.1%22%11
50%28.1%22%12
50%26.5%23.5%13
50%26.5%23.5%14

sample153.0ms (1.9%)

Algorithm
intervals
Results
71.0ms137×body1280valid
27.0ms75×body640valid
15.0ms45×body1280invalid
13.0ms58×body640invalid
7.0ms31×body320valid
3.0ms17×body320invalid
1.0ms10×body160valid
1.0ms10×body160invalid
1.0ms13×body80invalid
0.0msbody80valid

simplify69.0ms (0.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
0534812

prune7.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.3b

Counts
2 → 1

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
5.7b
(- (exp (- 0.0 im)) (exp im))

rewrite19.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
associate-*r*
add-log-exp
add-cube-cbrt sub-neg pow-prod-down prod-exp cbrt-unprod
flip3-- associate-*r/ flip-- distribute-lft-out-- difference-of-squares
distribute-rgt-in distribute-lft-in diff-log associate-*l* *-commutative
Counts
2 → 37
Calls

2 calls:

11.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
7.0ms
(- (exp (- 0.0 im)) (exp im))

series25.0ms (0.3%)

Counts
2 → 6
Calls

2 calls:

19.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
5.0ms
(- (exp (- 0.0 im)) (exp im))

simplify56.0ms (0.7%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05332526

prune103.0ms (1.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New40343
Fresh000
Picked101
Done000
Total41344

Merged error: 0.1b

Counts
44 → 3

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+ (- (* (pow im 3) -1/3) (* 1/60 (pow im 5))) (* im -2))
0.0b
(* 1/60 (pow im 5))
0.1b
(* (* 0.5 (cos re)) (+ (- (* (pow im 3) -1/3) (* 1/60 (pow im 5))) (* im -2)))
0.1b
(* (pow im 3) -1/3)

rewrite32.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×add-exp-log
16×associate-*l*
13×associate-*r* add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
pow1 prod-exp add-log-exp
unpow-prod-down
unswap-sqr
cbrt-unprod
cube-prod sqr-pow
pow-prod-down *-commutative
pow-to-exp flip3-+ associate-*r/ pow-exp sum-log flip-+
+-commutative distribute-rgt-in cube-mult associate-+l- sub-neg associate-+l+ distribute-lft-in diff-log unpow3
Counts
4 → 92
Calls

4 calls:

11.0ms
(* (* 0.5 (cos re)) (+ (- (* (pow im 3) -1/3) (* 1/60 (pow im 5))) (* im -2)))
8.0ms
(+ (- (* (pow im 3) -1/3) (* 1/60 (pow im 5))) (* im -2))
6.0ms
(* (pow im 3) -1/3)
5.0ms
(* 1/60 (pow im 5))

series51.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

34.0ms
(* (* 0.5 (cos re)) (+ (- (* (pow im 3) -1/3) (* 1/60 (pow im 5))) (* im -2)))
6.0ms
(* 1/60 (pow im 5))
6.0ms
(+ (- (* (pow im 3) -1/3) (* 1/60 (pow im 5))) (* im -2))
4.0ms
(* (pow im 3) -1/3)

simplify29.0ms (0.4%)

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
054691284

prune292.0ms (3.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New986104
Fresh022
Picked011
Done000
Total989107

Merged error: 0.0b

Counts
107 → 9

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))) (cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))))
0.6b
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))
0.6b
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))
0.6b
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))

rewrite41.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls

4 calls:

10.0ms
(* (cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))) (cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))))
9.0ms
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))
9.0ms
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))
9.0ms
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))

series430.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

183.0ms
(* (cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))) (cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))))
84.0ms
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))
82.0ms
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))
81.0ms
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))

simplify73.0ms (0.9%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049262709
149262709

prune624.0ms (7.6%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New82284
Fresh167
Picked011
Done011
Total831093

Merged error: 0.0b

Counts
93 → 10

localize26.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.6b
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))
0.7b
(cbrt (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))
0.7b
(cbrt (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))
0.7b
(* (cbrt (* 0.5 (cos re))) (cbrt (* 0.5 (cos re))))

rewrite29.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×pow1 cbrt-prod
10×add-cube-cbrt *-un-lft-identity
pow1/3
add-exp-log cbrt-div
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-*r/ pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 68
Calls

4 calls:

9.0ms
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))
7.0ms
(cbrt (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))
7.0ms
(cbrt (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))
5.0ms
(* (cbrt (* 0.5 (cos re))) (cbrt (* 0.5 (cos re))))

series160.0ms (1.9%)

Counts
4 → 12
Calls

4 calls:

81.0ms
(cbrt (* (* 0.5 (cos re)) (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2))))
36.0ms
(* (cbrt (* 0.5 (cos re))) (cbrt (* 0.5 (cos re))))
21.0ms
(cbrt (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))
21.0ms
(cbrt (+ (- (* -1/3 (pow im 3)) (* 1/60 (pow im 5))) (* im -2)))

simplify39.0ms (0.5%)

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
051681519

prune550.0ms (6.7%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New79180
Fresh077
Picked011
Done022
Total791190

Merged error: 0.0b

Counts
90 → 11

regimes482.0ms (5.8%)

Accuracy

Total 0.7b remaining (92.3%)

Threshold costs 0.7b (92.3%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05020
15020

end0.0ms (0%)

sample4.5s (55%)

Algorithm
intervals
Results
2.3s4291×body1280valid
752.0ms2322×body640valid
512.0ms1493×body1280invalid
289.0ms1198×body640invalid
186.0ms882×body320valid
109.0ms658×body320invalid
52.0ms359×body160valid
34.0ms299×body160invalid
32.0ms496×body80invalid
10.0ms146×body80valid

Profiling

Loading profile data...