Details

Time bar (total: 6.4s)

sample90.0ms

Algorithm
intervals
Results
36.0ms95×body1280valid
19.0ms89×body640valid
11.0ms255×body80valid
7.0ms43×body320valid
3.0ms27×body160valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (10.0ms)

IterNodesCost
0237
1607
21127
32367
45206
57026
615146
722846
850016

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp (- im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
15×associate-*l*
14×add-sqr-sqrt
11×*-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube
add-log-exp unswap-sqr
+-commutative fma-def pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in expm1-log1p-u distribute-lft-in flip3-+ associate-*r/ *-commutative flip-+ log1p-expm1-u distribute-lft-out
sum-log
Counts
2 → 57
Calls
2 calls:
5.0ms
(+ (exp (- im)) (exp im))
13.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

series87.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(+ (exp (- im)) (exp im))
59.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

simplify44.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0341510
11570445
25001441

prune162.0ms

Filtered
63 candidates to 47 candidates (74.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New60363
Fresh011
Picked101
Done000
Total61465

Merged error: 0b

Counts
65 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 0.5 (exp im) (/ 0.5 (exp im)))
0.0b
(* (fma 0.5 (exp im) (/ 0.5 (exp im))) (cos re))
0.0b
(/ 0.5 (exp im))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log
add-cbrt-cube
pow1
expm1-log1p-u associate-*r* associate-*l* associate-/r* log1p-expm1-u associate-/l* add-log-exp
div-exp
cbrt-undiv frac-2neg pow-prod-down prod-exp clear-num *-commutative cbrt-unprod fma-udef div-inv unswap-sqr
Counts
3 → 60
Calls
3 calls:
1.0ms
(fma 0.5 (exp im) (/ 0.5 (exp im)))
4.0ms
(* (fma 0.5 (exp im) (/ 0.5 (exp im))) (cos re))
4.0ms
(/ 0.5 (exp im))

series131.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(fma 0.5 (exp im) (/ 0.5 (exp im)))
71.0ms
(* (fma 0.5 (exp im) (/ 0.5 (exp im))) (cos re))
13.0ms
(/ 0.5 (exp im))

simplify123.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0217418
1724368
24403368
35001366

prune174.0ms

Filtered
69 candidates to 52 candidates (75.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New68169
Fresh123
Picked011
Done000
Total69473

Merged error: 0b

Counts
73 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (fma 0.5 (exp im) (cbrt (pow (/ 0.5 (exp im)) 3))) (cos re))
0.0b
(/ 0.5 (exp im))
0.0b
(pow (/ 0.5 (exp im)) 3)
1.0b
(cbrt (pow (/ 0.5 (exp im)) 3))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
49×*-un-lft-identity
48×add-cube-cbrt
45×times-frac
32×cbrt-prod
26×unpow-prod-down cube-prod
18×cube-div
13×add-exp-log
11×add-cbrt-cube
cbrt-div associate-/r* associate-/l*
pow1
div-inv
expm1-log1p-u pow-unpow div-exp log1p-expm1-u add-log-exp
frac-2neg associate-*r* associate-*l* pow-exp clear-num
cbrt-undiv cube-mult unpow3 rem-cbrt-cube rem-cube-cbrt sqr-pow
pow-to-exp pow-pow pow1/3 pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 160
Calls
4 calls:
4.0ms
(* (fma 0.5 (exp im) (cbrt (pow (/ 0.5 (exp im)) 3))) (cos re))
4.0ms
(/ 0.5 (exp im))
7.0ms
(pow (/ 0.5 (exp im)) 3)
10.0ms
(cbrt (pow (/ 0.5 (exp im)) 3))

series135.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(* (fma 0.5 (exp im) (cbrt (pow (/ 0.5 (exp im)) 3))) (cos re))
17.0ms
(/ 0.5 (exp im))
38.0ms
(pow (/ 0.5 (exp im)) 3)
13.0ms
(cbrt (pow (/ 0.5 (exp im)) 3))

simplify79.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05311025
12582898
25001884

prune380.0ms

Filtered
172 candidates to 104 candidates (60.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1702172
Fresh202
Picked101
Done101
Total1742176

Merged error: 0b

Counts
176 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (/ 1 (sqrt (exp im))) 3)
0.0b
(pow (/ 0.5 (sqrt (exp im))) 3)
0.0b
(* (pow (/ 1 (sqrt (exp im))) 3) (pow (/ 0.5 (sqrt (exp im))) 3))
1.0b
(cbrt (* (pow (/ 1 (sqrt (exp im))) 3) (pow (/ 0.5 (sqrt (exp im))) 3)))

rewrite242.0ms

Algorithm
rewrite-expression-head
Rules
836×add-sqr-sqrt
648×cube-div
440×times-frac
402×*-un-lft-identity
382×sqrt-prod
332×add-cube-cbrt
324×associate-/r*
288×frac-times
284×unpow-prod-down cube-prod
201×cbrt-prod
192×unswap-sqr
168×cbrt-div
162×associate-/l*
100×associate-*r* associate-*l*
60×add-exp-log
54×frac-2neg clear-num
46×sqr-pow
34×pow-exp
24×associate-*r/ associate-*l/ prod-exp
18×pow-unpow
17×div-exp
12×pow1 pow-to-exp pow-prod-down add-cbrt-cube div-inv
11×pow-pow
cube-mult pow-flip unpow3
rec-exp 1-exp
expm1-log1p-u sqrt-pow1 rem-cbrt-cube log1p-expm1-u add-log-exp rem-cube-cbrt
exp-prod
cbrt-undiv *-commutative
pow1/2 pow1/3 cbrt-unprod inv-pow
Counts
4 → 953
Calls
4 calls:
9.0ms
(pow (/ 1 (sqrt (exp im))) 3)
8.0ms
(pow (/ 0.5 (sqrt (exp im))) 3)
65.0ms
(* (pow (/ 1 (sqrt (exp im))) 3) (pow (/ 0.5 (sqrt (exp im))) 3))
74.0ms
(cbrt (* (pow (/ 1 (sqrt (exp im))) 3) (pow (/ 0.5 (sqrt (exp im))) 3)))

series175.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(pow (/ 1 (sqrt (exp im))) 3)
63.0ms
(pow (/ 0.5 (sqrt (exp im))) 3)
56.0ms
(* (pow (/ 1 (sqrt (exp im))) 3) (pow (/ 0.5 (sqrt (exp im))) 3))
14.0ms
(cbrt (* (pow (/ 1 (sqrt (exp im))) 3) (pow (/ 0.5 (sqrt (exp im))) 3)))

simplify160.0ms

Algorithm
egg-herbie
Counts
965 → 965
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
0169014437
1500213102

prune1.6s

Filtered
965 candidates to 307 candidates (31.8%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New9650965
Fresh011
Picked011
Done000
Total9652967

Merged error: 0b

Counts
967 → 2

regimes50.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02014
12014

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.1s2873×body1280valid
529.0ms2380×body640valid
392.0ms8458×body80valid
186.0ms1188×body320valid
58.0ms596×body160valid