Details

Time bar (total: 4.7s)

sample105.0ms

Algorithm
intervals
Results
46.0ms110×body1280valid
20.0ms89×body640valid
14.0ms273×body80valid
6.0ms39×body320valid
2.0ms20×body160valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (10.0ms)

IterNodesCost
0237
1607
21127
32367
45206
57026
615146
722846
850016

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1

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

rewrite17.0ms

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

series85.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0258374
11276311
25002307

prune100.0ms

Filtered
48 candidates to 35 candidates (72.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New46248
Fresh000
Picked011
Done000
Total46349

Merged error: 0b

Counts
49 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp (- im)) (exp (- im)))
0.1b
(pow (exp im) 3)
0.1b
(pow (exp (- im)) 3)
6.7b
(- (* (exp im) (exp im)) (* (exp (- im)) (exp im)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
89×exp-prod
50×*-un-lft-identity
38×add-sqr-sqrt
36×add-cube-cbrt
27×distribute-rgt-neg-in
23×distribute-lft-neg-in
15×pow-pow pow-prod-down
13×pow1 pow-sqr pow-prod-up
neg-mul-1
exp-neg add-cbrt-cube
neg-sub0 exp-diff
unpow-prod-down pow-unpow cube-prod add-log-exp
add-exp-log expm1-log1p-u frac-times log1p-expm1-u
swap-sqr associate-*r* associate-*l*
cube-div cube-mult pow-to-exp unpow3 associate-*r/ associate-*l/ pow-exp rem-cube-cbrt sqr-pow
pow2 sub-neg flip3-- distribute-rgt-out-- pow-plus fma-neg diff-log prod-diff prod-exp un-div-inv *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 156
Calls
4 calls:
15.0ms
(* (exp (- im)) (exp (- im)))
3.0ms
(pow (exp im) 3)
5.0ms
(pow (exp (- im)) 3)
7.0ms
(- (* (exp im) (exp im)) (* (exp (- im)) (exp im)))

series114.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (exp (- im)) (exp (- im)))
23.0ms
(pow (exp im) 3)
25.0ms
(pow (exp (- im)) 3)
50.0ms
(- (* (exp im) (exp im)) (* (exp (- im)) (exp im)))

simplify147.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (134.0ms)

IterNodesCost
0480667
12576557
25001518

prune409.0ms

Filtered
168 candidates to 100 candidates (59.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1680168
Fresh011
Picked011
Done011
Total1683171

Merged error: 0b

Counts
171 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×pow1
add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt add-cube-cbrt
log-prod
expm1-log1p-u associate-*r* exp-sum log1p-expm1-u
distribute-rgt-in fma-def distribute-lft-in pow-prod-down prod-exp log-pow cbrt-unprod
exp-prod exp-to-pow flip3-+ associate-*r/ flip-+ distribute-lft-out
+-commutative rem-log-exp associate-*l* sum-log *-commutative rem-exp-log
Counts
4 → 74
Calls
4 calls:
6.0ms
(+ (exp (- im)) (exp im))
10.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
4.0ms
(exp (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))))
4.0ms
(log (exp (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))))

series233.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp (- im)) (exp im))
63.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
85.0ms
(exp (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))))
63.0ms
(log (exp (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0323734
11463624
25002617

prune202.0ms

Filtered
86 candidates to 61 candidates (70.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh000
Picked011
Done022
Total86389

Merged error: 0b

Counts
89 → 3

regimes122.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
0137
1137

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.2s2972×body1280valid
616.0ms2526×body640valid
433.0ms8602×body80valid
204.0ms1228×body320valid
70.0ms626×body160valid