Details

Time bar (total: 4.8s)

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

sample98.0ms

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

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (9.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

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

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

series22.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05913437

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

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

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

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

simplify34.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
05060605

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

rewrite32.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:
7.0ms
(+ (exp (neg im)) (exp im))
8.0ms
(* (cos re) (+ (exp (neg im)) (exp im)))
4.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)

series54.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (exp (neg im)) (exp im))
11.0ms
(* (cos re) (+ (exp (neg im)) (exp im)))
14.0ms
(cbrt (pow (* 0.5 (* (cos re) (+ (exp (neg im)) (exp im)))) 3))
25.0ms
(pow (* 0.5 (* (cos re) (+ (exp (neg im)) (exp im)))) 3)

simplify53.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049511106
149511106

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

rewrite29.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))
9.0ms
(exp (+ (exp (neg im)) (exp im)))
22.0ms
(pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re)))
25.0ms
(log (pow (exp (+ (exp (neg im)) (exp im))) (* 0.5 (cos re))))

simplify64.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
05049911

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

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

analyze386.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
785.0ms1519×body1280valid
528.0ms1549×body1280invalid
338.0ms1228×body640valid
277.0ms1194×body640invalid
244.0ms4345×body80valid
106.0ms611×body320valid
103.0ms619×body320invalid
36.0ms296×body160invalid
34.0ms297×body160valid
30.0ms489×body80invalid

Profiling

Loading profile data...