Details

Time bar (total: 4.2s)

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

sample83.0ms

Algorithm
intervals
Results
19.0ms37×body1280valid
17.0ms52×body1280invalid
9.0ms34×body640valid
9.0ms38×body640invalid
8.0ms152×body80valid
4.0ms23×body320valid
3.0ms21×body320invalid
1.0ms10×body160valid
1.0ms11×body80invalid
1.0msbody160invalid

simplify95.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (93.0ms)

IterNodesCost
0543911

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

Counts
2 → 1

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

rewrite19.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:
8.0ms
(+ (exp (neg im)) (exp im))
10.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))

series19.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
05312437

prune45.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342

Merged error: 0b

Counts
42 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (neg im)) (exp im))
0.0b
(exp (+ (exp (neg im)) (exp im)))
0.1b
(pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re)))
0.3b
(log (pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
unpow-prod-down log-prod exp-prod
pow1 add-exp-log pow-pow
add-cbrt-cube
rem-log-exp exp-sum distribute-lft-out
pow-to-exp pow-exp sum-log rem-exp-log sqr-pow
+-commutative pow-unpow flip3-+ log-pow flip-+
Counts
4 → 65
Calls
4 calls:
5.0ms
(+ (exp (neg im)) (exp im))
6.0ms
(exp (+ (exp (neg im)) (exp im)))
8.0ms
(pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re)))
7.0ms
(log (pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re))))

series61.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (exp (neg im)) (exp im))
11.0ms
(exp (+ (exp (neg im)) (exp im)))
22.0ms
(pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re)))
24.0ms
(log (pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re))))

simplify61.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
05093911

prune89.0ms

Filtered
53 candidates to 77 candidates (-45.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New77077
Fresh011
Picked011
Done011
Total77380

Merged error: 0b

Counts
80 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
18×sqrt-div
17×pow1 add-sqr-sqrt sqrt-prod
16×associate-*r/
15×add-exp-log add-cbrt-cube
14×associate-*r*
11×add-cube-cbrt
flip3-+ flip-+
pow-prod-down prod-exp cbrt-unprod
frac-times associate-*l* distribute-lft-out add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative unswap-sqr
Counts
4 → 90
Calls
4 calls:
5.0ms
(sqrt (+ (exp (neg im)) (exp im)))
5.0ms
(sqrt (+ (exp (neg im)) (exp im)))
9.0ms
(* (cos re) (sqrt (+ (exp (neg im)) (exp im))))
21.0ms
(* (* 0.5 (* (cos re) (sqrt (+ (exp (neg im)) (exp im))))) (sqrt (+ (exp (neg im)) (exp im))))

series41.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (exp (neg im)) (exp im)))
6.0ms
(sqrt (+ (exp (neg im)) (exp im)))
15.0ms
(* (cos re) (sqrt (+ (exp (neg im)) (exp im))))
14.0ms
(* (* 0.5 (* (cos re) (sqrt (+ (exp (neg im)) (exp im))))) (sqrt (+ (exp (neg im)) (exp im))))

simplify63.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049131308
149131308

prune83.0ms

Filtered
62 candidates to 102 candidates (-64.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1020102
Fresh000
Picked011
Done022
Total1023105

Merged error: 0b

Counts
105 → 3

regimes234.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
02011
12011

end0.0ms

sample2.8s

Algorithm
intervals
Results
802.0ms1524×body1280valid
532.0ms1543×body1280invalid
359.0ms1285×body640valid
285.0ms1248×body640invalid
239.0ms4276×body80valid
108.0ms625×body320valid
99.0ms586×body320invalid
35.0ms312×body160invalid
33.0ms290×body160valid
33.0ms525×body80invalid

Profiling

Loading profile data...