Details

Time bar (total: 4.8s)

sample85.0ms

Algorithm
intervals
Results
32.0ms81×body1280valid
18.0ms76×body640valid
12.0ms250×body80valid
6.0ms33×body320valid
2.0ms20×body160valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0267
1627
21087
31777
42797
57707
610757
716627
842177
950027

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 (- 0.0 im)) (exp im))
0.0b
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))

rewrite81.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:
21.0ms
(+ (exp (- 0.0 im)) (exp im))
60.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))

series89.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0268349
11226295
25002294

prune110.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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:
4.0ms
(+ (exp (* -1 im)) (exp im))
19.0ms
(* (* 0.5 (sin re)) (+ (exp (* -1 im)) (exp im)))

series107.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(+ (exp (* -1 im)) (exp im))
83.0ms
(* (* 0.5 (sin re)) (+ (exp (* -1 im)) (exp im)))

simplify40.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0245349
11155293
25001288

prune83.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite67.0ms

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

series163.0ms

Counts
2 → 6
Calls
2 calls:
123.0ms
(* (* 0.5 (sin re)) (+ (* 1/12 (pow im 4)) (+ (pow im 2) 2)))
39.0ms
(* 1/12 (pow im 4))

simplify55.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0329379
11734327
25002324

prune158.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 0.5 (* (sin re) (pow im 2))) (+ (* 0.041666666666666664 (* (sin re) (pow im 4))) (* 1.0 (sin re))))
0.1b
(* 0.041666666666666664 (* (sin re) (pow im 4)))
0.1b
(* (sin re) (pow im 4))
0.1b
(* (sin re) (pow im 2))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
24×add-exp-log
22×add-sqr-sqrt
16×associate-*r*
13×prod-exp add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
associate-*l* add-log-exp
unpow-prod-down
unswap-sqr
pow1
cbrt-unprod
sqr-pow
pow-to-exp pow-exp sum-log *-commutative
unpow2
+-commutative associate-+r+ flip3-+ pow-prod-down flip-+
Counts
4 → 84
Calls
4 calls:
25.0ms
(+ (* 0.5 (* (sin re) (pow im 2))) (+ (* 0.041666666666666664 (* (sin re) (pow im 4))) (* 1.0 (sin re))))
9.0ms
(* 0.041666666666666664 (* (sin re) (pow im 4)))
6.0ms
(* (sin re) (pow im 4))
7.0ms
(* (sin re) (pow im 2))

series383.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(+ (* 0.5 (* (sin re) (pow im 2))) (+ (* 0.041666666666666664 (* (sin re) (pow im 4))) (* 1.0 (sin re))))
107.0ms
(* 0.041666666666666664 (* (sin re) (pow im 4)))
87.0ms
(* (sin re) (pow im 4))
45.0ms
(* (sin re) (pow im 2))

simplify58.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0411693
11750602
25001596

prune251.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes61.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
0167
1167

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.2s3015×body1280valid
578.0ms2402×body640valid
439.0ms8544×body80valid
198.0ms1255×body320valid
66.0ms625×body160valid