Details

Time bar (total: 1.8s)

analyze131.0ms (7.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
56.2%43.7%0.1%7
65.6%34.3%0.1%8
76.5%23.4%0.1%9
82%18%0.1%10
87.8%12.1%0.1%11
90.7%9.2%0.1%12
93.8%6.1%0.1%13
95.3%4.6%0.1%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample1.0s (56.6%)

Symmetry

(sort re im)

Results
983.0ms8256×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
hypot-def_binary64
fma-def_binary64
+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1104
2124
3124

prune3.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(hypot.f64 re im)
Compiler

Compiled 23 to 13 computations (43.5% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 re im)

series11.0ms (0.6%)

Counts
1 → 24
Calls

1 calls:

11.0ms
(hypot.f64 re im)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(hypot.f64 re im)

simplify52.0ms (2.9%)

Algorithm
egg-herbie
Rules
943×fma-neg_binary64
529×cancel-sign-sub-inv_binary64
273×associate-/r/_binary64
262×distribute-rgt-neg-in_binary64
259×distribute-lft-neg-in_binary64
Counts
34 → 42
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
064568
1177541
2507525
32142525
44490525
55063525

prune19.0ms (1.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New41142
Fresh000
Picked011
Done000
Total41243
Error
0b
Counts
43 → 2
Alt Table
StatusErrorProgram
0.0b
(hypot.f64 re im)
1.3b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))
Compiler

Compiled 577 to 339 computations (41.2% saved)

localize5.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 re im)
0.3b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))
0.5b
(*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im)))
0.5b
(cbrt.f64 (hypot.f64 re im))

series96.0ms (5.3%)

Counts
3 → 72
Calls

3 calls:

44.0ms
(*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im)))
38.0ms
(cbrt.f64 (hypot.f64 re im))
13.0ms
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))

rewrite21.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
29×pow1_binary64
24×add-sqr-sqrt_binary64
23×cbrt-prod_binary64
16×pow1/3_binary64
14×*-un-lft-identity_binary64
Counts
3 → 93
Calls

3 calls:

11.0ms
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))
4.0ms
(*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im)))
1.0ms
(cbrt.f64 (hypot.f64 re im))

simplify106.0ms (5.9%)

Algorithm
egg-herbie
Rules
647×fma-def_binary64
626×fma-neg_binary64
314×cancel-sign-sub-inv_binary64
188×associate-*r*_binary64
188×unswap-sqr_binary64
Counts
165 → 195
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02413284
16563131
219282968
347532968
451832968

prune178.0ms (9.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New4150415
Fresh000
Picked011
Done011
Total4152417
Error
0b
Counts
417 → 2
Alt Table
StatusErrorProgram
0.0b
(hypot.f64 re im)
1.3b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))
Compiler

Compiled 9814 to 4079 computations (58.4% saved)

regimes106.0ms (5.9%)

Accuracy

Total 0.0b remaining (16.7%)

Threshold costs 0.0b (16.7%)

Counts
15 → 1
Compiler

Compiled 1107 to 671 computations (39.4% saved)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
144

end40.0ms (2.2%)

Remove

(sort re im)

Compiler

Compiled 41 to 21 computations (48.8% saved)

Profiling

Loading profile data...