Details

Time bar (total: 9.1s)

sample1.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 24.21875%

Guaranteed chance to sample good point: 65.979381%

Results
63.0ms124×body1280valid
24.0ms79×body640valid
18.0ms56×body1280invalid
8.0ms36×body640invalid
6.0ms29×body320valid
5.0ms33×body320invalid
4.0msbody80valid
2.0ms16×body160valid
2.0ms17×body160invalid
1.0ms11×body80invalid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
717427
841617
950027

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.2b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

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
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 40
Calls
2 calls:
11.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
7.0ms
(- (exp (- 0.0 im)) (exp im))

series20.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
5.0ms
(- (exp (- 0.0 im)) (exp im))

simplify41.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0268399
11086344
25001343

prune78.0ms

Filtered
30 candidates to 46 candidates (-53.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New44246
Fresh000
Picked101
Done000
Total45247

Merged error: 0.1b

Counts
47 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
22×associate-*r*
19×add-exp-log
13×add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
pow1 prod-exp
unpow-prod-down
associate-*l* unswap-sqr
add-log-exp
cbrt-unprod
cube-prod sqr-pow
pow-prod-down *-commutative
distribute-rgt-in pow-to-exp sub-neg distribute-lft-in associate-*r/ pow-exp
+-commutative cube-mult flip3-- flip3-+ unpow3 sum-log flip-- flip-+
Counts
4 → 91
Calls
4 calls:
4.0ms
(+ (* 1/60 (pow im 5)) (* 2 im))
5.0ms
(* 1/60 (pow im 5))
10.0ms
(* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
6.0ms
(* -1/3 (pow im 3))

series55.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (* 1/60 (pow im 5)) (* 2 im))
4.0ms
(* 1/60 (pow im 5))
33.0ms
(* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
6.0ms
(* -1/3 (pow im 3))

simplify71.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0479664
12204585
25003585

prune195.0ms

Filtered
64 candidates to 103 candidates (-60.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New967103
Fresh011
Picked101
Done000
Total978105

Merged error: 0.0b

Counts
105 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
40×add-exp-log
27×add-sqr-sqrt
25×prod-exp
23×associate-*r*
22×add-cbrt-cube
13×add-cube-cbrt *-un-lft-identity
11×pow1 cbrt-unprod
10×associate-*l*
unpow-prod-down unswap-sqr
pow-to-exp cube-prod pow-prod-down pow-exp *-commutative add-log-exp sqr-pow
associate-*l/
cube-mult flip3-+ unpow3 flip-+
Counts
4 → 100
Calls
4 calls:
5.0ms
(* -1/60 (pow im 5))
7.0ms
(* (* 0.5 (cos re)) (* -1/3 (pow im 3)))
6.0ms
(* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re))
6.0ms
(* -1/3 (pow im 3))

series36.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* -1/60 (pow im 5))
18.0ms
(* (* 0.5 (cos re)) (* -1/3 (pow im 3)))
10.0ms
(* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re))
4.0ms
(* -1/3 (pow im 3))

simplify71.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0445589
12116504
25002504

prune202.0ms

Filtered
67 candidates to 112 candidates (-67.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1084112
Fresh347
Picked011
Done000
Total1119120

Merged error: 0.0b

Counts
120 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*l/
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
associate-*r/ pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
7.0ms
(* (cbrt (* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re))) (cbrt (* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re))))
5.0ms
(cbrt (* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re)))
5.0ms
(cbrt (* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re)))
5.0ms
(cbrt (* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re)))

series147.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (cbrt (* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re))) (cbrt (* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re))))
34.0ms
(cbrt (* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re)))
36.0ms
(cbrt (* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re)))
33.0ms
(cbrt (* (+ (* -2 im) (* -1/60 (pow im 5))) (cos re)))

simplify53.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03381249
112211142
250011068

prune320.0ms

Filtered
67 candidates to 84 candidates (-25.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh077
Picked011
Done011
Total831093

Merged error: 0.0b

Counts
93 → 10

regimes370.0ms

Accuracy

0% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 0.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02913
12913

end0.0ms

sample5.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 24.21875%

Guaranteed chance to sample good point: 65.979381%

Results
2.2s4198×body1280valid
945.0ms2368×body640valid
497.0ms1513×body1280invalid
260.0ms1186×body640invalid
177.0ms888×body320valid
101.0ms638×body320invalid
57.0ms399×body160valid
35.0ms296×body160invalid
26.0ms416×body80invalid
9.0ms147×body80valid

Profiling

Loading profile data...