Details

Time bar (total: 3.2s)

sample22.0ms

Algorithm
intervals
Results
12.0ms277×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1367
2487
3667
4727
5727

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.4b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.3b
(- (* x.im y.re) (* x.re y.im))
27.9b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp clear-num sum-log div-inv
Counts
3 → 55
Calls
3 calls:
4.0ms
(+ (* y.re y.re) (* y.im y.im))
3.0ms
(- (* x.im y.re) (* x.re y.im))
8.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series145.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ (* y.re y.re) (* y.im y.im))
35.0ms
(- (* x.im y.re) (* x.re y.im))
82.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify37.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0292541
11273493
25002491

prune171.0ms

Filtered
64 candidates to 50 candidates (78.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New56864
Fresh000
Picked011
Done000
Total56965

Merged error: 27.7b

Counts
65 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
16.4b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
30.8b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
30.8b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
pow1 add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+ associate-/l*
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
9.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series216.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (* x.im y.re) (* x.re y.im))
107.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
35.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
37.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify96.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0304910
1990857
23354845
35001845

prune232.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New94498
Fresh167
Picked101
Done011
Total9611107

Merged error: 24.8b

Counts
107 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
16.4b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
30.8b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
30.8b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
pow1 add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+ associate-/l*
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
9.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series217.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (* x.im y.re) (* x.re y.im))
108.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
34.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
38.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify96.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0304910
1990857
23354845
35001845

prune241.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New98098
Fresh099
Picked011
Done011
Total9811109

Merged error: 24.8b

Counts
109 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

14.6b
(* (* (cbrt (- (* x.im y.re) (* x.re y.im))) (cbrt (- (* x.im y.re) (* x.re y.im)))) (/ (cbrt (- (* x.im y.re) (* x.re y.im))) (+ (* y.re y.re) (* y.im y.im))))
17.1b
(cbrt (- (* x.im y.re) (* x.re y.im)))
17.1b
(cbrt (- (* x.im y.re) (* x.re y.im)))
17.1b
(cbrt (- (* x.im y.re) (* x.re y.im)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-div
25×add-sqr-sqrt
24×associate-*r*
20×add-cube-cbrt *-un-lft-identity times-frac
19×cbrt-prod
16×add-exp-log frac-times
15×flip3-- flip--
12×associate-*l/
10×add-cbrt-cube
pow1
prod-exp cbrt-unprod
associate-*r/
add-log-exp
pow1/3 pow-prod-down unswap-sqr
cbrt-undiv div-exp associate-/r/
flip3-+ associate-*l* *-commutative flip-+ div-inv
Counts
4 → 102
Calls
4 calls:
21.0ms
(* (* (cbrt (- (* x.im y.re) (* x.re y.im))) (cbrt (- (* x.im y.re) (* x.re y.im)))) (/ (cbrt (- (* x.im y.re) (* x.re y.im))) (+ (* y.re y.re) (* y.im y.im))))
3.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))
3.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))
4.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))

series427.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(* (* (cbrt (- (* x.im y.re) (* x.re y.im))) (cbrt (- (* x.im y.re) (* x.re y.im)))) (/ (cbrt (- (* x.im y.re) (* x.re y.im))) (+ (* y.re y.re) (* y.im y.im))))
110.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))
108.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))
115.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))

simplify67.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06171928
123611739
250021650

prune294.0ms

Filtered
114 candidates to 90 candidates (78.9%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1140114
Fresh088
Picked011
Done022
Total11411125

Merged error: 24.8b

Counts
125 → 11

regimes234.0ms

Accuracy

22.7% (2.4b remaining)

Error of 25.5b against oracle of 23.1b and baseline of 26.2b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03027
13227
23227

end0.0ms

sample573.0ms

Algorithm
intervals
Results
362.0ms8502×body80valid