Details

Time bar (total: 8.3s)

sample90.0ms

Algorithm
intervals
Results
38.0ms106×body1280valid
18.0ms83×body640valid
13.0ms270×body80valid
4.0ms30×body320valid
2.0ms18×body160valid

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

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

rewrite74.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:
20.0ms
(+ (exp (- 0.0 im)) (exp im))
53.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))

series93.0ms

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

prune100.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (exp im) 3)
0.1b
(pow (exp (- 0.0 im)) 3)
0.3b
(/ (* (* 0.5 (sin re)) (+ (pow (exp (- 0.0 im)) 3) (pow (exp im) 3))) (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))))
6.4b
(- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))

rewrite197.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt *-un-lft-identity
15×add-cbrt-cube
14×add-cube-cbrt
13×add-exp-log
10×pow-pow
exp-diff
unpow-prod-down exp-prod cube-prod associate-/r/
pow1 pow-unpow frac-add add-log-exp
flip3-- associate-*r/ exp-sum flip--
cbrt-undiv sub-neg times-frac div-exp prod-exp associate-/r* cbrt-unprod
cube-mult frac-times pow-to-exp flip3-+ unpow3 associate-*l/ pow-exp flip-+ associate-/l/ rem-cube-cbrt sqr-pow
cube-div distribute-rgt-out-- frac-2neg diff-log clear-num div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
4 → 105
Calls
4 calls:
4.0ms
(pow (exp im) 3)
10.0ms
(pow (exp (- 0.0 im)) 3)
174.0ms
(/ (* (* 0.5 (sin re)) (+ (pow (exp (- 0.0 im)) 3) (pow (exp im) 3))) (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))))
7.0ms
(- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))

series313.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (exp im) 3)
26.0ms
(pow (exp (- 0.0 im)) 3)
219.0ms
(/ (* (* 0.5 (sin re)) (+ (pow (exp (- 0.0 im)) 3) (pow (exp im) 3))) (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))))
45.0ms
(- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))

simplify158.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (144.0ms)

IterNodesCost
07341631
142531357
250021335

prune397.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (exp im) 3)
0.1b
(pow (exp (- 0.0 im)) 3)
0.3b
(/ (* (* 0.5 (sin re)) (+ (pow (exp (- 0.0 im)) 3) (pow (exp im) 3))) (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1)))
6.4b
(- (pow (exp im) 2) 1)

rewrite203.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
22×*-un-lft-identity
15×add-cbrt-cube
14×add-cube-cbrt
13×add-exp-log
11×unpow-prod-down
10×pow-pow
exp-diff difference-of-squares
exp-prod cube-prod associate-/r/
pow1 pow-unpow frac-add add-log-exp
sqr-pow
flip3-- difference-of-sqr-1 associate-*r/ exp-sum flip--
cbrt-undiv sub-neg times-frac div-exp prod-exp associate-/r* cbrt-unprod unpow2
cube-mult frac-times pow-to-exp flip3-+ unpow3 associate-*l/ pow-exp flip-+ associate-/l/ distribute-lft-out-- rem-cube-cbrt
cube-div frac-2neg diff-log clear-num div-inv associate-/l*
Counts
4 → 117
Calls
4 calls:
2.0ms
(pow (exp im) 3)
10.0ms
(pow (exp (- 0.0 im)) 3)
176.0ms
(/ (* (* 0.5 (sin re)) (+ (pow (exp (- 0.0 im)) 3) (pow (exp im) 3))) (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1)))
11.0ms
(- (pow (exp im) 2) 1)

series260.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (exp im) 3)
26.0ms
(pow (exp (- 0.0 im)) 3)
183.0ms
(/ (* (* 0.5 (sin re)) (+ (pow (exp (- 0.0 im)) 3) (pow (exp im) 3))) (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1)))
24.0ms
(- (pow (exp im) 2) 1)

simplify128.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (115.0ms)

IterNodesCost
07311316
138891101
250011088

prune389.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (* 0.5 (sin re)) (* (cbrt (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1))) (cbrt (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1))))) (/ (+ (pow (exp (- 0.0 im)) 3) (pow (exp im) 3)) (cbrt (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1)))))
6.4b
(- (pow (exp im) 2) 1)
6.4b
(- (pow (exp im) 2) 1)
6.4b
(- (pow (exp im) 2) 1)

rewrite1.1s

Algorithm
rewrite-expression-head
Rules
152×cbrt-div exp-diff
114×frac-add
108×*-un-lft-identity
103×frac-times
88×associate-/r/
85×associate-*l*
68×add-sqr-sqrt
66×associate-*r*
60×flip3-- flip--
57×times-frac
47×associate-*r/ associate-*l/
45×add-exp-log
33×unpow-prod-down
32×add-cbrt-cube
30×add-cube-cbrt distribute-lft-out
28×cbrt-prod
24×cube-prod difference-of-squares
19×flip3-+ flip-+
18×prod-exp cbrt-unprod
13×cbrt-undiv div-exp
12×difference-of-sqr-1
10×add-log-exp
unpow2 sqr-pow
pow1 sum-cubes
sub-neg diff-log distribute-lft-out-- unswap-sqr
div-inv
pow-prod-down *-commutative
Counts
4 → 261
Calls
4 calls:
995.0ms
(* (/ (* 0.5 (sin re)) (* (cbrt (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1))) (cbrt (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1))))) (/ (+ (pow (exp (- 0.0 im)) 3) (pow (exp im) 3)) (cbrt (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1)))))
11.0ms
(- (pow (exp im) 2) 1)
13.0ms
(- (pow (exp im) 2) 1)
11.0ms
(- (pow (exp im) 2) 1)

series258.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(* (/ (* 0.5 (sin re)) (* (cbrt (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1))) (cbrt (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1))))) (/ (+ (pow (exp (- 0.0 im)) 3) (pow (exp im) 3)) (cbrt (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (pow (exp im) 2) 1)))))
28.0ms
(- (pow (exp im) 2) 1)
23.0ms
(- (pow (exp im) 2) 1)
24.0ms
(- (pow (exp im) 2) 1)

simplify93.0ms

Algorithm
egg-herbie
Counts
273 → 273
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012808899
150028157

prune1.4s

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes142.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
0147
1147

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.2s2930×body1280valid
577.0ms2549×body640valid
415.0ms8538×body80valid
181.0ms1219×body320valid
62.0ms614×body160valid