sqrt A (should all be same)

Time bar (total: 2.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample602.0ms (26.3%)

Memory
2.4MiB live, 621.6MiB allocated; 138ms collecting garbage
Samples
385.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 158.0ms
ival-hypot: 146.0ms (92.5% of total)
ival-true: 6.0ms (3.8% of total)
ival-assert: 3.0ms (1.9% of total)
adjust: 2.0ms (1.3% of total)
Bogosity

explain67.0ms (2.9%)

Memory
35.7MiB live, 81.9MiB allocated; 6ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1340-2(-2.4176777463917372e-157)(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
00-0-(+.f64 (*.f64 x x) (*.f64 x x))
00-0-(*.f64 x x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))uflow-rescue710
(+.f64 (*.f64 x x) (*.f64 x x))underflow71
(*.f64 x x)underflow142
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))oflow-rescue610
(+.f64 (*.f64 x x) (*.f64 x x))overflow61
(*.f64 x x)overflow122
Confusion
Predicted +Predicted -
+1322
-0122
Precision
1.0
Recall
0.9850746268656716
Confusion?
Predicted +Predicted MaybePredicted -
+13202
-00122
Precision?
1.0
Recall?
0.9850746268656716
Freqs
test
numberfreq
0124
1132
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
29.0ms512×0valid
Compiler

Compiled 50 to 16 computations (68% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-hypot: 11.0ms (61.5% of total)
ival-mult: 4.0ms (22.4% of total)
ival-add: 2.0ms (11.2% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess37.0ms (1.6%)

Memory
-20.2MiB live, 25.8MiB allocated; 7ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
12213
27813
313513
422713
525713
627713
048
076
1176
2546
31306
42026
52386
62616
72766
02763
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(hypot.f64 x x)
Symmetry

(abs x)

Compiler

Compiled 8 to 4 computations (50% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 8 to 4 computations (50% saved)

simplify7.0ms (0.3%)

Memory
11.7MiB live, 11.7MiB allocated; 0ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff2
(+.f64 (*.f64 x x) (*.f64 x x))
cost-diff3
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0419
0715
11715
25415
313015
420215
523815
626115
727615
027612
Stop Event
iter limit
saturated
iter limit
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
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(hypot.f64 x x)
(+.f64 (*.f64 x x) (*.f64 x x))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 x x)
x

localize21.0ms (0.9%)

Memory
-6.4MiB live, 39.0MiB allocated; 4ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.00390625
(+.f64 (*.f64 x x) (*.f64 x x))
accuracy30.89886741474288
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Samples
16.0ms256×0valid
Compiler

Compiled 21 to 6 computations (71.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-hypot: 4.0ms (53.9% of total)
ival-mult: 2.0ms (26.9% of total)
ival-add: 1.0ms (13.5% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
6.5MiB live, 6.5MiB allocated; 0ms collecting garbage
Counts
3 → 4
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(+.f64 (*.f64 x x) (*.f64 x x))
(*.f64 x x)
Outputs
(* x (sqrt 2))
(* 2 (pow x 2))
(pow x 2)
(* -1 (* x (sqrt 2)))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((sqrt (+ (* 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))
1.0ms
x
@-inf
((sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* x x))

simplify9.0ms (0.4%)

Memory
18.3MiB live, 18.3MiB allocated; 0ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
11817
24317
39217
422817
543717
648517
048517
Stop Event
iter limit
saturated
Counts
4 → 4
Calls
Call 1
Inputs
(* x (sqrt 2))
(* 2 (pow x 2))
(pow x 2)
(* -1 (* x (sqrt 2)))
Outputs
(* x (sqrt 2))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(pow x 2)
(*.f64 x x)
(* -1 (* x (sqrt 2)))
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))

rewrite46.0ms (2%)

Memory
-36.2MiB live, 62.7MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0418
0714
12910
02509
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 107
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(+.f64 (*.f64 x x) (*.f64 x x))
(*.f64 x x)
Outputs
(*.f64 (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/4 binary64)) (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/4 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)))
(pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 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 (/.f64 #s(literal 0 binary64) #s(literal 0 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 (neg.f64 x)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x)))
(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 (neg.f64 x)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) x)
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 x)) x)
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 x)))
(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 (neg.f64 x)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 x)))
(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 (neg.f64 x)))
(hypot.f64 x (neg.f64 (fabs.f64 x)))
(hypot.f64 x (fabs.f64 (fabs.f64 x)))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) #s(literal 1/2 binary64)))
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(*.f64 (neg.f64 x) (+.f64 (neg.f64 x) (neg.f64 x)))
(*.f64 (neg.f64 x) (-.f64 (neg.f64 x) x))
(*.f64 (fabs.f64 x) (+.f64 (fabs.f64 x) (fabs.f64 x)))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x (-.f64 x (neg.f64 x)))
(*.f64 x (*.f64 #s(literal 2 binary64) x))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 x) x)))))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.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 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 x x (*.f64 x x))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 0 binary64)) (/.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 0 binary64)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) x))
(+.f64 (*.f64 x x) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (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 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 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)))

eval12.0ms (0.5%)

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

Compiled 1 053 to 257 computations (75.6% saved)

prune4.0ms (0.2%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1205125
Fresh000
Picked101
Done000
Total1215126
Accuracy
100.0%
Counts
126 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
15.8%
(/.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)))))
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
51.7%
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
99.4%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
Compiler

Compiled 84 to 66 computations (21.4% saved)

simplify10.0ms (0.4%)

Memory
-38.5MiB live, 8.3MiB allocated; 2ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 15 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))
cost-diff0
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))))
cost-diff0
(/.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)))))
cost-diff2
(+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))
cost-diff0
(*.f64 #s(literal 2 binary64) x)
cost-diff0
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
cost-diff0
(sqrt.f64 x)
cost-diff0
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) #s(literal 2 binary64))
cost-diff3
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
cost-diff0
(sqrt.f64 #s(literal 2 binary64))
cost-diff0
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
cost-diff0
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
cost-diff0
(hypot.f64 x x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
026100
04391
16491
210391
317391
424991
528991
631791
733791
033791
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(hypot.f64 x x)
x
#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 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(sqrt.f64 x)
x
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 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 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))))
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))
#s(literal 2 binary64)
(pow.f64 x #s(literal 6 binary64))
x
#s(literal 6 binary64)
(sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))))
(+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))
#s(literal 0 binary64)
(pow.f64 x #s(literal 4 binary64))
#s(literal 4 binary64)
Outputs
(hypot.f64 x x)
x
#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 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(hypot.f64 x x)
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(sqrt.f64 x)
x
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 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)))))
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (sqrt.f64 (pow.f64 x #s(literal 4 binary64))))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
#s(literal 2 binary64)
(pow.f64 x #s(literal 6 binary64))
x
#s(literal 6 binary64)
(sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))))
(sqrt.f64 (pow.f64 x #s(literal 4 binary64)))
(+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))
(pow.f64 x #s(literal 4 binary64))
#s(literal 0 binary64)
(pow.f64 x #s(literal 4 binary64))
#s(literal 4 binary64)

localize58.0ms (2.6%)

Memory
46.9MiB live, 92.4MiB allocated; 3ms collecting garbage
Localize:

Found 15 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))
accuracy10.646158601601941
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))))
accuracy14.237877350739494
(sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))))
accuracy40.767407732232634
(/.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)))))
accuracy0.0
(*.f64 #s(literal 2 binary64) x)
accuracy0.0
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
accuracy0.0
(sqrt.f64 x)
accuracy0.35775375976844204
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
accuracy0.0
(*.f64 x x)
accuracy0.00390625
(*.f64 (*.f64 x x) #s(literal 2 binary64))
accuracy30.89886741474288
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
accuracy0.0
(sqrt.f64 #s(literal 2 binary64))
accuracy0.0
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
accuracy0.4140625
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
accuracy0.0078125
(hypot.f64 x x)
Samples
45.0ms256×0valid
Compiler

Compiled 107 to 24 computations (77.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.0ms
ival-sqrt: 9.0ms (28.2% of total)
ival-mult: 8.0ms (25% of total)
ival-hypot: 6.0ms (18.8% of total)
ival-pow: 5.0ms (15.7% of total)
ival-div: 1.0ms (3.1% of total)
ival-add: 1.0ms (3.1% of total)
exact: 1.0ms (3.1% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series15.0ms (0.7%)

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

3 calls:

TimeVariablePointExpression
5.0ms
x
@-inf
((sqrt (+ (* x x) (* x x))) (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt 2) (sqrt (* (* x x) 2)) (* (* x x) 2) (* x x) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (* 2 x) (+ 0 (pow x 4)) (/ (sqrt (* 2 (pow x 6))) (sqrt (+ 0 (pow x 4)))) (sqrt (* 2 (pow x 6))) (* 2 (pow x 6)) (sqrt (+ 0 (pow x 4))))
4.0ms
x
@0
((sqrt (+ (* x x) (* x x))) (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt 2) (sqrt (* (* x x) 2)) (* (* x x) 2) (* x x) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (* 2 x) (+ 0 (pow x 4)) (/ (sqrt (* 2 (pow x 6))) (sqrt (+ 0 (pow x 4)))) (sqrt (* 2 (pow x 6))) (* 2 (pow x 6)) (sqrt (+ 0 (pow x 4))))
3.0ms
x
@inf
((sqrt (+ (* x x) (* x x))) (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt 2) (sqrt (* (* x x) 2)) (* (* x x) 2) (* x x) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (* 2 x) (+ 0 (pow x 4)) (/ (sqrt (* 2 (pow x 6))) (sqrt (+ 0 (pow x 4)))) (sqrt (* 2 (pow x 6))) (* 2 (pow x 6)) (sqrt (+ 0 (pow x 4))))

simplify251.0ms (11%)

Memory
12.4MiB live, 193.3MiB allocated; 45ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03167
17267
218467
340867
494267
5139267
6147867
7149567
8149567
9149567
10163167
11174667
12179267
13189267
14205667
15246767
16302767
17411467
18598667
19798867
0805267
Stop Event
iter limit
node limit
Counts
14 → 14
Calls
Call 1
Inputs
(* x (sqrt 2))
(* 2 (pow x 2))
(pow x 2)
(sqrt x)
(* (sqrt x) (sqrt 2))
(* 2 x)
(pow x 4)
(* (pow x 3) (sqrt 2))
(* 2 (pow x 6))
(* -1 (* x (sqrt 2)))
(* -1 (* x (* (sqrt -2) (sqrt -1))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))
(* -1 (* (pow x 3) (sqrt 2)))
Outputs
(* x (sqrt 2))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(pow x 2)
(*.f64 x x)
(sqrt x)
(sqrt.f64 x)
(* (sqrt x) (sqrt 2))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(* (pow x 3) (sqrt 2))
(*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))
(* 2 (pow x 6))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(* -1 (* x (sqrt 2)))
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(* -1 (* x (* (sqrt -2) (sqrt -1))))
(*.f64 (neg.f64 x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))
(*.f64 (neg.f64 (sqrt.f64 #s(literal -2 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(* -1 (* (pow x 3) (sqrt 2)))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))

rewrite41.0ms (1.8%)

Memory
-11.3MiB live, 35.1MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02682
04360
111958
065958
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
16 → 394
Calls
Call 1
Inputs
(hypot.f64 x x)
#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))
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(sqrt.f64 x)
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 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 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))))
(*.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))))
Outputs
(*.f64 (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/4 binary64)) (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/4 binary64)))
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 x x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x))
(pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/2 binary64))
(/.f64 (neg.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))))) (*.f64 x x))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))) (*.f64 (neg.f64 x) x))
(/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 x x))
(neg.f64 (/.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))) (*.f64 x x)))
(neg.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 (neg.f64 x) x)))
(sqrt.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) x)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) x)
(hypot.f64 (neg.f64 x) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x)))
(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 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x)))
(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 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 x)))
(hypot.f64 x (neg.f64 (fabs.f64 x)))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) #s(literal 1/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)
(*.f64 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)))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/4 binary64)) (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/4 binary64)))
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 x x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x))
(pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/2 binary64))
(/.f64 (neg.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))))) (*.f64 x x))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))) (*.f64 (neg.f64 x) x))
(/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 x x))
(neg.f64 (/.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))) (*.f64 x x)))
(neg.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 (neg.f64 x) x)))
(sqrt.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) x)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) x)
(hypot.f64 (neg.f64 x) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x)))
(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 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x)))
(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 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 x)))
(hypot.f64 x (neg.f64 (fabs.f64 x)))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) #s(literal 1/2 binary64)))
(*.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (neg.f64 (pow.f64 x #s(literal 8 binary64)))) (neg.f64 (pow.f64 x #s(literal 4 binary64))))
(*.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (pow.f64 x #s(literal 12 binary64))) (pow.f64 x #s(literal 8 binary64)))
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (*.f64 x x)) (/.f64 #s(literal 2 binary64) (*.f64 x x)))
(*.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) (/.f64 (pow.f64 x #s(literal 6 binary64)) (*.f64 x x)))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(*.f64 (neg.f64 x) (+.f64 (neg.f64 x) (neg.f64 x)))
(*.f64 (neg.f64 x) (-.f64 (neg.f64 x) x))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)))
(*.f64 (fabs.f64 x) (+.f64 (fabs.f64 x) (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 4 binary64))))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 x (-.f64 x (neg.f64 x)))
(*.f64 x (*.f64 #s(literal 2 binary64) x))
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 x) x)))))
(/.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (neg.f64 (pow.f64 x #s(literal 4 binary64))))
(/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (pow.f64 x #s(literal 4 binary64)))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(fma.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (*.f64 x x))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 x x (*.f64 x x))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 0 binary64)) (/.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 0 binary64)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 4 binary64))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 4 binary64))))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) x))
(+.f64 (*.f64 x x) (*.f64 x x))
(*.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/2 binary64))
(pow.f64 x #s(literal 2 binary64))
(/.f64 (sqrt.f64 (neg.f64 (pow.f64 x #s(literal 8 binary64)))) (sqrt.f64 (neg.f64 (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (sqrt.f64 (pow.f64 x #s(literal 12 binary64))) (sqrt.f64 (pow.f64 x #s(literal 8 binary64))))
(neg.f64 (*.f64 (neg.f64 x) x))
(sqrt.f64 (pow.f64 x #s(literal 4 binary64)))
(fabs.f64 (*.f64 x x))
(exp.f64 (/.f64 (*.f64 (log.f64 x) #s(literal 4 binary64)) #s(literal 2 binary64)))
(exp.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 4 binary64)) #s(literal 1/2 binary64)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(exp.f64 (*.f64 (log.f64 (pow.f64 x #s(literal 4 binary64))) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/4 binary64)) (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/4 binary64)))
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 x x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x))
(pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/2 binary64))
(/.f64 (neg.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))))) (*.f64 x x))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))) (*.f64 (neg.f64 x) x))
(/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 x x))
(neg.f64 (/.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))) (*.f64 x x)))
(neg.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 (neg.f64 x) x)))
(sqrt.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) x)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) x)
(hypot.f64 (neg.f64 x) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x)))
(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 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x)))
(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 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 x)))
(hypot.f64 x (neg.f64 (fabs.f64 x)))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 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 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/2 binary64)))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 #s(literal 0 binary64) (-.f64 x x))
(+.f64 x x)
(*.f64 (*.f64 (*.f64 x x) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (*.f64 x x) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 (neg.f64 x) (fabs.f64 x)) (*.f64 (neg.f64 x) (fabs.f64 x)))
(*.f64 (*.f64 (fabs.f64 x) (neg.f64 x)) (*.f64 (fabs.f64 x) (neg.f64 x)))
(*.f64 (*.f64 (fabs.f64 x) x) (*.f64 (fabs.f64 x) x))
(*.f64 (*.f64 x (fabs.f64 x)) (*.f64 x (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) x)
(*.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 x) x))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (*.f64 x x)))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (*.f64 x x)))
(*.f64 (*.f64 x x) (*.f64 x x))
(*.f64 x (pow.f64 x #s(literal 3 binary64)))
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 4 binary64))
(pow.f64 (*.f64 x x) #s(literal 2 binary64))
(pow.f64 x #s(literal 4 binary64))
(/.f64 (neg.f64 (neg.f64 (pow.f64 x #s(literal 8 binary64)))) (neg.f64 (neg.f64 (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (neg.f64 (pow.f64 x #s(literal 12 binary64))) (neg.f64 (pow.f64 x #s(literal 8 binary64))))
(/.f64 (neg.f64 (pow.f64 x #s(literal 8 binary64))) (neg.f64 (pow.f64 x #s(literal 4 binary64))))
(/.f64 (pow.f64 x #s(literal 8 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 0 binary64)))
(/.f64 (pow.f64 x #s(literal 12 binary64)) (pow.f64 x #s(literal 8 binary64)))
(fma.f64 (*.f64 (*.f64 x x) (neg.f64 x)) (neg.f64 x) #s(literal 0 binary64))
(fma.f64 (*.f64 (*.f64 x x) (fabs.f64 x)) (fabs.f64 x) #s(literal 0 binary64))
(fma.f64 (*.f64 (neg.f64 x) (fabs.f64 x)) (*.f64 (neg.f64 x) (fabs.f64 x)) #s(literal 0 binary64))
(fma.f64 (*.f64 (fabs.f64 x) (neg.f64 x)) (*.f64 (fabs.f64 x) (neg.f64 x)) #s(literal 0 binary64))
(fma.f64 (*.f64 (fabs.f64 x) x) (*.f64 (fabs.f64 x) x) #s(literal 0 binary64))
(fma.f64 (*.f64 x (fabs.f64 x)) (*.f64 x (fabs.f64 x)) #s(literal 0 binary64))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) x #s(literal 0 binary64))
(fma.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 x) x) #s(literal 0 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) (*.f64 x x)) #s(literal 0 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (*.f64 x x)) #s(literal 0 binary64))
(fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64))
(fma.f64 x (pow.f64 x #s(literal 3 binary64)) #s(literal 0 binary64))
(-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (pow.f64 x #s(literal 4 binary64)))
(-.f64 (/.f64 #s(literal 0 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 x #s(literal 8 binary64)) (neg.f64 (pow.f64 x #s(literal 4 binary64)))))
(-.f64 #s(literal 0 binary64) (*.f64 (*.f64 (neg.f64 x) x) (*.f64 x x)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 4 binary64)))
(+.f64 (/.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 8 binary64))) (pow.f64 x #s(literal 4 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 4 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 4 binary64))))
(+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 0 binary64))
(+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))
(*.f64 (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/4 binary64)) (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/4 binary64)))
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 x x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x))
(pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/2 binary64))
(/.f64 (neg.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))))) (*.f64 x x))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))) (*.f64 (neg.f64 x) x))
(/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 x x))
(neg.f64 (/.f64 (neg.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))) (*.f64 x x)))
(neg.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 (neg.f64 x) x)))
(sqrt.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) x)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) x)
(hypot.f64 (neg.f64 x) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x)))
(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 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x)))
(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 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 x)))
(hypot.f64 x (neg.f64 (fabs.f64 x)))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64)))
(pow.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)))
(hypot.f64 (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)))
(hypot.f64 (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) (neg.f64 (pow.f64 x #s(literal 3 binary64))))
(hypot.f64 (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(hypot.f64 (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))
(hypot.f64 (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64)))
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)))
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (pow.f64 x #s(literal 3 binary64))))
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) (pow.f64 x #s(literal 3 binary64)))
(hypot.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)))
(hypot.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (neg.f64 (pow.f64 x #s(literal 3 binary64))))
(hypot.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(hypot.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))
(hypot.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))
(hypot.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)))
(hypot.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (neg.f64 (pow.f64 x #s(literal 3 binary64))))
(hypot.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(hypot.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))
(hypot.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))
(hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)))
(hypot.f64 (pow.f64 x #s(literal 3 binary64)) (neg.f64 (pow.f64 x #s(literal 3 binary64))))
(hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))
(hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) #s(literal 1/2 binary64)))
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (pow.f64 x #s(literal 3 binary64)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)))
(*.f64 (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 6 binary64)) #s(literal 2 binary64))
(*.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 12 binary64)) (pow.f64 x #s(literal 12 binary64))) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))))
(/.f64 (+.f64 (pow.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 3 binary64)) (pow.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 12 binary64)) (-.f64 (pow.f64 x #s(literal 12 binary64)) (pow.f64 x #s(literal 12 binary64)))))
(fma.f64 (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (pow.f64 x #s(literal 3 binary64))) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (*.f64 x x) (pow.f64 x #s(literal 4 binary64)) (pow.f64 x #s(literal 6 binary64)))
(-.f64 (pow.f64 x #s(literal 6 binary64)) (*.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) (pow.f64 x #s(literal 3 binary64))))
(+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))
(*.f64 (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/2 binary64))
(pow.f64 x #s(literal 2 binary64))
(/.f64 (sqrt.f64 (neg.f64 (pow.f64 x #s(literal 8 binary64)))) (sqrt.f64 (neg.f64 (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (sqrt.f64 (pow.f64 x #s(literal 12 binary64))) (sqrt.f64 (pow.f64 x #s(literal 8 binary64))))
(neg.f64 (*.f64 (neg.f64 x) x))
(sqrt.f64 (pow.f64 x #s(literal 4 binary64)))
(fabs.f64 (*.f64 x x))
(exp.f64 (/.f64 (*.f64 (log.f64 x) #s(literal 4 binary64)) #s(literal 2 binary64)))
(exp.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 4 binary64)) #s(literal 1/2 binary64)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(exp.f64 (*.f64 (log.f64 (pow.f64 x #s(literal 4 binary64))) #s(literal 1/2 binary64)))

eval21.0ms (0.9%)

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

Compiled 2 863 to 631 computations (78% saved)

prune12.0ms (0.5%)

Memory
-33.6MiB live, 12.6MiB allocated; 3ms collecting garbage
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2313234
Fresh000
Picked235
Done000
Total2336239
Accuracy
100.0%
Counts
239 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
16.8%
(sqrt.f64 (/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x)))
51.7%
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
99.4%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
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 59 to 40 computations (32.2% saved)

simplify198.0ms (8.7%)

Memory
20.2MiB live, 120.8MiB allocated; 33ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x x)
cost-diff0
(sqrt.f64 (+.f64 x x))
cost-diff0
(sqrt.f64 x)
cost-diff0
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
cost-diff0
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
cost-diff0
(/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x))
cost-diff0
(sqrt.f64 (/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x)))
cost-diff4
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x))
cost-diff0
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))
cost-diff0
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)
cost-diff0
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x))
cost-diff3
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022104
03696
16893
221089
380085
4204885
5459585
0848382
Stop Event
iter limit
node limit
iter limit
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
(sqrt.f64 (/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x)))
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x))
(/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(pow.f64 x #s(literal 6 binary64))
x
#s(literal 6 binary64)
#s(literal 2 binary64)
(*.f64 x x)
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(sqrt.f64 x)
x
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
Outputs
#s(approx (sqrt (+ (* x 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 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64)))
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1/2 binary64)
x
(sqrt.f64 (/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x)))
(sqrt.f64 (*.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (pow.f64 x #s(literal 6 binary64))))
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x))
(*.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (pow.f64 x #s(literal 6 binary64)))
(/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x))
(*.f64 (/.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) x) x) #s(literal 2 binary64))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(pow.f64 x #s(literal 6 binary64))
x
#s(literal 6 binary64)
#s(literal 2 binary64)
(*.f64 x x)
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x))
(sqrt.f64 x)
x
(sqrt.f64 (+.f64 x x))
(sqrt.f64 (*.f64 #s(literal 2 binary64) x))
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)

localize58.0ms (2.5%)

Memory
-0.6MiB live, 45.7MiB allocated; 4ms collecting garbage
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x x)
accuracy0.0
(sqrt.f64 (+.f64 x x))
accuracy0.0
(sqrt.f64 x)
accuracy0.35775375976844204
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
accuracy0.0
(*.f64 x x)
accuracy30.89886741474288
(sqrt.f64 (/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x)))
accuracy34.729891681710676
(/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x))
accuracy43.96548132211597
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x))
accuracy0.0
(log.f64 #s(literal 2 binary64))
accuracy0.0
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x))
accuracy0.4140625
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)
accuracy1.0
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
Samples
45.0ms256×0valid
Compiler

Compiled 98 to 21 computations (78.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 29.0ms
ival-mult: 7.0ms (24.4% of total)
ival-hypot: 5.0ms (17.4% of total)
ival-sqrt: 4.0ms (13.9% of total)
ival-div: 3.0ms (10.5% of total)
ival-log: 3.0ms (10.5% of total)
ival-pow: 3.0ms (10.5% of total)
ival-exp: 2.0ms (7% of total)
ival-add: 1.0ms (3.5% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series7.0ms (0.3%)

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

3 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
((exp (* (log 2) 1/2)) (sqrt (+ (* x x) (* x x))) (* (exp (* (log 2) 1/2)) x) (* (log 2) 1/2) (/ (/ (* (pow x 6) 2) (* x x)) (* x x)) (sqrt (/ (/ (* (pow x 6) 2) (* x x)) (* x x))) (/ (* (pow x 6) 2) (* x x)) (* (pow x 6) 2) (* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x) (log 2) (* x x))
2.0ms
x
@inf
((exp (* (log 2) 1/2)) (sqrt (+ (* x x) (* x x))) (* (exp (* (log 2) 1/2)) x) (* (log 2) 1/2) (/ (/ (* (pow x 6) 2) (* x x)) (* x x)) (sqrt (/ (/ (* (pow x 6) 2) (* x x)) (* x x))) (/ (* (pow x 6) 2) (* x x)) (* (pow x 6) 2) (* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x) (log 2) (* x x))
2.0ms
x
@0
((exp (* (log 2) 1/2)) (sqrt (+ (* x x) (* x x))) (* (exp (* (log 2) 1/2)) x) (* (log 2) 1/2) (/ (/ (* (pow x 6) 2) (* x x)) (* x x)) (sqrt (/ (/ (* (pow x 6) 2) (* x x)) (* x x))) (/ (* (pow x 6) 2) (* x x)) (* (pow x 6) 2) (* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x) (log 2) (* x x))

simplify308.0ms (13.4%)

Memory
-1.3MiB live, 138.0MiB allocated; 20ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02856
16456
215756
331956
464556
5100056
6107956
7110256
8110256
9126256
10131956
11131956
12134756
13156156
14189956
15226756
16271956
17359356
18497156
19708056
0800456
Stop Event
iter limit
node limit
Counts
12 → 12
Calls
Call 1
Inputs
(* x (sqrt 2))
(* 2 (pow x 2))
(* 2 (pow x 4))
(* 2 (pow x 6))
(sqrt x)
(* (sqrt x) (sqrt 2))
(* 2 x)
(pow x 2)
(* -1 (* x (sqrt 2)))
(* -1 (* x (* (sqrt -2) (sqrt -1))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))
Outputs
(* x (sqrt 2))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(* 2 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64))
(* 2 (pow x 6))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(sqrt x)
(sqrt.f64 x)
(* (sqrt x) (sqrt 2))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(pow x 2)
(*.f64 x x)
(* -1 (* x (sqrt 2)))
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))
(* -1 (* x (* (sqrt -2) (sqrt -1))))
(*.f64 (neg.f64 x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))
(*.f64 (neg.f64 (sqrt.f64 #s(literal -2 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))

rewrite77.0ms (3.4%)

Memory
-16.9MiB live, 29.0MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02294
03683
110169
057666
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
14 → 212
Calls
Call 1
Inputs
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#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)
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x))
(sqrt.f64 (/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (*.f64 x x)))
(/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(sqrt.f64 x)
(sqrt.f64 (+.f64 x x))
(+.f64 x x)
(log.f64 #s(literal 2 binary64))
(*.f64 x x)
Outputs
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)))
(pow.f64 (exp.f64 #s(literal 1/2 binary64)) (log.f64 #s(literal 2 binary64)))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) (-.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (-.f64 (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))))))
(sqrt.f64 #s(literal 2 binary64))
(exp.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))
(+.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))
(+.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))
(*.f64 x (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x))
(fma.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))))
(+.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x))
(+.f64 (*.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 x (sinh.f64 (log.f64 (sqrt.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 (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (/.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) x) (neg.f64 x)) (/.f64 (/.f64 #s(literal 2 binary64) x) (neg.f64 x)))
(*.f64 (/.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) x) (fabs.f64 x)) (/.f64 (/.f64 #s(literal 2 binary64) x) (fabs.f64 x)))
(*.f64 (/.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) x) x) (/.f64 (/.f64 #s(literal 2 binary64) x) x))
(*.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (neg.f64 x)) (/.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) (neg.f64 x)))
(*.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fabs.f64 x)) (/.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) (fabs.f64 x)))
(*.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (*.f64 x x)) (/.f64 (/.f64 #s(literal 2 binary64) x) x))
(*.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) (/.f64 (pow.f64 x #s(literal 6 binary64)) (*.f64 x x)))
(*.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) x) (/.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 x x)))
(*.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) x) (/.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) x))
(*.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) (*.f64 x x)))
(*.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
(*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (/.f64 (*.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) (pow.f64 x #s(literal 6 binary64))) (neg.f64 x)) (neg.f64 x))
(/.f64 (/.f64 (*.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) (pow.f64 x #s(literal 6 binary64))) (fabs.f64 x)) (fabs.f64 x))
(/.f64 (neg.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 x))
(/.f64 (*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) x)) (pow.f64 x #s(literal 3 binary64)))
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64))) x)
(/.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 6 binary64))) (*.f64 (*.f64 (neg.f64 x) x) (*.f64 x x)))
(/.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 6 binary64))) (neg.f64 (pow.f64 x #s(literal 4 binary64))))
(/.f64 (/.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 6 binary64))) (*.f64 x x)) (*.f64 (neg.f64 x) x))
(/.f64 (*.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) (pow.f64 x #s(literal 6 binary64))) (*.f64 x x))
(/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (pow.f64 x #s(literal 4 binary64)))
(neg.f64 (/.f64 (/.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 6 binary64))) (*.f64 x x)) (*.f64 x x)))
(neg.f64 (/.f64 (*.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) (pow.f64 x #s(literal 6 binary64))) (*.f64 (neg.f64 x) x)))
(*.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) #s(literal 1/4 binary64)))
(pow.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) #s(literal 1/2 binary64))
(/.f64 (neg.f64 (/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x))) (neg.f64 (fabs.f64 x)))
(/.f64 (sqrt.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 x))
(/.f64 (sqrt.f64 (/.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 6 binary64))) (*.f64 x x))) (sqrt.f64 (*.f64 (neg.f64 x) x)))
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (sqrt.f64 (pow.f64 x #s(literal 4 binary64))))
(/.f64 (/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x)) (fabs.f64 x))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))))
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))) #s(literal 1/2 binary64)))
(*.f64 (/.f64 #s(literal 2 binary64) (neg.f64 x)) (/.f64 (pow.f64 x #s(literal 6 binary64)) (neg.f64 x)))
(*.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 x)) (/.f64 (pow.f64 x #s(literal 6 binary64)) (fabs.f64 x)))
(*.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (neg.f64 x)) (/.f64 #s(literal 2 binary64) (neg.f64 x)))
(*.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fabs.f64 x)) (/.f64 #s(literal 2 binary64) (fabs.f64 x)))
(*.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) (pow.f64 x #s(literal 6 binary64)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) (/.f64 (/.f64 #s(literal 2 binary64) x) x)))
(*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (pow.f64 x #s(literal 6 binary64)) x))
(*.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) x) (/.f64 #s(literal 2 binary64) x))
(*.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 (/.f64 #s(literal 2 binary64) x) x))
(*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (*.f64 x x)))
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (neg.f64 x)) (neg.f64 x))
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (fabs.f64 x)) (fabs.f64 x))
(/.f64 (*.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) x) #s(literal 2 binary64)) x)
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) x))) (neg.f64 x))
(/.f64 (neg.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 6 binary64)))) (*.f64 x x))
(/.f64 (*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) x)) x)
(/.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 6 binary64))) (*.f64 (neg.f64 x) x))
(/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (*.f64 x x))
(neg.f64 (/.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 6 binary64))) (*.f64 x x)))
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (pow.f64 x #s(literal 3 binary64)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)))
(*.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))) (*.f64 x #s(literal 2 binary64)))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))))
(/.f64 (+.f64 (pow.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 3 binary64)) (pow.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 3 binary64))) (fma.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))))))
(fma.f64 (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (pow.f64 x #s(literal 3 binary64))) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (fabs.f64 (pow.f64 x #s(literal 3 binary64))) (fabs.f64 (pow.f64 x #s(literal 3 binary64))) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (*.f64 x x) (pow.f64 x #s(literal 4 binary64)) (pow.f64 x #s(literal 6 binary64)))
(+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64)))
(*.f64 (hypot.f64 x x) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (hypot.f64 x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64))))
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(sqrt.f64 (*.f64 x #s(literal 2 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) x)
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x)))
(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) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x)))
(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 (neg.f64 (neg.f64 x)))
(hypot.f64 x (neg.f64 (fabs.f64 x)))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (*.f64 x #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 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64)))
(*.f64 (hypot.f64 x x) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (hypot.f64 x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))
(pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64))))
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64)))
(sqrt.f64 (*.f64 x #s(literal 2 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 x)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 x)) x)
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x)))
(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) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x)))
(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 (neg.f64 (neg.f64 x)))
(hypot.f64 x (neg.f64 (fabs.f64 x)))
(hypot.f64 x (neg.f64 x))
(hypot.f64 x (fabs.f64 x))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (*.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)))
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (neg.f64 x) (+.f64 (neg.f64 x) (neg.f64 x)))
(*.f64 (neg.f64 x) (-.f64 (neg.f64 x) x))
(*.f64 (fabs.f64 x) (+.f64 (fabs.f64 x) (fabs.f64 x)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(*.f64 x (-.f64 x (neg.f64 x)))
(*.f64 x (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 #s(literal 2 binary64) x)
(/.f64 (*.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 x) x)))))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64))))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 6 binary64))) (neg.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)) (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 x x (*.f64 x x))
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64)))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 0 binary64)) (/.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 0 binary64)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x))
(+.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 (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) x))
(+.f64 (*.f64 x x) (*.f64 x x))
(+.f64 x x)
(log.f64 #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 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 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)))

eval19.0ms (0.8%)

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

Compiled 2 748 to 613 computations (77.7% saved)

prune5.0ms (0.2%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New1981199
Fresh000
Picked123
Done033
Total1996205
Accuracy
100.0%
Counts
205 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
20.4%
(/.f64 (/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x)) (fabs.f64 x))
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
51.7%
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
99.4%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
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 57 to 40 computations (29.8% saved)

simplify28.0ms (1.2%)

Memory
-41.9MiB live, 4.6MiB allocated; 3ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
cost-diff0
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)))
cost-diff0
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x))
cost-diff2
(/.f64 (/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x)) (fabs.f64 x))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0940
01540
12238
23238
35438
48338
59438
610438
711438
011438
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 (/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x)) (fabs.f64 x))
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(pow.f64 x #s(literal 6 binary64))
x
#s(literal 6 binary64)
#s(literal 2 binary64)
(fabs.f64 x)
Outputs
(/.f64 (/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x)) (fabs.f64 x))
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))) (*.f64 x x))
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x))
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))) (fabs.f64 x))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))
(pow.f64 x #s(literal 6 binary64))
x
#s(literal 6 binary64)
#s(literal 2 binary64)
(fabs.f64 x)

localize25.0ms (1.1%)

Memory
21.9MiB live, 21.9MiB allocated; 0ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fabs.f64 x)
accuracy8.527035398704859
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x))
accuracy10.646158601601941
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)))
accuracy30.994167327966306
(/.f64 (/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x)) (fabs.f64 x))
Samples
18.0ms256×0valid
Compiler

Compiled 42 to 11 computations (73.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-div: 3.0ms (26.9% of total)
ival-pow: 3.0ms (26.9% of total)
ival-mult: 2.0ms (18% of total)
ival-sqrt: 2.0ms (18% of total)
ival-fabs: 1.0ms (9% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series9.0ms (0.4%)

Memory
8.1MiB live, 8.1MiB allocated; 0ms collecting garbage
Counts
5 → 8
Calls
Call 1
Inputs
(/.f64 (/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x)) (fabs.f64 x))
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(fabs.f64 x)
Outputs
(/ (* (pow x 3) (sqrt 2)) (pow (fabs x) 2))
(/ (* (pow x 3) (sqrt 2)) (fabs x))
(* (pow x 3) (sqrt 2))
(* 2 (pow x 6))
(fabs x)
(* -1 (/ (* (pow x 3) (sqrt 2)) (pow (fabs x) 2)))
(* -1 (/ (* (pow x 3) (sqrt 2)) (fabs x)))
(* -1 (* (pow x 3) (sqrt 2)))
Calls

3 calls:

TimeVariablePointExpression
4.0ms
x
@inf
((/ (/ (sqrt (* (pow x 6) 2)) (fabs x)) (fabs x)) (/ (sqrt (* (pow x 6) 2)) (fabs x)) (sqrt (* (pow x 6) 2)) (* (pow x 6) 2) (fabs x))
3.0ms
x
@-inf
((/ (/ (sqrt (* (pow x 6) 2)) (fabs x)) (fabs x)) (/ (sqrt (* (pow x 6) 2)) (fabs x)) (sqrt (* (pow x 6) 2)) (* (pow x 6) 2) (fabs x))
2.0ms
x
@0
((/ (/ (sqrt (* (pow x 6) 2)) (fabs x)) (fabs x)) (/ (sqrt (* (pow x 6) 2)) (fabs x)) (sqrt (* (pow x 6) 2)) (* (pow x 6) 2) (fabs x))

simplify75.0ms (3.3%)

Memory
-1.8MiB live, 43.5MiB allocated; 5ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01762
14160
212260
359248
4277644
5540844
6721844
0804544
Stop Event
iter limit
node limit
Counts
8 → 8
Calls
Call 1
Inputs
(/ (* (pow x 3) (sqrt 2)) (pow (fabs x) 2))
(/ (* (pow x 3) (sqrt 2)) (fabs x))
(* (pow x 3) (sqrt 2))
(* 2 (pow x 6))
(fabs x)
(* -1 (/ (* (pow x 3) (sqrt 2)) (pow (fabs x) 2)))
(* -1 (/ (* (pow x 3) (sqrt 2)) (fabs x)))
(* -1 (* (pow x 3) (sqrt 2)))
Outputs
(/ (* (pow x 3) (sqrt 2)) (pow (fabs x) 2))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x)
(/ (* (pow x 3) (sqrt 2)) (fabs x))
(*.f64 (*.f64 (fabs.f64 x) x) (sqrt.f64 #s(literal 2 binary64)))
(* (pow x 3) (sqrt 2))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64)))
(* 2 (pow x 6))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(fabs x)
(fabs.f64 x)
(* -1 (/ (* (pow x 3) (sqrt 2)) (pow (fabs x) 2)))
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x)
(* -1 (/ (* (pow x 3) (sqrt 2)) (fabs x)))
(*.f64 (*.f64 (fabs.f64 x) x) (neg.f64 (sqrt.f64 #s(literal 2 binary64))))
(* -1 (* (pow x 3) (sqrt 2)))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))

rewrite74.0ms (3.3%)

Memory
-11.8MiB live, 36.9MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0934
01534
14132
214230
076830
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 130
Calls
Call 1
Inputs
(/.f64 (/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x)) (fabs.f64 x))
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64)))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(fabs.f64 x)
Outputs
(*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) (neg.f64 x)) (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) (neg.f64 x)))
(*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) x) (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) x))
(*.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) (/.f64 (pow.f64 x #s(literal 3 binary64)) (neg.f64 x)))
(*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (neg.f64 x)) (/.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x))
(*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (neg.f64 x)) (/.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)))
(*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 x)) (/.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x) (sqrt.f64 x)))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) (/.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x) x)))
(*.f64 (/.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x) x) (pow.f64 x #s(literal 3 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) (*.f64 x x)))
(*.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x) (/.f64 (pow.f64 x #s(literal 3 binary64)) x))
(*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) x) (/.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (/.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 (neg.f64 x) x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 x x)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) (/.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x) x))
(*.f64 (*.f64 x x) (*.f64 x (/.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x) x)))
(*.f64 x (*.f64 (*.f64 x x) (/.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x) x)))
(/.f64 (/.f64 (*.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 (*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) x) (sqrt.f64 #s(literal 2 binary64))) x)
(/.f64 (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 (neg.f64 x) x))
(/.f64 (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (/.f64 (sqrt.f64 #s(literal 2 binary64)) x)) (neg.f64 x))
(/.f64 (*.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x) (pow.f64 x #s(literal 3 binary64))) x)
(/.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 x x))
(neg.f64 (/.f64 (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 x x)))
(sqrt.f64 (/.f64 (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (pow.f64 x #s(literal 6 binary64)) x)) (*.f64 x x)))
(sqrt.f64 (/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (pow.f64 x #s(literal 4 binary64))))
(*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) (sqrt.f64 x)) (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) (sqrt.f64 x)))
(*.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) (/.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 x)))
(*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 x)) (/.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) (/.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) x))
(*.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x) (pow.f64 x #s(literal 3 binary64)))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (/.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (/.f64 (pow.f64 x #s(literal 3 binary64)) x))
(*.f64 (pow.f64 x #s(literal 3 binary64)) (/.f64 (sqrt.f64 #s(literal 2 binary64)) x))
(*.f64 (*.f64 x x) (*.f64 x (/.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
(*.f64 x (*.f64 (*.f64 x x) (/.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
(pow.f64 (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (pow.f64 x #s(literal 6 binary64)) x)) #s(literal 1/2 binary64))
(/.f64 (/.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))) (neg.f64 x))
(/.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64))) x)
(neg.f64 (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (/.f64 (sqrt.f64 #s(literal 2 binary64)) x)))
(sqrt.f64 (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (pow.f64 x #s(literal 6 binary64)) x)))
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)))
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x)) x)
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) (*.f64 x x))
(*.f64 (neg.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64))) (neg.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64))))
(*.f64 (neg.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (fabs.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64))))
(*.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))) (pow.f64 x #s(literal 3/2 binary64)))
(*.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 3/2 binary64)))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) (sqrt.f64 #s(literal 2 binary64))))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (neg.f64 (sqrt.f64 #s(literal 2 binary64))))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64)))
(*.f64 (pow.f64 x #s(literal 3 binary64)) (neg.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64)))))
(*.f64 (pow.f64 x #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (*.f64 x x) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))
(*.f64 x (*.f64 (*.f64 x x) (sqrt.f64 #s(literal 2 binary64))))
(pow.f64 (exp.f64 (fma.f64 (log.f64 x) #s(literal 6 binary64) (log.f64 #s(literal 2 binary64)))) #s(literal 1/2 binary64))
(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))) #s(literal 1/4 binary64))
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/4 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/2 binary64))
(neg.f64 (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (sqrt.f64 #s(literal 2 binary64))))
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))))
(hypot.f64 (neg.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (neg.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64))))
(hypot.f64 (neg.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(hypot.f64 (neg.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (pow.f64 x #s(literal 3 binary64)))
(hypot.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (neg.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64))))
(hypot.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(hypot.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))
(hypot.f64 (pow.f64 x #s(literal 3 binary64)) (neg.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64))))
(hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))
(exp.f64 (*.f64 (fma.f64 (log.f64 x) #s(literal 6 binary64) (log.f64 #s(literal 2 binary64))) #s(literal 1/2 binary64)))
(+.f64 (cosh.f64 (*.f64 (fma.f64 (log.f64 x) #s(literal 6 binary64) (log.f64 #s(literal 2 binary64))) #s(literal 1/2 binary64))) (sinh.f64 (*.f64 (fma.f64 (log.f64 x) #s(literal 6 binary64) (log.f64 #s(literal 2 binary64))) #s(literal 1/2 binary64))))
(*.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)))
(*.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (*.f64 x x)) x)
(*.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) x) (*.f64 x x))
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(*.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (fma.f64 x x (*.f64 x x)))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))))
(*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64)))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) #s(literal 2 binary64)))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (+.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64))))
(*.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) (*.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))))
(*.f64 x (*.f64 (*.f64 x x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))))
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))))
(/.f64 (+.f64 (pow.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 3 binary64)) (pow.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 3 binary64))) (fma.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))))))
(fma.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 x x)) x (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (neg.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (neg.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64))) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64))) #s(literal 2 binary64) (*.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64))) #s(literal 2 binary64)))
(fma.f64 (*.f64 x x) (pow.f64 x #s(literal 4 binary64)) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 x (*.f64 (*.f64 x x) (pow.f64 x #s(literal 3 binary64))) (pow.f64 x #s(literal 6 binary64)))
(fma.f64 #s(literal 2 binary64) (cosh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64))) (*.f64 #s(literal 2 binary64) (sinh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64)))))
(-.f64 (pow.f64 x #s(literal 6 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64))))
(-.f64 (pow.f64 x #s(literal 6 binary64)) (*.f64 (neg.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (pow.f64 (neg.f64 x) #s(literal 3 binary64))))
(-.f64 (pow.f64 x #s(literal 6 binary64)) (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))))
(+.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (cosh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64)))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64))))
(+.f64 (*.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64))) #s(literal 2 binary64)) (*.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64))) #s(literal 2 binary64)))
(+.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64)))) (*.f64 #s(literal 2 binary64) (sinh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64)))))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64))) (+.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 6 binary64))) (pow.f64 x #s(literal 6 binary64))))
(+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/4 binary64)))
(*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 (sqrt.f64 x)))
(*.f64 (fabs.f64 (sqrt.f64 x)) (fabs.f64 (sqrt.f64 x)))
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 1/2 binary64)) (pow.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(pow.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64))
(pow.f64 (sqrt.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow.f64 x #s(literal 1 binary64))
(neg.f64 (neg.f64 x))
(sqrt.f64 (*.f64 x x))
(fabs.f64 (neg.f64 x))
(fabs.f64 x)
(exp.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 1/2 binary64)))
(exp.f64 (log.f64 x))
(+.f64 (cosh.f64 (log.f64 x)) (sinh.f64 (log.f64 x)))
x

eval16.0ms (0.7%)

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

Compiled 2 507 to 518 computations (79.3% saved)

prune9.0ms (0.4%)

Memory
-29.3MiB live, 15.7MiB allocated; 4ms collecting garbage
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New1561157
Fresh000
Picked101
Done055
Total1576163
Accuracy
100.0%
Counts
163 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
20.4%
(/.f64 (/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 2 binary64))) (fabs.f64 x)) x)
99.4%
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
51.7%
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))
99.4%
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))
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 166 to 86 computations (48.2% saved)

regimes13.0ms (0.5%)

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

4 calls:

3.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)

regimes9.0ms (0.4%)

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

4 calls:

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

Compiled 19 to 10 computations (47.4% saved)

regimes6.0ms (0.2%)

Memory
11.4MiB live, 11.5MiB allocated; 0ms collecting garbage
Accuracy

Total -30.7b remaining (-7410%)

Threshold costs -30.7b (-7410%)

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

4 calls:

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

Compiled 19 to 10 computations (47.4% saved)

simplify42.0ms (1.8%)

Memory
-4.8MiB live, 41.9MiB allocated; 3ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01321
12421
26121
313821
421721
527921
647121
7226721
8390521
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))
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))

derivations72.0ms (3.1%)

Memory
30.9MiB live, 80.5MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
11817
24317
39217
422817
543717
648517
048517
0418
0714
12910
02509
02682
04360
111958
065958
Stop Event
fuel
iter limit
iter limit
node limit
iter limit
iter limit
iter limit
iter limit
unsound
iter limit
iter limit
saturated
Compiler

Compiled 23 to 13 computations (43.5% saved)

preprocess24.0ms (1%)

Memory
-7.6MiB live, 39.1MiB allocated; 3ms collecting garbage
Remove

(abs x)

Compiler

Compiled 68 to 38 computations (44.1% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...