sqrt sqr

Time bar (total: 1.8s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

analyze2.0ms (0.1%)

Memory
2.1MiB live, 2.1MiB allocated; 0ms collecting garbage
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 10 computations (28.6% saved)

sample1.5s (84.6%)

Memory
30.4MiB live, 1 283.0MiB allocated; 1.0s collecting garbage
Samples
713.0ms4 163×2valid
526.0ms4 093×0valid
Precisions
Click to see histograms. Total time spent on operations: 995.0ms
ival-sub!: 316.0ms (31.8% of total)
ival-mult!: 275.0ms (27.6% of total)
adjust: 171.0ms (17.2% of total)
ival-div!: 134.0ms (13.5% of total)
ival-sqrt: 99.0ms (9.9% of total)
Bogosity

preprocess51.0ms (2.8%)

Memory
-20.9MiB live, 25.0MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01627
16119
213218
333718
4171518
5649618
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
42.6%
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Compiler

Compiled 16 to 16 computations (0% saved)

series3.0ms (0.2%)

Memory
7.0MiB live, 7.0MiB allocated; 0ms collecting garbage
Counts
8 → 10
Calls
Call 1
Inputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(/.f64 x x)
x
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
(sqrt.f64 (*.f64 x x))
(*.f64 x x)
Outputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 0))
#s(approx (/ x x) #s(hole binary64 1))
#s(approx x #s(hole binary64 x))
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(hole binary64 1))
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x)))
#s(approx (sqrt (* x x)) #s(hole binary64 x))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 2))
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(hole binary64 -1))
#s(approx (sqrt (* x x)) #s(hole binary64 (* -1 x)))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (/ x x) x (* (/ 1 x) (sqrt (* x x))) (/ 1 x) 1 (sqrt (* x x)) (* x x))
1.0ms
x
@0
((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (/ x x) x (* (/ 1 x) (sqrt (* x x))) (/ 1 x) 1 (sqrt (* x x)) (* x x))
1.0ms
x
@inf
((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (/ x x) x (* (/ 1 x) (sqrt (* x x))) (/ 1 x) 1 (sqrt (* x x)) (* x x))

rewrite77.0ms (4.2%)

Memory
5.3MiB live, 59.1MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
029119
03878
19451
054151
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
18 → 51
Calls
Call 1
Inputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(/.f64 x x)
x
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
(sqrt.f64 (*.f64 x x))
(*.f64 x x)
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 0))
#s(approx (/ x x) #s(hole binary64 1))
#s(approx x #s(hole binary64 x))
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(hole binary64 1))
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x)))
#s(approx (sqrt (* x x)) #s(hole binary64 x))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 2))
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(hole binary64 -1))
#s(approx (sqrt (* x x)) #s(hole binary64 (* -1 x)))
Outputs
#s(literal 0 binary64)
#s(literal 1 binary64)
x
#s(literal 1 binary64)
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)))
(*.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))
(pow.f64 x #s(literal -1 binary64))
(/.f64 (/.f64 #s(literal -1 binary64) x) #s(literal -1 binary64))
(/.f64 (neg.f64 x) (*.f64 (neg.f64 x) x))
(/.f64 #s(literal -1 binary64) (neg.f64 x))
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal 1 binary64) x)
(/.f64 x (*.f64 x x))
(neg.f64 (/.f64 #s(literal -1 binary64) x))
(exp.f64 (*.f64 (log.f64 x) #s(literal -1 binary64)))
#s(literal 1 binary64)
x
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x)
(*.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x))
(*.f64 #s(literal -1 binary64) (*.f64 x (neg.f64 x)))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(sqrt.f64 (*.f64 (*.f64 x x) (*.f64 x x)))
(fabs.f64 (*.f64 x x))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(literal 1 binary64))
#s(approx (sqrt (* x x)) x)
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(literal 1 binary64))
#s(approx (/ 1 x) (/.f64 #s(literal 1 binary64) x))
#s(approx (sqrt (* x x)) x)
#s(approx (* x x) (*.f64 x x))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(literal -1 binary64))
#s(approx (sqrt (* x x)) (neg.f64 x))

eval4.0ms (0.2%)

Memory
11.0MiB live, 11.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 263 to 183 computations (30.4% saved)

prune2.0ms (0.1%)

Memory
4.6MiB live, 4.6MiB allocated; 0ms collecting garbage
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New41243
Fresh000
Picked101
Done000
Total42244
Accuracy
100.0%
Counts
44 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.1%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
47.0%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Compiler

Compiled 20 to 20 computations (0% saved)

series0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Counts
4 → 2
Calls
Call 1
Inputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(literal 0 binary64)
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
#s(literal 2 binary64)
Outputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 0))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 2))
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 0 (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 2)
0.0ms
x
@-inf
((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 0 (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 2)
0.0ms
x
@inf
((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 0 (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 2)

rewrite85.0ms (4.7%)

Memory
-24.3MiB live, 68.5MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01258
01242
15814
043814
Stop Event
iter-limit
iter-limit
iter-limit
unsound
saturated
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(literal 0 binary64)
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 0))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 2))
Outputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(literal 0 binary64)
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated; 0ms collecting garbage
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked022
Done000
Total022
Accuracy
100.0%
Counts
2 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.1%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
47.0%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Compiler

Compiled 45 to 39 computations (13.3% saved)

regimes3.0ms (0.2%)

Memory
9.5MiB live, 9.5MiB allocated; 0ms collecting garbage
Counts
3 → 2
Calls
Call 1
Inputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Outputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Calls

2 calls:

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

Compiled 9 to 9 computations (0% saved)

regimes2.0ms (0.1%)

Memory
7.1MiB live, 7.1MiB allocated; 0ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Outputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Calls

2 calls:

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

Compiled 9 to 9 computations (0% saved)

bsearch23.0ms (1.3%)

Memory
2.7MiB live, 48.6MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
21.0ms
-1.5753420908857476e-304
7.904315464704695e-299
Samples
8.0ms96×0valid
7.0ms64×2valid
Compiler

Compiled 215 to 232 computations (-7.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-sqrt: 5.0ms (42.3% of total)
ival-div!: 2.0ms (16.9% of total)
ival-mult!: 2.0ms (16.9% of total)
adjust: 1.0ms (8.5% of total)
ival-sub!: 1.0ms (8.5% of total)

derivations3.0ms (0.1%)

Memory
7.8MiB live, 7.8MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 21 to 15 computations (28.6% saved)

preprocess26.0ms (1.4%)

Memory
-21.3MiB live, 47.2MiB allocated; 17ms collecting garbage
Compiler

Compiled 29 to 23 computations (20.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...