Details

Time bar (total: 7.6s)

analyze363.0ms

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

sample148.0ms

Algorithm
intervals
Results
73.0ms137×body1280valid
27.0ms87×body640valid
13.0ms38×body1280invalid
10.0ms42×body640invalid
5.0ms22×body320valid
4.0ms23×body320invalid
1.0ms12×body160invalid
1.0ms10×body160valid
1.0ms11×body80invalid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
0534812

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 58.6b

Counts
2 → 1

localize16.0ms

Local error

Found 2 expressions with local error:

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

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

series22.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
05332526

prune83.0ms

Filtered
31 candidates to 43 candidates (-38.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New41243
Fresh000
Picked101
Done000
Total42244

Merged error: 0.1b

Counts
44 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series57.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* (pow im 3) -1/3) (+ (* im -2) (* (pow im 5) -1/60)))
8.0ms
(* (pow im 5) -1/60)
37.0ms
(* (* 0.5 (cos re)) (+ (* (pow im 3) -1/3) (+ (* im -2) (* (pow im 5) -1/60))))
5.0ms
(* (pow im 3) -1/3)

simplify38.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
059431256

prune209.0ms

Filtered
69 candidates to 103 candidates (-49.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New976103
Fresh011
Picked011
Done000
Total978105

Merged error: 0.0b

Counts
105 → 8

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
18.0ms
(* (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))) (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))
7.0ms
(cbrt (+ (* (pow im 3) -1/3) (+ (* im -2) (* (pow im 5) -1/60))))
7.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))
7.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))

series92.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))) (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))
24.0ms
(cbrt (+ (* (pow im 3) -1/3) (+ (* im -2) (* (pow im 5) -1/60))))
21.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))
21.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))

simplify57.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049422880
149422880

prune548.0ms

Filtered
81 candidates to 99 candidates (-22.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New96399
Fresh156
Picked101
Done011
Total989107

Merged error: 0.0b

Counts
107 → 9

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
38×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:
9.0ms
(* (cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))) (cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))))
10.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))
10.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))
10.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))

series429.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(* (cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))) (cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))))
82.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))
81.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))
83.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))

simplify51.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
052392668

prune396.0ms

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

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New81384
Fresh167
Picked011
Done011
Total821193

Merged error: 0.0b

Counts
93 → 11

regimes375.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02520
12520

end0.0ms

sample4.4s

Algorithm
intervals
Results
2.2s4198×body1280valid
747.0ms2367×body640valid
478.0ms1427×body1280invalid
273.0ms1202×body640invalid
179.0ms898×body320valid
96.0ms595×body320invalid
47.0ms372×body160valid
38.0ms307×body160invalid
34.0ms506×body80invalid
10.0ms165×body80valid

Profiling

Loading profile data...