Details

Time bar (total: 3.2s)

sample45.0ms

Algorithm
intervals
Results
34.0ms462×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

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

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

series90.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0209292
1846253
25002253

prune103.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

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

rewrite26.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:
15.0ms
(- (pow x.re 3) (* (* 3 x.im) (* x.re x.im)))
10.0ms
(* (* 3 x.im) (* x.re x.im))

series73.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0193231
1907200
25001200

prune69.0ms

Pruning

8 alts after pruning (7 fresh and 1 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) (* x.im (* x.re x.im)))
0.3b
(* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im))))

rewrite119.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:
46.0ms
(- (pow x.re 3) (* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im)))))
6.0ms
(* x.im (* x.re x.im))
16.0ms
(* (sqrt 3) (* x.im (* x.re x.im)))
47.0ms
(* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im))))

series246.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(- (pow x.re 3) (* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im)))))
17.0ms
(* x.im (* x.re x.im))
52.0ms
(* (sqrt 3) (* x.im (* x.re x.im)))
79.0ms
(* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im))))

simplify51.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0288589
11251468
25001454

prune162.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
70×pow1
65×add-exp-log
46×pow-prod-down
45×prod-exp add-cbrt-cube cbrt-unprod
41×add-sqr-sqrt
40×cbrt-prod
23×sqrt-prod
19×add-cube-cbrt *-un-lft-identity associate-*l*
12×associate-*r*
11×swap-sqr
unswap-sqr
pow1/3
*-commutative add-log-exp
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 138
Calls
4 calls:
6.0ms
(* x.im (* x.re x.im))
16.0ms
(* (sqrt 3) (* x.im (* x.re x.im)))
139.0ms
(* (* (cbrt (sqrt 3)) (cbrt (sqrt 3))) (* (cbrt (sqrt 3)) (* (sqrt 3) (* x.im (* x.re x.im)))))
9.0ms
(* (cbrt (sqrt 3)) (cbrt (sqrt 3)))

series157.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
04031316
11870988
25002840

prune233.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

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

sample1.2s

Algorithm
intervals
Results
1.0s14531×body80valid