Details

Time bar (total: 2.3s)

sample39.0ms

Algorithm
intervals
Results
21.0ms474×body80valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
0494711
1494711

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

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

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

series20.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(- (* x.re (* x.re (* x.im 3))) (pow x.im 3))
4.0ms
(* x.re (* x.re (* x.im 3)))
4.0ms
(* x.re (* x.im 3))

simplify62.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
04894516
14894516

prune78.0ms

Filtered
32 candidates to 60 candidates (-87.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New56460
Fresh011
Picked011
Done000
Total56662

Merged error: 0.0b

Counts
62 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* x.re (* x.re (* x.im 3)))) (cbrt (* x.re (* x.re (* x.im 3)))))
23.1b
(cbrt (* x.re (* x.re (* x.im 3))))
23.1b
(cbrt (* x.re (* x.re (* x.im 3))))
23.1b
(cbrt (* x.re (* x.re (* x.im 3))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 58
Calls
4 calls:
7.0ms
(* (cbrt (* x.re (* x.re (* x.im 3)))) (cbrt (* x.re (* x.re (* x.im 3)))))
5.0ms
(cbrt (* x.re (* x.re (* x.im 3))))
5.0ms
(cbrt (* x.re (* x.re (* x.im 3))))
5.0ms
(cbrt (* x.re (* x.re (* x.im 3))))

series98.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (cbrt (* x.re (* x.re (* x.im 3)))) (cbrt (* x.re (* x.re (* x.im 3)))))
21.0ms
(cbrt (* x.re (* x.re (* x.im 3))))
21.0ms
(cbrt (* x.re (* x.re (* x.im 3))))
25.0ms
(cbrt (* x.re (* x.re (* x.im 3))))

simplify51.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04903634
14903634

prune151.0ms

Filtered
52 candidates to 70 candidates (-34.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New69170
Fresh044
Picked011
Done011
Total69776

Merged error: 0.0b

Counts
76 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x.re)
12.6b
(cbrt (* x.re (* x.im 3)))
12.6b
(cbrt (* x.re (* x.im 3)))
23.1b
(cbrt (* x.re (* x.re (* x.im 3))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
Counts
4 → 38
Calls
4 calls:
1.0ms
(cbrt x.re)
4.0ms
(cbrt (* x.re (* x.im 3)))
4.0ms
(cbrt (* x.re (* x.im 3)))
7.0ms
(cbrt (* x.re (* x.re (* x.im 3))))

series79.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt x.re)
17.0ms
(cbrt (* x.re (* x.im 3)))
18.0ms
(cbrt (* x.re (* x.im 3)))
21.0ms
(cbrt (* x.re (* x.re (* x.im 3))))

simplify35.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
04960330
14960330

prune115.0ms

Filtered
40 candidates to 50 candidates (-25.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New50050
Fresh044
Picked011
Done022
Total50757

Merged error: 0.0b

Counts
57 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x.re x.im) (* x.im x.re))
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
0.2b
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
6.6b
(* (- (* x.re x.re) (* x.im x.im)) x.im)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l/
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l*
associate-*r*
flip3-+ flip-+
frac-add
flip3-- flip--
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 67
Calls
4 calls:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
6.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
8.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
6.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series31.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
4.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
12.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
11.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify55.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04748913
14748913

prune88.0ms

Filtered
62 candidates to 79 candidates (-27.4%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New78179
Fresh033
Picked011
Done033
Total78886

Merged error: 0.0b

Counts
86 → 8

regimes166.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 (1.0ms)

IterNodesCost
02619
12619

end0.0ms

sample1.0s

Algorithm
intervals
Results
648.0ms14631×body80valid

Profiling

Loading profile data...