Details

Time bar (total: 4.7s)

analyze360.0ms

Algorithm
search

sample90.0ms

Algorithm
intervals
Results
27.0ms50×body1280valid
15.0ms45×body1280invalid
10.0ms35×body640valid
8.0ms143×body80valid
8.0ms33×body640invalid
4.0ms12×body160invalid
3.0ms17×body320invalid
3.0ms15×body320valid
1.0ms13×body160valid
1.0ms16×body80invalid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0237
1587
2957
32097
44597
55967
611987
719317
850017

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))
0.0b
(+ (exp (neg im)) (exp im))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log *-un-lft-identity add-cbrt-cube
associate-*r* add-log-exp
add-sqr-sqrt add-cube-cbrt pow-prod-down prod-exp cbrt-unprod
flip3-+ associate-*r/ flip-+ distribute-lft-out
+-commutative distribute-rgt-in distribute-lft-in associate-*l* sum-log *-commutative
Counts
2 → 35
Calls
2 calls:
9.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))
5.0ms
(+ (exp (neg im)) (exp im))

series18.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))
4.0ms
(+ (exp (neg im)) (exp im))

simplify41.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0248347
11228286
25001284

prune51.0ms

Filtered
28 candidates to 41 candidates (-46.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New38341
Fresh000
Picked011
Done000
Total38442

Merged error: 0b

Counts
42 → 4

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (exp im))
0.0b
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
0.0b
(/ (* 0.5 (cos re)) (exp im))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube
add-exp-log
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp cbrt-unprod
times-frac associate-*r* pow-prod-down associate-/r*
cbrt-undiv div-exp div-inv
+-commutative frac-2neg flip3-+ associate-*l* clear-num sum-log *-commutative flip-+ distribute-lft-out associate-/l*
Counts
3 → 51
Calls
3 calls:
6.0ms
(* (* 0.5 (cos re)) (exp im))
7.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
5.0ms
(/ (* 0.5 (cos re)) (exp im))

series37.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(* (* 0.5 (cos re)) (exp im))
19.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
10.0ms
(/ (* 0.5 (cos re)) (exp im))

simplify49.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0284450
11619391
25001384

prune65.0ms

Filtered
44 candidates to 60 candidates (-36.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New59160
Fresh112
Picked101
Done011
Total61364

Merged error: 0b

Counts
64 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (cbrt (pow (/ (* 0.5 (cos re)) (exp im)) 3)) (* (* 0.5 (cos re)) (exp im)))
0.0b
(/ (* 0.5 (cos re)) (exp im))
0.4b
(pow (/ (* 0.5 (cos re)) (exp im)) 3)
0.8b
(cbrt (pow (/ (* 0.5 (cos re)) (exp im)) 3))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
20×cbrt-prod
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×times-frac add-cbrt-cube
14×unpow-prod-down cube-prod
11×add-exp-log
add-log-exp
pow1 div-inv
cbrt-undiv div-exp
pow-unpow pow-exp associate-/r* rem-cube-cbrt
cube-div cube-mult unpow3 prod-exp cbrt-unprod sqr-pow
+-commutative pow-to-exp cbrt-div pow-pow frac-2neg flip3-+ pow1/3 clear-num sum-log rem-cbrt-cube flip-+ associate-/l*
Counts
4 → 98
Calls
4 calls:
10.0ms
(+ (cbrt (pow (/ (* 0.5 (cos re)) (exp im)) 3)) (* (* 0.5 (cos re)) (exp im)))
5.0ms
(/ (* 0.5 (cos re)) (exp im))
6.0ms
(pow (/ (* 0.5 (cos re)) (exp im)) 3)
4.0ms
(cbrt (pow (/ (* 0.5 (cos re)) (exp im)) 3))

series56.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (cbrt (pow (/ (* 0.5 (cos re)) (exp im)) 3)) (* (* 0.5 (cos re)) (exp im)))
10.0ms
(/ (* 0.5 (cos re)) (exp im))
17.0ms
(pow (/ (* 0.5 (cos re)) (exp im)) 3)
10.0ms
(cbrt (pow (/ (* 0.5 (cos re)) (exp im)) 3))

simplify79.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0403843
12277751
25001744

prune114.0ms

Filtered
66 candidates to 110 candidates (-66.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh011
Picked011
Done011
Total1103113

Merged error: 0b

Counts
113 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (+ (exp (neg im)) (exp im))) (cbrt (+ (exp (neg im)) (exp im))))
1.0b
(cbrt (+ (exp (neg im)) (exp im)))
1.0b
(cbrt (+ (exp (neg im)) (exp im)))
1.0b
(cbrt (+ (exp (neg im)) (exp im)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
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 → 95
Calls
4 calls:
15.0ms
(* (cbrt (+ (exp (neg im)) (exp im))) (cbrt (+ (exp (neg im)) (exp im))))
5.0ms
(cbrt (+ (exp (neg im)) (exp im)))
5.0ms
(cbrt (+ (exp (neg im)) (exp im)))
5.0ms
(cbrt (+ (exp (neg im)) (exp im)))

series103.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (cbrt (+ (exp (neg im)) (exp im))) (cbrt (+ (exp (neg im)) (exp im))))
22.0ms
(cbrt (+ (exp (neg im)) (exp im)))
25.0ms
(cbrt (+ (exp (neg im)) (exp im)))
22.0ms
(cbrt (+ (exp (neg im)) (exp im)))

simplify41.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02341278
18541142
250011071

prune91.0ms

Filtered
71 candidates to 107 candidates (-50.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1070107
Fresh000
Picked011
Done022
Total1073110

Merged error: 0b

Counts
110 → 3

regimes244.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0137
1137

end0.0ms

analyze362.0ms

Algorithm
search

sample2.7s

Algorithm
intervals
Results
792.0ms1527×body1280valid
493.0ms1500×body1280invalid
331.0ms1199×body640valid
281.0ms1219×body640invalid
239.0ms4310×body80valid
114.0ms646×body320valid
102.0ms624×body320invalid
37.0ms342×body160invalid
36.0ms318×body160valid
36.0ms564×body80invalid

Profiling

Loading profile data...