Details

Time bar (total: 7.9s)

analyze340.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
12.5%87.4%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
62.4%31.2%6.3%7
62.4%31.2%6.3%8
62.4%28.1%9.5%9
62.4%28.1%9.5%10
62.4%26.5%11%11
62.4%26.5%11%12
62.4%25.8%11.8%13
62.4%25.8%11.8%14

sample151.0ms

Algorithm
intervals
Results
59.0ms103×body1280valid
32.0ms90×body640valid
17.0ms52×body1280invalid
9.0ms41×body640invalid
8.0ms37×body320valid
4.0ms73×body80invalid
3.0ms21×body160valid
3.0ms16×body320invalid
1.0ms12×body160invalid
0.0msbody80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02311
12311

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

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (sin re)) (- (exp (neg im)) (exp im)))
6.1b
(- (exp (neg im)) (exp im))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
associate-*r*
add-log-exp
add-cube-cbrt sub-neg pow-prod-down prod-exp cbrt-unprod
flip3-- associate-*r/ flip-- distribute-lft-out-- difference-of-squares
distribute-rgt-in distribute-lft-in diff-log associate-*l* *-commutative
Counts
2 → 37
Calls
2 calls:
9.0ms
(* (* 0.5 (sin re)) (- (exp (neg im)) (exp im)))
5.0ms
(- (exp (neg im)) (exp im))

series20.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(* (* 0.5 (sin re)) (- (exp (neg im)) (exp im)))
5.0ms
(- (exp (neg im)) (exp im))

simplify49.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05258469

prune72.0ms

Filtered
29 candidates to 43 candidates (-48.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New38543
Fresh000
Picked101
Done000
Total39544

Merged error: 0.1b

Counts
44 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))
0.1b
(* (pow im 5) -1/60)
0.1b
(* (* 0.5 (sin re)) (+ (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))
0.2b
(* (pow im 3) -1/3)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×associate-*l*
19×add-exp-log
13×add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
pow1 associate-*r* prod-exp
unpow-prod-down
unswap-sqr
add-log-exp
cbrt-unprod
cube-prod sqr-pow
pow-prod-down *-commutative
pow-to-exp flip3-+ associate-*r/ pow-exp flip-+
+-commutative distribute-rgt-in cube-mult distribute-lft-in unpow3 sum-log
Counts
4 → 89
Calls
4 calls:
4.0ms
(+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))
5.0ms
(* (pow im 5) -1/60)
9.0ms
(* (* 0.5 (sin re)) (+ (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))
6.0ms
(* (pow im 3) -1/3)

series57.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))
5.0ms
(* (pow im 5) -1/60)
37.0ms
(* (* 0.5 (sin re)) (+ (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))
4.0ms
(* (pow im 3) -1/3)

simplify29.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
055691143

prune208.0ms

Filtered
68 candidates to 101 candidates (-48.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New947101
Fresh044
Picked011
Done000
Total9412106

Merged error: 0.0b

Counts
106 → 12

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))) (cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))))
0.6b
(cbrt (+ (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))
0.6b
(cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))
0.6b
(cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
16.0ms
(* (cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))) (cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))))
5.0ms
(cbrt (+ (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))
7.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))
6.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))

series85.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))) (cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))))
19.0ms
(cbrt (+ (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))
20.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))
20.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))

simplify63.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049412878
149412878

prune534.0ms

Filtered
81 candidates to 99 candidates (-22.2%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New96399
Fresh1910
Picked011
Done011
Total9714111

Merged error: 0.0b

Counts
111 → 14

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))))) (cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))))))
14.7b
(cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))))
14.7b
(cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))))
14.7b
(cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
38×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
8.0ms
(* (cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))))) (cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))))))
9.0ms
(cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))))
11.0ms
(cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))))
9.0ms
(cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))))

series342.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* (cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))))) (cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2)))))))
75.0ms
(cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))))
77.0ms
(cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))))
79.0ms
(cbrt (* 0.5 (* (sin re) (+ (* -1/3 (pow im 3)) (+ (* (pow im 5) -1/60) (* im -2))))))

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049512628
149512628

prune388.0ms

Filtered
67 candidates to 84 candidates (-25.4%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New82284
Fresh3811
Picked011
Done022
Total851398

Merged error: 0.0b

Counts
98 → 13

regimes503.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02520
12520

end0.0ms

analyze337.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
12.5%87.4%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
62.4%31.2%6.3%7
62.4%31.2%6.3%8
62.4%28.1%9.5%9
62.4%28.1%9.5%10
62.4%26.5%11%11
62.4%26.5%11%12
62.4%25.8%11.8%13
62.4%25.8%11.8%14

sample4.5s

Algorithm
intervals
Results
1.9s3296×body1280valid
842.0ms2607×body640valid
512.0ms1459×body1280invalid
301.0ms1265×body640invalid
248.0ms1223×body320valid
148.0ms2481×body80invalid
104.0ms579×body320invalid
83.0ms649×body160valid
43.0ms299×body160invalid
14.0ms225×body80valid

Profiling

Loading profile data...