Details

Time bar (total: 4.6s)

sample104.0ms

Algorithm
intervals
Results
40.0ms97×body1280valid
20.0ms81×body640valid
19.0ms269×body80valid
5.0ms30×body320valid
2.0ms22×body160valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0237
1587
2957
32097
44597
55967
611987
719317
850017

prune3.0ms

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 (neg im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))

rewrite15.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:
5.0ms
(+ (exp (neg im)) (exp im))
9.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))

series17.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(+ (exp (neg im)) (exp im))
14.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))

simplify37.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0248347
11228286
25001284

prune47.0ms

Filtered
28 candidates to 41 candidates (-46.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342

Merged error: 0.0b

Counts
42 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))) (cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))))
0.3b
(cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im))))
0.3b
(cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im))))
0.3b
(cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
10.0ms
(* (cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))) (cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))))
7.0ms
(cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im))))
7.0ms
(cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im))))
8.0ms
(cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im))))

series141.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))) (cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))))
32.0ms
(cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im))))
30.0ms
(cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im))))
31.0ms
(cbrt (* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im))))

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03091303
112091166
250011094

prune149.0ms

Filtered
63 candidates to 84 candidates (-33.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh011
Picked011
Done011
Total84387

Merged error: 0.0b

Counts
87 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 0.5 (cos re)) (* (cbrt (+ (exp (neg im)) (exp im))) (cbrt (+ (exp (neg im)) (exp im)))))
1.0b
(cbrt (+ (exp (neg im)) (exp im)))
1.0b
(cbrt (+ (exp (neg im)) (exp im)))
1.0b
(cbrt (+ (exp (neg im)) (exp im)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
16×pow1 add-exp-log
13×*-un-lft-identity
12×cbrt-prod add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt
frac-times add-log-exp
pow1/3 distribute-lft-out
associate-*l/
associate-*r* associate-*l* *-commutative
Counts
4 → 72
Calls
4 calls:
20.0ms
(* (* 0.5 (cos re)) (* (cbrt (+ (exp (neg im)) (exp im))) (cbrt (+ (exp (neg im)) (exp im)))))
5.0ms
(cbrt (+ (exp (neg im)) (exp im)))
5.0ms
(cbrt (+ (exp (neg im)) (exp im)))
5.0ms
(cbrt (+ (exp (neg im)) (exp im)))

series99.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (* 0.5 (cos re)) (* (cbrt (+ (exp (neg im)) (exp im))) (cbrt (+ (exp (neg im)) (exp im)))))
22.0ms
(cbrt (+ (exp (neg im)) (exp im)))
22.0ms
(cbrt (+ (exp (neg im)) (exp im)))
22.0ms
(cbrt (+ (exp (neg im)) (exp im)))

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03481055
11345890
25001843

prune91.0ms

Filtered
64 candidates to 84 candidates (-31.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh000
Picked101
Done112
Total85287

Merged error: 0b

Counts
87 → 2

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (* (pow (* 0.5 (cos re)) 3) (pow (+ (exp im) (exp (neg im))) 2))) (cbrt (+ (exp (neg im)) (exp im))))
0.3b
(cbrt (* (pow (* 0.5 (cos re)) 3) (pow (+ (exp im) (exp (neg im))) 2)))
0.4b
(pow (* 0.5 (cos re)) 3)
1.0b
(cbrt (+ (exp (neg im)) (exp im)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
11×cbrt-prod
pow1 add-exp-log add-cube-cbrt
associate-*r* add-cbrt-cube
cbrt-div pow1/3 associate-*l* add-log-exp
pow-unpow pow-prod-down
pow-pow flip3-+ associate-*r/ pow-exp prod-exp cbrt-unprod flip-+ distribute-lft-out rem-cube-cbrt unswap-sqr
cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod *-commutative sqr-pow
Counts
4 → 72
Calls
4 calls:
11.0ms
(* (cbrt (* (pow (* 0.5 (cos re)) 3) (pow (+ (exp im) (exp (neg im))) 2))) (cbrt (+ (exp (neg im)) (exp im))))
8.0ms
(cbrt (* (pow (* 0.5 (cos re)) 3) (pow (+ (exp im) (exp (neg im))) 2)))
4.0ms
(pow (* 0.5 (cos re)) 3)
5.0ms
(cbrt (+ (exp (neg im)) (exp im)))

series73.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* (cbrt (* (pow (* 0.5 (cos re)) 3) (pow (+ (exp im) (exp (neg im))) 2))) (cbrt (+ (exp (neg im)) (exp im))))
31.0ms
(cbrt (* (pow (* 0.5 (cos re)) 3) (pow (+ (exp im) (exp (neg im))) 2)))
6.0ms
(pow (* 0.5 (cos re)) 3)
22.0ms
(cbrt (+ (exp (neg im)) (exp im)))

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0360937
11379850
25002830

prune131.0ms

Filtered
63 candidates to 84 candidates (-33.3%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh000
Picked011
Done011
Total84286

Merged error: 0b

Counts
86 → 2

regimes233.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
0137
1137

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s3050×body1280valid
607.0ms2436×body640valid
469.0ms8522×body80valid
206.0ms1228×body320valid
73.0ms622×body160valid

Profiling

Loading profile data...