Details

Time bar (total: 5.7s)

sample90.0ms

Algorithm
intervals
Results
36.0ms97×body1280valid
17.0ms79×body640valid
13.0ms272×body80valid
7.0ms48×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.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)))

rewrite30.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:
10.0ms
(+ (exp (- 0.0 im)) (exp im))
18.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))

series94.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (exp (- 0.0 im)) (exp im))
71.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

prune164.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
42×cbrt-prod
33×exp-sum
27×prod-diff
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
sub-neg cbrt-div exp-diff pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod
fma-udef
distribute-rgt-in distribute-lft-in associate-*l* *-commutative
Counts
4 → 97
Calls
4 calls:
5.0ms
(* (* 0.5 (sin re)) (fma (* (cbrt (exp (- 0.0 im))) (cbrt (exp (- 0.0 im)))) (cbrt (exp (- 0.0 im))) (exp im)))
8.0ms
(cbrt (exp (- 0.0 im)))
5.0ms
(cbrt (exp (- 0.0 im)))
5.0ms
(cbrt (exp (- 0.0 im)))

series565.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(* (* 0.5 (sin re)) (fma (* (cbrt (exp (- 0.0 im))) (cbrt (exp (- 0.0 im)))) (cbrt (exp (- 0.0 im))) (exp im)))
81.0ms
(cbrt (exp (- 0.0 im)))
214.0ms
(cbrt (exp (- 0.0 im)))
90.0ms
(cbrt (exp (- 0.0 im)))

simplify41.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03231195
11142887
25001737

prune325.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

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

rewrite7.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:
5.0ms
(* (* 0.5 (sin re)) (fma (pow im 4) 1/12 (fma im im 2)))
1.0ms
(fma (pow im 4) 1/12 (fma im im 2))

series166.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0193281
1939234
25001234

prune97.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* 0.5 (sin re)) (* (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)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1 add-exp-log
12×add-cbrt-cube
cbrt-prod
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3
associate-*r* associate-*l* *-commutative
Counts
4 → 63
Calls
4 calls:
9.0ms
(* (* 0.5 (sin re)) (* (cbrt (fma (pow im 4) 1/12 (fma im im 2))) (cbrt (fma (pow im 4) 1/12 (fma im im 2)))))
1.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)))
1.0ms
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))

series670.0ms

Counts
4 → 12
Calls
4 calls:
253.0ms
(* (* 0.5 (sin re)) (* (cbrt (fma (pow im 4) 1/12 (fma im im 2))) (cbrt (fma (pow im 4) 1/12 (fma im im 2)))))
142.0ms
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))
137.0ms
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))
138.0ms
(cbrt (fma (pow im 4) 1/12 (fma im im 2)))

simplify46.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0341902
11274777
25001750

prune258.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes97.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
01515
11515

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.2s3005×body1280valid
586.0ms2553×body640valid
422.0ms8579×body80valid
198.0ms1259×body320valid
71.0ms665×body160valid