Details

Time bar (total: 9.6s)

sample143.0ms

Algorithm
intervals
Results
77.0ms183×body1280valid
30.0ms124×body640valid
7.0ms47×body320valid
6.0ms140×body80valid
3.0ms28×body160valid

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
718017
847437
950017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 59.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
7.1b
(- (exp (- 0.0 im)) (exp im))

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
associate-*r*
add-log-exp
add-cube-cbrt sub-neg pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 40
Calls
2 calls:
114.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
54.0ms
(- (exp (- 0.0 im)) (exp im))

series124.0ms

Counts
2 → 6
Calls
2 calls:
86.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
37.0ms
(- (exp (- 0.0 im)) (exp im))

simplify42.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0268399
11086345
25001344

prune118.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
0.0b
(* 1/60 (pow im 5))
0.1b
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
0.1b
(* 1/3 (pow im 3))

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
29×associate-*r*
26×add-sqr-sqrt
19×add-exp-log
14×add-cube-cbrt *-un-lft-identity
13×add-cbrt-cube
pow1 prod-exp add-log-exp
unpow-prod-down
associate-*l* unswap-sqr
cbrt-unprod
cube-prod sqr-pow
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down sum-log *-commutative
pow-to-exp distribute-neg-in flip3-+ associate-*r/ pow-exp flip-+ distribute-neg-frac
+-commutative distribute-rgt-in cube-mult neg-mul-1 associate-+r+ distribute-lft-in unpow3 distribute-rgt-neg-out
Counts
4 → 99
Calls
4 calls:
21.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
12.0ms
(* 1/60 (pow im 5))
108.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
16.0ms
(* 1/3 (pow im 3))

series342.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
55.0ms
(* 1/60 (pow im 5))
180.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
43.0ms
(* 1/3 (pow im 3))

simplify94.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
0541829
12757736
25001733

prune335.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
0.6b
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
0.6b
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
0.6b
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

rewrite185.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
132.0ms
(* (cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
18.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
16.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
16.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

series675.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(* (cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
165.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
159.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
168.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

simplify73.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
03932049
114431928
250011792

prune491.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (pow im 6) 1/9)
0.1b
(* (- (* 0.5 (cos re))) (+ (- (* (+ (* 1/60 (pow im 5)) (* 2 im)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (* (pow im 6) 1/9)))
0.1b
(* 1/3 (pow im 3))
27.4b
(/ (* (- (* 0.5 (cos re))) (+ (- (* (+ (* 1/60 (pow im 5)) (* 2 im)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (* (pow im 6) 1/9))) (- (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

rewrite174.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
21×add-exp-log
18×associate-*r*
16×associate-*l*
15×add-cube-cbrt *-un-lft-identity add-cbrt-cube
unpow-prod-down prod-exp unswap-sqr
pow1
cube-prod associate-*r/ cbrt-unprod add-log-exp sqr-pow
times-frac associate-/r* *-commutative
cbrt-undiv distribute-lft-neg-out pow-to-exp flip3-+ div-exp pow-exp associate-/r/ flip-+ associate-/l/
distribute-lft-neg-in distribute-rgt-in cube-mult neg-mul-1 flip3-- distribute-rgt-neg-in frac-2neg distribute-lft-in unpow3 distribute-frac-neg pow-prod-down clear-num flip-- div-inv associate-/l*
Counts
4 → 108
Calls
4 calls:
11.0ms
(* (pow im 6) 1/9)
72.0ms
(* (- (* 0.5 (cos re))) (+ (- (* (+ (* 1/60 (pow im 5)) (* 2 im)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (* (pow im 6) 1/9)))
13.0ms
(* 1/3 (pow im 3))
74.0ms
(/ (* (- (* 0.5 (cos re))) (+ (- (* (+ (* 1/60 (pow im 5)) (* 2 im)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (* (pow im 6) 1/9))) (- (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

series1.0s

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (pow im 6) 1/9)
539.0ms
(* (- (* 0.5 (cos re))) (+ (- (* (+ (* 1/60 (pow im 5)) (* 2 im)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (* (pow im 6) 1/9)))
43.0ms
(* 1/3 (pow im 3))
379.0ms
(/ (* (- (* 0.5 (cos re))) (+ (- (* (+ (* 1/60 (pow im 5)) (* 2 im)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (* (pow im 6) 1/9))) (- (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

simplify165.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
06591702
142601430
250021430

prune638.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.0b

regimes204.0ms

Accuracy

0% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 0.8b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03111
14611
26511
36511

end0.0ms

sample4.3s

Algorithm
intervals
Results
2.4s5714×body1280valid
875.0ms3649×body640valid
235.0ms1504×body320valid
211.0ms4410×body80valid
71.0ms704×body160valid