Details

Time bar (total: 2.1s)

sample26.0ms

Algorithm
intervals
Results
15.0ms452×body80valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (18.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

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

series92.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0209292
1846253
25001253

prune104.0ms

Pruning

9 alts after pruning (8 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))

series75.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0193231
1907200
25001200

prune66.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

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

rewrite23.0ms

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

series94.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0230290
11312255
25001255

prune97.0ms

Pruning

8 alts after pruning (5 fresh and 3 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.2b
(* 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)))

rewrite36.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:
10.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)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(- (pow x.re 3) (* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im)))))
18.0ms
(* x.im (* x.re x.im))
83.0ms
(* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im))))
53.0ms
(* (sqrt 3) (* x.im (* x.re x.im)))

simplify47.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0288589
11250468
25001454

prune148.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0b

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

sample711.0ms

Algorithm
intervals
Results
496.0ms14374×body80valid