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.3s (82.8%)

Results
2.2s4167×2048valid
722.0ms4088×256valid
0.0ms256valid
Precisions
Click to see histograms. Total time spent on operations: 1.8s
Operation ival-div, time spent: 560.0ms, 32.0% of total-time
Operation ival-mult, time spent: 529.0ms, 30.0% of total-time
Operation ival-sub, time spent: 405.0ms, 23.0% of total-time
Operation ival-sqrt, time spent: 252.0ms, 14.0% of total-time
Operation const, time spent: 30.0ms, 2.0% of total-time
Bogosity

preprocess532.0ms (13.5%)

Algorithm
egg-herbie
Rules
170×fma-define
134×fma-neg
44×distribute-lft-neg-in
38×cancel-sign-sub-inv
38×sub-neg
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1250-5(2.9197577035956326e-162)(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))
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: 28.0ms, 25.0% of total-time
Operation ival-sqrt, time spent: 18.0ms, 16.0% of total-time
Operation ival-sub, time spent: 11.0ms, 10.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)

localize32.0ms (0.8%)

Compiler

Compiled 16 to 7 computations (56.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
Operation ival-div, time spent: 2.0ms, 39.0% of total-time
Operation const, time spent: 1.0ms, 19.0% of total-time
Operation ival-sub, time spent: 1.0ms, 19.0% of total-time
Operation ival-fabs, time spent: 1.0ms, 19.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)

regimes5.0ms (0.1%)

Accuracy

Total -31.0b remaining (-∞%)

Threshold costs -31b (-∞%)

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
2.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
*-commutative
neg-sub0
neg-mul-1
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)

soundness57.0ms (1.4%)

Rules
170×fma-define
134×fma-neg
44×distribute-lft-neg-in
38×cancel-sign-sub-inv
38×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%)

preprocess45.0ms (1.2%)

Compiler

Compiled 54 to 38 computations (29.6% saved)

Profiling

Loading profile data...