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.4MiB live, 0.4MiB 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)

sample552.0ms (46.7%)

Memory
5.3MiB live, 563.7MiB allocated; 77ms collecting garbage
Samples
381.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 162.0ms
ival-mult!: 90.0ms (55.5% of total)
ival-sqrt: 70.0ms (43.2% of total)
adjust: 1.0ms (0.6% of total)
Bogosity

explain98.0ms (8.3%)

Memory
-12.8MiB live, 97.1MiB allocated; 32ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1270-3(-8.761771551715136e-159)(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)))uflow-rescue640
(*.f64 #s(literal 2 binary64) (*.f64 x x))underflow64
(*.f64 x x)underflow64
sqrt.f64(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))oflow-rescue600
(*.f64 #s(literal 2 binary64) (*.f64 x x))overflow60
(*.f64 x x)overflow60
Confusion
Predicted +Predicted -
+1243
-0129
Precision
1.0
Recall
0.9763779527559056
Confusion?
Predicted +Predicted MaybePredicted -
+12403
-00129
Precision?
1.0
Recall?
0.9763779527559056
Freqs
test
numberfreq
0132
1124
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
50.0ms512×0valid
Compiler

Compiled 42 to 19 computations (54.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 40.0ms
ival-sqrt: 34.0ms (85.6% of total)
ival-mult!: 5.0ms (12.6% of total)
adjust: 0.0ms (0% of total)

preprocess80.0ms (6.7%)

Memory
-23.4MiB live, 22.2MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
12819
29019
318519
457819
5131419
6497519
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
54.0%
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
Symmetry

(abs x)

Compiler

Compiled 12 to 10 computations (16.7% saved)

series4.0ms (0.3%)

Memory
12.5MiB live, 12.5MiB 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.3%)

Memory
-5.3MiB live, 40.9MiB 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 (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)))

eval6.0ms (0.5%)

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

Compiled 563 to 158 computations (71.9% saved)

prune4.0ms (0.3%)

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New63467
Fresh000
Picked011
Done000
Total63568
Accuracy
100.0%
Counts
68 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
53.8%
(*.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)))
99.5%
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
99.3%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
54.0%
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
Compiler

Compiled 35 to 24 computations (31.4% saved)

series103.0ms (8.7%)

Memory
6.3MiB live, 56.4MiB allocated; 8ms collecting garbage
Counts
14 → 17
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
x
(*.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)
(*.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)))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
#s(literal 1/4 binary64)
(hypot.f64 x x)
Outputs
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2))))
#s(approx x #s(hole binary64 x))
#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 (* (pow (* (* x x) 2) 1/4) (pow (* (* x x) 2) 1/4)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (* (* x x) 2) 1/4) #s(hole binary64 (* (pow 2 1/4) (sqrt x))))
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* 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 (* (pow (* (* x x) 2) 1/4) (pow (* (* x x) 2) 1/4)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (pow (* (* x x) 2) 1/4) #s(hole binary64 (* -1 (* (pow 2 1/4) (* (sqrt x) (sqrt -1))))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Calls

3 calls:

TimeVariablePointExpression
85.0ms
x
@0
((* (sqrt 2) x) (sqrt 2) 2 x (* (sqrt (* x 2)) (sqrt x)) (sqrt (* x 2)) (* x 2) (sqrt x) (* (pow (* (* x x) 2) 1/4) (pow (* (* x x) 2) 1/4)) (pow (* (* x x) 2) 1/4) (* (* x x) 2) (* x x) 1/4 (sqrt (+ (* x x) (* x x))))
9.0ms
x
@-inf
((* (sqrt 2) x) (sqrt 2) 2 x (* (sqrt (* x 2)) (sqrt x)) (sqrt (* x 2)) (* x 2) (sqrt x) (* (pow (* (* x x) 2) 1/4) (pow (* (* x x) 2) 1/4)) (pow (* (* x x) 2) 1/4) (* (* x x) 2) (* x x) 1/4 (sqrt (+ (* x x) (* x x))))
8.0ms
x
@inf
((* (sqrt 2) x) (sqrt 2) 2 x (* (sqrt (* x 2)) (sqrt x)) (sqrt (* x 2)) (* x 2) (sqrt x) (* (pow (* (* x x) 2) 1/4) (pow (* (* x x) 2) 1/4)) (pow (* (* x x) 2) 1/4) (* (* x x) 2) (* x x) 1/4 (sqrt (+ (* x x) (* x x))))

rewrite40.0ms (3.4%)

Memory
-17.5MiB live, 26.6MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066259
078202
0190202
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
31 → 107
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
x
(*.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)
(*.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)))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
#s(literal 1/4 binary64)
(hypot.f64 x x)
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2))))
#s(approx x #s(hole binary64 x))
#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 (* (pow (* (* x x) 2) 1/4) (pow (* (* x x) 2) 1/4)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (* (* x x) 2) 1/4) #s(hole binary64 (* (pow 2 1/4) (sqrt x))))
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* 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 (* (pow (* (* x x) 2) 1/4) (pow (* (* x x) 2) 1/4)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (pow (* (* x x) 2) 1/4) #s(hole binary64 (* -1 (* (pow 2 1/4) (* (sqrt x) (sqrt -1))))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Outputs
(*.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))
#s(literal 2 binary64)
x
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x #s(literal 2 binary64))))
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
(sqrt.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) 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 x #s(literal 2 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
(+.f64 x x)
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(*.f64 (neg.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))))
(*.f64 (fabs.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))))
(*.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)))
(pow.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/4 binary64))
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #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 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/4 binary64)))
(*.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 (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)))
#s(literal 1/4 binary64)
(*.f64 (neg.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))))
(*.f64 (fabs.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))))
(*.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)))
(pow.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/4 binary64))
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #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 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx x x)
#s(approx (* (sqrt (* x 2)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (* x 2)) (sqrt.f64 (*.f64 x #s(literal 2 binary64))))
#s(approx (* x 2) (*.f64 x #s(literal 2 binary64)))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (pow (* (* x x) 2) 1/4) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (sqrt.f64 x)))
#s(approx (* (* x x) 2) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (sqrt (+ (* x x) (* x x))) (*.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 x #s(literal 2 binary64)))))
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))
#s(approx (sqrt (+ (* x x) (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (pow (* (* x x) 2) 1/4) (neg.f64 (*.f64 (sqrt.f64 (*.f64 x #s(literal -1 binary64))) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))))
#s(approx (sqrt (+ (* x x) (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))

eval10.0ms (0.8%)

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

Compiled 1 653 to 238 computations (85.6% saved)

prune11.0ms (0.9%)

Memory
-24.8MiB live, 17.3MiB allocated; 7ms collecting garbage
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1225127
Fresh000
Picked224
Done011
Total1248132
Accuracy
100.0%
Counts
132 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.8%
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 2 binary64))
100.0%
(hypot.f64 x x)
53.7%
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))))
99.1%
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) (sqrt.f64 x))
99.5%
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
99.3%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
54.0%
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
2.2%
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
Compiler

Compiled 133 to 89 computations (33.1% saved)

series66.0ms (5.6%)

Memory
25.7MiB live, 127.6MiB allocated; 14ms collecting garbage
Counts
21 → 28
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
x
(sqrt.f64 x)
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
#s(literal 1/4 binary64)
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))))
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))
#s(literal 1/8 binary64)
Outputs
#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 x #s(hole binary64 x))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (neg (* (sqrt 2) x)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (* (sqrt x) (sqrt 2)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (pow (pow (* (* x x) 2) 1/4) 2) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (* (* x x) 2) 1/4) #s(hole binary64 (* (pow 2 1/4) (sqrt x))))
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) #s(hole binary64 (* (pow 2 1/4) (sqrt x))))
#s(approx (pow (* (* x x) 2) 1/8) #s(hole binary64 (* (pow (* 1 x) 1/4) (pow 2 1/8))))
#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 2)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (* (* (sqrt x) (sqrt 2)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (pow (sqrt -1) 2) (sqrt 2))))))
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* -1 (* (sqrt x) (* (pow (sqrt -1) 2) (sqrt 2))))))
#s(approx (pow (pow (* (* x x) 2) 1/4) 2) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (pow (* (* x x) 2) 1/4) #s(hole binary64 (* -1 (* (pow 2 1/4) (* (sqrt x) (sqrt -1))))))
#s(approx (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) #s(hole binary64 (* -1 (* (pow 2 1/4) (* (sqrt x) (sqrt -1))))))
#s(approx (pow (* (* x x) 2) 1/8) #s(hole binary64 (* (pow (* -1 x) 1/4) (pow 2 1/8))))
Calls

3 calls:

TimeVariablePointExpression
28.0ms
x
@0
((* (sqrt (+ x x)) (sqrt x)) (sqrt (+ x x)) (+ x x) x (sqrt x) (* (sqrt (* x 2)) (sqrt x)) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 (* (* (sqrt x) (sqrt 2)) (sqrt x)) (* (sqrt x) (sqrt 2)) (pow (pow (* (* x x) 2) 1/4) 2) (pow (* (* x x) 2) 1/4) (* (* x x) 2) (* x x) 1/4 (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) (pow (* (* x x) 2) 1/8) 1/8)
23.0ms
x
@-inf
((* (sqrt (+ x x)) (sqrt x)) (sqrt (+ x x)) (+ x x) x (sqrt x) (* (sqrt (* x 2)) (sqrt x)) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 (* (* (sqrt x) (sqrt 2)) (sqrt x)) (* (sqrt x) (sqrt 2)) (pow (pow (* (* x x) 2) 1/4) 2) (pow (* (* x x) 2) 1/4) (* (* x x) 2) (* x x) 1/4 (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) (pow (* (* x x) 2) 1/8) 1/8)
15.0ms
x
@inf
((* (sqrt (+ x x)) (sqrt x)) (sqrt (+ x x)) (+ x x) x (sqrt x) (* (sqrt (* x 2)) (sqrt x)) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 (* (* (sqrt x) (sqrt 2)) (sqrt x)) (* (sqrt x) (sqrt 2)) (pow (pow (* (* x x) 2) 1/4) 2) (pow (* (* x x) 2) 1/4) (* (* x x) 2) (* x x) 1/4 (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) (pow (* (* x x) 2) 1/8) 1/8)

rewrite34.0ms (2.9%)

Memory
1.7MiB live, 47.1MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0103541
0134406
0314406
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
49 → 117
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
x
(sqrt.f64 x)
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
#s(literal 1/4 binary64)
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))))
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))
#s(literal 1/8 binary64)
#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 x #s(hole binary64 x))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (neg (* (sqrt 2) x)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (* (sqrt x) (sqrt 2)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (pow (pow (* (* x x) 2) 1/4) 2) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (* (* x x) 2) 1/4) #s(hole binary64 (* (pow 2 1/4) (sqrt x))))
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) #s(hole binary64 (* (pow 2 1/4) (sqrt x))))
#s(approx (pow (* (* x x) 2) 1/8) #s(hole binary64 (* (pow (* 1 x) 1/4) (pow 2 1/8))))
#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 2)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (* (* (sqrt x) (sqrt 2)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (pow (sqrt -1) 2) (sqrt 2))))))
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* -1 (* (sqrt x) (* (pow (sqrt -1) 2) (sqrt 2))))))
#s(approx (pow (pow (* (* x x) 2) 1/4) 2) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (pow (* (* x x) 2) 1/4) #s(hole binary64 (* -1 (* (pow 2 1/4) (* (sqrt x) (sqrt -1))))))
#s(approx (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) #s(hole binary64 (* -1 (* (pow 2 1/4) (* (sqrt x) (sqrt -1))))))
#s(approx (pow (* (* x x) 2) 1/8) #s(hole binary64 (* (pow (* -1 x) 1/4) (pow 2 1/8))))
Outputs
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) 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 #s(literal 2 binary64)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(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)
x
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x)
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64))) x)
(*.f64 #s(literal -1 binary64) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) #s(literal -1 binary64))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))
(*.f64 x (*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64))))
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.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))
#s(literal 2 binary64)
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) 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 #s(literal 2 binary64)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 (*.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/8 binary64))) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)))
(*.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 1 binary64)) (pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 1 binary64)))
(*.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)))
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) #s(literal 2 binary64)))
(*.f64 (neg.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))) (neg.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))))
(*.f64 (fabs.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))) (fabs.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)))
(pow.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/8 binary64))
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/4 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 x (*.f64 #s(literal 2 binary64) x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x))
(fma.f64 x x (*.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 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(literal 1/4 binary64)
(*.f64 (*.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/8 binary64))) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)))
(*.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 1 binary64)) (pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 1 binary64)))
(*.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)))
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) #s(literal 2 binary64)))
(*.f64 (neg.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))) (neg.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))))
(*.f64 (fabs.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))) (fabs.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)))
(pow.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/8 binary64))
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/4 binary64)))
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/16 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/16 binary64)))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/8 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/8 binary64)))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/8 binary64)))
#s(literal 1/8 binary64)
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (sqrt x) (sqrt 2)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x))
#s(approx x x)
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (neg (* (sqrt 2) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#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) (sqrt 2)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (sqrt.f64 x)))
#s(approx (* (* x x) 2) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (sqrt.f64 x)))
#s(approx (pow (* (* x x) 2) 1/8) (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/8 binary64))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (sqrt x) (sqrt 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)) (sqrt x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (neg.f64 (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))))
#s(approx (* (sqrt x) (sqrt 2)) (neg.f64 (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))))
#s(approx (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) (neg.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))))
#s(approx (* (pow (* (* x x) 2) 1/4) (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (pow (* (* x x) 2) 1/8) (pow (* (* x x) 2) 1/8)) (neg.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))))
#s(approx (pow (* (* x x) 2) 1/8) (*.f64 (pow.f64 (neg.f64 x) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/8 binary64))))

eval54.0ms (4.5%)

Memory
-8.0MiB live, 36.8MiB allocated; 6ms collecting garbage
Compiler

Compiled 3 568 to 407 computations (88.6% saved)

prune10.0ms (0.8%)

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

8 alts after pruning (0 fresh and 8 done)

PrunedKeptTotal
New1960196
Fresh000
Picked055
Done033
Total1968204
Accuracy
100.0%
Counts
204 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.8%
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 2 binary64))
100.0%
(hypot.f64 x x)
53.7%
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))))
99.1%
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) (sqrt.f64 x))
99.5%
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
99.3%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
54.0%
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
2.2%
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
Compiler

Compiled 168 to 83 computations (50.6% saved)

regimes34.0ms (2.9%)

Memory
-31.2MiB live, 15.8MiB allocated; 2ms collecting garbage
Counts
10 → 1
Calls
Call 1
Inputs
(*.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)))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) (sqrt.f64 x))
(hypot.f64 x x)
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 2 binary64))
(*.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 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/8 binary64))))
Outputs
(hypot.f64 x x)
Calls

4 calls:

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

regimes8.0ms (0.7%)

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

4 calls:

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

regimes6.0ms (0.5%)

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

Total -62.1b remaining (-14330.1%)

Threshold costs -62.1b (-14330.1%)

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

Compiled 15 to 12 computations (20% saved)

derivations4.0ms (0.4%)

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

Compiled 14 to 9 computations (35.7% saved)

preprocess21.0ms (1.8%)

Memory
-18.5MiB live, 31.3MiB allocated; 9ms 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...