Details

Time bar (total: 4.3s)

sample104.0ms

Algorithm
intervals
Results
40.0ms100×body1280valid
21.0ms84×body640valid
17.0ms254×body80valid
6.0ms36×body320valid
3.0ms24×body160valid

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (88.0ms)

IterNodesCost
0543911

prune6.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: 0.0b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp (neg im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (+ (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:
5.0ms
(+ (exp (neg im)) (exp im))
9.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))

series17.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05312437

prune50.0ms

Filtered
27 candidates to 41 candidates (-51.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh000
Picked101
Done000
Total39342

Merged error: 0b

Counts
42 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

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

series35.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04960623
14960623

prune67.0ms

Filtered
49 candidates to 66 candidates (-34.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New65166
Fresh112
Picked011
Done000
Total66369

Merged error: 0b

Counts
69 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (exp im) (exp im))
0.1b
(pow (exp im) -3)
0.1b
(pow (exp im) 3)
5.8b
(- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
24×exp-prod
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
13×pow1
pow-pow
add-cbrt-cube
unpow-prod-down pow-unpow add-log-exp
add-exp-log pow-prod-down pow-sqr pow-prod-up
cube-prod swap-sqr associate-*r* associate-*l*
pow-to-exp pow-exp sqr-pow
pow2 cube-mult sub-neg flip3-- distribute-rgt-out-- pow-plus diff-log unpow3 prod-exp *-commutative flip-- cbrt-unprod rem-cube-cbrt unswap-sqr
Counts
4 → 93
Calls
4 calls:
7.0ms
(* (exp im) (exp im))
3.0ms
(pow (exp im) -3)
5.0ms
(pow (exp im) 3)
6.0ms
(- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))

series21.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (exp im) (exp im))
7.0ms
(pow (exp im) -3)
4.0ms
(pow (exp im) 3)
7.0ms
(- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))

simplify66.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
05014529

prune131.0ms

Filtered
66 candidates to 105 candidates (-59.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh011
Picked011
Done011
Total1053108

Merged error: 0b

Counts
108 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cos re) (exp im))
0.0b
(/ (cos re) (exp im))
0.1b
(exp (/ (cos re) (exp im)))
0.5b
(log (exp (/ (cos re) (exp im))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×add-cube-cbrt *-un-lft-identity
27×times-frac
26×exp-prod
14×log-pow
add-cbrt-cube
pow1
add-exp-log
add-log-exp
log-prod associate-*r* associate-*l* associate-/r* div-inv associate-/l*
cbrt-undiv frac-2neg div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod rem-exp-log unswap-sqr
Counts
4 → 91
Calls
4 calls:
5.0ms
(* (cos re) (exp im))
5.0ms
(/ (cos re) (exp im))
4.0ms
(exp (/ (cos re) (exp im)))
7.0ms
(log (exp (/ (cos re) (exp im))))

series34.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (cos re) (exp im))
8.0ms
(/ (cos re) (exp im))
11.0ms
(exp (/ (cos re) (exp im)))
8.0ms
(log (exp (/ (cos re) (exp im))))

simplify59.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
04900775
14900775

prune103.0ms

Filtered
78 candidates to 103 candidates (-32.1%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1030103
Fresh000
Picked011
Done022
Total1033106

Merged error: 0b

Counts
106 → 3

regimes109.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
01415
11415

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.3s3039×body1280valid
636.0ms2523×body640valid
478.0ms8667×body80valid
217.0ms1247×body320valid
73.0ms631×body160valid

Profiling

Loading profile data...