Details

Time bar (total: 2.6s)

sample29.0ms

Algorithm
intervals
Results
16.0ms455×body80valid

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (20.0ms)

IterNodesCost
0219
1559
21509
34016
410885
527045
650015

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize8.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)))

series92.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0209292
1846253
25002253

prune103.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

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

rewrite15.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))

series74.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0193231
1907200
25001200

prune71.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

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

series266.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(- (pow x.re 3) (* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im)))))
17.0ms
(* x.im (* x.re x.im))
96.0ms
(* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im))))
53.0ms
(* (sqrt 3) (* x.im (* x.re x.im)))

simplify48.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0288589
11250468
25001454

prune158.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
94×pow1
89×add-exp-log
65×pow-prod-down
64×prod-exp cbrt-unprod
56×add-cbrt-cube
46×cbrt-prod
43×add-sqr-sqrt
26×sqrt-prod
25×associate-*l*
21×add-cube-cbrt *-un-lft-identity
12×associate-*r*
11×swap-sqr
unswap-sqr
pow1/3
*-commutative add-log-exp
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 159
Calls
4 calls:
8.0ms
(* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))
24.0ms
(* (sqrt 3) (* (* (cbrt (sqrt 3)) (cbrt (sqrt 3))) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))))
15.0ms
(* (* (cbrt (sqrt 3)) (cbrt (sqrt 3))) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im))))
7.0ms
(* (cbrt (sqrt 3)) (cbrt (sqrt 3)))

series314.0ms

Counts
4 → 10
Calls
4 calls:
166.0ms
(* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))
88.0ms
(* (sqrt 3) (* (* (cbrt (sqrt 3)) (cbrt (sqrt 3))) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))))
60.0ms
(* (* (cbrt (sqrt 3)) (cbrt (sqrt 3))) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im))))
0.0ms
(* (cbrt (sqrt 3)) (cbrt (sqrt 3)))

simplify85.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
04441827
122781292
250011051

prune277.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0b

regimes83.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

sample707.0ms

Algorithm
intervals
Results
494.0ms14413×body80valid