Details

Time bar (total: 4.3s)

sample25.0ms

Algorithm
intervals
Results
6.0ms203×body80valid
3.0ms19×body2560valid
2.0msbody5120valid
1.0ms10×body1280valid
1.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248
1308
2338
3338

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.8b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
0.0b
(+ (* re re) (* im im))
1.4b
(+ (sqrt (+ (* re re) (* im im))) re)
31.6b
(sqrt (+ (* re re) (* im im)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
pow1 add-sqr-sqrt add-log-exp
add-cube-cbrt fma-def sqrt-prod
add-exp-log expm1-log1p-u flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
sqrt-pow1
+-commutative pow1/2 associate-*r/ sum-log
rem-sqrt-square pow-prod-down hypot-def distribute-lft-out
Counts
4 → 67
Calls
4 calls:
23.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
8.0ms
(+ (* re re) (* im im))
35.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
8.0ms
(sqrt (+ (* re re) (* im im)))

series285.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
32.0ms
(+ (* re re) (* im im))
45.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
40.0ms
(sqrt (+ (* re re) (* im im)))

simplify100.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0296446
11086401
23561382
35001381

prune224.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 5.4b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (* 1 (+ re (hypot re im)))))
0.0b
(hypot re im)
1.4b
(+ re (hypot re im))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
pow1
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt associate-*r/
add-exp-log expm1-log1p-u fma-def sqrt-pow1 pow-prod-down add-cbrt-cube log1p-expm1-u
flip3-+ sqrt-div flip-+
+-commutative hypot-udef pow1/2 sum-log sqrt-prod distribute-lft-out
Counts
3 → 43
Calls
3 calls:
22.0ms
(sqrt (* 2.0 (* 1 (+ re (hypot re im)))))
0.0ms
(hypot re im)
9.0ms
(+ re (hypot re im))

series292.0ms

Counts
3 → 9
Calls
3 calls:
186.0ms
(sqrt (* 2.0 (* 1 (+ re (hypot re im)))))
45.0ms
(hypot re im)
61.0ms
(+ re (hypot re im))

simplify84.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0208209
1808191
23269185
35001185

prune155.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 5.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt re)
0.6b
(cbrt re)
0.6b
(cbrt re)
12.4b
(fma (* (cbrt re) (cbrt re)) (cbrt re) (hypot re im))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt re)
1.0ms
(cbrt re)
1.0ms
(cbrt re)
0.0ms
(fma (* (cbrt re) (cbrt re)) (cbrt re) (hypot re im))

series739.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt re)
187.0ms
(cbrt re)
182.0ms
(cbrt re)
188.0ms
(fma (* (cbrt re) (cbrt re)) (cbrt re) (hypot re im))

simplify72.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
060220
1121195
2359187
31734185
45001185

prune232.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt re)
0.6b
(cbrt re)
0.6b
(cbrt re)
12.4b
(fma (* (cbrt re) (cbrt re)) (* (cbrt (* (cbrt re) (cbrt re))) (cbrt (cbrt re))) (hypot re im))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt re)
1.0ms
(cbrt re)
1.0ms
(cbrt re)
0.0ms
(fma (* (cbrt re) (cbrt re)) (* (cbrt (* (cbrt re) (cbrt re))) (cbrt (cbrt re))) (hypot re im))

series735.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt re)
192.0ms
(cbrt re)
178.0ms
(cbrt re)
187.0ms
(fma (* (cbrt re) (cbrt re)) (* (cbrt (* (cbrt re) (cbrt re))) (cbrt (cbrt re))) (hypot re im))

simplify122.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (19.0ms)

IterNodesCost
068298
1150262
2479256
32651254
45003254

prune258.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.4b

regimes104.0ms

Accuracy

0% (6.1b remaining)

Error of 13.5b against oracle of 7.5b and baseline of 13.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0176
1196
2196

end0.0ms

sample704.0ms

Algorithm
intervals
Results
196.0ms6015×body80valid
132.0ms682×body2560valid
75.0ms497×body1280valid
62.0ms264×body5120valid
34.0ms288×body640valid
15.0ms167×body320valid
8.0ms87×body160valid