Details

Time bar (total: 1.9s)

sample48.0ms

Algorithm
intervals
Results
15.0ms337×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0187
1187

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(- (* x.re y.re) (* x.im y.im))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt sub-neg flip3-- *-un-lft-identity diff-log add-cbrt-cube flip--
Counts
1 → 12
Calls
1 calls:
3.0ms
(- (* x.re y.re) (* x.im y.im))

series11.0ms

Counts
1 → 3
Calls
1 calls:
11.0ms
(- (* x.re y.re) (* x.im y.im))

simplify34.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
05131149

prune19.0ms

Filtered
11 candidates to 15 candidates (-36.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New14115
Fresh000
Picked011
Done000
Total14216

Merged error: 0.0b

Counts
16 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

3.5b
(* x.re (* x.re (* y.re y.re)))
8.2b
(* x.im (* y.im y.im))
8.5b
(* x.re (* y.re y.re))
27.3b
(/ (- (* x.re (* x.re (* y.re y.re))) (* x.im (* x.im (* y.im y.im)))) (+ (* x.re y.re) (* x.im y.im)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
23×pow1
17×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
12×pow-prod-down prod-exp cbrt-unprod
times-frac associate-*l*
add-log-exp
associate-*r* associate-/r* *-commutative associate-/l*
associate-/r/ associate-/l/ unswap-sqr
cbrt-undiv flip3-- frac-2neg flip3-+ div-sub div-exp clear-num flip-- flip-+ div-inv
Counts
4 → 91
Calls
4 calls:
7.0ms
(* x.re (* x.re (* y.re y.re)))
5.0ms
(* x.im (* y.im y.im))
5.0ms
(* x.re (* y.re y.re))
11.0ms
(/ (- (* x.re (* x.re (* y.re y.re))) (* x.im (* x.im (* y.im y.im)))) (+ (* x.re y.re) (* x.im y.im)))

series51.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* x.re (* x.re (* y.re y.re)))
7.0ms
(* x.im (* y.im y.im))
7.0ms
(* x.re (* y.re y.re))
31.0ms
(/ (- (* x.re (* x.re (* y.re y.re))) (* x.im (* x.im (* y.im y.im)))) (+ (* x.re y.re) (* x.im y.im)))

simplify39.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049631252
149631252

prune79.0ms

Filtered
64 candidates to 103 candidates (-60.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1012103
Fresh000
Picked101
Done011
Total1023105

Merged error: 0b

Counts
105 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

2.8b
(cbrt (+ (* x.re y.re) (* x.im y.im)))
2.8b
(cbrt (+ (* x.re y.re) (* x.im y.im)))
2.8b
(cbrt (+ (* x.re y.re) (* x.im y.im)))
10.6b
(/ (* (/ (+ (* x.re y.re) (* x.im y.im)) (cbrt (+ (* x.re y.re) (* x.im y.im)))) (/ (- (* x.re y.re) (* x.im y.im)) (cbrt (+ (* x.re y.re) (* x.im y.im))))) (cbrt (+ (* x.re y.re) (* x.im y.im))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log
15×cbrt-prod
13×add-cbrt-cube
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-undiv div-exp
cbrt-div
times-frac associate-/r*
pow1 flip3-+ prod-exp cbrt-unprod flip-+ add-log-exp
pow1/3 associate-/l/
associate-/r/
frac-times frac-2neg associate-*r/ associate-*l/ clear-num div-inv associate-/l*
Counts
4 → 77
Calls
4 calls:
3.0ms
(cbrt (+ (* x.re y.re) (* x.im y.im)))
3.0ms
(cbrt (+ (* x.re y.re) (* x.im y.im)))
3.0ms
(cbrt (+ (* x.re y.re) (* x.im y.im)))
19.0ms
(/ (* (/ (+ (* x.re y.re) (* x.im y.im)) (cbrt (+ (* x.re y.re) (* x.im y.im)))) (/ (- (* x.re y.re) (* x.im y.im)) (cbrt (+ (* x.re y.re) (* x.im y.im))))) (cbrt (+ (* x.re y.re) (* x.im y.im))))

series122.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(cbrt (+ (* x.re y.re) (* x.im y.im)))
36.0ms
(cbrt (+ (* x.re y.re) (* x.im y.im)))
39.0ms
(cbrt (+ (* x.re y.re) (* x.im y.im)))
12.0ms
(/ (* (/ (+ (* x.re y.re) (* x.im y.im)) (cbrt (+ (* x.re y.re) (* x.im y.im)))) (/ (- (* x.re y.re) (* x.im y.im)) (cbrt (+ (* x.re y.re) (* x.im y.im))))) (cbrt (+ (* x.re y.re) (* x.im y.im))))

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050622195

prune85.0ms

Filtered
69 candidates to 89 candidates (-29.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New89089
Fresh011
Picked011
Done011
Total89392

Merged error: 0b

Counts
92 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

3.2b
(* x.im (* x.im (* y.im y.im)))
3.5b
(* x.re (* (* x.re y.re) y.re))
8.2b
(* x.im (* y.im y.im))
27.3b
(/ (- (* x.re (* (* x.re y.re) y.re)) (* x.im (* x.im (* y.im y.im)))) (+ (* x.re y.re) (* x.im y.im)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log add-cbrt-cube
27×pow1
16×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity pow-prod-down prod-exp cbrt-unprod
times-frac associate-*l*
add-log-exp
associate-*r* associate-/r* *-commutative associate-/l*
associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg flip3-+ div-sub div-exp clear-num flip-- flip-+ div-inv unswap-sqr
Counts
4 → 93
Calls
4 calls:
6.0ms
(* x.im (* x.im (* y.im y.im)))
6.0ms
(* x.re (* (* x.re y.re) y.re))
5.0ms
(* x.im (* y.im y.im))
10.0ms
(/ (- (* x.re (* (* x.re y.re) y.re)) (* x.im (* x.im (* y.im y.im)))) (+ (* x.re y.re) (* x.im y.im)))

series50.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* x.im (* x.im (* y.im y.im)))
7.0ms
(* x.re (* (* x.re y.re) y.re))
6.0ms
(* x.im (* y.im y.im))
30.0ms
(/ (- (* x.re (* (* x.re y.re) y.re)) (* x.im (* x.im (* y.im y.im)))) (+ (* x.re y.re) (* x.im y.im)))

simplify26.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
051221278

prune71.0ms

Filtered
65 candidates to 105 candidates (-61.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1050105
Fresh000
Picked011
Done022
Total1053108

Merged error: 0b

Counts
108 → 3

regimes338.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
097
197

end0.0ms

sample707.0ms

Algorithm
intervals
Results
265.0ms10393×body80valid

Profiling

Loading profile data...