Details

Time bar (total: 7.8s)

sample161.0ms

Algorithm
intervals
Results
79.0ms161×body1280valid
38.0ms130×body640valid
8.0ms46×body320valid
8.0ms128×body80valid
4.0ms33×body160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
0486811
1486811

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 43.6b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (sin re)) (- (exp (neg im)) (exp im)))
5.9b
(- (exp (neg im)) (exp im))

rewrite17.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:
10.0ms
(* (* 0.5 (sin re)) (- (exp (neg im)) (exp im)))
6.0ms
(- (exp (neg im)) (exp im))

series24.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(* (* 0.5 (sin re)) (- (exp (neg im)) (exp im)))
5.0ms
(- (exp (neg im)) (exp im))

simplify40.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05022502

prune69.0ms

Filtered
29 candidates to 46 candidates (-58.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New42446
Fresh000
Picked101
Done000
Total43447

Merged error: 0.1b

Counts
47 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×associate-*l*
19×add-exp-log
13×add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
pow1 associate-*r* prod-exp
unpow-prod-down
unswap-sqr
add-log-exp
cbrt-unprod
cube-prod sqr-pow
pow-prod-down *-commutative
pow-to-exp flip3-+ associate-*r/ pow-exp flip-+
+-commutative distribute-rgt-in cube-mult distribute-lft-in unpow3 sum-log
Counts
4 → 89
Calls
4 calls:
5.0ms
(+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))
5.0ms
(* (pow im 5) -1/60)
11.0ms
(* (* 0.5 (sin re)) (+ (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))
6.0ms
(* (pow im 3) -1/3)

series59.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))
5.0ms
(* (pow im 5) -1/60)
38.0ms
(* (* 0.5 (sin re)) (+ (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))
4.0ms
(* (pow im 3) -1/3)

simplify34.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
060661143

prune192.0ms

Filtered
68 candidates to 101 candidates (-48.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New974101
Fresh033
Picked011
Done000
Total978105

Merged error: 0.1b

Counts
105 → 8

localize31.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (pow im 3) 1/3)
0.1b
(* (pow im 3) -1/3)
0.1b
(* -1/3 (pow im 3))
21.7b
(/ (* 0.5 (* (sin re) (+ (* im (* 4 im)) (* (+ (* -1/3 (pow im 3)) (* (pow im 5) -1/60)) (+ (* (pow im 3) 1/3) (* (pow im 5) 1/60)))))) (- (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
28×add-exp-log
27×associate-*l*
19×add-cbrt-cube
18×add-cube-cbrt *-un-lft-identity associate-*r*
12×unpow-prod-down cube-prod prod-exp unswap-sqr
cbrt-unprod sqr-pow
pow1 associate-*r/ add-log-exp
cbrt-undiv cube-mult pow-to-exp times-frac unpow3 div-exp pow-exp associate-/r* *-commutative
associate-/r/ associate-/l/
flip3-- frac-2neg flip3-+ clear-num flip-- flip-+ div-inv associate-/l*
Counts
4 → 120
Calls
4 calls:
6.0ms
(* (pow im 3) 1/3)
6.0ms
(* (pow im 3) -1/3)
7.0ms
(* -1/3 (pow im 3))
18.0ms
(/ (* 0.5 (* (sin re) (+ (* im (* 4 im)) (* (+ (* -1/3 (pow im 3)) (* (pow im 5) -1/60)) (+ (* (pow im 3) 1/3) (* (pow im 5) 1/60)))))) (- (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))

series126.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (pow im 3) 1/3)
4.0ms
(* (pow im 3) -1/3)
6.0ms
(* -1/3 (pow im 3))
111.0ms
(/ (* 0.5 (* (sin re) (+ (* im (* 4 im)) (* (+ (* -1/3 (pow im 3)) (* (pow im 5) -1/60)) (+ (* (pow im 3) 1/3) (* (pow im 5) 1/60)))))) (- (* im -2) (+ (* (pow im 3) -1/3) (* (pow im 5) -1/60))))

simplify66.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049772170
149772170

prune447.0ms

Filtered
86 candidates to 132 candidates (-53.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1293132
Fresh156
Picked011
Done011
Total13010140

Merged error: 0.1b

Counts
140 → 10

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (pow im 3) 1/3)
0.1b
(* (pow im 3) 1/3)
0.1b
(* -1/3 (pow im 3))
19.0b
(* (/ (sin re) (+ (* (pow im 3) 1/3) (+ (* (pow im 5) 1/60) (* im -2)))) (+ (* im (* im 4)) (* (+ (* -1/3 (pow im 3)) (* (pow im 5) -1/60)) (+ (* (pow im 3) 1/3) (* (pow im 5) 1/60)))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
42×associate-*l*
24×add-exp-log add-cube-cbrt *-un-lft-identity
21×associate-*r*
15×add-cbrt-cube
14×unswap-sqr
12×unpow-prod-down cube-prod
11×prod-exp
10×times-frac
pow1 sqr-pow
cbrt-unprod
*-commutative add-log-exp
cube-mult pow-to-exp flip3-+ unpow3 pow-exp flip-+
frac-times associate-*r/ associate-/r/
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp pow-prod-down associate-*l/ div-inv
Counts
4 → 133
Calls
4 calls:
6.0ms
(* (pow im 3) 1/3)
6.0ms
(* (pow im 3) 1/3)
6.0ms
(* -1/3 (pow im 3))
18.0ms
(* (/ (sin re) (+ (* (pow im 3) 1/3) (+ (* (pow im 5) 1/60) (* im -2)))) (+ (* im (* im 4)) (* (+ (* -1/3 (pow im 3)) (* (pow im 5) -1/60)) (+ (* (pow im 3) 1/3) (* (pow im 5) 1/60)))))

series115.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (pow im 3) 1/3)
6.0ms
(* (pow im 3) 1/3)
4.0ms
(* -1/3 (pow im 3))
101.0ms
(* (/ (sin re) (+ (* (pow im 3) 1/3) (+ (* (pow im 5) 1/60) (* im -2)))) (+ (* im (* im 4)) (* (+ (* -1/3 (pow im 3)) (* (pow im 5) -1/60)) (+ (* (pow im 3) 1/3) (* (pow im 5) 1/60)))))

simplify70.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049872885
149872885

prune512.0ms

Filtered
99 candidates to 145 candidates (-46.5%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1423145
Fresh167
Picked011
Done022
Total14312155

Merged error: 0.1b

Counts
155 → 12

regimes462.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02520
12520

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.7s4760×body1280valid
1.2s3907×body640valid
391.0ms1933×body320valid
288.0ms4568×body80valid
122.0ms935×body160valid

Profiling

Loading profile data...