Data.Octree.Internal:octantDistance from Octree-0.5.4.2

Details

Time bar (total: 3.9s)

analyze1.1s (29%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%199.8%-99.8%0%0%0%1
0%0%399.6%-299.6%0%0%0%2
0%0%799.2%-699.2%0%0%0%3
0%0%1598.4%-1498.4%0%0%0%4
0%0%3196.9%-3096.9%0%0%0%5
0%0%6393.8%-6293.8%0%0%0%6
0%0%12787.5%-12687.5%0%0%0%7
0%0%25575%-25475%0%0%0%8
0%0%51150%-51050%0%0%0%9
0%0%102300%-102200%0%0%0%10
0%0%204600%-204500%0%0%0%11
0%0%409200.1%-409100.1%0%0%0%12
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample2.6s (66.4%)

Results
916.0ms2529×body2048valid
828.0ms2101×body4096valid
491.0ms1697×body1024valid
207.0ms911×body512valid
144.0ms1018×body256valid
Bogosity

preprocess16.0ms (0.4%)

Algorithm
egg-herbie
Rules
fma-def
hypot-def
swap-x-y
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
11614
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(sqrt.f64 (+.f64 (*.f64 y y) (*.f64 x x)))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 x y)
(sqrt.f64 (+.f64 (*.f64 y y) (*.f64 x x)))
(hypot.f64 x y)
Symmetry

(sort x y)

Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify14.0ms (0.4%)

Algorithm
egg-herbie
Rules
fma-def
hypot-def
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
097
1137
2157
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 x y)

eval0.0ms (0%)

Compiler

Compiled 13 to 7 computations (46.2% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Accurracy
100.0%
Counts
3 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x y)
100.0%
(hypot.f64 x y)
Compiler

Compiled 10 to 6 computations (40% saved)

localize74.0ms (1.9%)

Compiler

Compiled 8 to 4 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accurracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x y)
Compiler

Compiled 18 to 10 computations (44.4% saved)

regimes18.0ms (0.5%)

Accuracy

Total -28.7b remaining (-∞%)

Threshold costs -28.7b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(hypot.f64 x y)
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Outputs
(hypot.f64 x y)
Calls

6 calls:

4.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
3.0ms
y
3.0ms
x
3.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
100.0%1(+.f64 (*.f64 x x) (*.f64 y y))
100.0%1(*.f64 x x)
100.0%1(*.f64 y y)
Compiler

Compiled 48 to 28 computations (41.7% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
Stop Event
done
saturated
Calls
Call 1
Inputs
(hypot.f64 x y)
Outputs
(hypot.f64 x y)
Compiler

Compiled 5 to 3 computations (40% saved)

soundness14.0ms (0.4%)

Rules
fma-def
hypot-def
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
097
1137
2157
Stop Event
saturated
Compiler

Compiled 13 to 7 computations (46.2% saved)

end35.0ms (0.9%)

Remove

(sort x y)

Compiler

Compiled 82 to 50 computations (39% saved)

Profiling

Loading profile data...