Details

Time bar (total: 5.8s)

sample111.0ms

Algorithm
intervals
Results
52.0ms114×body1280valid
20.0ms81×body640valid
15.0ms280×body80valid
5.0ms30×body320valid
3.0ms22×body160valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0267
1647
21267
32127
43237
58647
612027
718007
844217
950017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
14×fma-def *-un-lft-identity
11×exp-sum
10×add-sqr-sqrt add-cube-cbrt
prod-diff
pow1 add-exp-log add-cbrt-cube
associate-*r* add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-+ associate-*r/ flip-+ log1p-expm1-u distribute-lft-out
+-commutative distribute-rgt-in sub-neg distribute-lft-in associate-*l* sum-log *-commutative
Counts
2 → 53
Calls
2 calls:
11.0ms
(+ (exp (- 0.0 im)) (exp im))
14.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))

series90.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0277376
11271319
25001317

prune148.0ms

Filtered
59 candidates to 45 candidates (76.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New56359
Fresh000
Picked011
Done000
Total56460

Merged error: 0b

Counts
60 → 4

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-*r*
13×pow1 add-cbrt-cube
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity exp-sum
add-exp-log prod-diff
pow-prod-down prod-exp cbrt-unprod
add-log-exp
expm1-log1p-u log1p-expm1-u
associate-*l* *-commutative
+-commutative sub-neg fma-def flip3-+ exp-diff associate-*r/ sum-log flip-+ distribute-lft-out
Counts
3 → 67
Calls
3 calls:
12.0ms
(+ (* (* 0.5 (sin re)) (exp (- 0.0 im))) (* (* 0.5 (sin re)) (exp im)))
12.0ms
(* (* 0.5 (sin re)) (exp (- 0.0 im)))
6.0ms
(* (* 0.5 (sin re)) (exp im))

series167.0ms

Counts
3 → 9
Calls
3 calls:
87.0ms
(+ (* (* 0.5 (sin re)) (exp (- 0.0 im))) (* (* 0.5 (sin re)) (exp im)))
41.0ms
(* (* 0.5 (sin re)) (exp (- 0.0 im)))
39.0ms
(* (* 0.5 (sin re)) (exp im))

simplify62.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0436617
12003504
25001499

prune161.0ms

Filtered
76 candidates to 54 candidates (71.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New76076
Fresh022
Picked011
Done011
Total76480

Merged error: 0b

Counts
80 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp im) 3)
0.0b
(* (exp (- 0.0 im)) (exp (- 0.0 im)))
0.0b
(pow (exp (- 0.0 im)) 3)
4.0b
(- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
90×*-un-lft-identity
74×add-sqr-sqrt
70×exp-sum
58×add-cube-cbrt
55×prod-diff
50×exp-prod
17×unpow-prod-down cube-prod
16×swap-sqr
14×associate-*r* associate-*l*
13×pow1 distribute-lft-out--
10×pow-pow
sub-neg
pow-prod-down pow-sqr pow-prod-up add-cbrt-cube
difference-of-squares
pow-unpow add-log-exp
exp-diff
add-exp-log expm1-log1p-u log1p-expm1-u
cube-mult pow-to-exp unpow3 pow-exp rem-cube-cbrt sqr-pow
cube-div pow2 frac-times flip3-- distribute-rgt-out-- pow-plus fma-neg diff-log associate-*r/ associate-*l/ prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 184
Calls
4 calls:
3.0ms
(pow (exp im) 3)
19.0ms
(* (exp (- 0.0 im)) (exp (- 0.0 im)))
8.0ms
(pow (exp (- 0.0 im)) 3)
7.0ms
(- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))

series113.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (exp im) 3)
19.0ms
(* (exp (- 0.0 im)) (exp (- 0.0 im)))
26.0ms
(pow (exp (- 0.0 im)) 3)
44.0ms
(- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))

simplify135.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
06581375
13488814
25001805

prune475.0ms

Filtered
196 candidates to 109 candidates (55.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1960196
Fresh011
Picked011
Done022
Total1964200

Merged error: 0b

Counts
200 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (fma (- (exp im)) (exp im) (exp (+ (- 0.0 im) (- 0.0 im)))) (sin re))
0.2b
(/ (* (* (fma (- (exp im)) (exp im) (exp (+ (- 0.0 im) (- 0.0 im)))) (sin re)) 0.5) (- (exp (- 0.0 im)) (exp im)))
4.0b
(fma (- (exp im)) (exp im) (exp (+ (- 0.0 im) (- 0.0 im))))
4.1b
(- (exp (- 0.0 im)) (exp im))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
78×prod-diff
58×add-sqr-sqrt
56×*-un-lft-identity
50×add-cube-cbrt
44×exp-sum
15×add-exp-log add-cbrt-cube
14×fma-neg
pow1 add-log-exp
sub-neg times-frac associate-/r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u
cbrt-undiv div-exp associate-*r* associate-*l* distribute-lft-out-- difference-of-squares
flip3-- associate-/r/ flip--
frac-2neg diff-log pow-prod-down clear-num *-commutative fma-udef div-inv associate-/l* unswap-sqr
Counts
4 → 133
Calls
4 calls:
4.0ms
(* (fma (- (exp im)) (exp im) (exp (+ (- 0.0 im) (- 0.0 im)))) (sin re))
16.0ms
(/ (* (* (fma (- (exp im)) (exp im) (exp (+ (- 0.0 im) (- 0.0 im)))) (sin re)) 0.5) (- (exp (- 0.0 im)) (exp im)))
1.0ms
(fma (- (exp im)) (exp im) (exp (+ (- 0.0 im) (- 0.0 im))))
13.0ms
(- (exp (- 0.0 im)) (exp im))

series352.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(* (fma (- (exp im)) (exp im) (exp (+ (- 0.0 im) (- 0.0 im)))) (sin re))
145.0ms
(/ (* (* (fma (- (exp im)) (exp im) (exp (+ (- 0.0 im) (- 0.0 im)))) (sin re)) 0.5) (- (exp (- 0.0 im)) (exp im)))
78.0ms
(fma (- (exp im)) (exp im) (exp (+ (- 0.0 im) (- 0.0 im))))
35.0ms
(- (exp (- 0.0 im)) (exp im))

simplify81.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06162366
124791575
250011566

prune357.0ms

Filtered
145 candidates to 87 candidates (60.0%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1450145
Fresh000
Picked011
Done033
Total1454149

Merged error: 0b

Counts
149 → 4

regimes151.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01610
11610

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.3s3032×body1280valid
622.0ms2427×body640valid
491.0ms8643×body80valid
223.0ms1268×body320valid
69.0ms599×body160valid