sqrt D (should all be same)

Time bar (total: 3.0s)

analyze1.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample1.4s (47.6%)

Results
1.4s8253×body256valid
0.0msbody256infinite
Bogosity

preprocess222.0ms (7.4%)

Algorithm
egg-herbie
Rules
1792×fma-def
1318×fma-neg
1110×distribute-lft-neg-in
808×distribute-rgt-neg-in
638×neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01251
12651
25351
319351
483051
5187551
6386151
7520351
8643051
9754551
Stop Event
node limit
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (pow.f64 (neg.f64 x) 2)))
Outputs
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x -2)))
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x -2)))
(sqrt.f64 (*.f64 2 (pow.f64 (neg.f64 x) 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x -2)))
Symmetry

(abs x)

Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Compiler

Compiled 13 to 9 computations (30.8% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
57.3%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
57.3%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize44.0ms (1.5%)

Localize:

Found 2 expressions with local error:

NewAccuracyProgram
100.0%
(*.f64 2 (*.f64 x x))
57.3%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 18 to 9 computations (50% saved)

series7.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@0
(sqrt.f64 (*.f64 2 (*.f64 x x)))
2.0ms
x
@inf
(*.f64 2 (*.f64 x x))
1.0ms
x
@inf
(sqrt.f64 (*.f64 2 (*.f64 x x)))
1.0ms
x
@0
(*.f64 2 (*.f64 x x))
0.0ms
x
@-inf
(sqrt.f64 (*.f64 2 (*.f64 x x)))

rewrite167.0ms (5.5%)

Algorithm
batch-egg-rewrite
Rules
1354×pow1
1244×add-exp-log
1244×log1p-expm1-u
1244×expm1-log1p-u
1214×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0830
116024
2181024
Stop Event
node limit
Counts
2 → 36
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(*.f64 2 (*.f64 x x))
Outputs
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(*.f64 x (sqrt.f64 2))
(*.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 1 (*.f64 x (sqrt.f64 2)))
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(fabs.f64 (*.f64 x (sqrt.f64 2)))
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(sqrt.f64 (*.f64 (pow.f64 x 4) 4))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))

simplify148.0ms (4.9%)

Algorithm
egg-herbie
Rules
1200×log-prod
1148×fma-def
1056×distribute-rgt-in
1030×distribute-lft-in
700×fma-neg
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
083816
1191816
2737816
32408688
47451688
Stop Event
node limit
Counts
60 → 50
Calls
Call 1
Inputs
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(*.f64 x (sqrt.f64 2))
(*.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 1 (*.f64 x (sqrt.f64 2)))
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(fabs.f64 (*.f64 x (sqrt.f64 2)))
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(sqrt.f64 (*.f64 (pow.f64 x 4) 4))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
Outputs
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(neg.f64 (hypot.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 1 (*.f64 x (sqrt.f64 2)))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 x (+.f64 x x)))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 2)))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 x (*.f64 x 2)))))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 x (+.f64 x x)))))
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 2)))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(fabs.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 x (sqrt.f64 2))
(hypot.f64 x x)
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(sqrt.f64 (*.f64 (pow.f64 x 4) 4))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (+.f64 x x))

eval10.0ms (0.3%)

Compiler

Compiled 396 to 288 computations (27.3% saved)

prune7.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New48250
Fresh000
Picked011
Done000
Total48351
Accuracy
100.0%
Counts
51 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.4%
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
57.3%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
100.0%
(hypot.f64 x x)
99.4%
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
57.3%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 38 to 26 computations (31.6% saved)

localize37.0ms (1.2%)

Localize:

Found 2 expressions with local error:

NewAccuracyProgram
100.0%
(hypot.f64 x x)
99.4%
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
Compiler

Compiled 24 to 14 computations (41.7% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(hypot.f64 x x)
1.0ms
x
@-inf
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
1.0ms
x
@inf
(hypot.f64 x x)
0.0ms
x
@0
(hypot.f64 x x)
0.0ms
x
@0
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))

rewrite61.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
1578×pow1
1450×add-exp-log
1450×log1p-expm1-u
1450×expm1-log1p-u
1416×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01034
120114
2231314
Stop Event
node limit
Counts
2 → 41
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(hypot.f64 x x)
Outputs
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(exp.f64 (log.f64 (hypot.f64 x x)))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (sqrt.f64 x)) (sqrt.f64 (*.f64 2 x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (cbrt.f64 (*.f64 2 x)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 x))) (sqrt.f64 x)))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 x 1/4) (*.f64 (pow.f64 x 1/4) (sqrt.f64 (*.f64 2 x))))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 (*.f64 2 x) 1/4) (*.f64 (pow.f64 (*.f64 2 x) 1/4) (sqrt.f64 x)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (*.f64 (sqrt.f64 (*.f64 2 x)) (cbrt.f64 x)) (cbrt.f64 (sqrt.f64 x)))
(*.f64 (*.f64 (sqrt.f64 (*.f64 2 x)) (pow.f64 x 1/4)) (pow.f64 x 1/4))
(*.f64 (*.f64 (sqrt.f64 x) (cbrt.f64 (*.f64 2 x))) (cbrt.f64 (sqrt.f64 (*.f64 2 x))))
(*.f64 (*.f64 (sqrt.f64 x) (pow.f64 (*.f64 2 x) 1/4)) (pow.f64 (*.f64 2 x) 1/4))
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(exp.f64 (log.f64 (hypot.f64 x x)))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))

simplify96.0ms (3.2%)

Algorithm
egg-herbie
Rules
1058×log-prod
764×fma-neg
716×exp-prod
604×sqr-pow
600×fma-def
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0771187
11521031
2439875
31976875
44158875
55930875
Stop Event
node limit
Counts
65 → 47
Calls
Call 1
Inputs
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 -1 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(*.f64 -1 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(*.f64 -1 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(*.f64 -1 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(exp.f64 (log.f64 (hypot.f64 x x)))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (sqrt.f64 x)) (sqrt.f64 (*.f64 2 x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (cbrt.f64 (*.f64 2 x)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 x))) (sqrt.f64 x)))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 x 1/4) (*.f64 (pow.f64 x 1/4) (sqrt.f64 (*.f64 2 x))))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 (*.f64 2 x) 1/4) (*.f64 (pow.f64 (*.f64 2 x) 1/4) (sqrt.f64 x)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (*.f64 (sqrt.f64 (*.f64 2 x)) (cbrt.f64 x)) (cbrt.f64 (sqrt.f64 x)))
(*.f64 (*.f64 (sqrt.f64 (*.f64 2 x)) (pow.f64 x 1/4)) (pow.f64 x 1/4))
(*.f64 (*.f64 (sqrt.f64 x) (cbrt.f64 (*.f64 2 x))) (cbrt.f64 (sqrt.f64 (*.f64 2 x))))
(*.f64 (*.f64 (sqrt.f64 x) (pow.f64 (*.f64 2 x) 1/4)) (pow.f64 (*.f64 2 x) 1/4))
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(exp.f64 (log.f64 (hypot.f64 x x)))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
Outputs
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 -1 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(*.f64 (*.f64 (sqrt.f64 -2) (sqrt.f64 -1)) (neg.f64 x))
(*.f64 (sqrt.f64 -2) (*.f64 (sqrt.f64 -1) (neg.f64 x)))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 -1 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(*.f64 (*.f64 (sqrt.f64 -2) (sqrt.f64 -1)) (neg.f64 x))
(*.f64 (sqrt.f64 -2) (*.f64 (sqrt.f64 -1) (neg.f64 x)))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 -1 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(*.f64 (*.f64 (sqrt.f64 -2) (sqrt.f64 -1)) (neg.f64 x))
(*.f64 (sqrt.f64 -2) (*.f64 (sqrt.f64 -1) (neg.f64 x)))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 -1 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 -2) (sqrt.f64 -1))))
(*.f64 (*.f64 (sqrt.f64 -2) (sqrt.f64 -1)) (neg.f64 x))
(*.f64 (sqrt.f64 -2) (*.f64 (sqrt.f64 -1) (neg.f64 x)))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (hypot.f64 x x) 1)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x 2)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(hypot.f64 x x)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(exp.f64 (log.f64 (hypot.f64 x x)))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 x))
(*.f64 (hypot.f64 x x) 1)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 1 (hypot.f64 x x))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (sqrt.f64 x)) (sqrt.f64 (*.f64 2 x))))
(*.f64 (cbrt.f64 x) (*.f64 (sqrt.f64 (*.f64 x 2)) (cbrt.f64 (sqrt.f64 x))))
(*.f64 (sqrt.f64 (*.f64 x 2)) (*.f64 (cbrt.f64 x) (cbrt.f64 (sqrt.f64 x))))
(*.f64 (cbrt.f64 (sqrt.f64 x)) (*.f64 (sqrt.f64 (*.f64 x 2)) (cbrt.f64 x)))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (*.f64 2 x)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 x))) (sqrt.f64 x)))
(*.f64 (cbrt.f64 (*.f64 x 2)) (*.f64 (sqrt.f64 x) (cbrt.f64 (sqrt.f64 (*.f64 x 2)))))
(*.f64 (cbrt.f64 (sqrt.f64 (*.f64 x 2))) (*.f64 (sqrt.f64 x) (cbrt.f64 (*.f64 x 2))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (pow.f64 x 1/4) (*.f64 (pow.f64 x 1/4) (sqrt.f64 (*.f64 2 x))))
(*.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (pow.f64 (*.f64 2 x) 1/4) (*.f64 (pow.f64 (*.f64 2 x) 1/4) (sqrt.f64 x)))
(*.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 x))
(*.f64 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (*.f64 (sqrt.f64 (*.f64 2 x)) (cbrt.f64 x)) (cbrt.f64 (sqrt.f64 x)))
(*.f64 (cbrt.f64 x) (*.f64 (sqrt.f64 (*.f64 x 2)) (cbrt.f64 (sqrt.f64 x))))
(*.f64 (sqrt.f64 (*.f64 x 2)) (*.f64 (cbrt.f64 x) (cbrt.f64 (sqrt.f64 x))))
(*.f64 (cbrt.f64 (sqrt.f64 x)) (*.f64 (sqrt.f64 (*.f64 x 2)) (cbrt.f64 x)))
(*.f64 (*.f64 (sqrt.f64 (*.f64 2 x)) (pow.f64 x 1/4)) (pow.f64 x 1/4))
(*.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 x))
(*.f64 (*.f64 (sqrt.f64 x) (cbrt.f64 (*.f64 2 x))) (cbrt.f64 (sqrt.f64 (*.f64 2 x))))
(*.f64 (cbrt.f64 (*.f64 x 2)) (*.f64 (sqrt.f64 x) (cbrt.f64 (sqrt.f64 (*.f64 x 2)))))
(*.f64 (cbrt.f64 (sqrt.f64 (*.f64 x 2))) (*.f64 (sqrt.f64 x) (cbrt.f64 (*.f64 x 2))))
(*.f64 (*.f64 (sqrt.f64 x) (pow.f64 (*.f64 2 x) 1/4)) (pow.f64 (*.f64 2 x) 1/4))
(*.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 x))
(pow.f64 (hypot.f64 x x) 1)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x 2)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(exp.f64 (log.f64 (hypot.f64 x x)))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)

eval9.0ms (0.3%)

Compiler

Compiled 378 to 226 computations (40.2% saved)

prune8.0ms (0.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New47047
Fresh000
Picked022
Done011
Total47350
Accuracy
100.0%
Counts
50 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.4%
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
57.3%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 42 to 29 computations (31% saved)

regimes14.0ms (0.5%)

Accuracy

Total -27.5b remaining (-234848.5%)

Threshold costs -27.5b (-234848.5%)

Counts
4 → 1
Calls
Call 1
Inputs
(hypot.f64 x x)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
Outputs
(hypot.f64 x x)
Calls

4 calls:

4.0ms
x
3.0ms
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
3.0ms
(*.f64 2 (pow.f64 x 2))
3.0ms
(pow.f64 x 2)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
100.0%1(*.f64 2 (pow.f64 x 2))
100.0%1(pow.f64 x 2)
Compiler

Compiled 42 to 31 computations (26.2% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
Stop Event
done
saturated
Calls
Call 1
Inputs
(hypot.f64 x x)
Outputs
(hypot.f64 x x)
Compiler

Compiled 4 to 2 computations (50% saved)

soundness715.0ms (23.7%)

Rules
1792×fma-def
1318×fma-neg
1200×log-prod
1148×fma-def
1110×distribute-lft-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01251
12651
25351
319351
483051
5187551
6386151
7520351
8643051
9754551
083816
1191816
2737816
32408688
47451688
Stop Event
node limit
node limit
Compiler

Compiled 118 to 78 computations (33.9% saved)

end0.0ms (0%)

preprocess23.0ms (0.8%)

Remove

(abs x)

Compiler

Compiled 30 to 20 computations (33.3% saved)

Profiling

Loading profile data...