sqrt D (should all be same)

Time bar (total: 1.2s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.8MiB live, 0.8MiB 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 8 to 7 computations (12.5% saved)

sample707.0ms (60.9%)

Memory
17.8MiB live, 562.4MiB allocated; 176ms collecting garbage
Samples
472.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 239.0ms
ival-pow2: 112.0ms (46.9% of total)
ival-sqrt: 88.0ms (36.8% of total)
ival-mult!: 38.0ms (15.9% of total)
adjust: 1.0ms (0.4% of total)
Bogosity

explain59.0ms (5.1%)

Memory
14.5MiB live, 68.1MiB allocated; 7ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1300-2(-6.613816186352427e-162)(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))
00-0-(pow.f64 x #s(literal 2 binary64))
00-0-#s(literal 2 binary64)
00-0-(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))uflow-rescue790
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))underflow79
(pow.f64 x #s(literal 2 binary64))underflow79
sqrt.f64(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))oflow-rescue490
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))overflow49
(pow.f64 x #s(literal 2 binary64))overflow49
Confusion
Predicted +Predicted -
+1282
-0126
Precision
1.0
Recall
0.9846153846153847
Confusion?
Predicted +Predicted MaybePredicted -
+12802
-00126
Precision?
1.0
Recall?
0.9846153846153847
Freqs
test
numberfreq
0128
1128
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
27.0ms512×0valid
Compiler

Compiled 42 to 19 computations (54.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-pow2: 6.0ms (50.1% of total)
ival-sqrt: 3.0ms (25% of total)
ival-mult!: 2.0ms (16.7% of total)
adjust: 0.0ms (0% of total)

preprocess84.0ms (7.2%)

Memory
-42.2MiB live, 52.9MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01020
11819
25519
316719
440819
5130419
6510119
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.8%
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))
Symmetry

(abs x)

Compiler

Compiled 12 to 10 computations (16.7% saved)

series4.0ms (0.3%)

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

3 calls:

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

rewrite34.0ms (2.9%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01761
02160
14254
013849
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
10 → 46
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 2 binary64)
(pow.f64 x #s(literal 2 binary64))
x
#s(approx (sqrt (* 2 (pow x 2))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* 2 (pow x 2)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (pow x 2) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (* 2 (pow x 2))) #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 #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 x) (neg.f64 x))
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 x)))
(hypot.f64 (neg.f64 x) x)
(hypot.f64 (exp.f64 (log.f64 x)) (neg.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 (neg.f64 x))
(hypot.f64 x (exp.f64 (log.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) x) x)
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x (*.f64 x #s(literal 2 binary64)))
(*.f64 x (+.f64 x x))
(*.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 x) (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 (*.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 (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 x) (neg.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 (*.f64 x x) #s(literal 1 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))))
x
#s(approx (sqrt (* 2 (pow x 2))) (hypot.f64 x x))
#s(approx (* 2 (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (pow x 2) (*.f64 x x))
#s(approx x x)
#s(approx (sqrt (* 2 (pow x 2))) (neg.f64 (hypot.f64 x x)))

eval25.0ms (2.1%)

Memory
-37.1MiB live, 8.4MiB allocated; 6ms collecting garbage
Compiler

Compiled 382 to 109 computations (71.5% saved)

prune2.0ms (0.2%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New39443
Fresh000
Picked101
Done000
Total40444
Accuracy
100.0%
Counts
44 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
52.5%
(*.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.3%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
52.8%
(sqrt.f64 (*.f64 x (+.f64 x x)))
Compiler

Compiled 28 to 17 computations (39.3% saved)

series57.0ms (4.9%)

Memory
16.7MiB live, 63.5MiB allocated; 10ms collecting garbage
Counts
13 → 14
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 x (+.f64 x x)))
(*.f64 x (+.f64 x x))
x
(+.f64 x x)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 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)))
(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 (* x (+ x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx x #s(hole binary64 x))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2))))
#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 (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 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
25.0ms
x
@0
((sqrt (* x (+ x x))) (* x (+ x x)) x (+ x x) (* (sqrt 2) x) (sqrt 2) 2 (* (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))))
23.0ms
x
@inf
((sqrt (* x (+ x x))) (* x (+ x x)) x (+ x x) (* (sqrt 2) x) (sqrt 2) 2 (* (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 (* x (+ x x))) (* x (+ x x)) x (+ x x) (* (sqrt 2) x) (sqrt 2) 2 (* (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))))

rewrite28.0ms (2.5%)

Memory
-20.0MiB live, 25.8MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
051221
062171
0147171
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
27 → 132
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 x (+.f64 x x)))
(*.f64 x (+.f64 x x))
x
(+.f64 x x)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 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)))
(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 (* x (+ x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx x #s(hole binary64 x))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2))))
#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 (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 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 (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 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) 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 (*.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 (*.f64 x x) #s(literal 2 binary64))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(*.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))
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 (sqrt.f64 #s(literal 2 binary64)) x)
(*.f64 x (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 (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 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) 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 (*.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 (*.f64 #s(literal 2 binary64) x) x)
(*.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)))
#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 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) 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 (*.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 (* x (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* x (+ x x)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx x x)
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x))
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (* x (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (pow (* (* x x) 2) 1/4) (*.f64 (sqrt.f64 x) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))))
#s(approx (* x (+ x x)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (sqrt (* x (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (* x (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (sqrt (* 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))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))

eval9.0ms (0.8%)

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

Compiled 923 to 188 computations (79.6% saved)

prune4.0ms (0.3%)

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

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New74377
Fresh000
Picked134
Done000
Total75681
Accuracy
100.0%
Counts
81 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.5%
(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)
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
99.3%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
52.8%
(sqrt.f64 (*.f64 x (+.f64 x x)))
2.5%
#s(approx (sqrt (* x (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
Compiler

Compiled 41 to 32 computations (22% saved)

series28.0ms (2.4%)

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

3 calls:

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

rewrite27.0ms (2.3%)

Memory
-14.6MiB live, 31.9MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069273
084242
0200215
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
33 → 114
Calls
Call 1
Inputs
#s(approx (sqrt (* x (+ x 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)
x
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(sqrt.f64 x)
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(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)
#s(approx (sqrt (* x (+ x 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 x #s(hole binary64 x))
#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 (* 2 x) #s(hole binary64 (* 2 x)))
#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 (sqrt (* 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 (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))))))
Outputs
#s(approx (* (sqrt x) (sqrt (* 2 x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)))
(*.f64 (*.f64 #s(literal -1 binary64) x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (neg.f64 (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))
(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)
x
(*.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)))
(*.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 (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)
(exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) #s(literal 2 binary64)))
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
(*.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)))
(*.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 (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)
(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 (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 (*.f64 #s(literal 2 binary64) x) x)
(*.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 (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 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)
#s(approx (* (sqrt x) (sqrt (* 2 x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (neg (* (sqrt 2) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)))
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx x x)
#s(approx (* (sqrt x) (sqrt (* 2 x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (sqrt (* 2 x)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x))
#s(approx (* (sqrt x) (sqrt (* 2 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) (sqrt (* 2 x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)))
#s(approx (* (sqrt x) (sqrt (* 2 x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)))
#s(approx (sqrt x) (neg.f64 (*.f64 (sqrt.f64 x) #s(literal -1 binary64))))
#s(approx (sqrt (* 2 x)) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (* (sqrt x) (sqrt (* 2 x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 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)))))

eval7.0ms (0.6%)

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

Compiled 785 to 231 computations (70.6% saved)

prune9.0ms (0.8%)

Memory
-36.9MiB live, 11.8MiB allocated; 6ms collecting garbage
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New73174
Fresh000
Picked123
Done033
Total74680
Accuracy
100.0%
Counts
80 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.5%
(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)
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
99.3%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
52.8%
(sqrt.f64 (*.f64 x (+.f64 x x)))
2.5%
#s(approx (sqrt (* x (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
Compiler

Compiled 41 to 31 computations (24.4% saved)

series3.0ms (0.3%)

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

3 calls:

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

rewrite19.0ms (1.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03498
03981
09881
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
13 → 24
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(sqrt.f64 x)
x
(sqrt.f64 (+.f64 x x))
(+.f64 x 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 x #s(hole binary64 x))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (sqrt x) (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))))))
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 x (*.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)))
(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)
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx x 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))) (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))))

eval3.0ms (0.2%)

Memory
-42.9MiB live, 4.5MiB allocated; 3ms collecting garbage
Compiler

Compiled 232 to 75 computations (67.7% saved)

prune5.0ms (0.4%)

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

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New23023
Fresh000
Picked011
Done055
Total23629
Accuracy
100.0%
Counts
29 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.5%
(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)
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
99.3%
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
52.8%
(sqrt.f64 (*.f64 x (+.f64 x x)))
2.5%
#s(approx (sqrt (* x (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
Compiler

Compiled 110 to 59 computations (46.4% saved)

regimes11.0ms (1%)

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

4 calls:

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

Compiled 15 to 13 computations (13.3% saved)

regimes9.0ms (0.7%)

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

4 calls:

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

Compiled 15 to 13 computations (13.3% saved)

regimes6.0ms (0.5%)

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

Total -61.9b remaining (-13321.7%)

Threshold costs -61.9b (-13321.7%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
#s(approx (sqrt (* x (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
(sqrt.f64 (*.f64 x (+.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) (pow.f64 x #s(literal 2 binary64))))
1.0ms
(pow.f64 x #s(literal 2 binary64))
1.0ms
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
99.3%1(pow.f64 x #s(literal 2 binary64))
99.3%1(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))
99.3%1(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))
99.3%1x
Compiler

Compiled 15 to 13 computations (13.3% saved)

derivations5.0ms (0.4%)

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

Compiled 14 to 9 computations (35.7% saved)

preprocess17.0ms (1.4%)

Memory
-12.0MiB live, 35.1MiB allocated; 1ms 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...