sqrt A (should all be same)

Time bar (total: 1.9s)

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
100%100%0%0%0%0%0%1
Compiler

Compiled 10 to 4 computations (60% saved)

sample867.0ms (46.1%)

Memory
39.5MiB live, 582.2MiB allocated; 930ms collecting garbage
Samples
683.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 532.0ms
ival-hypot: 527.0ms (99% of total)
ival-assert: 3.0ms (0.6% of total)
adjust: 2.0ms (0.4% of total)
Bogosity

explain67.0ms (3.5%)

Memory
35.0MiB live, 84.9MiB allocated; 8ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1290-3(-1.0351157896225813e-157)(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
00-0-(+.f64 (*.f64 x x) (*.f64 x x))
00-0-(*.f64 x x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))uflow-rescue640
(+.f64 (*.f64 x x) (*.f64 x x))underflow64
(*.f64 x x)underflow128
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))oflow-rescue620
(+.f64 (*.f64 x x) (*.f64 x x))overflow62
(*.f64 x x)overflow124
Confusion
Predicted +Predicted -
+1263
-0127
Precision
1.0
Recall
0.9767441860465116
Confusion?
Predicted +Predicted MaybePredicted -
+12603
-00127
Precision?
1.0
Recall?
0.9767441860465116
Freqs
test
numberfreq
0130
1126
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
28.0ms512×0valid
Compiler

Compiled 50 to 16 computations (68% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-hypot: 8.0ms (44.6% of total)
ival-add: 5.0ms (27.9% of total)
ival-mult: 4.0ms (22.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess333.0ms (17.7%)

Memory
-9.8MiB live, 237.2MiB allocated; 107ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
12919
28419
314419
429819
566319
6154219
7351819
048
076
1176
2546
31356
42646
56126
614306
753046
080683
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(hypot.f64 x x)
Symmetry

(abs x)

Compiler

Compiled 8 to 4 computations (50% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.8%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Compiler

Compiled 8 to 4 computations (50% saved)

series39.0ms (2.1%)

Memory
-31.5MiB live, 12.5MiB allocated; 7ms collecting garbage
Counts
4 → 5
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(+.f64 (*.f64 x x) (*.f64 x x))
(*.f64 x x)
x
Outputs
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (+ (* x x) (* 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 (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Calls

3 calls:

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

rewrite69.0ms (3.7%)

Memory
14.0MiB live, 57.3MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01970
02359
16035
035235
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
9 → 35
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(+.f64 (*.f64 x x) (*.f64 x x))
(*.f64 x x)
x
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (+ (* x x) (* 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 (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Outputs
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))))
(sqrt.f64 #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(literal 2 binary64)
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.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 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(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 (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))

eval6.0ms (0.3%)

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

Compiled 546 to 150 computations (72.5% saved)

prune4.0ms (0.2%)

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New53558
Fresh000
Picked011
Done000
Total53659
Accuracy
99.9%
Counts
59 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.4%
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)))
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
53.8%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
50.9%
(sqrt.f64 (+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))))
5.4%
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))
99.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
Compiler

Compiled 106 to 74 computations (30.2% saved)

series127.0ms (6.7%)

Memory
-16.1MiB live, 81.4MiB allocated; 22ms collecting garbage
Counts
21 → 29
Calls
Call 1
Inputs
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)))
(pow.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(sqrt.f64 x)
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(sqrt.f64 (+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))))
(+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
(*.f64 x x)
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(*.f64 (log.f64 x) #s(literal 2 binary64))
(log.f64 x)
Outputs
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x)))
#s(approx x #s(hole binary64 x))
#s(approx (pow (* 2 x) 1/2) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt x) (sqrt (* 2 x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (sqrt (+ (* x x) (exp (* (log x) 2)))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (+ (* x x) (exp (* (log x) 2))) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (exp (* (log x) 2)) #s(hole binary64 (pow x 2)))
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (log x))))
#s(approx (log x) #s(hole binary64 (log x)))
#s(approx (* (log x) 2) #s(hole binary64 (* -2 (log (/ 1 x)))))
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (pow (* 2 x) 1/2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt x) (sqrt (* 2 x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (+ (* x x) (exp (* (log x) 2)))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (+ (log -1) (* -1 (log (/ -1 x)))))))
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x))))))
Calls

3 calls:

TimeVariablePointExpression
66.0ms
x
@0
((* (pow x 1/2) (pow (* 2 x) 1/2)) (pow x 1/2) x 1/2 (pow (* 2 x) 1/2) (* 2 x) 2 (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt 2) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (sqrt (+ (* x x) (exp (* (log x) 2)))) (+ (* x x) (exp (* (log x) 2))) (* x x) (exp (* (log x) 2)) (* (log x) 2) (log x))
52.0ms
x
@-inf
((* (pow x 1/2) (pow (* 2 x) 1/2)) (pow x 1/2) x 1/2 (pow (* 2 x) 1/2) (* 2 x) 2 (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt 2) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (sqrt (+ (* x x) (exp (* (log x) 2)))) (+ (* x x) (exp (* (log x) 2))) (* x x) (exp (* (log x) 2)) (* (log x) 2) (log x))
8.0ms
x
@inf
((* (pow x 1/2) (pow (* 2 x) 1/2)) (pow x 1/2) x 1/2 (pow (* 2 x) 1/2) (* 2 x) 2 (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt 2) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (sqrt (+ (* x x) (exp (* (log x) 2)))) (+ (* x x) (exp (* (log x) 2))) (* x x) (exp (* (log x) 2)) (* (log x) 2) (log x))

rewrite34.0ms (1.8%)

Memory
-1.9MiB live, 43.1MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
096442
0118353
0263317
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
50 → 190
Calls
Call 1
Inputs
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)))
(pow.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(sqrt.f64 x)
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(sqrt.f64 (+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))))
(+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
(*.f64 x x)
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(*.f64 (log.f64 x) #s(literal 2 binary64))
(log.f64 x)
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x)))
#s(approx x #s(hole binary64 x))
#s(approx (pow (* 2 x) 1/2) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt x) (sqrt (* 2 x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (sqrt (+ (* x x) (exp (* (log x) 2)))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (+ (* x x) (exp (* (log x) 2))) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (exp (* (log x) 2)) #s(hole binary64 (pow x 2)))
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (log x))))
#s(approx (log x) #s(hole binary64 (log x)))
#s(approx (* (log x) 2) #s(hole binary64 (* -2 (log (/ 1 x)))))
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (pow (* 2 x) 1/2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt x) (sqrt (* 2 x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (+ (* x x) (exp (* (log x) 2)))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (+ (log -1) (* -1 (log (/ -1 x)))))))
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x))))))
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)))
(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)) (exp.f64 (log.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) (exp.f64 (log.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) (exp.f64 (log.f64 x)))
(hypot.f64 (fabs.f64 x) x)
(hypot.f64 (exp.f64 (log.f64 x)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 x))
(hypot.f64 (exp.f64 (log.f64 x)) (fabs.f64 x))
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(hypot.f64 (exp.f64 (log.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 (exp.f64 (log.f64 x)))
(hypot.f64 x x)
(*.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)))
x
#s(literal 1/2 binary64)
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 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 (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))
(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)
#s(literal 2 binary64)
(pow.f64 #s(approx (+ (* x x) (exp (* (log x) 2))) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ (* x x) (exp (* (log x) 2))) #s(literal 2 binary64)))
#s(approx (+ (* x x) (exp (* (log x) 2))) #s(literal 2 binary64))
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (*.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))
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(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)) (exp.f64 (log.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) (exp.f64 (log.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) (exp.f64 (log.f64 x)))
(hypot.f64 (fabs.f64 x) x)
(hypot.f64 (exp.f64 (log.f64 x)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 x))
(hypot.f64 (exp.f64 (log.f64 x)) (fabs.f64 x))
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(hypot.f64 (exp.f64 (log.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 (exp.f64 (log.f64 x)))
(hypot.f64 x x)
(*.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)))
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 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 (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))
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/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)))
(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)) (exp.f64 (log.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) (exp.f64 (log.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) (exp.f64 (log.f64 x)))
(hypot.f64 (fabs.f64 x) x)
(hypot.f64 (exp.f64 (log.f64 x)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 x))
(hypot.f64 (exp.f64 (log.f64 x)) (fabs.f64 x))
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(hypot.f64 (exp.f64 (log.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 (exp.f64 (log.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 (exp.f64 (log.f64 x)) (exp.f64 (log.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 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(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))))
(*.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 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(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))))
(*.f64 (log.f64 x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (log.f64 x))
(+.f64 (log.f64 x) (log.f64 x))
(log.f64 (*.f64 x x))
(log.f64 x)
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx x x)
#s(approx (pow (* 2 x) 1/2) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x))
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (+ (* x x) (exp (* (log x) 2))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (pow (* 2 x) 1/2) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (+ (* x x) (exp (* (log x) 2))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (exp (* (log x) 2)) (*.f64 x x))
#s(approx (exp (* (log x) 2)) (*.f64 x x))
#s(approx (* (log x) 2) (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (log x) (log.f64 x))
#s(approx (* (log x) 2) (*.f64 (neg.f64 (log.f64 x)) #s(literal -2 binary64)))
#s(approx (log x) (neg.f64 (neg.f64 (log.f64 x))))
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))
#s(approx (pow (* 2 x) 1/2) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))
#s(approx (pow (* 2 x) 1/2) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (* (log x) 2) (*.f64 (fma.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64) (log.f64 #s(literal -1 binary64))) #s(literal 2 binary64)))
#s(approx (log x) (fma.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64) (log.f64 #s(literal -1 binary64))))

eval11.0ms (0.6%)

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

Compiled 1 257 to 276 computations (78% saved)

prune6.0ms (0.3%)

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

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1184122
Fresh000
Picked325
Done101
Total1226128
Accuracy
100.0%
Counts
128 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.1%
(*.f64 (pow.f64 x #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))))
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
53.8%
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
5.4%
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))
99.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
Compiler

Compiled 54 to 35 computations (35.2% saved)

series85.0ms (4.5%)

Memory
-27.9MiB live, 65.0MiB allocated; 16ms collecting garbage
Counts
17 → 24
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 x) (sqrt.f64 (+.f64 x x)))
(sqrt.f64 x)
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
(*.f64 (pow.f64 x #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))))
(pow.f64 x #s(literal 1/2 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)))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 1/4 binary64)
(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 x) (sqrt (+ x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (pow x 1/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x)))
#s(approx (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (log x))))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (* -1 (log (/ 1 x))))))))
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (* (pow x 1/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -2) (* -1 (log (/ -1 x))))))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Calls

3 calls:

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

rewrite34.0ms (1.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
092375
0107258
0316258
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
41 → 177
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 x) (sqrt.f64 (+.f64 x x)))
(sqrt.f64 x)
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
(*.f64 (pow.f64 x #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))))
(pow.f64 x #s(literal 1/2 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)))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 1/4 binary64)
(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 x) (sqrt (+ x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (pow x 1/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x)))
#s(approx (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (log x))))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (* -1 (log (/ 1 x))))))))
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (* (pow x 1/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -2) (* -1 (log (/ -1 x))))))))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Outputs
(*.f64 (*.f64 (sqrt.f64 x) (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 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #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)))
(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 (sqrt.f64 x) (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 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #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)))
(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 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)))
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64)))
(*.f64 (neg.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (neg.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))))
(*.f64 (fabs.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 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 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64))
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #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)
(*.f64 (*.f64 (sqrt.f64 x) (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 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #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)))
(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 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)))
#s(literal 1/2 binary64)
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64)))
(*.f64 (neg.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (neg.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))))
(*.f64 (fabs.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 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 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64))
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #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 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/8 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/8 binary64)))
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64)))
(pow.f64 (exp.f64 #s(literal 1/4 binary64)) (log.f64 (*.f64 #s(literal 2 binary64) x)))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64))) (sinh.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64))))
(*.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)
#s(literal 1/4 binary64)
(*.f64 (*.f64 (sqrt.f64 x) (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 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #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)))
(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) (sqrt (+ x x))) (*.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 x) (sqrt (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt x) (sqrt.f64 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 (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (sqrt (+ x x)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (pow (* 2 x) 1/4) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x))
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (pow (* 2 x) 1/4) (pow.f64 (exp.f64 #s(literal 1/4 binary64)) (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 #s(literal 2 binary64)))))
#s(approx (* (sqrt x) (sqrt (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (* (sqrt x) (sqrt (+ x x))) (neg.f64 (*.f64 (sqrt.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)) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (* (sqrt x) (sqrt (+ x x))) (neg.f64 (*.f64 (sqrt.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)) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (pow (* 2 x) 1/4) (pow.f64 (exp.f64 #s(literal 1/4 binary64)) (fma.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64) (log.f64 #s(literal -2 binary64)))))
#s(approx (* (sqrt x) (sqrt (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))

eval15.0ms (0.8%)

Memory
-23.5MiB live, 22.3MiB allocated; 3ms collecting garbage
Compiler

Compiled 1 256 to 250 computations (80.1% saved)

prune5.0ms (0.2%)

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

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New1092111
Fresh000
Picked134
Done022
Total1107117
Accuracy
100.0%
Counts
117 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.1%
(*.f64 (sqrt.f64 x) (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64)))
99.1%
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))))
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
53.8%
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
5.4%
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))
99.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
Compiler

Compiled 57 to 40 computations (29.8% saved)

series27.0ms (1.4%)

Memory
1.5MiB live, 48.5MiB allocated; 2ms collecting garbage
Counts
11 → 15
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))))
(sqrt.f64 x)
x
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 (sqrt.f64 x) (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64)))
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 1/4 binary64)
Outputs
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (pow (* 2 x) 1/4) 2) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (log x))))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (* -1 (log (/ 1 x))))))))
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) #s(hole binary64 (* -1 (* x (* (pow (sqrt -1) 2) (sqrt 2))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* -1 (* (sqrt x) (* (pow (sqrt -1) 2) (sqrt 2))))))
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (pow (pow (* 2 x) 1/4) 2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -2) (* -1 (log (/ -1 x))))))))
Calls

3 calls:

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

rewrite28.0ms (1.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
071250
082201
0263201
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
26 → 47
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))))
(sqrt.f64 x)
x
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 (sqrt.f64 x) (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64)))
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 1/4 binary64)
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (pow (* 2 x) 1/4) 2) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (log x))))))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (* -1 (log (/ 1 x))))))))
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) #s(hole binary64 (* -1 (* x (* (pow (sqrt -1) 2) (sqrt 2))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* -1 (* (sqrt x) (* (pow (sqrt -1) 2) (sqrt 2))))))
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (pow (pow (* 2 x) 1/4) 2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -2) (* -1 (log (/ -1 x))))))))
Outputs
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)) (sqrt.f64 #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)))
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 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)))
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64)))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64)))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 1 binary64)) (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 1 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)))
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))
(exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) #s(literal 2 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/8 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/8 binary64)))
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64)))
(pow.f64 (exp.f64 #s(literal 1/4 binary64)) (log.f64 (*.f64 #s(literal 2 binary64) x)))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64))) (sinh.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64))))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(+.f64 x x)
#s(literal 1/4 binary64)
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx x x)
#s(approx (* (sqrt x) (sqrt 2)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (pow (pow (* 2 x) 1/4) 2) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (pow (* 2 x) 1/4) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x))
#s(approx (pow (* 2 x) 1/4) (pow.f64 (exp.f64 #s(literal 1/4 binary64)) (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 #s(literal 2 binary64)))))
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) (neg.f64 (*.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64))) x)))
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x))))
#s(approx (* (sqrt x) (sqrt 2)) (neg.f64 (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))))
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (pow (pow (* 2 x) 1/4) 2) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (pow (* 2 x) 1/4) (pow.f64 (exp.f64 #s(literal 1/4 binary64)) (fma.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64) (log.f64 #s(literal -2 binary64)))))

eval10.0ms (0.5%)

Memory
-35.1MiB live, 10.7MiB allocated; 4ms collecting garbage
Compiler

Compiled 729 to 159 computations (78.2% saved)

prune5.0ms (0.3%)

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

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New62163
Fresh000
Picked112
Done055
Total63770
Accuracy
100.0%
Counts
70 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.1%
(*.f64 (sqrt.f64 x) (pow.f64 (pow.f64 (+.f64 x x) #s(literal 1/4 binary64)) #s(literal 2 binary64)))
99.1%
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))))
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
53.8%
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
5.4%
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))
99.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
Compiler

Compiled 173 to 83 computations (52% saved)

regimes15.0ms (0.8%)

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

4 calls:

4.0ms
x
3.0ms
(+.f64 (*.f64 x x) (*.f64 x x))
3.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
3.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%1(*.f64 x x)
100.0%1(+.f64 (*.f64 x x) (*.f64 x x))
100.0%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
100.0%1x
Compiler

Compiled 19 to 10 computations (47.4% saved)

regimes14.0ms (0.7%)

Memory
-33.5MiB live, 14.6MiB allocated; 10ms collecting garbage
Counts
7 → 1
Calls
Call 1
Inputs
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))))
Outputs
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
Calls

4 calls:

7.0ms
x
2.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
2.0ms
(+.f64 (*.f64 x x) (*.f64 x x))
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
99.4%1(*.f64 x x)
99.4%1(+.f64 (*.f64 x x) (*.f64 x x))
99.4%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
99.4%1x
Compiler

Compiled 19 to 10 computations (47.4% saved)

regimes7.0ms (0.4%)

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

4 calls:

2.0ms
x
2.0ms
(+.f64 (*.f64 x x) (*.f64 x x))
2.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
99.3%1(*.f64 x x)
99.3%1(+.f64 (*.f64 x x) (*.f64 x x))
99.3%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
99.3%1x
Compiler

Compiled 19 to 10 computations (47.4% saved)

regimes4.0ms (0.2%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

4 calls:

1.0ms
x
1.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
1.0ms
(+.f64 (*.f64 x x) (*.f64 x x))
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
5.4%1(*.f64 x x)
5.4%1(+.f64 (*.f64 x x) (*.f64 x x))
5.4%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
5.4%1x
Compiler

Compiled 19 to 10 computations (47.4% saved)

simplify42.0ms (2.2%)

Memory
-22.9MiB live, 24.1MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01529
12629
26429
315629
434529
5158629
6516329
Stop Event
node limit
Calls
Call 1
Inputs
(hypot.f64 x x)
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))
Outputs
(hypot.f64 x x)
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))

derivations9.0ms (0.5%)

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

Compiled 33 to 15 computations (54.5% saved)

preprocess17.0ms (0.9%)

Memory
26.5MiB live, 26.5MiB allocated; 0ms collecting garbage
Remove

(abs x)

Compiler

Compiled 88 to 42 computations (52.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...