Details

Time bar (total: 2.5s)

sample39.0ms

Algorithm
intervals
Results
14.0ms45×body1280valid
7.0ms212×body80valid
6.0ms40×body640valid
2.0ms16×body320valid
1.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
063
163

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

0.3b
(* (exp re) (sin im))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
add-exp-log
expm1-log1p-u pow-prod-down prod-exp *-commutative cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 20
Calls
1 calls:
5.0ms
(* (exp re) (sin im))

series42.0ms

Counts
1 → 3
Calls
1 calls:
42.0ms
(* (exp re) (sin im))

simplify169.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
091106
130093
2115493
3486992
4500192

prune40.0ms

Filtered
23 candidates to 16 candidates (69.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New20323
Fresh000
Picked101
Done000
Total21324

Merged error: 0.0b

Counts
24 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(expm1 (log1p (* (exp re) (sin im))))
0.2b
(log1p (* (exp re) (sin im)))
0.3b
(* (exp re) (sin im))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity add-cbrt-cube
add-exp-log expm1-log1p-u
associate-*r* associate-*l* log1p-expm1-u add-log-exp
log1p-udef expm1-log1p log1p-expm1 pow-prod-down prod-exp *-commutative cbrt-unprod expm1-udef unswap-sqr
Counts
3 → 42
Calls
3 calls:
1.0ms
(expm1 (log1p (* (exp re) (sin im))))
1.0ms
(log1p (* (exp re) (sin im)))
5.0ms
(* (exp re) (sin im))

series232.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(expm1 (log1p (* (exp re) (sin im))))
123.0ms
(log1p (* (exp re) (sin im)))
39.0ms
(* (exp re) (sin im))

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0128244
1382212
21414208
35002205

prune92.0ms

Filtered
51 candidates to 34 candidates (66.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New51051
Fresh022
Picked011
Done000
Total51354

Merged error: 0.0b

Counts
54 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (log (sin im)) re)
0.4b
(log (sin im))
1.2b
(exp (+ (log (sin im)) re))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
pow1 add-sqr-sqrt add-cube-cbrt
log-prod add-log-exp
exp-prod
add-exp-log fma-def log-pow distribute-lft-out
expm1-log1p-u associate-+l+ add-cbrt-cube log1p-expm1-u
sum-log rem-exp-log
+-commutative flip3-+ rem-log-exp exp-sum flip-+
Counts
3 → 53
Calls
3 calls:
4.0ms
(+ (log (sin im)) re)
2.0ms
(log (sin im))
5.0ms
(exp (+ (log (sin im)) re))

series140.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(+ (log (sin im)) re)
67.0ms
(log (sin im))
31.0ms
(exp (+ (log (sin im)) re))

simplify113.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 4 (109.0ms)

IterNodesCost
0163248
1430226
21323226
34303224
45001223

prune115.0ms

Filtered
62 candidates to 44 candidates (71.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh011
Picked011
Done011
Total62365

Merged error: 0.0b

Counts
65 → 3

localize6.0ms

Local error

Found 1 expressions with local error:

2.2b
(fma (fma (* 1/2 re) re re) im im)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (fma (* 1/2 re) re re) im im)

series33.0ms

Counts
1 → 3
Calls
1 calls:
33.0ms
(fma (fma (* 1/2 re) re re) im im)

simplify112.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04763
112253
255153
3322353
4500153

prune21.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New13013
Fresh000
Picked011
Done022
Total13316

Merged error: 0.0b

Counts
16 → 3

regimes91.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
085
185

end0.0ms

sample1.2s

Algorithm
intervals
Results
445.0ms1496×body1280valid
250.0ms7024×body80valid
201.0ms1209×body640valid
78.0ms646×body320valid
24.0ms323×body160valid