sqrt A (should all be same)

Time bar (total: 1.3s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB 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)

sample605.0ms (46.6%)

Memory
-10.1MiB live, 754.8MiB allocated; 168ms collecting garbage
Samples
391.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 184.0ms
ival-hypot: 183.0ms (99.2% of total)
adjust: 2.0ms (1.1% of total)
Bogosity

explain74.0ms (5.7%)

Memory
0.8MiB live, 139.4MiB allocated; 22ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1260-1(-5.6736300344445806e-160)(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)))oflow-rescue650
(+.f64 (*.f64 x x) (*.f64 x x))overflow65
(*.f64 x x)overflow130
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))uflow-rescue600
(+.f64 (*.f64 x x) (*.f64 x x))underflow60
(*.f64 x x)underflow120
Confusion
Predicted +Predicted -
+1252
-0129
Precision
1.0
Recall
0.984251968503937
Confusion?
Predicted +Predicted MaybePredicted -
+12502
-00129
Precision?
1.0
Recall?
0.984251968503937
Freqs
test
numberfreq
0131
1125
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
32.0ms512×0valid
Compiler

Compiled 50 to 16 computations (68% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-hypot: 9.0ms (54.7% of total)
ival-mult!: 7.0ms (42.5% of total)
ival-add!: 1.0ms (6.1% of total)
adjust: 0.0ms (0% of total)

preprocess245.0ms (18.8%)

Memory
19.0MiB live, 210.6MiB allocated; 27ms 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.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 8 to 4 computations (50% saved)

series23.0ms (1.8%)

Memory
-20.5MiB live, 33.7MiB allocated; 4ms 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
21.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)

rewrite66.0ms (5.1%)

Memory
-6.8MiB live, 85.2MiB allocated; 10ms 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.4%)

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

Compiled 546 to 150 computations (72.5% saved)

prune3.0ms (0.2%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New55358
Fresh000
Picked011
Done000
Total55459
Accuracy
99.8%
Counts
59 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.5%
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
54.4%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
5.3%
(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 38 to 24 computations (36.8% saved)

series9.0ms (0.7%)

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

3 calls:

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

rewrite22.0ms (1.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
049187
058157
0137139
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
23 → 55
Calls
Call 1
Inputs
#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))
#s(literal 2 binary64)
x
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))
#s(approx (+ (* x x) (* x x)) #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))
(*.f64 #s(literal 2 binary64) x)
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2))))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 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 (* 2 x) #s(hole binary64 (* 2 x)))
#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))))))
Outputs
#s(approx (sqrt (+ (* x x) (* x x))) (*.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
(pow.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)))
#s(approx (+ (* x x) (* x x)) #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 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(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)
(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 x x)
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx x x)
#s(approx (+ (* x x) (* x x)) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
#s(approx (sqrt (+ (* x x) (* x 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 x) (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (sqrt (+ (* x x) (* 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 (* 2 x)) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))

eval12.0ms (0.9%)

Memory
-37.6MiB live, 13.9MiB allocated; 6ms collecting garbage
Compiler

Compiled 525 to 110 computations (79% saved)

prune3.0ms (0.3%)

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

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New55358
Fresh000
Picked123
Done101
Total57562
Accuracy
100.0%
Counts
62 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.5%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
54.4%
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
5.3%
(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 39 to 26 computations (33.3% saved)

series5.0ms (0.4%)

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

3 calls:

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

rewrite26.0ms (2%)

Memory
-0.7MiB live, 44.7MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
052176
061139
0148139
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
24 → 109
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
#s(literal 2 binary64)
(*.f64 x x)
x
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(sqrt.f64 x)
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
(hypot.f64 x x)
#s(approx (sqrt (* 2 (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* 2 (* x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (* (sqrt 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 (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (* 2 (* x x))) #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 (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Outputs
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x #s(literal 2 binary64))))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x 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 #s(literal 2 binary64)) x)
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x (*.f64 x #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (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))
#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 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x #s(literal 2 binary64))))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x 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)
(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 x #s(literal 2 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
(/.f64 (-.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 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x #s(literal 2 binary64))))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x 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 (* 2 (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* 2 (* x x)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (sqrt (* 2 (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (sqrt (+ x x)) (sqrt.f64 (*.f64 x #s(literal 2 binary64))))
#s(approx (+ x x) (*.f64 x #s(literal 2 binary64)))
#s(approx (sqrt (* 2 (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (* 2 (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (sqrt (* 2 (* 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 x #s(literal 2 binary64)))))
#s(approx (sqrt (* 2 (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))

eval7.0ms (0.5%)

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

Compiled 613 to 160 computations (73.9% saved)

prune12.0ms (0.9%)

Memory
-29.1MiB live, 15.1MiB allocated; 10ms collecting garbage
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New73275
Fresh000
Picked123
Done022
Total74680
Accuracy
100.0%
Counts
80 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
34.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (/.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))))))
99.5%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
54.4%
(sqrt.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x))
5.3%
(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 61 to 37 computations (39.3% saved)

series7.0ms (0.5%)

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

3 calls:

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

rewrite29.0ms (2.3%)

Memory
-7.8MiB live, 39.4MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
065356
085246
0216246
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
32 → 69
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 x) (sqrt.f64 (/.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))))))
(sqrt.f64 x)
(sqrt.f64 (/.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 (+.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 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))
(pow.f64 x #s(literal 3 binary64))
#s(literal 3 binary64)
(fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x)))
(-.f64 (*.f64 x x) (*.f64 x x))
(*.f64 x x)
#s(approx (sqrt (* (* x 2) x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (* x 2) x) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (sqrt x) (sqrt (/ (+ (pow x 3) (pow x 3)) (+ (* x x) (- (* x x) (* x x)))))) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (/ (+ (pow x 3) (pow x 3)) (+ (* x x) (- (* x x) (* x x))))) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (/ (+ (pow x 3) (pow x 3)) (+ (* x x) (- (* x x) (* x x)))) #s(hole binary64 (* 2 x)))
#s(approx (+ (pow x 3) (pow x 3)) #s(hole binary64 (* 2 (pow x 3))))
#s(approx (pow x 3) #s(hole binary64 (pow x 3)))
#s(approx (+ (* x x) (- (* x x) (* x x))) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* x x)) #s(hole binary64 0))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (sqrt (* (* x 2) x)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt x) (sqrt (/ (+ (pow x 3) (pow x 3)) (+ (* x x) (- (* x x) (* 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 (/ (+ (pow x 3) (pow x 3)) (+ (* x x) (- (* x x) (* 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))
(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(*.f64 x (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(+.f64 x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (fma.f64 x x #s(literal 0 binary64)))) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (fma.f64 x x #s(literal 0 binary64)))))
(sqrt.f64 (*.f64 x (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (fma.f64 x x #s(literal 0 binary64)))))
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(pow.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (fma.f64 x x #s(literal 0 binary64))) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64))))
(sqrt.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (fma.f64 x x #s(literal 0 binary64))))
(/.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))) (neg.f64 (fma.f64 x x #s(literal 0 binary64))))
(/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (fma.f64 x x #s(literal 0 binary64)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))
(*.f64 (fma.f64 x x #s(literal 0 binary64)) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))))
(/.f64 (+.f64 (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))))))
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64)))
(fma.f64 (*.f64 x x) x (pow.f64 x #s(literal 3 binary64)))
(fma.f64 x (*.f64 x x) (pow.f64 x #s(literal 3 binary64)))
(+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64)))
(*.f64 (*.f64 x x) x)
(*.f64 x (*.f64 x x))
(pow.f64 x #s(literal 3 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 3 binary64)))
#s(literal 3 binary64)
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 0 binary64)) (-.f64 (*.f64 x x) #s(literal 0 binary64)))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 #s(literal 0 binary64) (*.f64 (*.f64 x x) #s(literal 0 binary64)))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) #s(literal 0 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal 0 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal 0 binary64))
(fma.f64 x x #s(literal 0 binary64))
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 x x))
(+.f64 #s(literal 0 binary64) (*.f64 x x))
(+.f64 (*.f64 x x) #s(literal 0 binary64))
#s(literal 0 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 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (sqrt (* (* x 2) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (* x 2) x) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x 2) (*.f64 #s(literal 2 binary64) x))
#s(approx x x)
#s(approx (* (sqrt x) (sqrt (/ (+ (pow x 3) (pow x 3)) (+ (* x x) (- (* x x) (* x x)))))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (sqrt (/ (+ (pow x 3) (pow x 3)) (+ (* x x) (- (* x x) (* x x))))) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
#s(approx (/ (+ (pow x 3) (pow x 3)) (+ (* x x) (- (* x x) (* x x)))) (*.f64 #s(literal 2 binary64) x))
#s(approx (+ (pow x 3) (pow x 3)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)))
#s(approx (pow x 3) (pow.f64 x #s(literal 3 binary64)))
#s(approx (+ (* x x) (- (* x x) (* x x))) (*.f64 x x))
#s(approx (- (* x x) (* x x)) #s(literal 0 binary64))
#s(approx (* x x) (*.f64 x x))
#s(approx (sqrt (* (* x 2) x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
#s(approx (* (sqrt x) (sqrt (/ (+ (pow x 3) (pow x 3)) (+ (* x x) (- (* x x) (* 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 (/ (+ (pow x 3) (pow x 3)) (+ (* x x) (- (* x x) (* x x))))) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))

eval8.0ms (0.6%)

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

Compiled 2 116 to 355 computations (83.2% saved)

prune6.0ms (0.4%)

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

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1012103
Fresh000
Picked202
Done044
Total1036109
Accuracy
100.0%
Counts
109 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.5%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
54.4%
(sqrt.f64 (*.f64 (+.f64 x x) x))
34.5%
(sqrt.f64 (*.f64 x (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (fma.f64 x x #s(literal 0 binary64)))))
5.3%
(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 153 to 77 computations (49.7% saved)

regimes30.0ms (2.3%)

Memory
-29.0MiB live, 26.9MiB allocated; 22ms collecting garbage
Counts
11 → 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) x))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(sqrt.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x))
(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)))
(hypot.f64 x x)
(sqrt.f64 (*.f64 x (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (fma.f64 x x #s(literal 0 binary64)))))
(*.f64 (sqrt.f64 x) (sqrt.f64 (/.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))))))
Outputs
(hypot.f64 x x)
Calls

4 calls:

21.0ms
x
3.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
3.0ms
(+.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)

regimes12.0ms (0.9%)

Memory
-24.1MiB live, 23.7MiB allocated; 3ms collecting garbage
Counts
8 → 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) x))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(sqrt.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x))
(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)))
Outputs
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
Calls

4 calls:

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

Compiled 19 to 10 computations (47.4% saved)

regimes8.0ms (0.6%)

Memory
15.0MiB live, 15.0MiB allocated; 0ms collecting garbage
Counts
6 → 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) x))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(sqrt.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x))
(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)))
2.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.3%)

Memory
9.7MiB live, 9.7MiB 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.3%1(*.f64 x x)
5.3%1(+.f64 (*.f64 x x) (*.f64 x x))
5.3%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
5.3%1x
Compiler

Compiled 19 to 10 computations (47.4% saved)

simplify46.0ms (3.5%)

Memory
-19.2MiB live, 73.0MiB allocated; 5ms 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)))

derivations7.0ms (0.5%)

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

Compiled 33 to 15 computations (54.5% saved)

preprocess22.0ms (1.7%)

Memory
-11.0MiB live, 40.4MiB allocated; 5ms 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...