Details

Time bar (total: 8.1s)

sample162.0ms

Algorithm
intervals
Results
85.0ms188×body1280valid
35.0ms124×body640valid
12.0ms127×body80valid
6.0ms34×body320valid
3.0ms25×body160valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
0534812

prune11.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: 57.2b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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:
12.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
7.0ms
(- (exp (- 0.0 im)) (exp im))

series22.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05332563

prune89.0ms

Filtered
31 candidates to 46 candidates (-48.4%)
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) (+ (* im -2) (* (pow im 5) -1/60)))
0.1b
(* (pow im 5) -1/60)
0.1b
(* (* 0.5 (cos re)) (+ (* (pow im 3) -1/3) (+ (* im -2) (* (pow im 5) -1/60))))
0.1b
(* (pow im 3) -1/3)

rewrite33.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 add-log-exp
unpow-prod-down
unswap-sqr
cbrt-unprod
cube-prod sqr-pow
pow-prod-down sum-log *-commutative
pow-to-exp flip3-+ associate-*r/ pow-exp flip-+
+-commutative distribute-rgt-in cube-mult associate-+r+ distribute-lft-in unpow3
Counts
4 → 91
Calls
4 calls:
8.0ms
(+ (* (pow im 3) -1/3) (+ (* im -2) (* (pow im 5) -1/60)))
5.0ms
(* (pow im 5) -1/60)
11.0ms
(* (* 0.5 (cos re)) (+ (* (pow im 3) -1/3) (+ (* im -2) (* (pow im 5) -1/60))))
6.0ms
(* (pow im 3) -1/3)

series52.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
059431256

prune226.0ms

Filtered
69 candidates to 103 candidates (-49.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New967103
Fresh033
Picked011
Done000
Total9611107

Merged error: 0.1b

Counts
107 → 11

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.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:
19.0ms
(* (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))) (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))
7.0ms
(cbrt (+ (* (pow im 3) -1/3) (+ (* im -2) (* (pow im 5) -1/60))))
7.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))
7.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))

series89.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))) (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))
21.0ms
(cbrt (+ (* (pow im 3) -1/3) (+ (* im -2) (* (pow im 5) -1/60))))
20.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))
23.0ms
(cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))

simplify60.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049422880
149422880

prune686.0ms

Filtered
81 candidates to 99 candidates (-22.2%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New96399
Fresh189
Picked011
Done011
Total9713110

Merged error: 0.0b

Counts
110 → 13

localize28.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (pow (cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))) 6))
0.6b
(cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))
0.6b
(cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))
1.3b
(pow (cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))) 6)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
49×cbrt-prod
18×unpow-prod-down
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log
pow1/3 add-cbrt-cube add-log-exp
pow-unpow
pow-pow flip3-+ flip-+ sqr-pow
pow-to-exp pow-exp
Counts
4 → 77
Calls
4 calls:
13.0ms
(cbrt (pow (cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))) 6))
8.0ms
(cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))
8.0ms
(cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))
10.0ms
(pow (cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))) 6)

series157.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(cbrt (pow (cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))) 6))
28.0ms
(cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))
31.0ms
(cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))
65.0ms
(pow (cbrt (cbrt (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))) 6)

simplify60.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050362509

prune663.0ms

Filtered
70 candidates to 89 candidates (-27.1%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New88189
Fresh01010
Picked011
Done022
Total8814102

Merged error: 0.0b

Counts
102 → 14

regimes600.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02520
12520

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.7s5812×body1280valid
1.0s3651×body640valid
287.0ms1515×body320valid
248.0ms4471×body80valid
76.0ms658×body160valid

Profiling

Loading profile data...