Details

Time bar (total: 2.3s)

analyze89.0ms (3.8%)

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
37.5%62.4%0.1%5
43.7%56.2%0.1%6
71.8%28.1%0.1%7
73.4%25%1.7%8
80.4%16.4%3.2%9
80.8%14%5.2%10
84.1%8.8%7.1%11
84.2%7.4%8.4%12
85.8%4.5%9.7%13
85.8%3.8%10.4%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample774.0ms (33.3%)

Results
717.0ms8256×body128valid
22.0ms208×body128invalid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify12.0ms (0.5%)

Algorithm
egg-herbie
Rules
39×fma-neg_binary64
17×sub-neg_binary64
17×fma-def_binary64
16×cancel-sign-sub-inv_binary64
associate-/l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11111
21811
32711
44311
57711
68911
711211
813611
915911
1016711
1116111
1214411

prune1.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
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series14.0ms (0.6%)

Counts
1 → 0
Calls

1 calls:

14.0ms
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))

rewrite25.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
71×add-sqr-sqrt_binary64
70×fabs-mul_binary64
63×times-frac_binary64
53×*-un-lft-identity_binary64
37×add-cube-cbrt_binary64
Counts
1 → 96
Calls

1 calls:

17.0ms
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))

simplify94.0ms (4%)

Algorithm
egg-herbie
Rules
901×div-sub_binary64
444×associate-/l/_binary64
439×times-frac_binary64
383×associate-/l*_binary64
382×fma-def_binary64
Counts
96 → 112
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01472173
12222127
24912127
310852127
427142127
551672127

prune39.0ms (1.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1111112
Fresh000
Picked011
Done000
Total1112113
Error
0b
Counts
113 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
0.2b
(*.f64 (sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))) (sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))
Compiler

Compiled 2022 to 385 computations (81% saved)

localize10.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
0.1b
(sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y)))
0.2b
(*.f64 (sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))) (sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))

series35.0ms (1.5%)

Counts
2 → 24
Calls

2 calls:

20.0ms
(sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y)))
14.0ms
(*.f64 (sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))) (sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))

rewrite245.0ms (10.5%)

Algorithm
rewrite-expression-head
Rules
1214×add-sqr-sqrt_binary64
748×times-frac_binary64
620×fabs-mul_binary64
585×sqrt-prod_binary64
354×fabs-sqr_binary64
Counts
2 → 576
Calls

2 calls:

77.0ms
(*.f64 (sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))) (sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))
9.0ms
(sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y)))

simplify512.0ms (22%)

Algorithm
egg-herbie
Rules
804×associate-/l*_binary64
464×associate-*l/_binary64
387×associate-*l*_binary64
385×associate-*r*_binary64
364×associate-/l/_binary64
Counts
600 → 670
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
057719760
193618509
2234617865
3464217848
4499617848

prune377.0ms (16.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New100201002
Fresh000
Picked011
Done011
Total100221004
Error
0b
Counts
1004 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
0.2b
(*.f64 (sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))) (sqrt.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))
Compiler

Compiled 28417 to 3135 computations (89% saved)

regimes49.0ms (2.1%)

Accuracy

Total 0.0b remaining (23.4%)

Threshold costs 0.0b (23.4%)

Counts
16 → 1
Compiler

Compiled 717 to 461 computations (35.7% saved)

simplify3.0ms (0.1%)

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
0711
11111
21811
32311
42611
52711
62711

end40.0ms (1.7%)

Compiler

Compiled 46 to 26 computations (43.5% saved)

Profiling

Loading profile data...