Details

Time bar (total: 4.5s)

sample82.0ms

Algorithm
intervals
Results
32.0ms83×body1280valid
18.0ms81×body640valid
12.0ms259×body80valid
5.0ms34×body320valid
1.0ms15×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

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

rewrite18.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:
7.0ms
(+ (exp (- 0.0 im)) (exp im))
11.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)))

simplify35.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0268349
11226295
25002294

prune96.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 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)))

rewrite13.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))
8.0ms
(* (* 0.5 (sin re)) (+ (exp (* -1 im)) (exp im)))

series83.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0245349
11155293
25001288

prune90.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
16×*-un-lft-identity
14×sqrt-div associate-*r*
10×associate-*r/
flip3-+ pow-prod-down prod-exp cbrt-unprod flip-+
add-sqr-sqrt add-cube-cbrt sqrt-prod add-log-exp
frac-times distribute-lft-out
+-commutative associate-*l* associate-*l/ sum-log *-commutative
Counts
4 → 81
Calls
4 calls:
4.0ms
(+ (exp (* -1 im)) (exp im))
4.0ms
(+ (exp (* -1 im)) (exp im))
9.0ms
(* (* 0.5 (sin re)) (sqrt (+ (exp (* -1 im)) (exp im))))
15.0ms
(* (* (* 0.5 (sin re)) (sqrt (+ (exp (* -1 im)) (exp im)))) (sqrt (+ (exp (* -1 im)) (exp im))))

series193.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (exp (* -1 im)) (exp im))
20.0ms
(+ (exp (* -1 im)) (exp im))
85.0ms
(* (* 0.5 (sin re)) (sqrt (+ (exp (* -1 im)) (exp im))))
63.0ms
(* (* (* 0.5 (sin re)) (sqrt (+ (exp (* -1 im)) (exp im)))) (sqrt (+ (exp (* -1 im)) (exp im))))

simplify54.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
03791087
11853899
25001879

prune214.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp im) -2)
0.0b
(pow (exp im) 3)
0.0b
(pow (exp (* -1 im)) 3)
4.6b
(- (pow (exp im) -2) 1)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×*-un-lft-identity
14×add-cube-cbrt
12×unpow-prod-down
11×pow-pow
pow-unpow
pow1 exp-prod add-log-exp
cube-prod add-cbrt-cube difference-of-squares sqr-pow
add-exp-log
pow-to-exp difference-of-sqr-1 pow-exp
cube-mult unpow3 rem-cube-cbrt
cube-div exp-neg sub-neg flip3-- exp-to-pow mul-1-neg diff-log flip-- distribute-lft-out--
Counts
4 → 94
Calls
4 calls:
3.0ms
(pow (exp im) -2)
3.0ms
(pow (exp im) 3)
4.0ms
(pow (exp (* -1 im)) 3)
6.0ms
(- (pow (exp im) -2) 1)

series103.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(pow (exp im) -2)
23.0ms
(pow (exp im) 3)
32.0ms
(pow (exp (* -1 im)) 3)
31.0ms
(- (pow (exp im) -2) 1)

simplify46.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0313403
11344359
25001334

prune334.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes82.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.2s3016×body1280valid
567.0ms2474×body640valid
426.0ms8567×body80valid
183.0ms1201×body320valid
63.0ms609×body160valid