Details

Time bar (total: 2.4s)

sample31.0ms

Algorithm
intervals
Results
19.0ms468×body80valid

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

rewrite40.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:
18.0ms
(- (pow x.re 3) (* 3 (* x.im (* x.re x.im))))
5.0ms
(* x.im (* x.re x.im))
14.0ms
(* 3 (* x.im (* x.re x.im)))

series94.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0209292
1846253
25002253

prune104.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

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

rewrite27.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:
14.0ms
(- (pow x.re 3) (* (* 3 x.im) (* x.re x.im)))
12.0ms
(* (* 3 x.im) (* x.re x.im))

series76.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0193231
1907200
25001200

prune68.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

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

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

series96.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0230290
11308255
25001255

prune105.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

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

rewrite126.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:
50.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))
51.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im))))
15.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)))))
17.0ms
(* x.im (* x.re x.im))
71.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* x.im (* x.re x.im))))
58.0ms
(* (cbrt 3) (* x.im (* x.re x.im)))

simplify58.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0325790
11393603
25001546

prune165.0ms

Pruning

6 alts after pruning (2 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

sample785.0ms

Algorithm
intervals
Results
535.0ms14504×body80valid