sqrt sqr

Time bar (total: 2.9s)

start0.0ms (0%)

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

analyze2.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB 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)

sample2.0s (66.9%)

Memory
2.9MiB live, 1 420.4MiB allocated; 269ms collecting garbage
Samples
1.1s4 163×2valid
479.0ms4 093×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.3s
ival-div: 467.0ms (36.8% of total)
ival-mult: 343.0ms (27% of total)
adjust: 204.0ms (16.1% of total)
ival-sqrt: 126.0ms (9.9% of total)
ival-sub: 117.0ms (9.2% of total)
exact: 8.0ms (0.6% of total)
ival-assert: 3.0ms (0.2% of total)
Bogosity

explain176.0ms (6%)

Memory
8.7MiB live, 146.3MiB allocated; 10ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1240-3(-1.1441528374892965e-157)(sqrt.f64 (*.f64 x x))
00-0-(/.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x 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-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (*.f64 x x))oflow-rescue670
(*.f64 x x)overflow67
sqrt.f64(sqrt.f64 (*.f64 x x))uflow-rescue540
(*.f64 x x)underflow54
Confusion
Predicted +Predicted -
+12115
-0120
Precision
1.0
Recall
0.8897058823529411
Confusion?
Predicted +Predicted MaybePredicted -
+121015
-00120
Precision?
1.0
Recall?
0.8897058823529411
Freqs
test
numberfreq
0135
1121
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
47.0ms264×2valid
21.0ms248×0valid
Compiler

Compiled 86 to 28 computations (67.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 43.0ms
ival-mult: 12.0ms (27.7% of total)
ival-div: 11.0ms (25.4% of total)
adjust: 9.0ms (20.7% of total)
ival-sqrt: 6.0ms (13.8% of total)
ival-sub: 5.0ms (11.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess150.0ms (5.1%)

Memory
21.5MiB live, 76.5MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01627
16119
213218
333718
4171518
5649618
0812
0148
1306
2646
31846
410616
569556
080616
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Outputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Compiler

Compiled 12 to 8 computations (33.3% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.8%
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Compiler

Compiled 12 to 8 computations (33.3% saved)

series5.0ms (0.2%)

Memory
5.5MiB live, 5.5MiB 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
2.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))

rewrite95.0ms (3.2%)

Memory
-0.4MiB live, 46.7MiB allocated; 2ms 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) (pow.f64 x #s(literal -1 binary64)))
(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))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.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) (pow.f64 x #s(literal -1 binary64)))
#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))

eval65.0ms (2.2%)

Memory
-34.3MiB live, 10.0MiB allocated; 6ms collecting garbage
Compiler

Compiled 771 to 193 computations (75% saved)

prune18.0ms (0.6%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New52254
Fresh000
Picked101
Done000
Total53255
Accuracy
100.0%
Counts
55 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.0%
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x))))
53.1%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Compiler

Compiled 29 to 20 computations (31% saved)

series0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(literal 0 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)
0.0ms
x
@-inf
((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 0)
0.0ms
x
@inf
((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 0)

rewrite89.0ms (3%)

Memory
0.4MiB live, 47.0MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01243
01231
15810
043810
Stop Event
iter limit
iter limit
iter limit
unsound
saturated
Counts
4 → 4
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(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 0 binary64))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))

eval1.0ms (0%)

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

Compiled 42 to 12 computations (71.4% saved)

prune1.0ms (0%)

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New303
Fresh011
Picked011
Done000
Total325
Accuracy
100.0%
Counts
5 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.0%
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x))))
53.1%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Compiler

Compiled 29 to 20 computations (31% saved)

series3.0ms (0.1%)

Memory
3.3MiB live, 3.3MiB allocated; 0ms collecting garbage
Counts
8 → 10
Calls
Call 1
Inputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x))))
(/.f64 x x)
x
(*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x)))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
#s(approx (sqrt (* x x)) (neg.f64 x))
(neg.f64 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 (neg x) #s(hole binary64 (* -1 x)))
#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)) (neg 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)) (neg 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)) (neg x))

rewrite143.0ms (4.9%)

Memory
-81.0MiB live, 73.6MiB allocated; 60ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
029126
03690
110363
067263
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
18 → 64
Calls
Call 1
Inputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x))))
(/.f64 x x)
x
(*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x)))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
#s(approx (sqrt (* x x)) (neg.f64 x))
(neg.f64 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 (neg x) #s(hole binary64 (* -1 x)))
#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
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (neg.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x)) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 2 binary64)) (*.f64 #s(literal 1 binary64) (neg.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x))))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 2 binary64)))) (neg.f64 (+.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) (+.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (-.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 x) #s(approx (sqrt (* x x)) (neg.f64 x)))) (*.f64 (neg.f64 x) x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x #s(approx (sqrt (* x x)) (neg.f64 x)))) (*.f64 x x))
(/.f64 (-.f64 x #s(approx (sqrt (* x x)) (neg.f64 x))) x)
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 2 binary64))) (+.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 3 binary64))) (fma.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) (+.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(fma.f64 (/.f64 #s(literal -1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x)) #s(literal 1 binary64))
(fma.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) (/.f64 #s(literal -1 binary64) x) #s(literal 1 binary64))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 1 binary64))) (/.f64 (pow.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 2 binary64)) (+.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) (+.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 3 binary64)) (fma.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) (+.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 1 binary64)) #s(literal 1 binary64))))
(-.f64 #s(literal 1 binary64) (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x))
(+.f64 (neg.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 #s(approx (sqrt (* x x)) (neg.f64 x))) (pow.f64 x #s(literal -1 binary64))))
(+.f64 #s(literal 1 binary64) (neg.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x)))
#s(literal 1 binary64)
x
(*.f64 (pow.f64 x #s(literal -1 binary64)) #s(approx (sqrt (* x x)) (neg.f64 x)))
(*.f64 (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x) #s(literal 1 binary64))
(*.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) (pow.f64 x #s(literal -1 binary64)))
(*.f64 #s(literal 1 binary64) (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x))
(/.f64 (*.f64 (neg.f64 x) (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x)) (neg.f64 x))
(/.f64 (*.f64 x (/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x)) x)
(/.f64 (*.f64 #s(literal -1 binary64) #s(approx (sqrt (* x x)) (neg.f64 x))) (neg.f64 x))
(/.f64 (*.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) #s(literal -1 binary64)) (neg.f64 x))
(/.f64 (neg.f64 #s(approx (sqrt (* x x)) (neg.f64 x))) (neg.f64 x))
(/.f64 (*.f64 (neg.f64 x) #s(approx (sqrt (* x x)) (neg.f64 x))) (*.f64 (neg.f64 x) x))
(/.f64 (*.f64 x #s(approx (sqrt (* x x)) (neg.f64 x))) (*.f64 x x))
(/.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) x)
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)))
(*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)))
(pow.f64 x #s(literal -1 binary64))
(/.f64 (/.f64 #s(literal -1 binary64) x) #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 x))
(/.f64 (neg.f64 x) (*.f64 (neg.f64 x) 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)
(*.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(approx (sqrt (* x x)) (neg.f64 x)))
#s(approx (sqrt (* x x)) (neg.f64 x))
(/.f64 (*.f64 (neg.f64 x) #s(approx (sqrt (* x x)) (neg.f64 x))) (neg.f64 x))
(/.f64 (*.f64 x #s(approx (sqrt (* x x)) (neg.f64 x))) x)
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 x)
#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) (pow.f64 x #s(literal -1 binary64)))
#s(approx (sqrt (* x x)) x)
#s(approx (neg x) (neg.f64 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))
(*.f64 #s(approx (sqrt (* x x)) (neg.f64 x)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(approx (sqrt (* x x)) (neg.f64 x)))
#s(approx (sqrt (* x x)) (neg.f64 x))
(/.f64 (*.f64 (neg.f64 x) #s(approx (sqrt (* x x)) (neg.f64 x))) (neg.f64 x))
(/.f64 (*.f64 x #s(approx (sqrt (* x x)) (neg.f64 x))) x)

eval11.0ms (0.4%)

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

Compiled 1 151 to 173 computations (85% saved)

prune47.0ms (1.6%)

Memory
-19.6MiB live, 27.3MiB allocated; 3ms collecting garbage
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh000
Picked011
Done011
Total62264
Accuracy
100.0%
Counts
64 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.0%
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x))))
53.1%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Compiler

Compiled 70 to 41 computations (41.4% saved)

regimes6.0ms (0.2%)

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

Total -62.1b remaining (-∞%)

Threshold costs -62.1b (-∞%)

Counts
3 → 2
Calls
Call 1
Inputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x))))
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Outputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x))))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
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
91.3%2(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
100.0%2x
Compiler

Compiled 13 to 9 computations (30.8% saved)

bsearch52.0ms (1.8%)

Memory
12.9MiB live, 57.6MiB allocated; 6ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
46.0ms
-3.667408530082589e-306
1.1227236231845042e-290
Samples
25.0ms80×2valid
10.0ms96×0valid
Compiler

Compiled 334 to 254 computations (24% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.0ms
ival-div: 7.0ms (29.4% of total)
ival-mult: 6.0ms (25.2% of total)
adjust: 4.0ms (16.8% of total)
ival-sub: 3.0ms (12.6% of total)
ival-sqrt: 3.0ms (12.6% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

simplify89.0ms (3%)

Memory
-12.9MiB live, 84.7MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01927
14225
28725
323025
4133125
5552925
Stop Event
node limit
Calls
Call 1
Inputs
(if (<=.f64 x #s(literal -20240225330731/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392 binary64)) (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x)))) #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)))
Outputs
(if (<=.f64 x #s(literal -20240225330731/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392 binary64)) (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) #s(approx (sqrt (* x x)) (neg.f64 x)))) #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)))

derivations3.0ms (0.1%)

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

Compiled 33 to 20 computations (39.4% saved)

preprocess15.0ms (0.5%)

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

Compiled 102 to 66 computations (35.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...