Details

Time bar (total: 3.2s)

sample37.0ms

Algorithm
intervals
Results
25.0ms463×body80valid

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (18.0ms)

IterNodesCost
0219
1559
21509
34016
410885
527045
650015

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

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.1b
(* x.im (* x.re x.im))
0.2b
(* 3 (* x.im (* x.re x.im)))

rewrite21.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))))
5.0ms
(* x.im (* x.re x.im))
7.0ms
(* 3 (* x.im (* x.re x.im)))

series94.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(- (pow x.re 3) (* 3 (* x.im (* x.re x.im))))
23.0ms
(* x.im (* x.re x.im))
21.0ms
(* 3 (* x.im (* x.re x.im)))

simplify35.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0209290
1846250
25002250

prune104.0ms

Filtered
60 candidates to 32 candidates (53.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New54660
Fresh011
Picked011
Done000
Total54862

Merged error: 0.0b

Counts
62 → 8

localize7.0ms

Local error

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

rewrite16.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:
8.0ms
(- (pow x.re 3) (* (* 3 x.im) (* x.re x.im)))
6.0ms
(* (* 3 x.im) (* x.re x.im))

series79.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0193231
1907198
25001198

prune61.0ms

Filtered
40 candidates to 20 candidates (50.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New40040
Fresh066
Picked011
Done011
Total40848

Merged error: 0.0b

Counts
48 → 8

localize10.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.1b
(* x.im (* x.re x.im))
0.2b
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im))))
0.3b
(* (cbrt 3) (* x.im (* x.re x.im)))

rewrite44.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:
15.0ms
(- (pow x.re 3) (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im)))))
5.0ms
(* x.im (* x.re x.im))
14.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im))))
8.0ms
(* (cbrt 3) (* x.im (* x.re x.im)))

series247.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(- (pow x.re 3) (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im)))))
18.0ms
(* x.im (* x.re x.im))
74.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im))))
54.0ms
(* (cbrt 3) (* x.im (* x.re x.im)))

simplify54.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0325790
11393603
25001544

prune148.0ms

Filtered
100 candidates to 46 candidates (46.0%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New973100
Fresh235
Picked011
Done022
Total999108

Merged error: 0b

Counts
108 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.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:
9.0ms
(* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))
5.0ms
(* x.im (* x.re x.im))
12.0ms
(* (cbrt (sqrt 3)) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im))))
19.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt (sqrt 3)) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))))

series743.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))
18.0ms
(* x.im (* x.re x.im))
234.0ms
(* (cbrt (sqrt 3)) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im))))
321.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt (sqrt 3)) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
03841193
11815876
25001777

prune216.0ms

Filtered
127 candidates to 61 candidates (48.0%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New1270127
Fresh055
Picked011
Done033
Total1279136

Merged error: 0b

Counts
136 → 9

regimes69.0ms

Accuracy

0% (0.2b 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

sample904.0ms

Algorithm
intervals
Results
661.0ms14382×body80valid

Profiling

Loading profile data...