Details

Time bar (total: 3.4s)

sample27.0ms

Algorithm
intervals
Results
6.0ms189×body80valid
4.0ms24×body2560valid
3.0ms11×body5120valid
2.0ms16×body1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0198
1288
2368
3448
4468
5468

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.3b

Counts
2 → 1

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
0.6b
(- (sqrt (+ (* re re) (* im im))) re)
30.0b
(sqrt (+ (* re re) (* im im)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
90×add-sqr-sqrt *-un-lft-identity
57×sqrt-prod
33×prod-diff
26×add-cube-cbrt hypot-def
25×distribute-lft-out
23×associate-*l*
20×swap-sqr
12×unswap-sqr
11×fma-neg *-commutative
pow1
associate-*r*
add-log-exp
sqrt-div difference-of-squares
add-exp-log expm1-log1p-u rem-sqrt-square sqrt-pow1 add-cbrt-cube log1p-expm1-u
flip3-- pow1/2 associate-*r/ flip-- distribute-lft-out--
+-commutative sub-neg flip3-+ diff-log pow-prod-down flip-+
Counts
3 → 140
Calls
3 calls:
37.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
22.0ms
(- (sqrt (+ (* re re) (* im im))) re)
18.0ms
(sqrt (+ (* re re) (* im im)))

series271.0ms

Counts
3 → 9
Calls
3 calls:
180.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
53.0ms
(- (sqrt (+ (* re re) (* im im))) re)
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify50.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03601122
11311748
25001689

prune208.0ms

Filtered
149 candidates to 79 candidates (47.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1445149
Fresh000
Picked101
Done000
Total1455150

Merged error: 7.8b

Counts
150 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (- (hypot re im) re)))
0.0b
(hypot re im)
0.6b
(- (hypot re im) re)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
17×*-un-lft-identity
14×sqrt-prod
13×add-cube-cbrt
prod-diff
pow1
associate-*r* add-log-exp
add-exp-log expm1-log1p-u fma-neg associate-*l* add-cbrt-cube log1p-expm1-u
rem-sqrt-square flip3-- sqrt-pow1 sqrt-div associate-*r/ flip-- distribute-lft-out-- difference-of-squares unswap-sqr
sub-neg hypot-udef pow1/2 diff-log pow-prod-down *-commutative
Counts
3 → 68
Calls
3 calls:
10.0ms
(sqrt (* 2.0 (- (hypot re im) re)))
1.0ms
(hypot re im)
4.0ms
(- (hypot re im) re)

series306.0ms

Counts
3 → 9
Calls
3 calls:
192.0ms
(sqrt (* 2.0 (- (hypot re im) re)))
50.0ms
(hypot re im)
64.0ms
(- (hypot re im) re)

simplify37.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0273437
1918343
25001328

prune143.0ms

Filtered
77 candidates to 59 candidates (23.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New74377
Fresh224
Picked011
Done000
Total76682

Merged error: 7.7b

Counts
82 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (cbrt 2.0)) (sqrt (* (cbrt 2.0) (- (hypot re im) re))))
0.6b
(- (hypot re im) re)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
26×associate-*r*
23×*-un-lft-identity
21×sqrt-prod
19×add-cube-cbrt
11×cbrt-prod
associate-*l* prod-diff
unswap-sqr
pow1 add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u associate-*r/ log1p-expm1-u
fma-neg
flip3-- pow1/3 sqrt-div *-commutative flip-- distribute-lft-out-- difference-of-squares
sub-neg diff-log pow-prod-down prod-exp cbrt-unprod
Counts
4 → 97
Calls
4 calls:
13.0ms
(* (fabs (cbrt 2.0)) (sqrt (* (cbrt 2.0) (- (hypot re im) re))))
4.0ms
(- (hypot re im) re)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)

series410.0ms

Counts
4 → 8
Calls
4 calls:
347.0ms
(* (fabs (cbrt 2.0)) (sqrt (* (cbrt 2.0) (- (hypot re im) re))))
63.0ms
(- (hypot re im) re)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)

simplify50.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0382761
11505654
25002644

prune231.0ms

Filtered
105 candidates to 80 candidates (23.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1041105
Fresh044
Picked101
Done011
Total1056111

Merged error: 7.7b

Counts
111 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (* (cbrt (cbrt 2.0)) (cbrt (cbrt 2.0))) (cbrt (cbrt 2.0)))
1.0b
(cbrt (cbrt 2.0))
1.0b
(cbrt (cbrt 2.0))
1.0b
(cbrt (cbrt 2.0))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
207×cbrt-prod
164×add-sqr-sqrt
81×unswap-sqr
50×associate-*l*
26×add-cube-cbrt *-un-lft-identity
23×pow1
19×add-cbrt-cube
18×swap-sqr associate-*r* cbrt-unprod
12×pow1/3
add-exp-log pow-prod-up
pow-plus *-commutative
pow-prod-down
expm1-log1p-u log1p-expm1-u add-log-exp
prod-exp pow-sqr
pow2 pow3
Counts
4 → 180
Calls
4 calls:
22.0ms
(* (* (cbrt (cbrt 2.0)) (cbrt (cbrt 2.0))) (cbrt (cbrt 2.0)))
2.0ms
(cbrt (cbrt 2.0))
2.0ms
(cbrt (cbrt 2.0))
2.0ms
(cbrt (cbrt 2.0))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(* (* (cbrt (cbrt 2.0)) (cbrt (cbrt 2.0))) (cbrt (cbrt 2.0)))
0.0ms
(cbrt (cbrt 2.0))
0.0ms
(cbrt (cbrt 2.0))
0.0ms
(cbrt (cbrt 2.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02811772
19161522
250011310

prune387.0ms

Filtered
184 candidates to 114 candidates (38.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1831184
Fresh044
Picked101
Done011
Total1846190

Merged error: 7.7b

Counts
190 → 6

regimes134.0ms

Accuracy

25.2% (4.5b remaining)

Error of 11.7b against oracle of 7.2b and baseline of 13.2b

bsearch167.0ms

Steps
ItersRangePoint
8
7.209797908640857e+154
6.66118297754639e+158
9.11944020096992e+157
9
3.0977499078117085e+118
1.5667647070445954e+126
1.1383524170048822e+124
9
1.5221618338087932e+67
2.3018138540721667e+76
3.315663193784861e+67

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
03626
14113
24413
34413

end0.0ms

sample679.0ms

Algorithm
intervals
Results
203.0ms6026×body80valid
137.0ms696×body2560valid
75.0ms473×body1280valid
69.0ms296×body5120valid
39.0ms279×body640valid
14.0ms144×body320valid
5.0ms86×body160valid