sqrt sqr

Time bar (total: 3.9s)

analyze2.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
50%50%50%0%0%0%0%2
75%75%25%0%0%0%0%3
87.5%87.5%12.5%0%0%0%0%4
93.8%93.7%6.2%0%0%0%0%5
96.9%96.8%3.1%0%0%0%0%6
98.4%98.4%1.6%0%0%0%0%7
99.2%99.2%0.8%0%0%0%0%8
99.6%99.6%0.4%0%0%0%0%9
99.8%99.8%0.2%0%0%0%0%10
99.9%99.9%0.1%0%0%0%0%11
100%99.9%0%0%0%0%0%12
Compiler

Compiled 14 to 9 computations (35.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.0ms
Operation ival-div, time spent: 0.0ms, 0.0% of total-time
Operation ival-sub, time spent: 0.0ms, 0.0% of total-time
Operation ival-mult, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time
Operation ival-sqrt, time spent: 0.0ms, 0.0% of total-time

sample3.4s (87.2%)

Results
491.0ms4168×256valid
2.4s4088×2048valid
Precisions
Click to see histograms. Total time spent on operations: 2.1s
Operation ival-div, time spent: 1.0s, 49.0% of total-time
Operation ival-mult, time spent: 640.0ms, 30.0% of total-time
Operation ival-sub, time spent: 204.0ms, 10.0% of total-time
Operation ival-sqrt, time spent: 202.0ms, 10.0% of total-time
Operation const, time spent: 30.0ms, 1.0% of total-time
Bogosity

preprocess366.0ms (9.5%)

Algorithm
egg-herbie
Rules
85×fma-define
67×fma-neg
22×distribute-lft-neg-in
19×cancel-sign-sub-inv
19×sub-neg
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1330-5(-1.7763322777072002e-158)(sqrt.f64 (*.f64 x x))
00-0-x
00-0-(/.f64 x x)
00-0-(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))
00-0-(*.f64 x x)
00-0-(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
00-0-(/.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
021128
16992
214192
325892
441292
553992
657492
758492
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(-.f64 (/.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)) (sqrt.f64 (*.f64 (neg.f64 x) (neg.f64 x)))))
(neg.f64 (-.f64 (/.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)) (sqrt.f64 (*.f64 (neg.f64 x) (neg.f64 x))))))
Outputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(-.f64 #s(literal 1 binary64) (*.f64 (/.f64 #s(literal 1 binary64) x) (fabs.f64 x)))
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(-.f64 #s(literal 1 binary64) (*.f64 (/.f64 #s(literal 1 binary64) x) (fabs.f64 x)))
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
(-.f64 (/.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)) (sqrt.f64 (*.f64 (neg.f64 x) (neg.f64 x)))))
(-.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (neg.f64 x)))
(+.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
(neg.f64 (-.f64 (/.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)) (sqrt.f64 (*.f64 (neg.f64 x) (neg.f64 x))))))
(neg.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (neg.f64 x))))
(-.f64 #s(literal -1 binary64) (/.f64 (fabs.f64 x) x))
Results
156.0ms280×2048valid
36.0ms232×256valid
Compiler

Compiled 87 to 38 computations (56.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 111.0ms
Operation ival-div, time spent: 50.0ms, 45.0% of total-time
Operation ival-mult, time spent: 37.0ms, 33.0% of total-time
Operation ival-sqrt, time spent: 13.0ms, 12.0% of total-time
Operation ival-sub, time spent: 8.0ms, 7.0% of total-time
Operation const, time spent: 4.0ms, 4.0% of total-time

eval1.0ms (0%)

Compiler

Compiled 15 to 10 computations (33.3% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Compiler

Compiled 7 to 5 computations (28.6% saved)

localize31.0ms (0.8%)

Results
19.0ms256×256valid
Compiler

Compiled 16 to 7 computations (56.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
Operation ival-div, time spent: 2.0ms, 34.0% of total-time
Operation ival-fabs, time spent: 2.0ms, 34.0% of total-time
Operation ival-sub, time spent: 1.0ms, 17.0% of total-time
Operation const, time spent: 1.0ms, 17.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Compiler

Compiled 26 to 17 computations (34.6% saved)

regimes4.0ms (0.1%)

Accuracy

Total -33.5b remaining (-∞%)

Threshold costs -33.5b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Outputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Calls

2 calls:

3.0ms
x
1.0ms
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Compiler

Compiled 15 to 9 computations (40% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
sub-neg
+-commutative
1-exp
*-commutative
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
11723
22523
33123
43623
53823
Stop Event
done
saturated
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Outputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Compiler

Compiled 7 to 5 computations (28.6% saved)

soundness49.0ms (1.3%)

Rules
85×fma-define
67×fma-neg
22×distribute-lft-neg-in
19×cancel-sign-sub-inv
19×sub-neg
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
021128
16992
214192
325892
441292
553992
657492
758492
Stop Event
saturated
Compiler

Compiled 226 to 77 computations (65.9% saved)

end0.0ms (0%)

preprocess35.0ms (0.9%)

Compiler

Compiled 54 to 38 computations (29.6% saved)

Profiling

Loading profile data...