Details

Time bar (total: 2.6s)

analyze7.0ms (0.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
75%75%25%0%0%0%0%4
87.5%87.5%12.5%0%0%0%0%5
93.8%93.7%6.2%0%0%0%0%6
96.9%96.8%3.1%0%0%0%0%7
98.4%98.4%1.6%0%0%0%0%8
99.2%99.2%0.8%0%0%0%0%9
99.6%99.6%0.4%0%0%0%0%10
99.8%99.8%0.2%0%0%0%0%11
99.9%99.9%0.1%0%0%0%0%12
Compiler

Compiled 10 to 8 computations (20% saved)

sample837.0ms (31.9%)

Results
826.0ms8256×body256valid
0.0msbody256infinite
Bogosity

preprocess151.0ms (5.8%)

Algorithm
egg-herbie
Rules
2476×fma-def
1806×distribute-lft-out
1312×count-2
1058×hypot-def
976×sqr-pow
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
1147
2357
3597
41227
53067
610677
719057
832637
942127
1050047
1160307
1269187
1378577
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.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)
Compiler

Compiled 10 to 8 computations (20% saved)

simplify147.0ms (5.6%)

Algorithm
egg-herbie
Rules
2476×fma-def
1806×distribute-lft-out
1312×count-2
1058×hypot-def
976×sqr-pow
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0817
1147
2357
3597
41227
53067
610677
719057
832637
942127
1050047
1160307
1269187
1378577
Stop Event
node limit
Counts
1 → 3
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.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)

eval1.0ms (0%)

Compiler

Compiled 18 to 12 computations (33.3% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New123
Fresh101
Picked000
Done000
Total224
Accurracy
100.0%
Counts
4 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
49.6%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 11 to 7 computations (36.4% saved)

localize6.0ms (0.2%)

Local Accuracy

Found 2 expressions with local accuracy:

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

Compiled 17 to 8 computations (52.9% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
0.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))

rewrite65.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
1372×add-sqr-sqrt
1354×*-un-lft-identity
1256×add-cube-cbrt
1246×add-cbrt-cube
1234×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0830
115924
2182924
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 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2)))) (*.f64 (sqrt.f64 2) x) (*.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 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) (*.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 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) (pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3) (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)))))

simplify162.0ms (6.2%)

Algorithm
egg-herbie
Rules
1326×distribute-lft-in
1310×distribute-rgt-in
1040×associate-+r+
954×associate-+l+
876×fma-def
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
083816
1201816
2880816
32375688
Stop Event
node limit
Counts
60 → 46
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 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(*.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 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) (*.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 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(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 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.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 (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 (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 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (sqrt.f64 (+.f64 x 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 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.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 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 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 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(*.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)
(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))
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(*.f64 2 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)
(*.f64 2 (*.f64 x x))
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(*.f64 2 (*.f64 x x))
(sqrt.f64 (*.f64 (pow.f64 x 4) 4))
(*.f64 2 (*.f64 x x))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))
(*.f64 2 (*.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(*.f64 2 (*.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))

localize2.0ms (0.1%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(hypot.f64 x x)
Compiler

Compiled 5 to 2 computations (60% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite231.0ms (8.8%)

Algorithm
batch-egg-rewrite
Rules
918×associate-*r*
744×add-sqr-sqrt
738×*-un-lft-identity
696×pow1
682×add-cube-cbrt
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
1807
29167
Stop Event
node limit
Counts
1 → 36
Calls
Call 1
Inputs
(hypot.f64 x x)
Outputs
((-.f64 (+.f64 (hypot.f64 x x) 1) 1) (*.f64 (hypot.f64 x x) 1) (*.f64 1 (hypot.f64 x x)) (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))) (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))) (*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (pow.f64 (hypot.f64 x x) 1) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) (pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3) (pow.f64 (*.f64 x (+.f64 x x)) 1/2) (sqrt.f64 (*.f64 x (+.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))))

simplify123.0ms (4.7%)

Algorithm
egg-herbie
Rules
1144×distribute-lft-in
1118×associate-*r*
1046×distribute-rgt-in
928×associate-*l*
836×*-commutative
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0881038
1194864
2596854
33338854
47923854
Stop Event
node limit
Counts
48 → 50
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 (+.f64 (hypot.f64 x x) 1) 1)
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))
(*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(sqrt.f64 (*.f64 x (+.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 (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 (hypot.f64 x x) 1) 1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (hypot.f64 x x) 1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 1 (hypot.f64 x x))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(pow.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 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(sqrt.f64 (*.f64 x (+.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(log.f64 (exp.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(exp.f64 (log.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)

eval16.0ms (0.6%)

Compiler

Compiled 1015 to 464 computations (54.3% saved)

prune10.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New94296
Fresh000
Picked011
Done101
Total95398
Accurracy
100.0%
Counts
98 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
100.0%
(hypot.f64 x x)
55.0%
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 17 to 12 computations (29.4% saved)

localize7.0ms (0.2%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 12 to 8 computations (33.3% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite52.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
1266×add-sqr-sqrt
1248×*-un-lft-identity
1162×add-cube-cbrt
1148×add-cbrt-cube
1134×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0815
116211
2191711
Stop Event
node limit
Counts
1 → 13
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) (neg.f64 x))
Outputs
((-.f64 0 (*.f64 (sqrt.f64 2) x)) (-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1) (pow.f64 (*.f64 (sqrt.f64 2) x) 1) (pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2) (pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3) (pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3) (neg.f64 (*.f64 (sqrt.f64 2) x)) (sqrt.f64 (*.f64 2 (*.f64 x x))) (log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x)) (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3)) (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))))

simplify70.0ms (2.7%)

Algorithm
egg-herbie
Rules
1082×*-commutative
878×log-prod
650×distribute-lft-in
648×distribute-rgt-in
646×distribute-lft-out
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
037463
190397
2331331
31789331
44954331
57952331
Stop Event
node limit
Counts
25 → 19
Calls
Call 1
Inputs
(*.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 -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 -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 0 (*.f64 (sqrt.f64 2) x))
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)
(neg.f64 (*.f64 (sqrt.f64 2) x))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))
(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 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(-.f64 0 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)

localize6.0ms (0.2%)

Local Accuracy

Found 3 expressions with local accuracy:

NewAccuracyProgram
100.0%
(hypot.f64 x x)
99.8%
(sqrt.f64 (hypot.f64 x x))
99.2%
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 16 to 6 computations (62.5% saved)

series3.0ms (0.1%)

Counts
2 → 0
Calls

6 calls:

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

rewrite50.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
1198×add-sqr-sqrt
1182×*-un-lft-identity
1116×pow1
1096×add-cube-cbrt
1086×add-cbrt-cube
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
116218
2155618
Stop Event
node limit
Counts
2 → 38
Calls
Call 1
Inputs
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(sqrt.f64 (hypot.f64 x x))
Outputs
((-.f64 (+.f64 1 (hypot.f64 x x)) 1) (*.f64 (hypot.f64 x x) 1) (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (*.f64 1 (hypot.f64 x x)) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (sqrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x))) (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4)) (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (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 (sqrt.f64 (hypot.f64 x x))) 1) (*.f64 (sqrt.f64 (hypot.f64 x x)) 1) (*.f64 1 (sqrt.f64 (hypot.f64 x x))) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 1/4)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (pow.f64 1 1/2) (sqrt.f64 (hypot.f64 x x))) (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/2) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2)) (pow.f64 (hypot.f64 x x) 1/2) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1) (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2) (pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 3) (pow.f64 (*.f64 2 (*.f64 x x)) 1/4) (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/3) (fabs.f64 (sqrt.f64 (hypot.f64 x x))) (log.f64 (exp.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)) (expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x)))) (exp.f64 (log.f64 (sqrt.f64 (hypot.f64 x x)))) (log1p.f64 (expm1.f64 (sqrt.f64 (hypot.f64 x x)))))

simplify82.0ms (3.1%)

Algorithm
egg-herbie
Rules
778×associate-/l*
728×*-commutative
726×distribute-lft-out
702×unswap-sqr
676×associate-+r+
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
077800
1148584
2578368
32146368
46123368
Stop Event
node limit
Counts
38 → 45
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(*.f64 (hypot.f64 x x) 1)
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 1 (hypot.f64 x x))
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(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 (sqrt.f64 (hypot.f64 x x))) 1)
(*.f64 (sqrt.f64 (hypot.f64 x x)) 1)
(*.f64 1 (sqrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 1/4))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/2) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2))
(pow.f64 (hypot.f64 x x) 1/2)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 1)
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)
(pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/4)
(pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/3)
(fabs.f64 (sqrt.f64 (hypot.f64 x x)))
(log.f64 (exp.f64 (sqrt.f64 (hypot.f64 x x))))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x))))
(exp.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))))
(log1p.f64 (expm1.f64 (sqrt.f64 (hypot.f64 x x))))
Outputs
(-.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 (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 (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 1 (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 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (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 (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 (hypot.f64 x x)) (*.f64 (cbrt.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 (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 (*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4))
(+.f64 (+.f64 1 (hypot.f64 x x)) -1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(+.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)))
(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 (sqrt.f64 (hypot.f64 x x))) 1)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(*.f64 (sqrt.f64 (hypot.f64 x x)) 1)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(*.f64 1 (sqrt.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 1/4))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/2) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(pow.f64 (hypot.f64 x x) 1/2)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 1)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/4)
(pow.f64 (*.f64 x (*.f64 x 2)) 1/4)
(pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/3)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(fabs.f64 (sqrt.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(log.f64 (exp.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(exp.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(log1p.f64 (expm1.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))

eval22.0ms (0.8%)

Compiler

Compiled 1329 to 617 computations (53.6% saved)

prune12.0ms (0.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1140114
Fresh000
Picked011
Done022
Total1143117
Accurracy
100.0%
Counts
117 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
100.0%
(hypot.f64 x x)
55.0%
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 17 to 12 computations (29.4% saved)

regimes33.0ms (1.3%)

Accuracy

Total -46.6b remaining (-298198.4%)

Threshold costs -46.6b (-298198.4%)

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

4 calls:

6.0ms
x
3.0ms
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
3.0ms
(+.f64 (pow.f64 x 2) (pow.f64 x 2))
3.0ms
(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 36 computations (30.8% 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)

soundness508.0ms (19.4%)

Algorithm
egg-herbie
Rules
2476×fma-def
1806×distribute-lft-out
1312×count-2
1058×hypot-def
976×sqr-pow
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0817
1147
2357
3597
41227
53067
610677
719057
832637
942127
1050047
1160307
1269187
1378577
Stop Event
node limit
Compiler

Compiled 28 to 15 computations (46.4% saved)

end10.0ms (0.4%)

Compiler

Compiled 4 to 2 computations (50% saved)

Profiling

Loading profile data...