sqrt C (should all be same)

Time bar (total: 1.2s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.2MiB live, 0.2MiB 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
100%100%0%0%0%0%0%2
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample600.0ms (48.6%)

Memory
43.1MiB live, 549.9MiB allocated; 142ms collecting garbage
Samples
363.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 225.0ms
ival-mult: 151.0ms (67.1% of total)
ival-sqrt: 62.0ms (27.6% of total)
exact: 6.0ms (2.7% of total)
ival-assert: 3.0ms (1.3% of total)
adjust: 2.0ms (0.9% of total)
Bogosity

explain65.0ms (5.2%)

Memory
-27.4MiB live, 67.3MiB allocated; 18ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1280-0-(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
00-0-#s(literal 2 binary64)
00-0-(*.f64 x x)
00-0-(*.f64 #s(literal 2 binary64) (*.f64 x x))
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))oflow-rescue750
(*.f64 #s(literal 2 binary64) (*.f64 x x))overflow75
(*.f64 x x)overflow75
sqrt.f64(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))uflow-rescue530
(*.f64 #s(literal 2 binary64) (*.f64 x x))underflow53
(*.f64 x x)underflow53
Confusion
Predicted +Predicted -
+1280
-0128
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+12800
-00128
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0128
1128
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
32.0ms512×0valid
Compiler

Compiled 42 to 19 computations (54.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 20.0ms
ival-mult: 16.0ms (78.3% of total)
ival-sqrt: 3.0ms (14.7% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess332.0ms (26.9%)

Memory
-0.5MiB live, 144.0MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
12819
29019
318519
457819
5131419
6497519
056
086
1186
2616
31826
45016
512346
647306
779156
084953
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
Outputs
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(hypot.f64 x x)
Symmetry

(abs x)

Compiler

Compiled 6 to 5 computations (16.7% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 6 to 5 computations (16.7% saved)

series4.0ms (0.3%)

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

3 calls:

TimeVariablePointExpression
2.0ms
x
@inf
((sqrt (* 2 (* x x))) (* 2 (* x x)) 2 (* x x) x)
1.0ms
x
@0
((sqrt (* 2 (* x x))) (* 2 (* x x)) 2 (* x x) x)
1.0ms
x
@-inf
((sqrt (* 2 (* x x))) (* 2 (* x x)) 2 (* x x) x)

rewrite39.0ms (3.2%)

Memory
-14.1MiB live, 30.5MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01961
02260
15054
017149
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
10 → 65
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
#s(literal 2 binary64)
(*.f64 x x)
x
#s(approx (sqrt (* 2 (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* 2 (* x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (* 2 (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Outputs
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)))
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64)))
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x)
(*.f64 x (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(hypot.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (neg.f64 (*.f64 #s(literal -1 binary64) x)))
(hypot.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (exp.f64 (log.f64 x)))
(hypot.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (*.f64 #s(literal -1 binary64) x))
(hypot.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) x)
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 (*.f64 #s(literal -1 binary64) x)))
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(hypot.f64 (exp.f64 (log.f64 x)) (*.f64 #s(literal -1 binary64) x))
(hypot.f64 (exp.f64 (log.f64 x)) x)
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (neg.f64 (*.f64 #s(literal -1 binary64) x)))
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (exp.f64 (log.f64 x)))
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x))
(hypot.f64 (*.f64 #s(literal -1 binary64) x) x)
(hypot.f64 x (neg.f64 (*.f64 #s(literal -1 binary64) x)))
(hypot.f64 x (exp.f64 (log.f64 x)))
(hypot.f64 x (*.f64 #s(literal -1 binary64) x))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/2 binary64)))
(*.f64 (*.f64 #s(literal 2 binary64) (*.f64 #s(literal -1 binary64) x)) (*.f64 #s(literal -1 binary64) x))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(*.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 (*.f64 #s(literal -1 binary64) x) #s(literal 2 binary64)))
(*.f64 (*.f64 #s(literal -1 binary64) x) (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) x)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x (*.f64 x #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x)))))
(fma.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (neg.f64 (*.f64 #s(literal -1 binary64) x)) (*.f64 x x))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 x x))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 x x)))
(fma.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x) (*.f64 x x))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 x x (*.f64 x x))
(-.f64 (*.f64 x x) (*.f64 x (*.f64 #s(literal -1 binary64) x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (*.f64 #s(literal -1 binary64) x)))
(-.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal -1 binary64) x) x))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 #s(literal 1 binary64) (*.f64 x x)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
(+.f64 (*.f64 x x) (*.f64 x x))
#s(literal 2 binary64)
(*.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (neg.f64 (*.f64 #s(literal -1 binary64) x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (*.f64 #s(literal -1 binary64) x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 x (*.f64 #s(literal -1 binary64) x)))
(neg.f64 (*.f64 (*.f64 #s(literal -1 binary64) 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))))
x
#s(approx (sqrt (* 2 (* x x))) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (* 2 (* x x)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (sqrt (* 2 (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x)))

eval7.0ms (0.6%)

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

Compiled 608 to 158 computations (74% saved)

prune11.0ms (0.9%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New65267
Fresh000
Picked101
Done000
Total66268
Accuracy
100.0%
Counts
68 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x))
99.5%
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64)))
Compiler

Compiled 16 to 11 computations (31.3% saved)

series6.0ms (0.5%)

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

3 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
((* (pow (* x 2) 1/2) (pow x 1/2)) (pow (* x 2) 1/2) (* x 2) x 2 1/2 (pow x 1/2) (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) (* -1 x) -1)
1.0ms
x
@0
((* (pow (* x 2) 1/2) (pow x 1/2)) (pow (* x 2) 1/2) (* x 2) x 2 1/2 (pow x 1/2) (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) (* -1 x) -1)
1.0ms
x
@inf
((* (pow (* x 2) 1/2) (pow x 1/2)) (pow (* x 2) 1/2) (* x 2) x 2 1/2 (pow x 1/2) (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) (* -1 x) -1)

rewrite26.0ms (2.1%)

Memory
-26.5MiB live, 19.8MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046156
052120
0144120
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
21 → 46
Calls
Call 1
Inputs
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64)))
(pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
#s(literal 1/2 binary64)
(pow.f64 x #s(literal 1/2 binary64))
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
#s(literal -1 binary64)
#s(approx (* (pow (* x 2) 1/2) (pow x 1/2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (* x 2) 1/2) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* -1 x) #s(hole binary64 (* -1 x)))
#s(approx (* (pow (* x 2) 1/2) (pow x 1/2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (pow (* x 2) 1/2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Outputs
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64)))
(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64))
(*.f64 (*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 #s(literal -2 binary64) #s(literal 1/2 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64)))
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/2 binary64)))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(+.f64 x x)
x
#s(literal 2 binary64)
#s(literal 1/2 binary64)
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64)))
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(exp.f64 (*.f64 (log.f64 x) #s(literal 1/2 binary64)))
(pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 (*.f64 #s(literal -1 binary64) x) #s(literal 2 binary64))) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 (*.f64 #s(literal -1 binary64) x) #s(literal 2 binary64))))
(hypot.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (neg.f64 (*.f64 #s(literal -1 binary64) x)))
(hypot.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (fabs.f64 (*.f64 #s(literal -1 binary64) x)))
(hypot.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (*.f64 #s(literal -1 binary64) x))
(hypot.f64 (fabs.f64 (*.f64 #s(literal -1 binary64) x)) (neg.f64 (*.f64 #s(literal -1 binary64) x)))
(hypot.f64 (fabs.f64 (*.f64 #s(literal -1 binary64) x)) (fabs.f64 (*.f64 #s(literal -1 binary64) x)))
(hypot.f64 (fabs.f64 (*.f64 #s(literal -1 binary64) x)) (*.f64 #s(literal -1 binary64) x))
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (neg.f64 (*.f64 #s(literal -1 binary64) x)))
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (fabs.f64 (*.f64 #s(literal -1 binary64) x)))
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 x)
#s(literal -1 binary64)
#s(approx (* (pow (* x 2) 1/2) (pow x 1/2)) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (pow (* x 2) 1/2) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)))
#s(approx (* x 2) (*.f64 #s(literal 2 binary64) x))
#s(approx x x)
#s(approx (pow x 1/2) (pow.f64 x #s(literal 1/2 binary64)))
#s(approx (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (* -1 x) (*.f64 #s(literal -1 binary64) x))
#s(approx (* (pow (* x 2) 1/2) (pow x 1/2)) (*.f64 (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x) #s(literal -1 binary64)))
#s(approx (pow (* x 2) 1/2) (*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) #s(literal -1 binary64)))
#s(approx (pow x 1/2) (*.f64 (*.f64 (pow.f64 x #s(literal 1/2 binary64)) #s(literal -1 binary64)) #s(literal -1 binary64)))
#s(approx (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) (*.f64 (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x) #s(literal -1 binary64)))

eval5.0ms (0.4%)

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

Compiled 593 to 112 computations (81.1% saved)

prune11.0ms (0.9%)

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New58058
Fresh000
Picked022
Done000
Total58260
Accuracy
100.0%
Counts
60 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x))
99.5%
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64)))
Compiler

Compiled 38 to 24 computations (36.8% saved)

regimes6.0ms (0.5%)

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

4 calls:

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

Compiled 15 to 12 computations (20% saved)

regimes41.0ms (3.3%)

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

4 calls:

37.0ms
(*.f64 #s(literal 2 binary64) (*.f64 x x))
1.0ms
(*.f64 x x)
1.0ms
x
1.0ms
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
Results
AccuracySegmentsBranch
99.5%1(*.f64 x x)
99.5%1(*.f64 #s(literal 2 binary64) (*.f64 x x))
99.5%1(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
99.5%1x
Compiler

Compiled 15 to 12 computations (20% saved)

regimes4.0ms (0.3%)

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

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

1.0ms
x
1.0ms
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
1.0ms
(*.f64 #s(literal 2 binary64) (*.f64 x x))
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
53.2%1(*.f64 x x)
53.2%1(*.f64 #s(literal 2 binary64) (*.f64 x x))
53.2%1(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
53.2%1x
Compiler

Compiled 15 to 12 computations (20% saved)

simplify36.0ms (2.9%)

Memory
21.0MiB live, 21.0MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01320
11620
22120
32820
46020
538220
6348420
Stop Event
node limit
Calls
Call 1
Inputs
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x))
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64)))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
Outputs
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x))
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64)))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))

derivations3.0ms (0.3%)

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

Compiled 22 to 13 computations (40.9% saved)

preprocess38.0ms (3.1%)

Memory
-0.5MiB live, 45.2MiB allocated; 3ms collecting garbage
Remove

(abs x)

Compiler

Compiled 84 to 52 computations (38.1% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...