sqrt A (should all be same)

Time bar (total: 1.2s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 10 to 4 computations (60% saved)

sample588.0ms (49.9%)

Memory
12.3MiB live, 718.0MiB allocated; 175ms collecting garbage
Samples
375.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 169.0ms
ival-hypot: 168.0ms (99.5% of total)
adjust: 1.0ms (0.6% of total)
Bogosity

preprocess118.0ms (10%)

Memory
-11.4MiB live, 35.3MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
13419
210019
317119
442219
5205519
6740819
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.8%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Symmetry

(abs x)

Compiler

Compiled 10 to 8 computations (20% saved)

series3.0ms (0.2%)

Memory
6.6MiB live, 6.6MiB allocated; 0ms 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
1.0ms
x
@inf
((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)
1.0ms
x
@0
((sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* x x) x)

rewrite69.0ms (5.9%)

Memory
15.1MiB live, 115.8MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01970
02259
15935
034735
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 x 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 x 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 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 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 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (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))))

eval3.0ms (0.3%)

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

Compiled 218 to 105 computations (51.8% saved)

prune2.0ms (0.2%)

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New29433
Fresh000
Picked011
Done000
Total29534
Accuracy
99.7%
Counts
34 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
53.8%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
5.5%
(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))
2.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
Compiler

Compiled 36 to 32 computations (11.1% saved)

series10.0ms (0.8%)

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

3 calls:

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

rewrite80.0ms (6.8%)

Memory
29.2MiB live, 124.4MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
058225
069182
1154104
0696104
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
28 → 147
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* 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)
x
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(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 x x)))
(sqrt.f64 x)
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
#s(approx (sqrt (+ (* x x) (* x 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 x #s(hole binary64 x))
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* (sqrt x) (sqrt (* 2 x)))))
#s(approx (sqrt x) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ x x)) #s(hole binary64 (sqrt (* 2 x))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* (pow x 2) (* (sqrt (/ 1 x)) (sqrt (/ 2 x))))))
#s(approx (sqrt x) #s(hole binary64 (* x (sqrt (/ 1 x)))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* x (sqrt (/ 2 x)))))
#s(approx (sqrt x) #s(hole binary64 (* -1 (* x (sqrt (/ 1 x))))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* x (sqrt (/ 2 x))))))
Outputs
#s(approx (sqrt (+ (* x x) (* x x))) (neg.f64 (sqrt.f64 #s(literal 2 binary64))))
(*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal -1 binary64))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 x (neg.f64 (sqrt.f64 #s(literal 2 binary64))))
(/.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) (sqrt.f64 x))
(neg.f64 (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (*.f64 #s(literal 1 binary64) x) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 #s(literal -1 binary64) (*.f64 #s(literal 1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
(*.f64 (neg.f64 x) #s(literal 1 binary64))
(*.f64 x #s(literal -1 binary64))
(/.f64 (neg.f64 x) (sqrt.f64 x))
(neg.f64 (*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1 binary64) x)))
(neg.f64 (*.f64 (*.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
(neg.f64 (*.f64 #s(literal 1 binary64) x))
(neg.f64 x)
x
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) (neg.f64 x))
(*.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))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 (sqrt.f64 #s(literal 2 binary64))))
(*.f64 (*.f64 x x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 x (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64))))
(/.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 (neg.f64 x)))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64))))
(/.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) (neg.f64 (sqrt.f64 x)))
(/.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(/.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(literal 2 binary64)
#s(approx (sqrt (+ (* x x) (* x x))) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) (neg.f64 x))
(*.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))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 (sqrt.f64 #s(literal 2 binary64))))
(*.f64 (*.f64 x x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 x (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64))))
(/.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 (neg.f64 x)))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64))))
(/.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) (neg.f64 (sqrt.f64 x)))
(/.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(/.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)))
(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)))
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) (neg.f64 x))
(*.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))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 (sqrt.f64 #s(literal 2 binary64))))
(*.f64 (*.f64 x x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 x (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64))))
(/.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 (neg.f64 x)))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64))))
(/.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) (neg.f64 (sqrt.f64 x)))
(/.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(/.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64)))
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(exp.f64 (*.f64 (log.f64 x) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) (neg.f64 x))
(*.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))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 (sqrt.f64 #s(literal 2 binary64))))
(*.f64 (*.f64 x x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 x (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64))))
(/.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 (neg.f64 x)))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64))))
(/.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) (neg.f64 (sqrt.f64 x)))
(/.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(/.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(sqrt.f64 #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(literal 2 binary64)
#s(approx (sqrt (+ (* x x) (* x x))) (sqrt.f64 #s(literal 2 binary64)))
#s(approx (* (neg x) (sqrt 2)) (neg.f64 (sqrt.f64 #s(literal 2 binary64))))
#s(approx (neg x) (neg.f64 x))
#s(approx x x)
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))
#s(approx (sqrt (+ (* x x) (* x x))) (sqrt.f64 #s(literal 2 binary64)))
#s(approx (sqrt x) (sqrt.f64 x))
#s(approx (sqrt (+ (* x x) (* x x))) (sqrt.f64 #s(literal 2 binary64)))
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))
#s(approx (sqrt (+ (* x x) (* x x))) (sqrt.f64 #s(literal 2 binary64)))
#s(approx (sqrt x) (*.f64 #s(literal 1 binary64) x))
#s(approx (sqrt (+ (* x x) (* x x))) (sqrt.f64 #s(literal 2 binary64)))
#s(approx (sqrt x) (neg.f64 x))
#s(approx (sqrt (+ (* x x) (* x x))) (neg.f64 (sqrt.f64 #s(literal 2 binary64))))

eval9.0ms (0.7%)

Memory
-18.8MiB live, 28.2MiB allocated; 2ms collecting garbage
Compiler

Compiled 433 to 245 computations (43.4% saved)

prune5.0ms (0.4%)

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

8 alts after pruning (3 fresh and 5 done)

PrunedKeptTotal
New78381
Fresh000
Picked044
Done011
Total78886
Accuracy
100.0%
Counts
86 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.0%
(*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (+.f64 x x)))
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
53.8%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
5.5%
(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))
2.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
2.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))))
99.1%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x))
Compiler

Compiled 69 to 62 computations (10.1% saved)

series77.0ms (6.5%)

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

3 calls:

TimeVariablePointExpression
40.0ms
x
@0
((sqrt (+ (* x x) (* x x))) (* (exp (* (log 2) 1/2)) x) (exp (* (log 2) 1/2)) (* (log 2) 1/2) (log 2) 2 1/2 x (sqrt (+ (* x x) (* x x))) (* (neg x) (exp (* (log 2) 1/2))) (neg x) (* (* (pow x 1/4) (pow x 1/4)) (sqrt (+ x x))) (* (pow x 1/4) (pow x 1/4)) (pow x 1/4) 1/4 (sqrt (+ x x)) (+ x x))
28.0ms
x
@inf
((sqrt (+ (* x x) (* x x))) (* (exp (* (log 2) 1/2)) x) (exp (* (log 2) 1/2)) (* (log 2) 1/2) (log 2) 2 1/2 x (sqrt (+ (* x x) (* x x))) (* (neg x) (exp (* (log 2) 1/2))) (neg x) (* (* (pow x 1/4) (pow x 1/4)) (sqrt (+ x x))) (* (pow x 1/4) (pow x 1/4)) (pow x 1/4) 1/4 (sqrt (+ x x)) (+ x x))
9.0ms
x
@-inf
((sqrt (+ (* x x) (* x x))) (* (exp (* (log 2) 1/2)) x) (exp (* (log 2) 1/2)) (* (log 2) 1/2) (log 2) 2 1/2 x (sqrt (+ (* x x) (* x x))) (* (neg x) (exp (* (log 2) 1/2))) (neg x) (* (* (pow x 1/4) (pow x 1/4)) (sqrt (+ x x))) (* (pow x 1/4) (pow x 1/4)) (pow x 1/4) 1/4 (sqrt (+ x x)) (+ x x))

rewrite30.0ms (2.5%)

Memory
-13.5MiB live, 34.3MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066294
080234
0191225
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
32 → 61
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x))
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1/2 binary64)
x
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))))
(*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))
(neg.f64 x)
(*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (+.f64 x x)))
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64)))
(pow.f64 x #s(literal 1/4 binary64))
#s(literal 1/4 binary64)
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2))))
#s(approx x #s(hole binary64 x))
#s(approx (* (neg x) (exp (* (log 2) 1/2))) #s(hole binary64 (* -1 (* x (sqrt 2)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (+ x x))) #s(hole binary64 (* (sqrt (* 2 x)) (pow (pow x 1/4) 2))))
#s(approx (* (pow x 1/4) (pow x 1/4)) #s(hole binary64 (pow (pow x 1/4) 2)))
#s(approx (pow x 1/4) #s(hole binary64 (pow x 1/4)))
#s(approx (sqrt (+ x x)) #s(hole binary64 (sqrt (* 2 x))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (+ x x))) #s(hole binary64 (* x (* (sqrt (/ 2 x)) (pow (pow (/ 1 x) -1/4) 2)))))
#s(approx (* (pow x 1/4) (pow x 1/4)) #s(hole binary64 (pow (pow (/ 1 x) -1/4) 2)))
#s(approx (pow x 1/4) #s(hole binary64 (pow (/ 1 x) -1/4)))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* x (sqrt (/ 2 x)))))
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (+ x x))) #s(hole binary64 (* -1 (* x (* (sqrt (/ 2 x)) (pow (pow (/ 1 x) -1/4) 2))))))
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* x (sqrt (/ 2 x))))))
Outputs
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(*.f64 x (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 (exp.f64 (log.f64 #s(literal 2 binary64))) #s(literal 1/2 binary64))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
(exp.f64 (*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64))))
(+.f64 (cosh.f64 (*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64)))) (sinh.f64 (*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64)))))
(*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64)))
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1/2 binary64)
x
#s(approx (sqrt (+ (* x x) (* x 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 (+.f64 x x)) (pow.f64 x #s(literal 1/2 binary64)))
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (sqrt.f64 (+.f64 x x)))
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (sqrt.f64 (+.f64 x x))))
(*.f64 (pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 1 binary64)) (pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 1 binary64)))
(*.f64 (fabs.f64 (pow.f64 x #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 x #s(literal 1/4 binary64))))
(*.f64 (neg.f64 (pow.f64 x #s(literal 1/4 binary64))) (neg.f64 (pow.f64 x #s(literal 1/4 binary64))))
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64)))
(pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1/4 binary64))
(pow.f64 x #s(literal 1/2 binary64))
(exp.f64 (*.f64 (log.f64 (pow.f64 x #s(literal 1/4 binary64))) #s(literal 2 binary64)))
(*.f64 (pow.f64 x #s(literal 1/8 binary64)) (pow.f64 x #s(literal 1/8 binary64)))
(pow.f64 x #s(literal 1/4 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 1/4 binary64)))
#s(literal 1/4 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))
(*.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 x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
#s(approx x x)
#s(approx (* (neg x) (exp (* (log 2) 1/2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (neg x) (neg.f64 x))
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (+ x x))) (*.f64 (pow.f64 x #s(literal 1/2 binary64)) (sqrt.f64 (+.f64 x x))))
#s(approx (* (pow x 1/4) (pow x 1/4)) (pow.f64 x #s(literal 1/2 binary64)))
#s(approx (pow x 1/4) (pow.f64 x #s(literal 1/4 binary64)))
#s(approx (sqrt (+ x x)) (sqrt.f64 (+.f64 x x)))
#s(approx (+ x x) (+.f64 x x))
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (+ x x))) (*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/4 binary64)) #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 2 binary64) x))) x))
#s(approx (* (pow x 1/4) (pow x 1/4)) (pow.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/4 binary64)) #s(literal 2 binary64)))
#s(approx (pow x 1/4) (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/4 binary64)))
#s(approx (sqrt (+ x x)) (*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) x)) x))
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (+ x x))) (*.f64 (neg.f64 x) (*.f64 (pow.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/4 binary64)) #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 2 binary64) x)))))
#s(approx (sqrt (+ x x)) (*.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal 2 binary64) x))))

eval4.0ms (0.4%)

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

Compiled 332 to 178 computations (46.4% saved)

prune3.0ms (0.3%)

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

9 alts after pruning (2 fresh and 7 done)

PrunedKeptTotal
New49251
Fresh000
Picked123
Done055
Total50959
Accuracy
100.0%
Counts
59 → 9
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.0%
(*.f64 (pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 2 binary64)) (sqrt.f64 (+.f64 x x)))
99.0%
(*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) #s(approx (sqrt (+ x x)) (*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) x)) x)))
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
53.8%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
5.5%
(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))
2.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
2.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))))
99.1%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x))
Compiler

Compiled 82 to 75 computations (8.5% saved)

series26.0ms (2.2%)

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

3 calls:

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

rewrite23.0ms (2%)

Memory
-14.4MiB live, 32.6MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

eval3.0ms (0.3%)

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

Compiled 319 to 163 computations (48.9% saved)

prune3.0ms (0.3%)

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

9 alts after pruning (1 fresh and 8 done)

PrunedKeptTotal
New43144
Fresh000
Picked112
Done077
Total44953
Accuracy
100.0%
Counts
53 → 9
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.0%
(*.f64 (pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 2 binary64)) (sqrt.f64 (+.f64 x x)))
99.0%
(*.f64 (pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 2 binary64)) #s(approx (sqrt (+ x x)) (*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) x)) x)))
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
53.8%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
5.5%
(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))
2.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
2.3%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))))
99.1%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x))
Compiler

Compiled 81 to 75 computations (7.4% saved)

regimes95.0ms (8.1%)

Memory
-56.5MiB live, 66.5MiB allocated; 124ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
3 → 1
11 → 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)))
Call 2
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))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
Outputs
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
Call 3
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))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))))
(*.f64 (pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 2 binary64)) (sqrt.f64 (+.f64 x x)))
(*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (+.f64 x x)))
(*.f64 (pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 2 binary64)) #s(approx (sqrt (+ x x)) (*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) x)) x)))
(*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) #s(approx (sqrt (+ x x)) (*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) x)) x)))
Outputs
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
Calls

12 calls:

70.0ms
x
5.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
5.5%1(*.f64 x x)
5.5%1(+.f64 (*.f64 x x) (*.f64 x x))
5.5%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
5.5%1x
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
99.4%1(*.f64 x x)
99.4%1(+.f64 (*.f64 x x) (*.f64 x x))
99.4%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
99.4%1x
Compiler

Compiled 95 to 72 computations (24.2% saved)

derivations5.0ms (0.4%)

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

Compiled 18 to 14 computations (22.2% saved)

preprocess23.0ms (1.9%)

Memory
3.0MiB live, 49.1MiB allocated; 4ms collecting garbage
Remove

(abs x)

Compiler

Compiled 65 to 56 computations (13.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...