sqrt E (should all be same)

Time bar (total: 2.2s)

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 10 to 8 computations (20% saved)

sample1.1s (51.5%)

Results
1.1s8254×body256valid
0.0msbody256infinite
Bogosity

preprocess96.0ms (4.4%)

Algorithm
egg-herbie
Rules
1068×fma-neg
982×distribute-lft-out
896×fma-def
886×hypot-def
744×distribute-lft-neg-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01251
12621
26821
323521
4104721
5282921
6583021
7789421
Stop Event
node limit
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
(sqrt.f64 (+.f64 (pow.f64 (neg.f64 x) 2) (pow.f64 (neg.f64 x) 2)))
Outputs
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(hypot.f64 x x)
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(hypot.f64 x x)
(sqrt.f64 (+.f64 (pow.f64 (neg.f64 x) 2) (pow.f64 (neg.f64 x) 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(hypot.f64 x x)
Symmetry

(abs x)

Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

Compiler

Compiled 10 to 6 computations (40% saved)

prune2.0ms (0.1%)

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

Compiled 22 to 14 computations (36.4% saved)

localize29.0ms (1.3%)

Localize:

Found 2 expressions with local error:

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

Compiled 22 to 10 computations (54.5% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite61.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
1392×pow1
1280×add-exp-log
1280×log1p-expm1-u
1280×expm1-log1p-u
1250×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0934
118114
2209814
Stop Event
node limit
Counts
2 → 50
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(hypot.f64 x x)
Outputs
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(*.f64 x (sqrt.f64 2))
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (pow.f64 1 1/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 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(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 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(fabs.f64 (hypot.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 x (sqrt.f64 2))
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (pow.f64 1 1/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 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(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 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(fabs.f64 (hypot.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)))

simplify106.0ms (4.8%)

Algorithm
egg-herbie
Rules
1008×log-prod
694×fma-neg
664×exp-prod
580×fma-def
564×sqr-pow
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0621384
11171198
23751012
318461012
440471012
558521012
Stop Event
node limit
Counts
74 → 37
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 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)
(*.f64 x (sqrt.f64 2))
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (pow.f64 1 1/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 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(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 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(fabs.f64 (hypot.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 x (sqrt.f64 2))
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (pow.f64 1 1/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 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(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 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(fabs.f64 (hypot.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 (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (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 x (sqrt.f64 2))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.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)
(*.f64 x (sqrt.f64 2))
(*.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 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 x (*.f64 x 2))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 x (*.f64 x 2))))
(*.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 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 2)))
(*.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 (pow.f64 1 1/2) (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 (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 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 2)))
(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 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x 2)))
(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)
(fabs.f64 (hypot.f64 x x))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(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 x (sqrt.f64 2))
(*.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 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 x (*.f64 x 2))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 x (*.f64 x 2))))
(*.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 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 2)))
(*.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 (pow.f64 1 1/2) (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 (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 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 2)))
(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 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x 2)))
(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)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x 2)))
(fabs.f64 (hypot.f64 x x))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(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)

eval6.0ms (0.3%)

Compiler

Compiled 268 to 154 computations (42.5% saved)

prune6.0ms (0.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New35237
Fresh000
Picked112
Done000
Total36339
Accuracy
100.0%
Counts
39 → 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))
99.3%
(*.f64 (sqrt.f64 2) x)
100.0%
(hypot.f64 x x)
99.4%
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
99.3%
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 34 to 24 computations (29.4% saved)

localize42.0ms (1.9%)

Localize:

Found 2 expressions with local error:

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

Compiled 28 to 19 computations (32.1% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite59.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
1708×pow1
1568×add-exp-log
1568×log1p-expm1-u
1568×expm1-log1p-u
1530×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
121922
2249322
Stop Event
node limit
Counts
2 → 32
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
Outputs
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 2 x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (*.f64 2 x) 3/2)))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 2 x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (*.f64 2 x) 3/2)))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))

simplify137.0ms (6.2%)

Algorithm
egg-herbie
Rules
1276×fma-neg
1162×log-prod
666×distribute-lft-out
644×distribute-rgt-in
634×distribute-lft-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056744
1124744
2398744
31886744
44890744
57246744
Stop Event
node limit
Counts
56 → 24
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 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 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 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 2 x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (*.f64 2 x) 3/2)))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 2 x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (*.f64 2 x) 3/2)))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) 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 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 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 x (sqrt.f64 -2)) (neg.f64 (sqrt.f64 -1)))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 (sqrt.f64 -2) (*.f64 x (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 x (sqrt.f64 -2)) (neg.f64 (sqrt.f64 -1)))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 (sqrt.f64 -2) (*.f64 x (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 x (sqrt.f64 -2)) (neg.f64 (sqrt.f64 -1)))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 (sqrt.f64 -2) (*.f64 x (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 x (sqrt.f64 -2)) (neg.f64 (sqrt.f64 -1)))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 (sqrt.f64 -2) (*.f64 x (neg.f64 (sqrt.f64 -1))))
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)
(*.f64 x (sqrt.f64 2))
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(*.f64 x (sqrt.f64 2))
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
(*.f64 x (sqrt.f64 2))
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)
(*.f64 x (sqrt.f64 2))
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)
(*.f64 x (sqrt.f64 2))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(*.f64 x (sqrt.f64 2))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(*.f64 x (sqrt.f64 2))
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))
(*.f64 x (sqrt.f64 2))
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))
(*.f64 x (sqrt.f64 2))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 2 x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x 2) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 (+.f64 x x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (*.f64 2 x) 3/2)))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x 2) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 (+.f64 x x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(*.f64 x (sqrt.f64 2))
(cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))
(*.f64 x (sqrt.f64 2))
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))
(*.f64 x (sqrt.f64 2))
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))
(*.f64 x (sqrt.f64 2))
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))
(*.f64 x (sqrt.f64 2))
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)
(*.f64 x (sqrt.f64 2))
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(*.f64 x (sqrt.f64 2))
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
(*.f64 x (sqrt.f64 2))
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)
(*.f64 x (sqrt.f64 2))
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)
(*.f64 x (sqrt.f64 2))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(*.f64 x (sqrt.f64 2))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(*.f64 x (sqrt.f64 2))
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))
(*.f64 x (sqrt.f64 2))
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))
(*.f64 x (sqrt.f64 2))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 2 x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x 2) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 (+.f64 x x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (*.f64 2 x) 3/2)))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x 2) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (pow.f64 (+.f64 x x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(*.f64 x (sqrt.f64 2))
(cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))
(*.f64 x (sqrt.f64 2))
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))
(*.f64 x (sqrt.f64 2))
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))
(*.f64 x (sqrt.f64 2))
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))
(*.f64 x (sqrt.f64 2))

eval5.0ms (0.2%)

Compiler

Compiled 184 to 152 computations (17.4% saved)

prune5.0ms (0.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New24024
Fresh000
Picked022
Done011
Total24327
Accuracy
100.0%
Counts
27 → 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))
99.3%
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 46 to 32 computations (30.4% saved)

regimes189.0ms (8.6%)

Accuracy

Total -27.9b remaining (-119241.2%)

Threshold costs -27.9b (-119241.2%)

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

4 calls:

176.0ms
(pow.f64 x 2)
5.0ms
x
3.0ms
(+.f64 (pow.f64 x 2) (pow.f64 x 2))
3.0ms
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
100.0%1(+.f64 (pow.f64 x 2) (pow.f64 x 2))
100.0%1(pow.f64 x 2)
Compiler

Compiled 52 to 37 computations (28.8% saved)

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

soundness291.0ms (13.2%)

Rules
1068×fma-neg
982×distribute-lft-out
896×fma-def
886×hypot-def
744×distribute-lft-neg-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01251
12621
26821
323521
4104721
5282921
6583021
7789421
Stop Event
node limit
Compiler

Compiled 28 to 15 computations (46.4% saved)

end0.0ms (0%)

preprocess25.0ms (1.1%)

Remove

(abs x)

Compiler

Compiled 34 to 22 computations (35.3% saved)

Profiling

Loading profile data...