Details

Time bar (total: 1.7s)

analyze126.0ms (7.6%)

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)

sample796.0ms (47.8%)

Symmetry

(sort x y)

Results
764.0ms8256×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify7.0ms (0.4%)

Algorithm
egg-herbie
Rules
hypot-def_binary64
fma-def_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1104
2124
Stop Event
saturated
Counts
1 → 2

prune4.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 x y)
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 x y)

series9.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

9.0ms
(hypot.f64 x y)

rewrite32.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
329×log1p-expm1-u_binary64
329×expm1-log1p-u_binary64
294×add-log-exp_binary64
293×add-exp-log_binary64
288×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
1794
29194
Stop Event
node limit
Counts
1 → 38
Calls

1 calls:

31.0ms
(hypot.f64 x y)

simplify30.0ms (1.8%)

Algorithm
egg-herbie
Rules
568×fma-neg_binary64
537×cancel-sign-sub-inv_binary64
312×distribute-rgt-neg-in_binary64
310×distribute-lft-neg-in_binary64
266×distribute-neg-frac_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
050488
1162470
2523454
32395454
Stop Event
node limit
Counts
62 → 68

prune31.0ms (1.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New67168
Fresh000
Picked011
Done000
Total67269
Error
0b
Counts
69 → 2
Alt Table
StatusErrorProgram
1.5b
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3))
0.0b
(hypot.f64 x y)
Compiler

Compiled 849 to 470 computations (44.6% saved)

localize7.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (cbrt.f64 (hypot.f64 x y)))
0.5b
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3))
0.6b
(cbrt.f64 (hypot.f64 x y))
0.7b
(pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3)

series104.0ms (6.2%)

Counts
4 → 80
Calls

4 calls:

49.0ms
(pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3)
26.0ms
(sqrt.f64 (cbrt.f64 (hypot.f64 x y)))
20.0ms
(cbrt.f64 (hypot.f64 x y))
9.0ms
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3))

rewrite49.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
630×log1p-expm1-u_binary64
630×expm1-log1p-u_binary64
314×log-prod_binary64
128×log-pow_binary64
127×expm1-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0932
118923
2195123
Stop Event
node limit
Counts
4 → 108
Calls

4 calls:

48.0ms
(sqrt.f64 (cbrt.f64 (hypot.f64 x y)))
48.0ms
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3))
48.0ms
(cbrt.f64 (hypot.f64 x y))
48.0ms
(pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3)

simplify58.0ms (3.5%)

Algorithm
egg-herbie
Rules
708×times-frac_binary64
410×cancel-sign-sub-inv_binary64
216×fma-neg_binary64
204×distribute-rgt-neg-in_binary64
202×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02442388
17382336
224652330
Stop Event
node limit
Counts
188 → 214

prune199.0ms (11.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New3740374
Fresh000
Picked011
Done011
Total3742376
Error
0b
Counts
376 → 2
Alt Table
StatusErrorProgram
1.5b
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x y))) 3))
0.0b
(hypot.f64 x y)
Compiler

Compiled 9095 to 5188 computations (43% saved)

regimes170.0ms (10.2%)

Accuracy

Total 0.0b remaining (25%)

Threshold costs 0.0b (25%)

Counts
28 → 1
Compiler

Compiled 2288 to 1578 computations (31% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
Stop Event
saturated

end42.0ms (2.5%)

Remove

(sort x y)

Compiler

Compiled 42 to 25 computations (40.5% saved)

Profiling

Loading profile data...