sqrt D (should all be same)

Time bar (total: 2.7s)

analyze0.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 (52%)

Results
1.4s8256×body256valid
Bogosity

preprocess108.0ms (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
01234
12634
25334
319334
483034
5187534
6386134
7520334
8643034
9754534
Stop Event
node limit
Calls
Call 1
Inputs
(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 (neg.f64 x) 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x -2)))
Symmetry

(abs x)

Compiler

Compiled 8 to 7 computations (12.5% saved)

simplify195.0ms (7.3%)

Algorithm
egg-herbie
Rules
2734×sqr-pow
1306×cube-prod
1044×pow-sqr
884×associate-*r*
868×unswap-sqr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
11417
22517
34617
410617
532917
6123017
7209417
8223417
9240217
10259917
11287817
12324617
13369217
14422017
15486217
16564117
17596717
18624117
19644717
20650717
21653717
22747217
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
Outputs
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))

eval1.0ms (0%)

Compiler

Compiled 13 to 10 computations (23.1% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Accurracy
51.4%
Counts
3 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
51.4%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
51.4%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize25.0ms (0.9%)

Local Accuracy

Found 2 expressions with local accuracy:

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

Compiled 18 to 9 computations (50% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite60.0ms (2.2%)

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

simplify64.0ms (2.4%)

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
1193816
2739816
32412688
47441688
Stop Event
node limit
Counts
60 → 48
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.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 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 1 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(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 x)))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) x)
(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 x)))))
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(fabs.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)
(*.f64 2 (*.f64 x x))
(*.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 x))
(sqrt.f64 (*.f64 (pow.f64 x 4) 4))
(*.f64 2 (*.f64 x x))
(*.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 x))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))

eval9.0ms (0.3%)

Compiler

Compiled 375 to 272 computations (27.5% saved)

prune12.0ms (0.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New45348
Fresh000
Picked101
Done000
Total46349
Accurracy
100.0%
Counts
49 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.5%
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
99.3%
(*.f64 (sqrt.f64 2) x)
100.0%
(hypot.f64 x x)
99.5%
(*.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)

localize52.0ms (2%)

Local Accuracy

Found 3 expressions with local accuracy:

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

Compiled 32 to 20 computations (37.5% saved)

series4.0ms (0.1%)

Counts
3 → 24
Calls

9 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
@-inf
(*.f64 (sqrt.f64 2) x)

rewrite59.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
1744×pow1
1602×add-exp-log
1602×log1p-expm1-u
1602×expm1-log1p-u
1564×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01233
124021
2276621
Stop Event
node limit
Counts
3 → 73
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
(*.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 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 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))
(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 (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)
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 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))
(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 (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 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (hypot.f64 x x) 1)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 1 (hypot.f64 x x))
(*.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 (cbrt.f64 x) (*.f64 (cbrt.f64 (sqrt.f64 x)) (sqrt.f64 (*.f64 2 x))))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sqrt.f64 2)))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (cbrt.f64 2) (*.f64 (cbrt.f64 (sqrt.f64 2)) x))
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))
(*.f64 (pow.f64 (*.f64 2 x) 1/4) (*.f64 (pow.f64 (*.f64 2 x) 1/4) (sqrt.f64 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 (*.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))
(*.f64 (*.f64 (sqrt.f64 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(*.f64 (*.f64 x (cbrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))
(*.f64 (*.f64 x (pow.f64 2 1/4)) (pow.f64 2 1/4))
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 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))
(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 (hypot.f64 x x)))
(exp.f64 (log.f64 (hypot.f64 x x)))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))

simplify86.0ms (3.2%)

Algorithm
egg-herbie
Rules
1098×log-prod
1018×fma-neg
776×associate-*r*
720×associate-*l*
600×fma-def
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01061871
12181649
25811427
325621403
448191403
569501403
Stop Event
node limit
Counts
97 → 58
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(-.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 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 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))
(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 (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)
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 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))
(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 (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 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (hypot.f64 x x) 1)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 1 (hypot.f64 x x))
(*.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 (cbrt.f64 x) (*.f64 (cbrt.f64 (sqrt.f64 x)) (sqrt.f64 (*.f64 2 x))))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sqrt.f64 2)))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (cbrt.f64 2) (*.f64 (cbrt.f64 (sqrt.f64 2)) x))
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))
(*.f64 (pow.f64 (*.f64 2 x) 1/4) (*.f64 (pow.f64 (*.f64 2 x) 1/4) (sqrt.f64 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 (*.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))
(*.f64 (*.f64 (sqrt.f64 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(*.f64 (*.f64 x (cbrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))
(*.f64 (*.f64 x (pow.f64 2 1/4)) (pow.f64 2 1/4))
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 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))
(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 (hypot.f64 x x)))
(exp.f64 (log.f64 (hypot.f64 x x)))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
Outputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -2))))
(*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) (neg.f64 x))
(*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) (neg.f64 x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -2))))
(*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) (neg.f64 x))
(*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) (neg.f64 x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -2))))
(*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) (neg.f64 x))
(*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) (neg.f64 x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -2))))
(*.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 -2)) (neg.f64 x))
(*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) (neg.f64 x)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (hypot.f64 x x) 1)
(+.f64 1 (-.f64 (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 1 (-.f64 (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 (*.f64 2 x) x))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(+.f64 1 (-.f64 (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 1 (-.f64 (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 (*.f64 2 x) x))
(log.f64 (exp.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (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 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(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 (pow.f64 (*.f64 2 x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(cbrt.f64 (*.f64 2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))))
(cbrt.f64 (*.f64 (pow.f64 2 3/2) (pow.f64 x 3)))
(cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(cbrt.f64 (*.f64 2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))))
(cbrt.f64 (*.f64 (pow.f64 2 3/2) (pow.f64 x 3)))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(hypot.f64 x x)
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(exp.f64 (log.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (hypot.f64 x x) 1)
(+.f64 1 (-.f64 (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 1 (-.f64 (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 (*.f64 2 x) x))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(+.f64 1 (-.f64 (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 1 (-.f64 (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 (*.f64 2 x) x))
(log.f64 (exp.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (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 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(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 (pow.f64 (*.f64 2 x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(cbrt.f64 (*.f64 2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))))
(cbrt.f64 (*.f64 (pow.f64 2 3/2) (pow.f64 x 3)))
(cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(cbrt.f64 (*.f64 2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))))
(cbrt.f64 (*.f64 (pow.f64 2 3/2) (pow.f64 x 3)))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(hypot.f64 x x)
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(exp.f64 (log.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(+.f64 1 (-.f64 (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 2) x)
(*.f64 (hypot.f64 x x) 1)
(+.f64 1 (-.f64 (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 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 1 (hypot.f64 x x))
(+.f64 1 (-.f64 (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 2 x)) (*.f64 (sqrt.f64 x) (cbrt.f64 (sqrt.f64 (*.f64 2 x)))))
(*.f64 (sqrt.f64 x) (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 (sqrt.f64 (*.f64 2 x)))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (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 2 x)) (cbrt.f64 (sqrt.f64 x))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (*.f64 (cbrt.f64 x) (cbrt.f64 (sqrt.f64 x))))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (cbrt.f64 2) (*.f64 (cbrt.f64 (sqrt.f64 2)) x))
(*.f64 (cbrt.f64 2) (*.f64 x (cbrt.f64 (sqrt.f64 2))))
(*.f64 x (*.f64 (cbrt.f64 2) (cbrt.f64 (sqrt.f64 2))))
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))
(*.f64 (sqrt.f64 2) x)
(*.f64 (pow.f64 (*.f64 2 x) 1/4) (*.f64 (pow.f64 (*.f64 2 x) 1/4) (sqrt.f64 x)))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (pow.f64 x 1/4) (*.f64 (pow.f64 x 1/4) (sqrt.f64 (*.f64 2 x))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (sqrt.f64 (*.f64 2 x)) (cbrt.f64 x)) (cbrt.f64 (sqrt.f64 x)))
(*.f64 (cbrt.f64 x) (*.f64 (sqrt.f64 (*.f64 2 x)) (cbrt.f64 (sqrt.f64 x))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (*.f64 (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 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (*.f64 (sqrt.f64 x) (cbrt.f64 (*.f64 2 x))) (cbrt.f64 (sqrt.f64 (*.f64 2 x))))
(*.f64 (cbrt.f64 (*.f64 2 x)) (*.f64 (sqrt.f64 x) (cbrt.f64 (sqrt.f64 (*.f64 2 x)))))
(*.f64 (sqrt.f64 x) (*.f64 (cbrt.f64 (*.f64 2 x)) (cbrt.f64 (sqrt.f64 (*.f64 2 x)))))
(*.f64 (cbrt.f64 (*.f64 2 x)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 x))) (sqrt.f64 x)))
(*.f64 (*.f64 (sqrt.f64 x) (pow.f64 (*.f64 2 x) 1/4)) (pow.f64 (*.f64 2 x) 1/4))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (*.f64 (sqrt.f64 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(*.f64 (sqrt.f64 2) x)
(*.f64 (*.f64 x (cbrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))
(*.f64 (cbrt.f64 2) (*.f64 x (cbrt.f64 (sqrt.f64 2))))
(*.f64 x (*.f64 (cbrt.f64 2) (cbrt.f64 (sqrt.f64 2))))
(*.f64 (*.f64 x (pow.f64 2 1/4)) (pow.f64 2 1/4))
(*.f64 (sqrt.f64 2) x)
(pow.f64 (hypot.f64 x x) 1)
(+.f64 1 (-.f64 (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 1 (-.f64 (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 (*.f64 2 x) x))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(+.f64 1 (-.f64 (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 1 (-.f64 (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 (*.f64 2 x) x))
(log.f64 (exp.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (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 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(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 (pow.f64 (*.f64 2 x) 3/2) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(cbrt.f64 (*.f64 2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))))
(cbrt.f64 (*.f64 (pow.f64 2 3/2) (pow.f64 x 3)))
(cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 2 (sqrt.f64 2))))
(cbrt.f64 (*.f64 (*.f64 2 (sqrt.f64 2)) (pow.f64 x 3)))
(cbrt.f64 (*.f64 2 (*.f64 (sqrt.f64 2) (pow.f64 x 3))))
(cbrt.f64 (*.f64 (pow.f64 2 3/2) (pow.f64 x 3)))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(exp.f64 (log.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)

eval12.0ms (0.4%)

Compiler

Compiled 477 to 312 computations (34.6% saved)

prune8.0ms (0.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New57158
Fresh000
Picked033
Done000
Total57461
Accurracy
100.0%
Counts
61 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.3%
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))
99.5%
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
99.3%
(*.f64 (sqrt.f64 2) x)
100.0%
(hypot.f64 x x)
99.3%
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))
99.5%
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
99.3%
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 54 to 42 computations (22.2% saved)

localize37.0ms (1.4%)

Local Accuracy

Found 2 expressions with local accuracy:

NewAccuracyProgram
99.6%
(*.f64 (pow.f64 2 1/4) x)
99.5%
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))
Compiler

Compiled 22 to 19 computations (13.6% saved)

series40.0ms (1.5%)

Counts
2 → 12
Calls

6 calls:

TimeVariablePointExpression
38.0ms
x
@0
(*.f64 (pow.f64 2 1/4) x)
0.0ms
x
@-inf
(*.f64 (pow.f64 2 1/4) x)
0.0ms
x
@inf
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))
0.0ms
x
@inf
(*.f64 (pow.f64 2 1/4) x)
0.0ms
x
@-inf
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))

rewrite54.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
1414×pow1
1306×add-exp-log
1306×log1p-expm1-u
1306×expm1-log1p-u
1278×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0838
116824
2185824
Stop Event
node limit
Counts
2 → 22
Calls
Call 1
Inputs
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))
(*.f64 (pow.f64 2 1/4) x)
Outputs
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(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)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(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 (pow.f64 2 1/4) x)) 1)
(pow.f64 (*.f64 (pow.f64 2 1/4) x) 1)
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 2 1/4) x)) 3)
(pow.f64 (pow.f64 (*.f64 (pow.f64 2 1/4) x) 3) 1/3)
(pow.f64 (*.f64 (pow.f64 2 1/8) (sqrt.f64 x)) 2)
(sqrt.f64 (*.f64 x (*.f64 x (sqrt.f64 2))))
(log.f64 (pow.f64 (exp.f64 x) (pow.f64 2 1/4)))
(cbrt.f64 (pow.f64 (*.f64 (pow.f64 2 1/4) x) 3))
(expm1.f64 (log1p.f64 (*.f64 (pow.f64 2 1/4) x)))
(exp.f64 (log.f64 (*.f64 (pow.f64 2 1/4) x)))
(log1p.f64 (expm1.f64 (*.f64 (pow.f64 2 1/4) x)))

simplify59.0ms (2.2%)

Algorithm
egg-herbie
Rules
1798×log-prod
1198×associate-*r*
1056×associate-*l*
1016×fma-def
560×unswap-sqr
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
060530
1146470
2555410
33639408
47829408
Stop Event
node limit
Counts
34 → 29
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(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)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(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 (pow.f64 2 1/4) x)) 1)
(pow.f64 (*.f64 (pow.f64 2 1/4) x) 1)
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 2 1/4) x)) 3)
(pow.f64 (pow.f64 (*.f64 (pow.f64 2 1/4) x) 3) 1/3)
(pow.f64 (*.f64 (pow.f64 2 1/8) (sqrt.f64 x)) 2)
(sqrt.f64 (*.f64 x (*.f64 x (sqrt.f64 2))))
(log.f64 (pow.f64 (exp.f64 x) (pow.f64 2 1/4)))
(cbrt.f64 (pow.f64 (*.f64 (pow.f64 2 1/4) x) 3))
(expm1.f64 (log1p.f64 (*.f64 (pow.f64 2 1/4) x)))
(exp.f64 (log.f64 (*.f64 (pow.f64 2 1/4) x)))
(log1p.f64 (expm1.f64 (*.f64 (pow.f64 2 1/4) x)))
Outputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(*.f64 (sqrt.f64 2) x)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(fabs.f64 (*.f64 (sqrt.f64 2) x))
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(*.f64 (sqrt.f64 2) x)
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(*.f64 (sqrt.f64 2) x)
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(-.f64 (+.f64 1 (*.f64 (pow.f64 2 1/4) x)) 1)
(+.f64 1 (-.f64 (*.f64 x (pow.f64 2 1/4)) 1))
(+.f64 (*.f64 x (pow.f64 2 1/4)) 0)
(*.f64 x (pow.f64 2 1/4))
(pow.f64 (*.f64 (pow.f64 2 1/4) x) 1)
(+.f64 1 (-.f64 (*.f64 x (pow.f64 2 1/4)) 1))
(+.f64 (*.f64 x (pow.f64 2 1/4)) 0)
(*.f64 x (pow.f64 2 1/4))
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 2 1/4) x)) 3)
(+.f64 1 (-.f64 (*.f64 x (pow.f64 2 1/4)) 1))
(+.f64 (*.f64 x (pow.f64 2 1/4)) 0)
(*.f64 x (pow.f64 2 1/4))
(pow.f64 (pow.f64 (*.f64 (pow.f64 2 1/4) x) 3) 1/3)
(+.f64 1 (-.f64 (*.f64 x (pow.f64 2 1/4)) 1))
(+.f64 (*.f64 x (pow.f64 2 1/4)) 0)
(*.f64 x (pow.f64 2 1/4))
(pow.f64 (*.f64 (pow.f64 2 1/8) (sqrt.f64 x)) 2)
(+.f64 1 (-.f64 (*.f64 x (pow.f64 2 1/4)) 1))
(+.f64 (*.f64 x (pow.f64 2 1/4)) 0)
(*.f64 x (pow.f64 2 1/4))
(sqrt.f64 (*.f64 x (*.f64 x (sqrt.f64 2))))
(sqrt.f64 (*.f64 x (*.f64 (sqrt.f64 2) x)))
(sqrt.f64 (*.f64 (sqrt.f64 2) (*.f64 x x)))
(log.f64 (pow.f64 (exp.f64 x) (pow.f64 2 1/4)))
(+.f64 1 (-.f64 (*.f64 x (pow.f64 2 1/4)) 1))
(+.f64 (*.f64 x (pow.f64 2 1/4)) 0)
(*.f64 x (pow.f64 2 1/4))
(cbrt.f64 (pow.f64 (*.f64 (pow.f64 2 1/4) x) 3))
(+.f64 1 (-.f64 (*.f64 x (pow.f64 2 1/4)) 1))
(+.f64 (*.f64 x (pow.f64 2 1/4)) 0)
(*.f64 x (pow.f64 2 1/4))
(expm1.f64 (log1p.f64 (*.f64 (pow.f64 2 1/4) x)))
(+.f64 1 (-.f64 (*.f64 x (pow.f64 2 1/4)) 1))
(+.f64 (*.f64 x (pow.f64 2 1/4)) 0)
(*.f64 x (pow.f64 2 1/4))
(exp.f64 (log.f64 (*.f64 (pow.f64 2 1/4) x)))
(+.f64 1 (-.f64 (*.f64 x (pow.f64 2 1/4)) 1))
(+.f64 (*.f64 x (pow.f64 2 1/4)) 0)
(*.f64 x (pow.f64 2 1/4))
(log1p.f64 (expm1.f64 (*.f64 (pow.f64 2 1/4) x)))
(+.f64 1 (-.f64 (*.f64 x (pow.f64 2 1/4)) 1))
(+.f64 (*.f64 x (pow.f64 2 1/4)) 0)
(*.f64 x (pow.f64 2 1/4))

eval7.0ms (0.3%)

Compiler

Compiled 266 to 232 computations (12.8% saved)

prune15.0ms (0.6%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New29029
Fresh000
Picked011
Done033
Total29433
Accurracy
100.0%
Counts
33 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.3%
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))
99.5%
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
99.3%
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 63 to 48 computations (23.8% saved)

regimes16.0ms (0.6%)

Accuracy

Total -31.4b remaining (-114727.9%)

Threshold costs -31.4b (-114727.9%)

Counts
6 → 1
Calls
Call 1
Inputs
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) 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))
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))
Outputs
(hypot.f64 x x)
Calls

4 calls:

5.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 55 to 42 computations (23.6% saved)

simplify4.0ms (0.1%)

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)

soundness335.0ms (12.5%)

Rules
2734×sqr-pow
1306×cube-prod
1200×log-prod
1148×fma-def
1056×distribute-rgt-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
11417
22517
34617
410617
532917
6123017
7209417
8223417
9240217
10259917
11287817
12324617
13369217
14422017
15486217
16564117
17596717
18624117
19644717
20650717
21653717
22747217
083816
1193816
2739816
32412688
47441688
Stop Event
node limit
node limit
Compiler

Compiled 93 to 65 computations (30.1% saved)

end0.0ms (0%)

preprocess20.0ms (0.7%)

Remove

(abs x)

Compiler

Compiled 30 to 20 computations (33.3% saved)

Profiling

Loading profile data...