Details

Time bar (total: 5.1s)

sample97.0ms

Algorithm
intervals
Results
41.0ms105×body1280valid
18.0ms83×body640valid
14.0ms288×body80valid
7.0ms46×body320valid
2.0ms19×body160valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0267
1647
21267
32127
43237
58647
612027
718007
844217
950017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
14×fma-def *-un-lft-identity
11×exp-sum
10×add-sqr-sqrt add-cube-cbrt
prod-diff
pow1 add-exp-log add-cbrt-cube
associate-*r* add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-+ associate-*r/ flip-+ log1p-expm1-u distribute-lft-out
+-commutative distribute-rgt-in sub-neg distribute-lft-in associate-*l* sum-log *-commutative
Counts
2 → 53
Calls
2 calls:
11.0ms
(+ (exp (- 0.0 im)) (exp im))
15.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))

series91.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (exp (- 0.0 im)) (exp im))
69.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))

simplify38.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0277376
11271319
25001317

prune208.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* 0.5 (sin re)) (fma (sqrt (exp (- 0.0 im))) (sqrt (exp (- 0.0 im))) (exp im)))
0.0b
(fma (sqrt (exp (- 0.0 im))) (sqrt (exp (- 0.0 im))) (exp im))
0.0b
(sqrt (exp (- 0.0 im)))
0.0b
(sqrt (exp (- 0.0 im)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
28×sqrt-prod
27×add-sqr-sqrt
25×*-un-lft-identity
22×exp-sum
21×add-cube-cbrt
18×prod-diff
12×sqrt-pow1
11×pow1
10×exp-prod
add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r* pow-prod-down prod-exp cbrt-unprod fma-udef
sub-neg rem-sqrt-square pow1/2 exp-diff sqrt-div distribute-lft-out-- difference-of-squares
distribute-rgt-in distribute-lft-in associate-*l* *-commutative
Counts
4 → 96
Calls
4 calls:
5.0ms
(* (* 0.5 (sin re)) (fma (sqrt (exp (- 0.0 im))) (sqrt (exp (- 0.0 im))) (exp im)))
1.0ms
(fma (sqrt (exp (- 0.0 im))) (sqrt (exp (- 0.0 im))) (exp im))
8.0ms
(sqrt (exp (- 0.0 im)))
6.0ms
(sqrt (exp (- 0.0 im)))

series211.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(* (* 0.5 (sin re)) (fma (sqrt (exp (- 0.0 im))) (sqrt (exp (- 0.0 im))) (exp im)))
67.0ms
(fma (sqrt (exp (- 0.0 im))) (sqrt (exp (- 0.0 im))) (exp im))
14.0ms
(sqrt (exp (- 0.0 im)))
15.0ms
(sqrt (exp (- 0.0 im)))

simplify56.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0333960
11204729
25001619

prune320.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-*r*
13×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity exp-sum
pow1 prod-diff add-cbrt-cube
add-exp-log
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
sub-neg exp-diff associate-*r/ unswap-sqr
Counts
2 → 52
Calls
2 calls:
11.0ms
(* (sin re) (exp (- 0.0 im)))
7.0ms
(* (* 0.5 (sin re)) (exp im))

series72.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(* (sin re) (exp (- 0.0 im)))
40.0ms
(* (* 0.5 (sin re)) (exp im))

simplify37.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0297361
11202288
25001286

prune148.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (- 0.0 im)) (exp im))
0.0b
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))
0.2b
(expm1 (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im))))
0.2b
(log1p (expm1 (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×fma-def
12×add-sqr-sqrt add-cube-cbrt
11×exp-sum
pow1 add-exp-log prod-diff add-cbrt-cube
add-log-exp
log1p-expm1-u
expm1-log1p-u associate-*r*
pow-prod-down prod-exp cbrt-unprod
flip3-+ associate-*r/ flip-+ distribute-lft-out
+-commutative distribute-rgt-in sub-neg log1p-udef expm1-log1p distribute-lft-in log1p-expm1 associate-*l* sum-log *-commutative expm1-udef
Counts
4 → 75
Calls
4 calls:
13.0ms
(+ (exp (- 0.0 im)) (exp im))
15.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))
1.0ms
(expm1 (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im))))
1.0ms
(log1p (expm1 (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))))

series306.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp (- 0.0 im)) (exp im))
68.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))
107.0ms
(expm1 (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im))))
109.0ms
(log1p (expm1 (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))))

simplify42.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0322639
11369549
25001547

prune276.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes122.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
01411
11411

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.2s3039×body1280valid
575.0ms2497×body640valid
447.0ms8740×body80valid
173.0ms1146×body320valid
67.0ms622×body160valid