sqrt B (should all be same)

Time bar (total: 1.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
100%100%0%0%0%0%0%2
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample701.0ms (64.3%)

Memory
-9.4MiB live, 657.9MiB allocated; 178ms collecting garbage
Samples
424.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 204.0ms
ival-sqrt: 123.0ms (60.2% of total)
ival-mult!: 80.0ms (39.1% of total)
adjust: 2.0ms (1% of total)
Bogosity

preprocess75.0ms (6.9%)

Memory
-17.3MiB live, 27.9MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01021
12519
26219
319619
433319
5101119
6490819
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.4%
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x))
Symmetry

(abs x)

Compiler

Compiled 10 to 10 computations (0% saved)

series4.0ms (0.4%)

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

3 calls:

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

rewrite36.0ms (3.3%)

Memory
23.1MiB live, 69.3MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01961
02260
14860
015051
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
10 → 58
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
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 (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Outputs
(*.f64 (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)))
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (+.f64 x x) x))
(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) (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)) (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 (neg.f64 x))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x (exp.f64 (log.f64 x)))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (*.f64 (+.f64 x x) x)) #s(literal 1/2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 (+.f64 x x) x)
(*.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 (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 #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))
(*.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))))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x))
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 x x)
#s(literal 2 binary64)
x
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (* 2 x) x) (*.f64 (+.f64 x x) x))
#s(approx (* 2 x) (+.f64 x x))
#s(approx x x)
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))

eval5.0ms (0.4%)

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

Compiled 259 to 130 computations (49.8% saved)

prune6.0ms (0.5%)

Memory
-38.0MiB live, 7.2MiB allocated; 4ms collecting garbage
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New49655
Fresh000
Picked101
Done000
Total50656
Accuracy
100.0%
Counts
56 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
50.1%
(*.f64 (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)))
99.5%
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
50.4%
(sqrt.f64 (*.f64 (+.f64 x x) x))
99.2%
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
2.3%
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
Compiler

Compiled 78 to 72 computations (7.7% saved)

series8.0ms (0.7%)

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

3 calls:

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

rewrite41.0ms (3.8%)

Memory
18.5MiB live, 69.1MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067253
083201
0169201
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
33 → 121
Calls
Call 1
Inputs
(hypot.f64 x x)
x
#s(approx (sqrt (* (* 2 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)
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(neg.f64 x)
(sqrt.f64 (*.f64 (+.f64 x x) x))
(*.f64 (+.f64 x x) x)
(+.f64 x x)
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(sqrt.f64 (+.f64 x x))
(sqrt.f64 x)
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (neg x) (sqrt 2)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (neg x) #s(hole binary64 (* -1 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 x) #s(hole binary64 (* 2 x)))
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (sqrt (* (+ x x) x)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
Outputs
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (+.f64 x 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)) (fabs.f64 x))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x)
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (fabs.f64 x))
(hypot.f64 (fabs.f64 x) (neg.f64 x))
(hypot.f64 (fabs.f64 x) x)
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (fabs.f64 x))
(hypot.f64 (neg.f64 x) (neg.f64 x))
(hypot.f64 (neg.f64 x) x)
(hypot.f64 x (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x x)
x
#s(approx (* (sqrt (+ x x)) (sqrt 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)
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
(*.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 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 x)
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (+.f64 x 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)) (fabs.f64 x))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x)
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (fabs.f64 x))
(hypot.f64 (fabs.f64 x) (neg.f64 x))
(hypot.f64 (fabs.f64 x) x)
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (fabs.f64 x))
(hypot.f64 (neg.f64 x) (neg.f64 x))
(hypot.f64 (neg.f64 x) x)
(hypot.f64 x (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x x)
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 (+.f64 x x) x)
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 x (+.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 (fabs.f64 x) (fabs.f64 x) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x))
(fma.f64 x x (*.f64 x x))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x))
(+.f64 (*.f64 x x) (*.f64 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 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (+.f64 x 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)) (fabs.f64 x))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x)
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (fabs.f64 x))
(hypot.f64 (fabs.f64 x) (neg.f64 x))
(hypot.f64 (fabs.f64 x) x)
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (fabs.f64 x))
(hypot.f64 (neg.f64 x) (neg.f64 x))
(hypot.f64 (neg.f64 x) x)
(hypot.f64 x (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x x)
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(pow.f64 (+.f64 x x) #s(literal 1/2 binary64))
(sqrt.f64 (+.f64 x x))
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx x x)
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (neg x) (sqrt 2)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (neg x) (neg.f64 x))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (* (+ x x) x) (*.f64 (+.f64 x x) x))
#s(approx (+ x x) (+.f64 x x))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (+ x x)) (sqrt.f64 (+.f64 x x)))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (sqrt (+ x x)) (sqrt x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (sqrt (+ x x)) (neg.f64 (sqrt.f64 (+.f64 x x))))
#s(approx (sqrt x) (neg.f64 (*.f64 (sqrt.f64 x) #s(literal -1 binary64))))

eval18.0ms (1.6%)

Memory
-25.1MiB live, 13.8MiB allocated; 16ms collecting garbage
Compiler

Compiled 348 to 188 computations (46% saved)

prune4.0ms (0.3%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New72072
Fresh011
Picked055
Done000
Total72678
Accuracy
100.0%
Counts
78 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
50.1%
(*.f64 (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)))
99.5%
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
50.4%
(sqrt.f64 (*.f64 (+.f64 x x) x))
99.2%
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
2.3%
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
Compiler

Compiled 39 to 36 computations (7.7% saved)

series42.0ms (3.8%)

Memory
28.0MiB live, 73.2MiB allocated; 5ms collecting garbage
Counts
6 → 7
Calls
Call 1
Inputs
(*.f64 (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)))
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64))
(*.f64 (+.f64 x x) x)
(+.f64 x x)
x
#s(literal 1/4 binary64)
Outputs
#s(approx (* (pow (* (+ x x) x) 1/4) (pow (* (+ x x) x) 1/4)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (* (+ x x) x) 1/4) #s(hole binary64 (* (pow 2 1/4) (sqrt x))))
#s(approx (* (+ x x) x) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (pow (* (+ x x) x) 1/4) (pow (* (+ x x) x) 1/4)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (pow (* (+ x x) x) 1/4) #s(hole binary64 (* -1 (* (pow 2 1/4) (* (sqrt x) (sqrt -1))))))
Calls

3 calls:

TimeVariablePointExpression
28.0ms
x
@0
((* (pow (* (+ x x) x) 1/4) (pow (* (+ x x) x) 1/4)) (pow (* (+ x x) x) 1/4) (* (+ x x) x) (+ x x) x 1/4)
7.0ms
x
@inf
((* (pow (* (+ x x) x) 1/4) (pow (* (+ x x) x) 1/4)) (pow (* (+ x x) x) 1/4) (* (+ x x) x) (+ x x) x 1/4)
7.0ms
x
@-inf
((* (pow (* (+ x x) x) 1/4) (pow (* (+ x x) x) 1/4)) (pow (* (+ x x) x) 1/4) (* (+ x x) x) (+ x x) x 1/4)

rewrite24.0ms (2.2%)

Memory
-21.9MiB live, 23.2MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

eval2.0ms (0.2%)

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

Compiled 223 to 88 computations (60.5% saved)

prune2.0ms (0.2%)

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

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New18220
Fresh000
Picked101
Done055
Total19726
Accuracy
100.0%
Counts
26 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.1%
(pow.f64 (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)) #s(literal 2 binary64))
100.0%
(hypot.f64 x x)
99.5%
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
98.9%
(*.f64 #s(approx (pow (* (+ x x) x) 1/4) (*.f64 (sqrt.f64 x) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))) #s(approx (pow (* (+ x x) x) 1/4) (*.f64 (sqrt.f64 x) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))))
50.4%
(sqrt.f64 (*.f64 (+.f64 x x) x))
99.2%
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
2.3%
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
Compiler

Compiled 56 to 49 computations (12.5% saved)

series42.0ms (3.8%)

Memory
7.6MiB live, 53.8MiB allocated; 30ms collecting garbage
Counts
12 → 13
Calls
Call 1
Inputs
(*.f64 #s(approx (pow (* (+ x x) x) 1/4) (*.f64 (sqrt.f64 x) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))) #s(approx (pow (* (+ x x) x) 1/4) (*.f64 (sqrt.f64 x) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))))
#s(approx (pow (* (+ x x) x) 1/4) (*.f64 (sqrt.f64 x) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))))
(*.f64 (sqrt.f64 x) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))
(sqrt.f64 x)
x
(pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))
#s(literal 2 binary64)
#s(literal 1/4 binary64)
(pow.f64 (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64))
(*.f64 (+.f64 x x) x)
(+.f64 x x)
Outputs
#s(approx (* (pow (* (+ x x) x) 1/4) (pow (* (+ x x) x) 1/4)) #s(hole binary64 (* x (sqrt 2))))
#s(approx (pow (* (+ x x) x) 1/4) #s(hole binary64 (* (pow 2 1/4) (sqrt x))))
#s(approx (* (sqrt x) (pow 2 1/4)) #s(hole binary64 (* (pow 2 1/4) (sqrt x))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx x #s(hole binary64 x))
#s(approx (pow (pow (* (+ x x) x) 1/4) 2) #s(hole binary64 (* x (sqrt 2))))
#s(approx (* (+ x x) x) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (pow (* (+ x x) x) 1/4) (pow (* (+ x x) x) 1/4)) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (pow (* (+ x x) x) 1/4) #s(hole binary64 (* -1 (* (pow 2 1/4) (* (sqrt x) (sqrt -1))))))
#s(approx (* (sqrt x) (pow 2 1/4)) #s(hole binary64 (* -1 (* (pow 2 1/4) (* (sqrt x) (pow (sqrt -1) 2))))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (pow (pow (* (+ x x) x) 1/4) 2) #s(hole binary64 (* -1 (* x (sqrt 2)))))
Calls

3 calls:

TimeVariablePointExpression
27.0ms
x
@inf
((* (pow (* (+ x x) x) 1/4) (pow (* (+ x x) x) 1/4)) (pow (* (+ x x) x) 1/4) (* (sqrt x) (pow 2 1/4)) (sqrt x) x (pow 2 1/4) 2 1/4 (pow (pow (* (+ x x) x) 1/4) 2) (pow (* (+ x x) x) 1/4) (* (+ x x) x) (+ x x))
7.0ms
x
@-inf
((* (pow (* (+ x x) x) 1/4) (pow (* (+ x x) x) 1/4)) (pow (* (+ x x) x) 1/4) (* (sqrt x) (pow 2 1/4)) (sqrt x) x (pow 2 1/4) 2 1/4 (pow (pow (* (+ x x) x) 1/4) 2) (pow (* (+ x x) x) 1/4) (* (+ x x) x) (+ x x))
7.0ms
x
@0
((* (pow (* (+ x x) x) 1/4) (pow (* (+ x x) x) 1/4)) (pow (* (+ x x) x) 1/4) (* (sqrt x) (pow 2 1/4)) (sqrt x) x (pow 2 1/4) 2 1/4 (pow (pow (* (+ x x) x) 1/4) 2) (pow (* (+ x x) x) 1/4) (* (+ x x) x) (+ x x))

rewrite26.0ms (2.4%)

Memory
-21.8MiB live, 26.4MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

eval3.0ms (0.3%)

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

Compiled 332 to 142 computations (57.2% saved)

prune4.0ms (0.3%)

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

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New32133
Fresh000
Picked112
Done055
Total33740
Accuracy
100.0%
Counts
40 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.1%
(pow.f64 (pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/4 binary64)) #s(literal 2 binary64))
98.9%
(pow.f64 #s(approx (pow (* (+ x x) x) 1/4) (*.f64 (sqrt.f64 x) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))) #s(literal 2 binary64))
100.0%
(hypot.f64 x x)
99.5%
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
50.4%
(sqrt.f64 (*.f64 (+.f64 x x) x))
99.2%
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
2.3%
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
Compiler

Compiled 113 to 84 computations (25.7% saved)

regimes9.0ms (0.8%)

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

3 calls:

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

Compiled 10 to 10 computations (0% saved)

regimes7.0ms (0.6%)

Memory
-34.2MiB live, 12.9MiB allocated; 2ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
(sqrt.f64 (*.f64 (+.f64 x x) x))
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
Outputs
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
Calls

3 calls:

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

Compiled 10 to 10 computations (0% saved)

regimes5.0ms (0.5%)

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

Total -62.1b remaining (-12813.5%)

Threshold costs -62.1b (-12813.5%)

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

3 calls:

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

Compiled 10 to 10 computations (0% saved)

derivations4.0ms (0.3%)

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

Compiled 14 to 14 computations (0% saved)

preprocess24.0ms (2.2%)

Memory
1.6MiB live, 47.0MiB allocated; 4ms collecting garbage
Compiler

Compiled 51 to 51 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...