Details

Time bar (total: 4.6s)

sample87.0ms

Algorithm
intervals
Results
36.0ms95×body1280valid
17.0ms79×body640valid
12.0ms277×body80valid
6.0ms42×body320valid
2.0ms17×body160valid

simplify74.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

Filtered
1 candidates to 0 candidates (0.0%)
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)))

rewrite16.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:
5.0ms
(+ (exp (- im)) (exp im))
10.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

series86.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0249347
11229286
25001284

prune106.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (exp im))
0.0b
(/ (* 0.5 (cos re)) (exp im))
0.0b
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube
add-exp-log
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp cbrt-unprod
times-frac associate-*r* pow-prod-down associate-/r*
cbrt-undiv div-exp div-inv
+-commutative frac-2neg flip3-+ associate-*l* clear-num sum-log *-commutative flip-+ distribute-lft-out associate-/l*
Counts
3 → 51
Calls
3 calls:
10.0ms
(* (* 0.5 (cos re)) (exp im))
6.0ms
(/ (* 0.5 (cos re)) (exp im))
8.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))

series163.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* (* 0.5 (cos re)) (exp im))
45.0ms
(/ (* 0.5 (cos re)) (exp im))
82.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))

simplify52.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0284450
11619391
25001384

prune143.0ms

Filtered
60 candidates to 44 candidates (73.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp im))
0.0b
(+ (* (/ 0.5 (sqrt (exp im))) (/ (cos re) (sqrt (exp im)))) (* (* 0.5 (cos re)) (exp im)))
0.0b
(/ (cos re) (sqrt (exp im)))
0.0b
(* (/ 0.5 (sqrt (exp im))) (/ (cos re) (sqrt (exp im))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
66×times-frac
47×add-cube-cbrt *-un-lft-identity
39×sqrt-prod
22×associate-*r* associate-*l*
18×add-exp-log add-cbrt-cube
unswap-sqr
pow1
associate-/r* add-log-exp
cbrt-undiv div-exp
sqrt-pow1 prod-exp cbrt-unprod
exp-prod div-inv associate-/l*
+-commutative frac-times rem-sqrt-square frac-2neg flip3-+ pow1/2 associate-*r/ pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-+
Counts
4 → 139
Calls
4 calls:
2.0ms
(sqrt (exp im))
11.0ms
(+ (* (/ 0.5 (sqrt (exp im))) (/ (cos re) (sqrt (exp im)))) (* (* 0.5 (cos re)) (exp im)))
5.0ms
(/ (cos re) (sqrt (exp im)))
23.0ms
(* (/ 0.5 (sqrt (exp im))) (/ (cos re) (sqrt (exp im))))

series195.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (exp im))
92.0ms
(+ (* (/ 0.5 (sqrt (exp im))) (/ (cos re) (sqrt (exp im)))) (* (* 0.5 (cos re)) (exp im)))
48.0ms
(/ (cos re) (sqrt (exp im)))
43.0ms
(* (/ 0.5 (sqrt (exp im))) (/ (cos re) (sqrt (exp im))))

simplify72.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05531512
125461384
250021305

prune373.0ms

Filtered
151 candidates to 102 candidates (67.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 1/12 (pow im 4)) (+ (pow im 2) 2))
0.0b
(* (* 0.5 (cos re)) (+ (* 1/12 (pow im 4)) (+ (pow im 2) 2)))
0.1b
(* 1/12 (pow im 4))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
13×add-exp-log
12×add-sqr-sqrt
10×associate-*r* add-cbrt-cube
pow1 add-log-exp
add-cube-cbrt *-un-lft-identity
prod-exp
unpow-prod-down associate-*l* cbrt-unprod
pow-prod-down sum-log unswap-sqr
flip3-+ associate-*r/ *-commutative flip-+ sqr-pow
+-commutative distribute-rgt-in pow-to-exp associate-+r+ distribute-lft-in pow-exp
Counts
3 → 60
Calls
3 calls:
8.0ms
(+ (* 1/12 (pow im 4)) (+ (pow im 2) 2))
12.0ms
(* (* 0.5 (cos re)) (+ (* 1/12 (pow im 4)) (+ (pow im 2) 2)))
5.0ms
(* 1/12 (pow im 4))

series201.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ (* 1/12 (pow im 4)) (+ (pow im 2) 2))
129.0ms
(* (* 0.5 (cos re)) (+ (* 1/12 (pow im 4)) (+ (pow im 2) 2)))
36.0ms
(* 1/12 (pow im 4))

simplify55.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0356510
11788442
25001441

prune164.0ms

Filtered
69 candidates to 44 candidates (63.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes67.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
0129
1129

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.2s3046×body1280valid
524.0ms2511×body640valid
365.0ms8341×body80valid
168.0ms1243×body320valid
60.0ms617×body160valid