Details

Time bar (total: 7.4s)

sample113.0ms

Algorithm
intervals
Results
49.0ms99×body1280valid
21.0ms80×body640valid
10.0ms42×body320valid
7.0ms147×body80valid
6.0ms122×body80overflowed
2.0ms21×body160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1407
2927
31637
44057
58657
611897
727717
850017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.5b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
6.2b
(- (exp (- im)) (exp im))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
27×prod-diff
26×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
add-log-exp
sub-neg fma-neg pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 74
Calls
2 calls:
67.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
24.0ms
(- (exp (- im)) (exp im))

series110.0ms

Counts
2 → 6
Calls
2 calls:
75.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
35.0ms
(- (exp (- im)) (exp im))

simplify47.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03711102
11544774
25001722

prune165.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
0.1b
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
0.2b
(* 1/3 (pow im 3))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
54×prod-diff
47×add-sqr-sqrt
40×*-un-lft-identity
36×add-cube-cbrt
20×distribute-rgt-in distribute-lft-in
17×associate-*r*
13×add-exp-log
10×distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in add-cbrt-cube
pow1
add-log-exp
fma-neg prod-exp
unpow-prod-down cube-prod associate-*l* cbrt-unprod unswap-sqr
expm1-log1p-u sub-neg pow-prod-down log1p-expm1-u
flip3-- diff-log associate-*r/ *-commutative flip-- distribute-lft-out-- difference-of-squares sqr-pow
associate--l- neg-sub0 cube-mult pow-to-exp unpow3 neg-log pow-exp fma-udef associate--r+
Counts
3 → 140
Calls
3 calls:
12.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
51.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
12.0ms
(* 1/3 (pow im 3))

series247.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
159.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
37.0ms
(* 1/3 (pow im 3))

simplify94.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05832592
125481630
250011618

prune340.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sin re) (pow im 5))
0.1b
(* (sin re) (pow im 3))
0.1b
(* 0.16666666666666666 (* (sin re) (pow im 3)))
0.1b
(* (sin re) im)

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
26×add-exp-log
23×associate-*r*
15×add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity prod-exp
12×associate-*l*
pow1 unpow-prod-down unswap-sqr
cbrt-unprod
expm1-log1p-u cube-prod *-commutative log1p-expm1-u add-log-exp sqr-pow
pow-to-exp pow-exp
pow-prod-down
cube-mult unpow3
Counts
4 → 101
Calls
4 calls:
14.0ms
(* (sin re) (pow im 5))
17.0ms
(* (sin re) (pow im 3))
24.0ms
(* 0.16666666666666666 (* (sin re) (pow im 3)))
10.0ms
(* (sin re) im)

series309.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (sin re) (pow im 5))
77.0ms
(* (sin re) (pow im 3))
86.0ms
(* 0.16666666666666666 (* (sin re) (pow im 3)))
31.0ms
(* (sin re) im)

simplify51.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0346536
11461466
25001466

prune561.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt im) (cbrt im))
0.7b
(cbrt im)
0.7b
(cbrt im)
0.7b
(cbrt im)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
11.0ms
(* (cbrt im) (cbrt im))
1.0ms
(cbrt im)
1.0ms
(cbrt im)
1.0ms
(cbrt im)

series691.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(* (cbrt im) (cbrt im))
167.0ms
(cbrt im)
172.0ms
(cbrt im)
166.0ms
(cbrt im)

simplify93.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune357.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes328.0ms

Accuracy

0% (0.8b 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
02713
13513
23513

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.7s3292×body1280valid
728.0ms2610×body640valid
223.0ms4437×body80valid
205.0ms1226×body320valid
167.0ms3599×body80overflowed
70.0ms665×body160valid