Details

Time bar (total: 5.6s)

sample95.0ms

Algorithm
intervals
Results
37.0ms97×body1280valid
21.0ms79×body640valid
13.0ms272×body80valid
7.0ms48×body320valid
2.0ms19×body160valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0267
1647
21267
32127
43237
58647
612027
718007
844217
950017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite107.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:
31.0ms
(+ (exp (- 0.0 im)) (exp im))
74.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))

series88.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0277376
11271319
25001317

prune166.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.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:
0.0ms
(fma (sqrt (exp (- 0.0 im))) (sqrt (exp (- 0.0 im))) (exp im))
7.0ms
(* (* 0.5 (sin re)) (fma (sqrt (exp (- 0.0 im))) (sqrt (exp (- 0.0 im))) (exp im)))
16.0ms
(sqrt (exp (- 0.0 im)))
20.0ms
(sqrt (exp (- 0.0 im)))

series186.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(fma (sqrt (exp (- 0.0 im))) (sqrt (exp (- 0.0 im))) (exp im))
93.0ms
(* (* 0.5 (sin re)) (fma (sqrt (exp (- 0.0 im))) (sqrt (exp (- 0.0 im))) (exp im)))
16.0ms
(sqrt (exp (- 0.0 im)))
14.0ms
(sqrt (exp (- 0.0 im)))

simplify41.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0333960
11204729
25001619

prune285.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (sin re)) (fma (pow im 4) 1/12 (fma im im 2)))
0.0b
(fma (pow im 4) 1/12 (fma im im 2))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in associate-*l* *-commutative
Counts
2 → 32
Calls
2 calls:
8.0ms
(* (* 0.5 (sin re)) (fma (pow im 4) 1/12 (fma im im 2)))
0.0ms
(fma (pow im 4) 1/12 (fma im im 2))

series159.0ms

Counts
2 → 6
Calls
2 calls:
120.0ms
(* (* 0.5 (sin re)) (fma (pow im 4) 1/12 (fma im im 2)))
38.0ms
(fma (pow im 4) 1/12 (fma im im 2))

simplify33.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0193281
1939234
25001234

prune95.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (fma (pow im 4) 1/12 (fma im im 2))) (cbrt (fma (pow im 4) 1/12 (fma im im 2))))
1.0b
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))
1.0b
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))
1.0b
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt (fma (pow im 4) 1/12 (fma im im 2))) (cbrt (fma (pow im 4) 1/12 (fma im im 2))))
0.0ms
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))
0.0ms
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))
1.0ms
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))

series667.0ms

Counts
4 → 12
Calls
4 calls:
287.0ms
(* (cbrt (fma (pow im 4) 1/12 (fma im im 2))) (cbrt (fma (pow im 4) 1/12 (fma im im 2))))
128.0ms
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))
128.0ms
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))
124.0ms
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))

simplify149.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (136.0ms)

IterNodesCost
0270986
1935915
24492824
35001795

prune315.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

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

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.2s3005×body1280valid
606.0ms2553×body640valid
429.0ms8579×body80valid
195.0ms1259×body320valid
70.0ms665×body160valid