Details

Time bar (total: 2.1s)

analyze132.0ms

Algorithm
search

sample23.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
1.0ms11×body80invalid

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (17.0ms)

IterNodesCost
0219
1559
21509
34016
410885
527045
650015

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (pow x.re 3) (* 3 (* x.im (* x.re x.im))))
0.2b
(* 3 (* x.im (* x.re x.im)))
0.2b
(* x.im (* x.re x.im))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
associate-*l*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* *-commutative
sub-neg flip3-- diff-log flip--
Counts
3 → 51
Calls
3 calls:
8.0ms
(- (pow x.re 3) (* 3 (* x.im (* x.re x.im))))
6.0ms
(* 3 (* x.im (* x.re x.im)))
5.0ms
(* x.im (* x.re x.im))

series17.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(- (pow x.re 3) (* 3 (* x.im (* x.re x.im))))
4.0ms
(* 3 (* x.im (* x.re x.im)))
4.0ms
(* x.im (* x.re x.im))

simplify39.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0209290
1846250
25001250

prune91.0ms

Filtered
32 candidates to 60 candidates (-87.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New53760
Fresh011
Picked101
Done000
Total54862

Merged error: 0.0b

Counts
62 → 8

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (pow x.re 3) (* (* 3 x.im) (* x.re x.im)))
0.3b
(* (* 3 x.im) (* x.re x.im))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sub-neg flip3-- diff-log associate-*r* associate-*l* *-commutative flip--
Counts
2 → 34
Calls
2 calls:
7.0ms
(- (pow x.re 3) (* (* 3 x.im) (* x.re x.im)))
6.0ms
(* (* 3 x.im) (* x.re x.im))

series13.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(- (pow x.re 3) (* (* 3 x.im) (* x.re x.im)))
4.0ms
(* (* 3 x.im) (* x.re x.im))

simplify37.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0193231
1907198
25001198

prune60.0ms

Filtered
21 candidates to 40 candidates (-90.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New40040
Fresh077
Picked011
Done000
Total40848

Merged error: 0.0b

Counts
48 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (pow x.re 3) (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im)))))
0.2b
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im))))
0.2b
(* x.im (* x.re x.im))
0.2b
(* (cbrt 3) (* x.im (* x.re x.im)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
50×pow1 add-exp-log
33×pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
10×associate-*l*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
cbrt-prod associate-*r* *-commutative
sub-neg flip3-- diff-log flip--
Counts
4 → 88
Calls
4 calls:
13.0ms
(- (pow x.re 3) (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im)))))
13.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im))))
4.0ms
(* x.im (* x.re x.im))
7.0ms
(* (cbrt 3) (* x.im (* x.re x.im)))

series31.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (pow x.re 3) (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im)))))
8.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im))))
4.0ms
(* x.im (* x.re x.im))
6.0ms
(* (cbrt 3) (* x.im (* x.re x.im)))

simplify57.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0325790
11393603
25001544

prune140.0ms

Filtered
47 candidates to 100 candidates (-112.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New982100
Fresh246
Picked011
Done011
Total1008108

Merged error: 0.0b

Counts
108 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (cbrt 3) (cbrt 3)) (* (cbrt (sqrt 3)) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))))
0.2b
(* x.im (* x.re x.im))
0.2b
(* (cbrt (sqrt 3)) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im))))
0.2b
(* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
77×pow1 add-exp-log
54×pow-prod-down prod-exp cbrt-unprod
43×add-cbrt-cube
22×associate-*l*
12×cbrt-prod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sqrt-prod
associate-*r* *-commutative add-log-exp
Counts
4 → 115
Calls
4 calls:
17.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt (sqrt 3)) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))))
5.0ms
(* x.im (* x.re x.im))
11.0ms
(* (cbrt (sqrt 3)) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im))))
8.0ms
(* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt (sqrt 3)) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))))
4.0ms
(* x.im (* x.re x.im))
21.0ms
(* (cbrt (sqrt 3)) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im))))
16.0ms
(* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))

simplify65.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
03841188
11818872
25002783

prune187.0ms

Filtered
62 candidates to 127 candidates (-104.8%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1270127
Fresh055
Picked011
Done022
Total1278135

Merged error: 0.0b

Counts
135 → 8

regimes186.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

analyze131.0ms

Algorithm
search

sample561.0ms

Algorithm
intervals
Results
406.0ms8000×body80valid
21.0ms424×body80invalid

Profiling

Loading profile data...