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

sample94.0ms

Algorithm
intervals
Results
27.0ms54×body1280valid
12.0ms44×body640valid
6.0ms122×body80valid
4.0ms24×body320valid
1.0ms12×body160valid

simplify95.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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

series18.0ms

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

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh000
Picked101
Done000
Total40242

Merged error: 0.0b

Counts
42 → 2

localize11.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))
4.0ms
(/ (cos re) (exp im))

series35.0ms

Counts
3 → 9
Calls
3 calls:
20.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
Fresh011
Picked011
Done000
Total65368

Merged error: 0b

Counts
68 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cos re) (exp im))
0.0b
(/ 1 (sqrt (exp im)))
0.0b
(/ (cos re) (sqrt (exp im)))
0.0b
(* (/ 1 (sqrt (exp im))) (/ (cos re) (sqrt (exp im))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
111×add-sqr-sqrt
94×times-frac
69×*-un-lft-identity
63×add-cube-cbrt
53×sqrt-prod
33×add-exp-log
25×associate-*r* associate-*l*
22×add-cbrt-cube
16×unswap-sqr
12×associate-/r*
11×div-exp
10×pow1
prod-exp
cbrt-undiv pow-flip associate-/l*
cbrt-unprod
sqrt-pow1 div-inv add-log-exp
rec-exp exp-prod 1-exp
frac-2neg pow-prod-down clear-num *-commutative
frac-times pow1/2 associate-*r/ associate-*l/ inv-pow
Counts
4 → 188
Calls
4 calls:
5.0ms
(* (cos re) (exp im))
5.0ms
(/ 1 (sqrt (exp im)))
5.0ms
(/ (cos re) (sqrt (exp im)))
23.0ms
(* (/ 1 (sqrt (exp im))) (/ (cos re) (sqrt (exp im))))

series34.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (cos re) (exp im))
5.0ms
(/ 1 (sqrt (exp im)))
12.0ms
(/ (cos re) (sqrt (exp im)))
10.0ms
(* (/ 1 (sqrt (exp im))) (/ (cos re) (sqrt (exp im))))

simplify93.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
051611824

prune157.0ms

Filtered
115 candidates to 200 candidates (-73.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2000200
Fresh011
Picked011
Done011
Total2003203

Merged error: 0b

Counts
203 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (neg im)) (exp im))
0.0b
(+ (exp (neg im)) (exp im))
0.3b
(* (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
17×*-un-lft-identity
16×associate-*r/
15×pow1 add-exp-log add-cbrt-cube
14×sqrt-div associate-*r*
13×add-sqr-sqrt
add-cube-cbrt flip3-+ sqrt-prod flip-+
add-log-exp
pow-prod-down prod-exp cbrt-unprod
frac-times associate-*l* distribute-lft-out
+-commutative associate-*l/ sum-log *-commutative unswap-sqr
Counts
4 → 82
Calls
4 calls:
5.0ms
(+ (exp (neg im)) (exp im))
5.0ms
(+ (exp (neg im)) (exp im))
10.0ms
(* (cos re) (sqrt (+ (exp (neg im)) (exp im))))
20.0ms
(* (* 0.5 (* (cos re) (sqrt (+ (exp (neg im)) (exp im))))) (sqrt (+ (exp (neg im)) (exp im))))

series38.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (exp (neg im)) (exp im))
4.0ms
(+ (exp (neg im)) (exp im))
16.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))))

simplify53.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
052471190

prune79.0ms

Filtered
58 candidates to 94 candidates (-62.1%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New94094
Fresh000
Picked011
Done022
Total94397

Merged error: 0b

Counts
97 → 3

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

sample2.6s

Algorithm
intervals
Results
782.0ms1533×body1280valid
327.0ms1211×body640valid
228.0ms4330×body80valid
105.0ms612×body320valid
35.0ms314×body160valid

Profiling

Loading profile data...