Details

Time bar (total: 1.3s)

analyze1.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 8 to 6 computations (25% saved)

sample707.0ms (54.4%)

Symmetry

(sort x y)

Results
669.0ms8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify9.0ms (0.7%)

Algorithm
egg-herbie
Rules
39×fma-neg_binary64
17×sub-neg_binary64
17×fma-def_binary64
16×cancel-sign-sub-inv_binary64
fabs-sub_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1108
2178
3268
4428
5768
6888
71088
81248
91298
101138

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 21 to 15 computations (28.6% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))

series9.0ms (0.7%)

Counts
1 → 0
Calls

1 calls:

9.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))

rewrite4.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
sqrt-prod_binary64
add-sqr-sqrt_binary64
fabs-mul_binary64
*-un-lft-identity_binary64
rem-sqrt-square_binary64
Counts
1 → 25
Calls

1 calls:

3.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))

simplify60.0ms (4.6%)

Algorithm
egg-herbie
Rules
572×distribute-rgt-in_binary64
512×distribute-lft-in_binary64
468×cancel-sign-sub-inv_binary64
435×unsub-neg_binary64
349×fma-neg_binary64
Counts
25 → 27
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
062313
1107300
2187300
3319300
4655300
51903300
64539300
75093300

prune14.0ms (1.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New26127
Fresh000
Picked011
Done000
Total26228
Error
0b
Counts
28 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
0.9b
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))) (sqrt.f64 (fabs.f64 (cbrt.f64 (-.f64 x y)))))
Compiler

Compiled 345 to 126 computations (63.5% saved)

localize6.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))))
0.4b
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))) (sqrt.f64 (fabs.f64 (cbrt.f64 (-.f64 x y)))))
0.6b
(cbrt.f64 (-.f64 x y))

series86.0ms (6.6%)

Counts
3 → 72
Calls

3 calls:

49.0ms
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))) (sqrt.f64 (fabs.f64 (cbrt.f64 (-.f64 x y)))))
24.0ms
(cbrt.f64 (-.f64 x y))
12.0ms
(sqrt.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))))

rewrite33.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
99×add-sqr-sqrt_binary64
51×sqrt-prod_binary64
50×fabs-mul_binary64
49×cbrt-prod_binary64
32×fabs-sqr_binary64
Counts
3 → 136
Calls

3 calls:

15.0ms
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))) (sqrt.f64 (fabs.f64 (cbrt.f64 (-.f64 x y)))))
3.0ms
(sqrt.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))))
2.0ms
(cbrt.f64 (-.f64 x y))

simplify147.0ms (11.3%)

Algorithm
egg-herbie
Rules
859×fma-neg_binary64
454×*-commutative_binary64
387×fma-def_binary64
293×cancel-sign-sub-inv_binary64
203×times-frac_binary64
Counts
208 → 222
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02674691
16013930
215403655
339743074
449483074
549343074

prune104.0ms (8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2740274
Fresh000
Picked011
Done011
Total2742276
Error
0b
Counts
276 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
0.9b
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))) (sqrt.f64 (fabs.f64 (cbrt.f64 (-.f64 x y)))))
Compiler

Compiled 6293 to 2159 computations (65.7% saved)

regimes68.0ms (5.2%)

Accuracy

Total 0.0b remaining (23.9%)

Threshold costs 0.0b (23.9%)

Counts
11 → 1
Compiler

Compiled 773 to 487 computations (37% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1108
2178
3228
4258
5268
6268

end46.0ms (3.5%)

Remove

(sort x y)

Compiler

Compiled 49 to 32 computations (34.7% saved)

Profiling

Loading profile data...