Details

Time bar (total: 2.6s)

sample26.0ms

Algorithm
intervals
Results
16.0ms455×body80valid

simplify83.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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

series93.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))
24.0ms
(* 3 (* x.im (* x.re x.im)))

simplify35.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0209292
1846253
25002253

prune99.0ms

Filtered
60 candidates to 32 candidates (53.3%)
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))

rewrite18.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)))
9.0ms
(* (* 3 x.im) (* x.re x.im))

series77.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0193231
1907200
25001200

prune64.0ms

Filtered
40 candidates to 19 candidates (47.5%)
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)))

series259.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(- (pow x.re 3) (* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im)))))
18.0ms
(* x.im (* x.re x.im))
85.0ms
(* (sqrt 3) (* (sqrt 3) (* x.im (* x.re x.im))))
54.0ms
(* (sqrt 3) (* x.im (* x.re x.im)))

simplify45.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0288589
11250468
25001454

prune153.0ms

Filtered
93 candidates to 48 candidates (51.6%)
Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

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

rewrite63.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)))
21.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))))
10.0ms
(* (cbrt (sqrt 3)) (cbrt (sqrt 3)))

series321.0ms

Counts
4 → 10
Calls
4 calls:
169.0ms
(* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))
91.0ms
(* (sqrt 3) (* (* (cbrt (sqrt 3)) (cbrt (sqrt 3))) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im)))))
61.0ms
(* (* (cbrt (sqrt 3)) (cbrt (sqrt 3))) (* (cbrt (sqrt 3)) (* x.im (* x.re x.im))))
0.0ms
(* (cbrt (sqrt 3)) (cbrt (sqrt 3)))

simplify84.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
04441827
122781292
250011051

prune275.0ms

Filtered
169 candidates to 74 candidates (43.8%)
Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0b

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

sample734.0ms

Algorithm
intervals
Results
510.0ms14413×body80valid