Details

Time bar (total: 4.6s)

analyze372.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

sample96.0ms

Algorithm
intervals
Results
29.0ms55×body1280valid
17.0ms53×body1280invalid
13.0ms36×body640valid
7.0ms33×body640invalid
7.0ms138×body80valid
3.0ms16×body320valid
3.0ms19×body320invalid
1.0ms11×body160valid
1.0ms10×body160invalid
1.0ms17×body80invalid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
025811
125811

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

localize12.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:
3.0ms
(+ (exp (neg im)) (exp im))
14.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
05913437

prune54.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New37441
Fresh000
Picked101
Done000
Total38442

Merged error: 0b

Counts
42 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (exp im) -2)
0.1b
(pow (exp im) 3)
0.1b
(pow (exp im) -3)
6.8b
(- (pow (exp im) 2) 1)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×*-un-lft-identity
14×add-cube-cbrt
12×unpow-prod-down pow-pow
pow-unpow exp-prod
difference-of-squares
pow1
add-log-exp sqr-pow
add-cbrt-cube
add-exp-log difference-of-sqr-1
pow-to-exp cube-prod pow-exp unpow2
cube-mult sub-neg flip3-- diff-log unpow3 flip-- distribute-lft-out-- rem-cube-cbrt
Counts
4 → 90
Calls
4 calls:
3.0ms
(pow (exp im) -2)
3.0ms
(pow (exp im) 3)
3.0ms
(pow (exp im) -3)
6.0ms
(- (pow (exp im) 2) 1)

series19.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(pow (exp im) -2)
4.0ms
(pow (exp im) 3)
7.0ms
(pow (exp im) -3)
4.0ms
(- (pow (exp im) 2) 1)

simplify32.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
05060605

prune158.0ms

Filtered
60 candidates to 102 candidates (-70.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1020102
Fresh033
Picked011
Done000
Total1024106

Merged error: 0b

Counts
106 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (neg im)) (exp im))
0.0b
(* (cos re) (+ (exp (neg im)) (exp im)))
0.3b
(cbrt (pow (* 0.5 (* (cos re) (+ (exp (neg im)) (exp im)))) 3))
0.4b
(pow (* 0.5 (* (cos re) (+ (exp (neg im)) (exp im)))) 3)

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
12×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
10×add-sqr-sqrt associate-*r/
cbrt-prod add-cube-cbrt
add-log-exp
cube-div flip3-+ associate-*r* pow-prod-down prod-exp cbrt-unprod flip-+
pow-unpow pow-pow associate-*l* pow-exp rem-cube-cbrt
cube-mult unpow-prod-down cbrt-div unpow3 cube-prod distribute-lft-out sqr-pow
+-commutative distribute-rgt-in pow-to-exp distribute-lft-in pow1/3 sum-log *-commutative rem-cbrt-cube unswap-sqr
Counts
4 → 81
Calls
4 calls:
5.0ms
(+ (exp (neg im)) (exp im))
8.0ms
(* (cos re) (+ (exp (neg im)) (exp im)))
3.0ms
(cbrt (pow (* 0.5 (* (cos re) (+ (exp (neg im)) (exp im)))) 3))
10.0ms
(pow (* 0.5 (* (cos re) (+ (exp (neg im)) (exp im)))) 3)

series52.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (exp (neg im)) (exp im))
10.0ms
(* (cos re) (+ (exp (neg im)) (exp im)))
12.0ms
(cbrt (pow (* 0.5 (* (cos re) (+ (exp (neg im)) (exp im)))) 3))
26.0ms
(pow (* 0.5 (* (cos re) (+ (exp (neg im)) (exp im)))) 3)

simplify50.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049511106
149511106

prune110.0ms

Filtered
62 candidates to 93 candidates (-50.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New92193
Fresh112
Picked011
Done011
Total93497

Merged error: 0b

Counts
97 → 4

localize18.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.6b
(log (pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re))))

rewrite26.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)))
7.0ms
(pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re)))
6.0ms
(log (pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re))))

series59.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (exp (neg im)) (exp im))
9.0ms
(exp (+ (exp (neg im)) (exp im)))
21.0ms
(pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re)))
26.0ms
(log (pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re))))

simplify56.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05049911

prune85.0ms

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New77077
Fresh011
Picked011
Done022
Total77481

Merged error: 0b

Counts
81 → 4

regimes244.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02526
12526

end0.0ms

analyze345.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

sample2.7s

Algorithm
intervals
Results
782.0ms1519×body1280valid
507.0ms1549×body1280invalid
332.0ms1228×body640valid
262.0ms1194×body640invalid
231.0ms4345×body80valid
103.0ms611×body320valid
101.0ms619×body320invalid
37.0ms296×body160invalid
33.0ms297×body160valid
29.0ms489×body80invalid

Profiling

Loading profile data...