sqrt C (should all be same)

Time bar (total: 1.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 8 to 7 computations (12.5% saved)

sample500.0ms (39.7%)

Memory
25.5MiB live, 690.5MiB allocated; 88ms collecting garbage
Samples
320.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 143.0ms
ival-mult!: 80.0ms (55.8% of total)
ival-sqrt: 61.0ms (42.5% of total)
adjust: 2.0ms (1.4% of total)
Bogosity

explain55.0ms (4.4%)

Memory
-3.5MiB live, 92.4MiB allocated; 9ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1240-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-rescue640
(*.f64 #s(literal 2 binary64) (*.f64 x x))overflow64
(*.f64 x x)overflow64
sqrt.f64(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))uflow-rescue600
(*.f64 #s(literal 2 binary64) (*.f64 x x))underflow60
(*.f64 x x)underflow60
Confusion
Predicted +Predicted -
+1240
-0132
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+12400
-00132
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0132
1124
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
25.0ms512×0valid
Compiler

Compiled 42 to 19 computations (54.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-sqrt: 7.0ms (59.3% of total)
ival-mult!: 5.0ms (42.4% of total)
adjust: 0.0ms (0% of total)

preprocess304.0ms (24.1%)

Memory
18.6MiB live, 245.6MiB allocated; 55ms 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.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
54.9%
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

series4.0ms (0.3%)

Memory
5.8MiB live, 5.8MiB 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
1.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)

rewrite36.0ms (2.8%)

Memory
-10.6MiB live, 36.6MiB allocated; 3ms 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 (sqrt.f64 #s(literal 2 binary64)) x)
(*.f64 x (sqrt.f64 #s(literal 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 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (exp.f64 (log.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) x)
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 x))
(hypot.f64 (exp.f64 (log.f64 x)) x)
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 x)))
(hypot.f64 (neg.f64 x) (neg.f64 x))
(hypot.f64 (neg.f64 x) x)
(hypot.f64 x (neg.f64 (neg.f64 x)))
(hypot.f64 x (exp.f64 (log.f64 x)))
(hypot.f64 x (neg.f64 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) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(*.f64 (neg.f64 x) (fma.f64 #s(literal -1 binary64) x (neg.f64 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))) (fma.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 (neg.f64 x)) (neg.f64 (neg.f64 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 (neg.f64 x) (neg.f64 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 (neg.f64 x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 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 (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 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 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 x (neg.f64 x)))
(neg.f64 (*.f64 (neg.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))))
x
#s(approx (sqrt (* 2 (* x x))) (hypot.f64 x 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))) (neg.f64 (hypot.f64 x x)))

eval7.0ms (0.5%)

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

Compiled 563 to 158 computations (71.9% saved)

prune3.0ms (0.2%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New63467
Fresh000
Picked101
Done000
Total64468
Accuracy
100.0%
Counts
68 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.5%
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
99.4%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
54.9%
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
Compiler

Compiled 20 to 17 computations (15% saved)

series7.0ms (0.5%)

Memory
8.0MiB live, 8.0MiB allocated; 0ms collecting garbage
Counts
12 → 15
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
(sqrt.f64 (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
(sqrt.f64 x)
(hypot.f64 x x)
Outputs
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (* x x) 2) #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) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (* x 2)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (* x 2)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Calls

3 calls:

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

rewrite57.0ms (4.5%)

Memory
-24.4MiB live, 26.3MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056191
066163
0146163
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
27 → 92
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
(sqrt.f64 (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
(sqrt.f64 x)
(hypot.f64 x x)
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (* x x) 2) #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) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (* x 2)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (* x 2)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Outputs
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 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 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x)
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 x))
(hypot.f64 (neg.f64 x) (fabs.f64 x))
(hypot.f64 (neg.f64 x) x)
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 x))
(hypot.f64 (fabs.f64 x) (fabs.f64 x))
(hypot.f64 (fabs.f64 x) x)
(hypot.f64 x (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x x)
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 x (*.f64 #s(literal 2 binary64) 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))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x)))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x))
(fma.f64 x x (*.f64 x x))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x))
(+.f64 (*.f64 x x) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
#s(literal 2 binary64)
(*.f64 (*.f64 x (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(*.f64 x (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64)))
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64)))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x))
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(+.f64 x x)
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 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 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x)
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 x))
(hypot.f64 (neg.f64 x) (fabs.f64 x))
(hypot.f64 (neg.f64 x) x)
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 x))
(hypot.f64 (fabs.f64 x) (fabs.f64 x))
(hypot.f64 (fabs.f64 x) x)
(hypot.f64 x (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x x)
#s(approx (sqrt (* (* x x) 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (* x x) 2) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (sqrt (* x 2)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (* x 2)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (* x 2) (*.f64 #s(literal 2 binary64) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (sqrt (* (* x x) 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (* (* x x) 2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (sqrt (* x 2)) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))
#s(approx (sqrt (* (* x x) 2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))

eval7.0ms (0.6%)

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

Compiled 653 to 163 computations (75% saved)

prune4.0ms (0.3%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New81485
Fresh000
Picked404
Done000
Total85489
Accuracy
100.0%
Counts
89 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 #s(approx x x) x)
99.5%
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
99.4%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
54.9%
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
Compiler

Compiled 26 to 19 computations (26.9% saved)

series5.0ms (0.4%)

Memory
5.1MiB live, 5.1MiB allocated; 0ms collecting garbage
Counts
13 → 15
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
(*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64))
(*.f64 #s(approx x x) x)
#s(approx x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
(sqrt.f64 x)
(hypot.f64 #s(approx x x) x)
Outputs
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (* x x) 2) #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) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Calls

3 calls:

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

rewrite56.0ms (4.5%)

Memory
-33.1MiB live, 15.1MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056214
070191
0184179
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
28 → 73
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
(*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64))
(*.f64 #s(approx x x) x)
#s(approx x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
(sqrt.f64 x)
(hypot.f64 #s(approx x x) x)
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (* x x) 2) #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) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Outputs
(*.f64 (sqrt.f64 (*.f64 #s(approx x x) x)) (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 #s(approx x x) x)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 #s(approx x x) x)))
(*.f64 #s(literal 2 binary64) (*.f64 #s(approx x x) x))
(*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64))
(*.f64 #s(approx x x) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(approx x x) x)
(*.f64 x #s(approx x x))
#s(approx x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(*.f64 #s(approx x x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64)))
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64)))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x))
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(pow.f64 (fma.f64 x x (pow.f64 #s(approx x x) #s(literal 2 binary64))) #s(literal 1/2 binary64))
(sqrt.f64 (fma.f64 x x (pow.f64 #s(approx x x) #s(literal 2 binary64))))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 #s(approx x x)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 #s(approx x x)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) #s(approx x x))
(hypot.f64 (neg.f64 #s(approx x x)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 #s(approx x x)) (neg.f64 x))
(hypot.f64 (neg.f64 #s(approx x x)) (fabs.f64 x))
(hypot.f64 (neg.f64 #s(approx x x)) x)
(hypot.f64 (neg.f64 x) (neg.f64 #s(approx x x)))
(hypot.f64 (neg.f64 x) (fabs.f64 #s(approx x x)))
(hypot.f64 (neg.f64 x) #s(approx x x))
(hypot.f64 (fabs.f64 #s(approx x x)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 #s(approx x x)) (neg.f64 x))
(hypot.f64 (fabs.f64 #s(approx x x)) (fabs.f64 x))
(hypot.f64 (fabs.f64 #s(approx x x)) x)
(hypot.f64 (fabs.f64 x) (neg.f64 #s(approx x x)))
(hypot.f64 (fabs.f64 x) (fabs.f64 #s(approx x x)))
(hypot.f64 (fabs.f64 x) #s(approx x x))
(hypot.f64 #s(approx x x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 #s(approx x x) (neg.f64 x))
(hypot.f64 #s(approx x x) (fabs.f64 x))
(hypot.f64 #s(approx x x) x)
(hypot.f64 x (neg.f64 #s(approx x x)))
(hypot.f64 x (fabs.f64 #s(approx x x)))
(hypot.f64 x #s(approx x x))
#s(approx (sqrt (* (* x x) 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (* x x) 2) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (+ x x)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (sqrt (* (* x x) 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (* (* x x) 2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (sqrt (+ x x)) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))
#s(approx (sqrt (* (* x x) 2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))

eval7.0ms (0.5%)

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

Compiled 647 to 138 computations (78.7% saved)

prune4.0ms (0.3%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New76480
Fresh000
Picked404
Done000
Total80484
Accuracy
100.0%
Counts
84 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 #s(approx x x) x)
99.5%
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
99.4%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
54.9%
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
Compiler

Compiled 26 to 19 computations (26.9% saved)

series5.0ms (0.4%)

Memory
4.8MiB live, 4.8MiB allocated; 0ms collecting garbage
Counts
13 → 15
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
(*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64))
(*.f64 #s(approx x x) x)
#s(approx x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
(sqrt.f64 x)
(hypot.f64 #s(approx x x) x)
Outputs
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (* x x) 2) #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) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Calls

3 calls:

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

rewrite25.0ms (2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
056214
070191
0184179
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
28 → 73
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
(*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64))
(*.f64 #s(approx x x) x)
#s(approx x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
(sqrt.f64 x)
(hypot.f64 #s(approx x x) x)
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (* x x) 2) #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) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Outputs
(*.f64 (sqrt.f64 (*.f64 #s(approx x x) x)) (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 #s(approx x x) x)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 #s(approx x x) x)))
(*.f64 #s(literal 2 binary64) (*.f64 #s(approx x x) x))
(*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64))
(*.f64 #s(approx x x) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(approx x x) x)
(*.f64 x #s(approx x x))
#s(approx x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(*.f64 #s(approx x x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64)))
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64)))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x))
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(pow.f64 (fma.f64 x x (pow.f64 #s(approx x x) #s(literal 2 binary64))) #s(literal 1/2 binary64))
(sqrt.f64 (fma.f64 x x (pow.f64 #s(approx x x) #s(literal 2 binary64))))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 #s(approx x x)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 #s(approx x x)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) #s(approx x x))
(hypot.f64 (neg.f64 #s(approx x x)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 #s(approx x x)) (neg.f64 x))
(hypot.f64 (neg.f64 #s(approx x x)) (fabs.f64 x))
(hypot.f64 (neg.f64 #s(approx x x)) x)
(hypot.f64 (neg.f64 x) (neg.f64 #s(approx x x)))
(hypot.f64 (neg.f64 x) (fabs.f64 #s(approx x x)))
(hypot.f64 (neg.f64 x) #s(approx x x))
(hypot.f64 (fabs.f64 #s(approx x x)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 #s(approx x x)) (neg.f64 x))
(hypot.f64 (fabs.f64 #s(approx x x)) (fabs.f64 x))
(hypot.f64 (fabs.f64 #s(approx x x)) x)
(hypot.f64 (fabs.f64 x) (neg.f64 #s(approx x x)))
(hypot.f64 (fabs.f64 x) (fabs.f64 #s(approx x x)))
(hypot.f64 (fabs.f64 x) #s(approx x x))
(hypot.f64 #s(approx x x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 #s(approx x x) (neg.f64 x))
(hypot.f64 #s(approx x x) (fabs.f64 x))
(hypot.f64 #s(approx x x) x)
(hypot.f64 x (neg.f64 #s(approx x x)))
(hypot.f64 x (fabs.f64 #s(approx x x)))
(hypot.f64 x #s(approx x x))
#s(approx (sqrt (* (* x x) 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (* x x) 2) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (+ x x)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (sqrt (* (* x x) 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (* (* x x) 2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (sqrt (+ x x)) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))
#s(approx (sqrt (* (* x x) 2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))

eval7.0ms (0.5%)

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

Compiled 647 to 138 computations (78.7% saved)

prune10.0ms (0.8%)

Memory
-33.0MiB live, 12.6MiB allocated; 3ms collecting garbage
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New76480
Fresh000
Picked404
Done000
Total80484
Accuracy
100.0%
Counts
84 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 #s(approx x x) x)
99.5%
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
99.4%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
54.9%
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
Compiler

Compiled 130 to 42 computations (67.7% saved)

regimes17.0ms (1.4%)

Memory
24.9MiB live, 24.9MiB allocated; 0ms collecting garbage
Counts
17 → 1
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
(hypot.f64 x x)
(hypot.f64 #s(approx x x) x)
(hypot.f64 #s(approx x x) x)
(hypot.f64 #s(approx x x) x)
Outputs
(hypot.f64 x x)
Calls

4 calls:

4.0ms
x
4.0ms
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
4.0ms
(*.f64 #s(literal 2 binary64) (*.f64 x x))
4.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)

regimes16.0ms (1.3%)

Memory
-20.7MiB live, 24.1MiB allocated; 4ms collecting garbage
Counts
13 → 1
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(approx x x))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
(sqrt.f64 (*.f64 (*.f64 #s(approx x x) x) #s(literal 2 binary64)))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
Outputs
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
Calls

4 calls:

6.0ms
(*.f64 #s(literal 2 binary64) (*.f64 x x))
4.0ms
x
3.0ms
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
3.0ms
(*.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)

regimes10.0ms (0.8%)

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

Total -28.6b remaining (-7184.4%)

Threshold costs -28.6b (-7184.4%)

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

4 calls:

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

Compiled 15 to 12 computations (20% saved)

derivations6.0ms (0.5%)

Memory
5.3MiB live, 5.3MiB allocated; 0ms collecting garbage
Stop Event
fuel
Compiler

Compiled 14 to 9 computations (35.7% saved)

preprocess110.0ms (8.7%)

Memory
-38.4MiB live, 25.1MiB allocated; 135ms collecting garbage
Compiler

Compiled 68 to 50 computations (26.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...