Details

Time bar (total: 5.6s)

sample90.0ms

Algorithm
intervals
Results
37.0ms103×body1280valid
20.0ms81×body640valid
11.0ms262×body80valid
6.0ms40×body320valid
2.0ms16×body160valid

simplify72.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0237
1587
2957
32097
44597
56297
614157
721487
850027

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

rewrite74.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:
16.0ms
(+ (exp (- im)) (exp im))
57.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

series76.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0249347
11229286
25001284

prune129.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite235.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
16×*-un-lft-identity
14×sqrt-div associate-*r*
10×associate-*r/
flip3-+ pow-prod-down prod-exp cbrt-unprod flip-+
add-sqr-sqrt add-cube-cbrt sqrt-prod add-log-exp
frac-times distribute-lft-out
+-commutative associate-*l* associate-*l/ sum-log *-commutative
Counts
4 → 81
Calls
4 calls:
16.0ms
(+ (exp (- im)) (exp im))
17.0ms
(+ (exp (- im)) (exp im))
55.0ms
(* (* 0.5 (cos re)) (sqrt (+ (exp (- im)) (exp im))))
144.0ms
(* (* (* 0.5 (cos re)) (sqrt (+ (exp (- im)) (exp im)))) (sqrt (+ (exp (- im)) (exp im))))

series166.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (exp (- im)) (exp im))
22.0ms
(+ (exp (- im)) (exp im))
73.0ms
(* (* 0.5 (cos re)) (sqrt (+ (exp (- im)) (exp im))))
51.0ms
(* (* (* 0.5 (cos re)) (sqrt (+ (exp (- im)) (exp im)))) (sqrt (+ (exp (- im)) (exp im))))

simplify56.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
03881083
11995885
25002870

prune378.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (+ (exp (- im)) (exp im))) (cbrt (+ (exp (- im)) (exp im))))
1.0b
(cbrt (+ (exp (- im)) (exp im)))
1.0b
(cbrt (+ (exp (- im)) (exp im)))
1.0b
(cbrt (+ (exp (- im)) (exp im)))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
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 → 95
Calls
4 calls:
102.0ms
(* (cbrt (+ (exp (- im)) (exp im))) (cbrt (+ (exp (- im)) (exp im))))
12.0ms
(cbrt (+ (exp (- im)) (exp im)))
12.0ms
(cbrt (+ (exp (- im)) (exp im)))
12.0ms
(cbrt (+ (exp (- im)) (exp im)))

series560.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(* (cbrt (+ (exp (- im)) (exp im))) (cbrt (+ (exp (- im)) (exp im))))
123.0ms
(cbrt (+ (exp (- im)) (exp im)))
118.0ms
(cbrt (+ (exp (- im)) (exp im)))
121.0ms
(cbrt (+ (exp (- im)) (exp im)))

simplify37.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
02341278
18541145
250011071

prune685.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes142.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.7s

Algorithm
intervals
Results
1.2s3056×body1280valid
552.0ms2516×body640valid
386.0ms8425×body80valid
184.0ms1214×body320valid
62.0ms581×body160valid