Details

Time bar (total: 2.3s)

analyze3.0ms (0.1%)

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 5 computations (50% saved)

sample971.0ms (42.8%)

Results
959.0ms8256×body256valid
Bogosity

preprocess4.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative
count-2
associate-*r*
fma-def
hypot-def
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077
1147
2187
3197
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(hypot.f64 x x)
Compiler

Compiled 10 to 5 computations (50% saved)

simplify35.0ms (1.6%)

Algorithm
egg-herbie
Rules
*-commutative
count-2
associate-*r*
fma-def
hypot-def
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077
1147
2187
3197
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(hypot.f64 x x)

eval0.0ms (0%)

Compiler

Compiled 12 to 5 computations (58.3% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.02%
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.03%
(hypot.f64 x x)
48.51%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Compiler

Compiled 13 to 6 computations (53.8% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.01%
(+.f64 (*.f64 x x) (*.f64 x x))
46.72%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Compiler

Compiled 20 to 4 computations (80% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite112.0ms (4.9%)

Algorithm
batch-egg-rewrite
Rules
1228×add-sqr-sqrt
1208×*-un-lft-identity
1132×add-cube-cbrt
1124×add-cbrt-cube
1118×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
114914
2201414
Stop Event
node limit
Counts
2 → 124
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(+.f64 (*.f64 x x) (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (/.f64 0 0)) (*.f64 (*.f64 x x) (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 0 0) (*.f64 x x)) (*.f64 (/.f64 0 0) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 0 0)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) 0) (/.f64 (pow.f64 x 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (+.f64 x x) (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (*.f64 (+.f64 x x) (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 0 0) (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 0 0) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (+.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 (*.f64 x x) (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 0 (/.f64 1 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 2) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 4 (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 0 0) x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 0 0) 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 2 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) 0) (*.f64 2 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 0 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 0) (sqrt.f64 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 6))) (sqrt.f64 (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 6))) (cbrt.f64 (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 6))) (*.f64 (+.f64 (pow.f64 x 4) 0) (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 0 0) (*.f64 2 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 0 (/.f64 0 0)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 0 0)) (+.f64 (pow.f64 x 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 0 (*.f64 2 (pow.f64 x 6))) (*.f64 0 (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) 0) (*.f64 (+.f64 (pow.f64 x 4) 0) 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 x x)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 x x))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 0 0)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) 0) (/.f64 (pow.f64 x 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (+.f64 x x) (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (*.f64 (+.f64 x x) (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 0 0) (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 0 0) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (+.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 (*.f64 x x) (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 0 (/.f64 1 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 2) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 4 (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 0 0) x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 0 0) 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 2 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) 0) (*.f64 2 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 0 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 0) (sqrt.f64 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 6))) (sqrt.f64 (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 6))) (cbrt.f64 (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 6))) (*.f64 (+.f64 (pow.f64 x 4) 0) (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 0 0) (*.f64 2 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 0 (/.f64 0 0)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 0 0)) (+.f64 (pow.f64 x 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 0 (*.f64 2 (pow.f64 x 6))) (*.f64 0 (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) 0) (*.f64 (+.f64 (pow.f64 x 4) 0) 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 0 0) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 0 0))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 x x)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 0 0)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 x x))))))

simplify27.0ms (1.2%)

Algorithm
egg-herbie
Rules
74×*-commutative
28×sqr-pow
24×associate-*r*
20×associate-*l*
18×distribute-lft-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01361688
13931688
Stop Event
unsound
Counts
148 → 81
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 x x) (*.f64 x x))
(+.f64 (*.f64 (*.f64 x x) (/.f64 0 0)) (*.f64 (*.f64 x x) (/.f64 0 0)))
(+.f64 (*.f64 (/.f64 0 0) (*.f64 x x)) (*.f64 (/.f64 0 0) (*.f64 x x)))
(-.f64 (+.f64 1 (/.f64 0 0)) 1)
(-.f64 (/.f64 (pow.f64 x 4) 0) (/.f64 (pow.f64 x 4) 0))
(*.f64 x (+.f64 x x))
(*.f64 x (*.f64 (+.f64 x x) (/.f64 0 0)))
(*.f64 (*.f64 x x) 2)
(*.f64 (*.f64 x x) (*.f64 (+.f64 x x) (+.f64 x x)))
(*.f64 (/.f64 0 0) (/.f64 0 0))
(*.f64 (/.f64 0 0) 1)
(*.f64 1 (/.f64 0 0))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x x)))
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x x)))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (pow.f64 x 4))))
(*.f64 (cbrt.f64 (pow.f64 x 4)) (+.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x x)))
(*.f64 2 (*.f64 x x))
(*.f64 2 (*.f64 (*.f64 x x) (/.f64 0 0)))
(*.f64 (+.f64 x x) x)
(*.f64 0 (/.f64 1 0))
(*.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) 0)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (cbrt.f64 2) (pow.f64 (cbrt.f64 x) 2))
(*.f64 4 (pow.f64 x 4))
(*.f64 (*.f64 (/.f64 0 0) x) (+.f64 x x))
(*.f64 (*.f64 (/.f64 0 0) 2) (*.f64 x x))
(*.f64 (*.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))
(*.f64 (pow.f64 1 1/2) (/.f64 0 0))
(*.f64 (pow.f64 2 1/2) x)
(/.f64 1 (/.f64 0 0))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) 0) (*.f64 2 (pow.f64 x 6))))
(/.f64 0 0)
(/.f64 (*.f64 2 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) 0))
(/.f64 (sqrt.f64 0) (sqrt.f64 0))
(/.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 6))) (sqrt.f64 (+.f64 (pow.f64 x 4) 0)))
(/.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 6))) (cbrt.f64 (+.f64 (pow.f64 x 4) 0)))
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 6))) (*.f64 (+.f64 (pow.f64 x 4) 0) (+.f64 (pow.f64 x 4) 0)))
(/.f64 (*.f64 (/.f64 0 0) (*.f64 2 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) 0))
(/.f64 (*.f64 0 (/.f64 0 0)) 0)
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 0 0)) (+.f64 (pow.f64 x 4) 0))
(/.f64 (*.f64 0 (*.f64 2 (pow.f64 x 6))) (*.f64 0 (+.f64 (pow.f64 x 4) 0)))
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) 0) (*.f64 (+.f64 (pow.f64 x 4) 0) 0))
(/.f64 (neg.f64 (*.f64 2 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) 0)))
(pow.f64 (/.f64 0 0) 1)
(pow.f64 (/.f64 0 0) 2)
(pow.f64 (/.f64 0 0) 3)
(pow.f64 (/.f64 0 0) 1/2)
(pow.f64 (/.f64 0 0) 1/4)
(pow.f64 (/.f64 0 0) 3/2)
(pow.f64 (/.f64 0 0) 1/3)
(fabs.f64 (/.f64 0 0))
(log.f64 (exp.f64 (/.f64 0 0)))
(cbrt.f64 (/.f64 0 0))
(expm1.f64 (log1p.f64 (/.f64 0 0)))
(hypot.f64 x x)
(exp.f64 (log.f64 (/.f64 0 0)))
(log1p.f64 (expm1.f64 (/.f64 0 0)))
(fma.f64 x x (*.f64 x x))
(fma.f64 1 (*.f64 x x) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 x x))
(-.f64 (+.f64 1 (/.f64 0 0)) 1)
(-.f64 (/.f64 (pow.f64 x 4) 0) (/.f64 (pow.f64 x 4) 0))
(*.f64 x (+.f64 x x))
(*.f64 x (*.f64 (+.f64 x x) (/.f64 0 0)))
(*.f64 (*.f64 x x) 2)
(*.f64 (*.f64 x x) (*.f64 (+.f64 x x) (+.f64 x x)))
(*.f64 (/.f64 0 0) (/.f64 0 0))
(*.f64 (/.f64 0 0) 1)
(*.f64 1 (/.f64 0 0))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x x)))
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x x)))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (pow.f64 x 4))))
(*.f64 (cbrt.f64 (pow.f64 x 4)) (+.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x x)))
(*.f64 2 (*.f64 x x))
(*.f64 2 (*.f64 (*.f64 x x) (/.f64 0 0)))
(*.f64 (+.f64 x x) x)
(*.f64 0 (/.f64 1 0))
(*.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) 0)))
(*.f64 (sqrt.f64 2) x)
(*.f64 (cbrt.f64 2) (pow.f64 (cbrt.f64 x) 2))
(*.f64 4 (pow.f64 x 4))
(*.f64 (*.f64 (/.f64 0 0) x) (+.f64 x x))
(*.f64 (*.f64 (/.f64 0 0) 2) (*.f64 x x))
(*.f64 (*.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))
(*.f64 (pow.f64 1 1/2) (/.f64 0 0))
(*.f64 (pow.f64 2 1/2) x)
(/.f64 1 (/.f64 0 0))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) 0) (*.f64 2 (pow.f64 x 6))))
(/.f64 0 0)
(/.f64 (*.f64 2 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) 0))
(/.f64 (sqrt.f64 0) (sqrt.f64 0))
(/.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 6))) (sqrt.f64 (+.f64 (pow.f64 x 4) 0)))
(/.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 6))) (cbrt.f64 (+.f64 (pow.f64 x 4) 0)))
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 6))) (*.f64 (+.f64 (pow.f64 x 4) 0) (+.f64 (pow.f64 x 4) 0)))
(/.f64 (*.f64 (/.f64 0 0) (*.f64 2 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) 0))
(/.f64 (*.f64 0 (/.f64 0 0)) 0)
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 0 0)) (+.f64 (pow.f64 x 4) 0))
(/.f64 (*.f64 0 (*.f64 2 (pow.f64 x 6))) (*.f64 0 (+.f64 (pow.f64 x 4) 0)))
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) 0) (*.f64 (+.f64 (pow.f64 x 4) 0) 0))
(/.f64 (neg.f64 (*.f64 2 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) 0)))
(pow.f64 (/.f64 0 0) 1)
(pow.f64 (/.f64 0 0) 2)
(pow.f64 (/.f64 0 0) 3)
(pow.f64 (/.f64 0 0) 1/2)
(pow.f64 (/.f64 0 0) 1/4)
(pow.f64 (/.f64 0 0) 3/2)
(pow.f64 (/.f64 0 0) 1/3)
(sqrt.f64 (/.f64 0 0))
(fabs.f64 (/.f64 0 0))
(log.f64 (exp.f64 (/.f64 0 0)))
(cbrt.f64 (/.f64 0 0))
(expm1.f64 (log1p.f64 (/.f64 0 0)))
(hypot.f64 x x)
(exp.f64 (log.f64 (/.f64 0 0)))
(log1p.f64 (expm1.f64 (/.f64 0 0)))
(fma.f64 x x (*.f64 x x))
(fma.f64 1 (*.f64 x x) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.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 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 x (+.f64 x x))
(+.f64 (*.f64 x x) (*.f64 x x))
(*.f64 x (+.f64 x x))
(+.f64 (*.f64 (*.f64 x x) (/.f64 0 0)) (*.f64 (*.f64 x x) (/.f64 0 0)))
(*.f64 x (*.f64 x -1))
(+.f64 (*.f64 (/.f64 0 0) (*.f64 x x)) (*.f64 (/.f64 0 0) (*.f64 x x)))
(*.f64 x (*.f64 x -1))
(-.f64 (+.f64 1 (/.f64 0 0)) 1)
-1
(-.f64 (/.f64 (pow.f64 x 4) 0) (/.f64 (pow.f64 x 4) 0))
-1
(*.f64 x (+.f64 x x))
(*.f64 x (*.f64 (+.f64 x x) (/.f64 0 0)))
(*.f64 x (*.f64 x -1))
(*.f64 (*.f64 x x) 2)
(*.f64 x (+.f64 x x))
(*.f64 (*.f64 x x) (*.f64 (+.f64 x x) (+.f64 x x)))
(*.f64 (*.f64 x (+.f64 x x)) (*.f64 x (+.f64 x x)))
(*.f64 (/.f64 0 0) (/.f64 0 0))
-1
(*.f64 (/.f64 0 0) 1)
-1
(*.f64 1 (/.f64 0 0))
-1
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x x)))
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)) (+.f64 x x))
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x x)))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (+.f64 x x) (cbrt.f64 x)))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (pow.f64 x 4))))
(*.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (cbrt.f64 (pow.f64 x 4)) (+.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x x)))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (*.f64 (*.f64 x x) (/.f64 0 0)))
(*.f64 x (*.f64 x -1))
(*.f64 (+.f64 x x) x)
(*.f64 x (+.f64 x x))
(*.f64 0 (/.f64 1 0))
-1
(*.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) 0)))
-1
(*.f64 (sqrt.f64 2) x)
(*.f64 (cbrt.f64 2) (pow.f64 (cbrt.f64 x) 2))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 2))
(*.f64 4 (pow.f64 x 4))
(*.f64 (*.f64 (/.f64 0 0) x) (+.f64 x x))
(*.f64 x (*.f64 x -1))
(*.f64 (*.f64 (/.f64 0 0) 2) (*.f64 x x))
(*.f64 x (*.f64 x -1))
(*.f64 (*.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))
(*.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (pow.f64 1 1/2) (/.f64 0 0))
-1
(*.f64 (pow.f64 2 1/2) x)
(*.f64 (sqrt.f64 2) x)
(/.f64 1 (/.f64 0 0))
-1
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) 0) (*.f64 2 (pow.f64 x 6))))
-1
(/.f64 0 0)
-1
(/.f64 (*.f64 2 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) 0))
(/.f64 2 (/.f64 (pow.f64 x 4) (pow.f64 x 6)))
(/.f64 (sqrt.f64 0) (sqrt.f64 0))
-1
(/.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 6))) (sqrt.f64 (+.f64 (pow.f64 x 4) 0)))
(/.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 6))) (sqrt.f64 (pow.f64 x 4)))
(/.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 6))) (cbrt.f64 (+.f64 (pow.f64 x 4) 0)))
(/.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 6))) (cbrt.f64 (pow.f64 x 4)))
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 6))) (*.f64 (+.f64 (pow.f64 x 4) 0) (+.f64 (pow.f64 x 4) 0)))
(/.f64 (*.f64 4 (*.f64 (pow.f64 x 6) (pow.f64 x 6))) (*.f64 (pow.f64 x 4) (pow.f64 x 4)))
(/.f64 (*.f64 (/.f64 0 0) (*.f64 2 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) 0))
-1
(/.f64 (*.f64 0 (/.f64 0 0)) 0)
-1
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 0 0)) (+.f64 (pow.f64 x 4) 0))
-1
(/.f64 (*.f64 0 (*.f64 2 (pow.f64 x 6))) (*.f64 0 (+.f64 (pow.f64 x 4) 0)))
-1
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) 0) (*.f64 (+.f64 (pow.f64 x 4) 0) 0))
-1
(/.f64 (neg.f64 (*.f64 2 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) 0)))
-1
(pow.f64 (/.f64 0 0) 1)
-1
(pow.f64 (/.f64 0 0) 2)
-1
(pow.f64 (/.f64 0 0) 3)
-1
(pow.f64 (/.f64 0 0) 1/2)
-1
(pow.f64 (/.f64 0 0) 1/4)
(pow.f64 -1 1/4)
(pow.f64 (/.f64 0 0) 3/2)
(pow.f64 -1 3/2)
(pow.f64 (/.f64 0 0) 1/3)
-1
(fabs.f64 (/.f64 0 0))
-1
(log.f64 (exp.f64 (/.f64 0 0)))
-1
(cbrt.f64 (/.f64 0 0))
-1
(expm1.f64 (log1p.f64 (/.f64 0 0)))
-1
(hypot.f64 x x)
(exp.f64 (log.f64 (/.f64 0 0)))
-1
(log1p.f64 (expm1.f64 (/.f64 0 0)))
-1
(fma.f64 x x (*.f64 x x))
(*.f64 x (+.f64 x x))
(fma.f64 1 (*.f64 x x) (*.f64 x x))
(fma.f64 -1 (*.f64 x x) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 x x))
(-.f64 (+.f64 1 (/.f64 0 0)) 1)
-1
(-.f64 (/.f64 (pow.f64 x 4) 0) (/.f64 (pow.f64 x 4) 0))
-1
(*.f64 x (+.f64 x x))
(*.f64 x (*.f64 (+.f64 x x) (/.f64 0 0)))
(*.f64 x (*.f64 x -1))
(*.f64 (*.f64 x x) 2)
(*.f64 x (+.f64 x x))
(*.f64 (*.f64 x x) (*.f64 (+.f64 x x) (+.f64 x x)))
(*.f64 (*.f64 x (+.f64 x x)) (*.f64 x (+.f64 x x)))
(*.f64 (/.f64 0 0) (/.f64 0 0))
-1
(*.f64 (/.f64 0 0) 1)
-1
(*.f64 1 (/.f64 0 0))
-1
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x x)))
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)) (+.f64 x x))
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x x)))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (+.f64 x x) (cbrt.f64 x)))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (pow.f64 x 4))))
(*.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (cbrt.f64 (pow.f64 x 4)) (+.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x x)))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (*.f64 (*.f64 x x) (/.f64 0 0)))
(*.f64 x (*.f64 x -1))
(*.f64 (+.f64 x x) x)
(*.f64 x (+.f64 x x))
(*.f64 0 (/.f64 1 0))
-1
(*.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) 0)))
-1
(*.f64 (sqrt.f64 2) x)
(*.f64 (cbrt.f64 2) (pow.f64 (cbrt.f64 x) 2))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 2))
(*.f64 4 (pow.f64 x 4))
(*.f64 (*.f64 (/.f64 0 0) x) (+.f64 x x))
(*.f64 x (*.f64 x -1))
(*.f64 (*.f64 (/.f64 0 0) 2) (*.f64 x x))
(*.f64 x (*.f64 x -1))
(*.f64 (*.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))
(*.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (pow.f64 1 1/2) (/.f64 0 0))
-1
(*.f64 (pow.f64 2 1/2) x)
(*.f64 (sqrt.f64 2) x)
(/.f64 1 (/.f64 0 0))
-1
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) 0) (*.f64 2 (pow.f64 x 6))))
-1
(/.f64 0 0)
-1
(/.f64 (*.f64 2 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) 0))
(/.f64 2 (/.f64 (pow.f64 x 4) (pow.f64 x 6)))
(/.f64 (sqrt.f64 0) (sqrt.f64 0))
-1
(/.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 6))) (sqrt.f64 (+.f64 (pow.f64 x 4) 0)))
(/.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 6))) (sqrt.f64 (pow.f64 x 4)))
(/.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 6))) (cbrt.f64 (+.f64 (pow.f64 x 4) 0)))
(/.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 6))) (cbrt.f64 (pow.f64 x 4)))
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 6))) (*.f64 (+.f64 (pow.f64 x 4) 0) (+.f64 (pow.f64 x 4) 0)))
(/.f64 (*.f64 4 (*.f64 (pow.f64 x 6) (pow.f64 x 6))) (*.f64 (pow.f64 x 4) (pow.f64 x 4)))
(/.f64 (*.f64 (/.f64 0 0) (*.f64 2 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) 0))
-1
(/.f64 (*.f64 0 (/.f64 0 0)) 0)
-1
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) (/.f64 0 0)) (+.f64 (pow.f64 x 4) 0))
-1
(/.f64 (*.f64 0 (*.f64 2 (pow.f64 x 6))) (*.f64 0 (+.f64 (pow.f64 x 4) 0)))
-1
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 6)) 0) (*.f64 (+.f64 (pow.f64 x 4) 0) 0))
-1
(/.f64 (neg.f64 (*.f64 2 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) 0)))
-1
(pow.f64 (/.f64 0 0) 1)
-1
(pow.f64 (/.f64 0 0) 2)
-1
(pow.f64 (/.f64 0 0) 3)
-1
(pow.f64 (/.f64 0 0) 1/2)
-1
(pow.f64 (/.f64 0 0) 1/4)
(pow.f64 -1 1/4)
(pow.f64 (/.f64 0 0) 3/2)
(pow.f64 -1 3/2)
(pow.f64 (/.f64 0 0) 1/3)
-1
(sqrt.f64 (/.f64 0 0))
-1
(fabs.f64 (/.f64 0 0))
-1
(log.f64 (exp.f64 (/.f64 0 0)))
-1
(cbrt.f64 (/.f64 0 0))
-1
(expm1.f64 (log1p.f64 (/.f64 0 0)))
-1
(hypot.f64 x x)
(exp.f64 (log.f64 (/.f64 0 0)))
-1
(log1p.f64 (expm1.f64 (/.f64 0 0)))
-1
(fma.f64 x x (*.f64 x x))
(*.f64 x (+.f64 x x))
(fma.f64 1 (*.f64 x x) (*.f64 x x))
(fma.f64 -1 (*.f64 x x) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 x x))

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.03%
(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
@0
(hypot.f64 x x)
0.0ms
x
@inf
(hypot.f64 x x)

rewrite66.0ms (2.9%)

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
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (hypot.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((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))))))) (#(struct:change #<rule egg-rr> (2) ((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))))))) (#(struct:change #<rule egg-rr> (2) ((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))))))) (#(struct:change #<rule egg-rr> (2) ((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)))))) (#(struct:change #<rule egg-rr> (2) ((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)))))) (#(struct:change #<rule egg-rr> (2) ((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))))))) (#(struct:change #<rule egg-rr> (2) ((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)))))) (#(struct:change #<rule egg-rr> (2) ((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)))))))) (#(struct:change #<rule egg-rr> (2) ((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))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((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))))))) (#(struct:change #<rule egg-rr> (2) ((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)))))) (#(struct:change #<rule egg-rr> (2) ((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)))))) (#(struct:change #<rule egg-rr> (2) ((x *.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))))))) (#(struct:change #<rule egg-rr> (2) ((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))))))) (#(struct:change #<rule egg-rr> (2) ((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))))))) (#(struct:change #<rule egg-rr> (2) ((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))))))) (#(struct:change #<rule egg-rr> (2) ((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))))))) (#(struct:change #<rule egg-rr> (2) ((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)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 x x)))))))

simplify60.0ms (2.6%)

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)

eval59.0ms (2.6%)

Compiler

Compiled 1326 to 675 computations (49.1% saved)

prune19.0ms (0.8%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1265131
Fresh000
Picked011
Done101
Total1276133
Error
0.01%
Counts
133 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
2.09%
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
0.03%
(hypot.f64 x x)
94.9%
(*.f64 (*.f64 x x) 2)
48.78%
(*.f64 (sqrt.f64 2) (neg.f64 x))
48.51%
(sqrt.f64 (*.f64 x (+.f64 x x)))
98.33%
-1
Compiler

Compiled 32 to 22 computations (31.3% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
46.72%
(sqrt.f64 (*.f64 x (+.f64 x x)))
Compiler

Compiled 16 to 4 computations (75% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite87.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
1076×add-sqr-sqrt
1058×*-un-lft-identity
1002×pow1
994×add-cube-cbrt
982×add-cbrt-cube
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0717
11477
220357
Stop Event
node limit
Counts
1 → 77
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 x (+.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) (*.f64 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) 0) (/.f64 (*.f64 x x) 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (+.f64 (sqrt.f64 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (+.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 (cbrt.f64 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 0 (/.f64 1 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 3) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sqrt.f64 x)) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 x)) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 2) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 4 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x x) 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x 0) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 0 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (pow.f64 x 3)) (fma.f64 x x 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 3))) (sqrt.f64 (fma.f64 x x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 0) (sqrt.f64 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 3))) (cbrt.f64 (fma.f64 x x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) (*.f64 2 (pow.f64 x 3))) (*.f64 (fma.f64 x x 0) (fma.f64 x x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x x) (*.f64 2 (pow.f64 x 3))) (fma.f64 x x 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (*.f64 2 (pow.f64 x 3))) (fma.f64 x x 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 0 (+.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 x x)) (fma.f64 x x 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 0 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) x) (fma.f64 x x 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 0 (*.f64 2 (pow.f64 x 3))) (*.f64 0 (fma.f64 x x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) 0) (*.f64 (fma.f64 x x 0) 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (pow.f64 x 3))) (neg.f64 (fma.f64 x x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x x) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x x) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 x x)))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 x) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) x)))))

simplify24.0ms (1%)

Algorithm
egg-herbie
Rules
74×*-commutative
32×distribute-lft-in
24×associate-*l*
22×associate-/l*
22×sqr-pow
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147401
1458401
Stop Event
unsound
Counts
89 → 89
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 x x)
(+.f64 (+.f64 x x) (+.f64 x x))
(+.f64 (*.f64 x x) (*.f64 x x))
(+.f64 (*.f64 (*.f64 x x) 1) (*.f64 (*.f64 x x) 1))
(-.f64 (+.f64 1 (+.f64 x x)) 1)
(-.f64 (/.f64 (*.f64 x x) 0) (/.f64 (*.f64 x x) 0))
(*.f64 x (+.f64 x x))
(*.f64 x 2)
(*.f64 (+.f64 x x) x)
(*.f64 (+.f64 x x) (+.f64 x x))
(*.f64 (+.f64 x x) 1)
(*.f64 (+.f64 x x) (sqrt.f64 x))
(*.f64 (+.f64 x x) (cbrt.f64 x))
(*.f64 (+.f64 x x) (*.f64 x x))
(*.f64 (+.f64 x x) (pow.f64 x 3))
(*.f64 1 (+.f64 x x))
(*.f64 (sqrt.f64 x) (+.f64 x x))
(*.f64 (sqrt.f64 x) (+.f64 (sqrt.f64 x) (sqrt.f64 x)))
(*.f64 (cbrt.f64 x) (+.f64 x x))
(*.f64 (cbrt.f64 x) (+.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 x x))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 (cbrt.f64 x) (cbrt.f64 x)))
(*.f64 (*.f64 x x) (+.f64 x x))
(*.f64 2 x)
(*.f64 2 (+.f64 x x))
(*.f64 2 (*.f64 x x))
(*.f64 0 (/.f64 1 0))
(*.f64 (pow.f64 x 3) (+.f64 x x))
(*.f64 (*.f64 2 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x 0)))
(*.f64 (sqrt.f64 (sqrt.f64 x)) (+.f64 x x))
(*.f64 (sqrt.f64 2) (sqrt.f64 x))
(*.f64 (cbrt.f64 (sqrt.f64 x)) (+.f64 x x))
(*.f64 (cbrt.f64 2) (cbrt.f64 x))
(*.f64 4 (*.f64 x x))
(*.f64 (*.f64 (+.f64 x x) 2) x)
(*.f64 (*.f64 (+.f64 x x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(*.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(*.f64 (pow.f64 1 1/2) (+.f64 x x))
(/.f64 1 (+.f64 x x))
(/.f64 1 (/.f64 (fma.f64 x x 0) (*.f64 2 (pow.f64 x 3))))
(/.f64 0 0)
(/.f64 (*.f64 2 (pow.f64 x 3)) (fma.f64 x x 0))
(/.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 3))) (sqrt.f64 (fma.f64 x x 0)))
(/.f64 (sqrt.f64 0) (sqrt.f64 0))
(/.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 3))) (cbrt.f64 (fma.f64 x x 0)))
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) (*.f64 2 (pow.f64 x 3))) (*.f64 (fma.f64 x x 0) (fma.f64 x x 0)))
(/.f64 (*.f64 (+.f64 x x) (*.f64 2 (pow.f64 x 3))) (fma.f64 x x 0))
(/.f64 (*.f64 x (*.f64 2 (pow.f64 x 3))) (fma.f64 x x 0))
(/.f64 (*.f64 0 (+.f64 x x)) 0)
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 x x)) (fma.f64 x x 0))
(/.f64 (*.f64 0 x) 0)
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) x) (fma.f64 x x 0))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) 0)
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x)))))
(/.f64 (*.f64 0 (*.f64 2 (pow.f64 x 3))) (*.f64 0 (fma.f64 x x 0)))
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) 0) (*.f64 (fma.f64 x x 0) 0))
(/.f64 (neg.f64 (*.f64 2 (pow.f64 x 3))) (neg.f64 (fma.f64 x x 0)))
(pow.f64 (+.f64 x x) 1)
(pow.f64 (+.f64 x x) 2)
(pow.f64 (+.f64 x x) 3)
(pow.f64 (+.f64 x x) 1/2)
(pow.f64 (+.f64 x x) 1/4)
(pow.f64 (+.f64 x x) 3/2)
(pow.f64 (+.f64 x x) 1/3)
(fabs.f64 (+.f64 x x))
(log.f64 (exp.f64 (+.f64 x x)))
(cbrt.f64 (+.f64 x x))
(expm1.f64 (log1p.f64 (+.f64 x x)))
(hypot.f64 x x)
(hypot.f64 (sqrt.f64 x) (sqrt.f64 x))
(exp.f64 (log.f64 (+.f64 x x)))
(log1p.f64 (expm1.f64 (+.f64 x x)))
(fma.f64 x x (*.f64 x x))
(fma.f64 1 x x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) x)
Outputs
(*.f64 (sqrt.f64 2) x)
-2
(*.f64 (sqrt.f64 2) x)
-2
(*.f64 (sqrt.f64 2) x)
-2
(*.f64 (sqrt.f64 2) x)
-2
(*.f64 (sqrt.f64 2) x)
-2
(*.f64 (sqrt.f64 2) x)
-2
(*.f64 (sqrt.f64 2) x)
-2
(*.f64 (sqrt.f64 2) x)
-2
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
-2
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
-2
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
-2
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
-2
(+.f64 x x)
-2
(+.f64 (+.f64 x x) (+.f64 x x))
-2
(+.f64 (*.f64 x x) (*.f64 x x))
-2
(+.f64 (*.f64 (*.f64 x x) 1) (*.f64 (*.f64 x x) 1))
-2
(-.f64 (+.f64 1 (+.f64 x x)) 1)
-2
(-.f64 (/.f64 (*.f64 x x) 0) (/.f64 (*.f64 x x) 0))
-2
(*.f64 x (+.f64 x x))
-2
(*.f64 x 2)
-2
(*.f64 (+.f64 x x) x)
-2
(*.f64 (+.f64 x x) (+.f64 x x))
-2
(*.f64 (+.f64 x x) 1)
-2
(*.f64 (+.f64 x x) (sqrt.f64 x))
(*.f64 -2 (sqrt.f64 x))
(*.f64 (+.f64 x x) (cbrt.f64 x))
(*.f64 -2 (cbrt.f64 x))
(*.f64 (+.f64 x x) (*.f64 x x))
-2
(*.f64 (+.f64 x x) (pow.f64 x 3))
-2
(*.f64 1 (+.f64 x x))
-2
(*.f64 (sqrt.f64 x) (+.f64 x x))
(*.f64 -2 (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (+.f64 (sqrt.f64 x) (sqrt.f64 x)))
(*.f64 -2 (*.f64 (sqrt.f64 x) (sqrt.f64 x)))
(*.f64 (cbrt.f64 x) (+.f64 x x))
(*.f64 -2 (cbrt.f64 x))
(*.f64 (cbrt.f64 x) (+.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (cbrt.f64 x) (*.f64 -2 (pow.f64 (cbrt.f64 x) -2)))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 x x))
(*.f64 -2 (pow.f64 (cbrt.f64 x) -2))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (+.f64 (cbrt.f64 x) (cbrt.f64 x)))
(*.f64 (cbrt.f64 x) (*.f64 -2 (pow.f64 (cbrt.f64 x) -2)))
(*.f64 (*.f64 x x) (+.f64 x x))
-2
(*.f64 2 x)
-2
(*.f64 2 (+.f64 x x))
-2
(*.f64 2 (*.f64 x x))
-2
(*.f64 0 (/.f64 1 0))
-2
(*.f64 (pow.f64 x 3) (+.f64 x x))
-2
(*.f64 (*.f64 2 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x 0)))
-2
(*.f64 (sqrt.f64 (sqrt.f64 x)) (+.f64 x x))
(*.f64 -2 (sqrt.f64 (sqrt.f64 x)))
(*.f64 (sqrt.f64 2) (sqrt.f64 x))
(*.f64 -2 (sqrt.f64 x))
(*.f64 (cbrt.f64 (sqrt.f64 x)) (+.f64 x x))
(*.f64 -2 (cbrt.f64 (sqrt.f64 x)))
(*.f64 (cbrt.f64 2) (cbrt.f64 x))
(*.f64 -2 (cbrt.f64 x))
(*.f64 4 (*.f64 x x))
-2
(*.f64 (*.f64 (+.f64 x x) 2) x)
-2
(*.f64 (*.f64 (+.f64 x x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(*.f64 (cbrt.f64 x) (*.f64 -2 (pow.f64 (cbrt.f64 x) -2)))
(*.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 -2 (*.f64 (sqrt.f64 x) (sqrt.f64 x)))
(*.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(*.f64 (cbrt.f64 x) (*.f64 -2 (pow.f64 (cbrt.f64 x) -2)))
(*.f64 (pow.f64 1 1/2) (+.f64 x x))
-2
(/.f64 1 (+.f64 x x))
-2
(/.f64 1 (/.f64 (fma.f64 x x 0) (*.f64 2 (pow.f64 x 3))))
-2
(/.f64 0 0)
-2
(/.f64 (*.f64 2 (pow.f64 x 3)) (fma.f64 x x 0))
-2
(/.f64 (sqrt.f64 (*.f64 2 (pow.f64 x 3))) (sqrt.f64 (fma.f64 x x 0)))
-2
(/.f64 (sqrt.f64 0) (sqrt.f64 0))
-2
(/.f64 (cbrt.f64 (*.f64 2 (pow.f64 x 3))) (cbrt.f64 (fma.f64 x x 0)))
-2
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) (*.f64 2 (pow.f64 x 3))) (*.f64 (fma.f64 x x 0) (fma.f64 x x 0)))
-2
(/.f64 (*.f64 (+.f64 x x) (*.f64 2 (pow.f64 x 3))) (fma.f64 x x 0))
-2
(/.f64 (*.f64 x (*.f64 2 (pow.f64 x 3))) (fma.f64 x x 0))
-2
(/.f64 (*.f64 0 (+.f64 x x)) 0)
-2
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 x x)) (fma.f64 x x 0))
-2
(/.f64 (*.f64 0 x) 0)
-2
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) x) (fma.f64 x x 0))
-2
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) 0)
-2
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x)))))
-2
(/.f64 (*.f64 0 (*.f64 2 (pow.f64 x 3))) (*.f64 0 (fma.f64 x x 0)))
-2
(/.f64 (*.f64 (*.f64 2 (pow.f64 x 3)) 0) (*.f64 (fma.f64 x x 0) 0))
-2
(/.f64 (neg.f64 (*.f64 2 (pow.f64 x 3))) (neg.f64 (fma.f64 x x 0)))
-2
(pow.f64 (+.f64 x x) 1)
-2
(pow.f64 (+.f64 x x) 2)
-2
(pow.f64 (+.f64 x x) 3)
-2
(pow.f64 (+.f64 x x) 1/2)
-2
(pow.f64 (+.f64 x x) 1/4)
-2
(pow.f64 (+.f64 x x) 3/2)
-2
(pow.f64 (+.f64 x x) 1/3)
-2
(fabs.f64 (+.f64 x x))
-2
(log.f64 (exp.f64 (+.f64 x x)))
-2
(cbrt.f64 (+.f64 x x))
-2
(expm1.f64 (log1p.f64 (+.f64 x x)))
-2
(hypot.f64 x x)
(hypot.f64 (sqrt.f64 x) (sqrt.f64 x))
(exp.f64 (log.f64 (+.f64 x x)))
-2
(log1p.f64 (expm1.f64 (+.f64 x x)))
-2
(fma.f64 x x (*.f64 x x))
-2
(fma.f64 1 x x)
(+.f64 -2 x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) x)
(fma.f64 (pow.f64 (cbrt.f64 x) -2) (cbrt.f64 x) x)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.7%
(*.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))

rewrite61.0ms (2.7%)

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
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))))))

simplify72.0ms (3.2%)

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)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.01%
(*.f64 (*.f64 x x) 2)
Compiler

Compiled 11 to 5 computations (54.5% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite50.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
1054×add-sqr-sqrt
1040×*-un-lft-identity
988×pow1
964×add-cube-cbrt
956×add-cbrt-cube
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
112113
2138513
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 2))))))))

simplify42.0ms (1.8%)

Algorithm
egg-herbie
Rules
1414×distribute-lft-in
1366×distribute-rgt-in
1312×log-prod
904×associate-*r*
832×associate-+r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036299
190299
2356299
32123299
Stop Event
node limit
Counts
23 → 13
Calls
Call 1
Inputs
(*.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 (*.f64 x 2))) 1)
(pow.f64 (*.f64 x (*.f64 x 2)) 1)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) 1/3)
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 x) (*.f64 x 2)))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 2))))
(exp.f64 (log.f64 (*.f64 x (*.f64 x 2))))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 2))))
Outputs
(*.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 (*.f64 x 2))) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 x (*.f64 x 2)) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(*.f64 2 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) 3)
(*.f64 2 (*.f64 x x))
(pow.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) 1/3)
(*.f64 2 (*.f64 x x))
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(*.f64 2 (*.f64 x x))
(log.f64 (pow.f64 (exp.f64 x) (*.f64 x 2)))
(*.f64 2 (*.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3))
(*.f64 2 (*.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 2))))
(*.f64 2 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 x (*.f64 x 2))))
(*.f64 2 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 2))))
(*.f64 2 (*.f64 x x))

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.03%
(hypot.f64 x x)
0.9%
(cbrt.f64 (hypot.f64 x x))
1.13%
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
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 (cbrt.f64 (hypot.f64 x x)) 3)
1.0ms
x
@inf
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
0.0ms
x
@-inf
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
0.0ms
x
@inf
(cbrt.f64 (hypot.f64 x x))
0.0ms
x
@-inf
(cbrt.f64 (hypot.f64 x x))

rewrite56.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
1260×add-sqr-sqrt
1232×*-un-lft-identity
1162×add-cube-cbrt
1150×add-cbrt-cube
1136×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
116518
2165218
Stop Event
node limit
Counts
2 → 40
Calls
Call 1
Inputs
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(cbrt.f64 (hypot.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (hypot.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x x) 1/6) (*.f64 (pow.f64 (hypot.f64 x x) 1/6) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.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)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (pow.f64 (hypot.f64 x x) 1/6)) (pow.f64 (hypot.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3) (pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (hypot.f64 x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 x x)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 x x)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (hypot.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x x) 1/6) (pow.f64 (hypot.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/3) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 2) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (hypot.f64 x x))))))))

simplify53.0ms (2.3%)

Algorithm
egg-herbie
Rules
866×unswap-sqr
840×distribute-lft-in
838×fma-def
828×distribute-rgt-in
784×associate-+r+
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
077848
1165620
2609392
32169380
Stop Event
node limit
Counts
40 → 47
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.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 (pow.f64 (hypot.f64 x x) 1/6) (*.f64 (pow.f64 (hypot.f64 x x) 1/6) (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 (pow.f64 (cbrt.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 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (pow.f64 (hypot.f64 x x) 1/6)) (pow.f64 (hypot.f64 x x) 1/6))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3) (pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3) (cbrt.f64 (hypot.f64 x x)))
(sqrt.f64 (pow.f64 (hypot.f64 x x) 2))
(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 (cbrt.f64 (hypot.f64 x x))) 1)
(*.f64 (cbrt.f64 (hypot.f64 x x)) 1)
(*.f64 1 (cbrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) (pow.f64 (hypot.f64 x x) 1/6))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/3))
(*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 1 1/3) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/3) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/3))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 1)
(pow.f64 (hypot.f64 x x) 1/3)
(pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 2)
(pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 2) 1/6)
(sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(log.f64 (exp.f64 (cbrt.f64 (hypot.f64 x x))))
(expm1.f64 (log1p.f64 (cbrt.f64 (hypot.f64 x x))))
(exp.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))))
(log1p.f64 (expm1.f64 (cbrt.f64 (hypot.f64 x x))))
Outputs
(-.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 (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 (hypot.f64 x x) 1)
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x 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 (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 (pow.f64 (hypot.f64 x x) 1/6) (*.f64 (pow.f64 (hypot.f64 x x) 1/6) (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 (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 (pow.f64 (cbrt.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 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1) (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 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (pow.f64 (hypot.f64 x x) 1/6)) (pow.f64 (hypot.f64 x x) 1/6))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (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 (pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3) (pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3) (cbrt.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(sqrt.f64 (pow.f64 (hypot.f64 x x) 2))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 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)
(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 (cbrt.f64 (hypot.f64 x x))) 1)
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) 1)
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(*.f64 1 (cbrt.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) (pow.f64 (hypot.f64 x x) 1/6))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/3))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 1 1/3) (cbrt.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/3) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/3))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(pow.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) 4)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 1)
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(pow.f64 (hypot.f64 x x) 1/3)
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 2)
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(pow.f64 (pow.f64 (hypot.f64 x x) 2) 1/6)
(sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(log.f64 (exp.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(expm1.f64 (log1p.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(exp.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))
(log1p.f64 (expm1.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (cbrt.f64 (hypot.f64 x x)) 1))
(+.f64 (cbrt.f64 (hypot.f64 x x)) 0)
(cbrt.f64 (hypot.f64 x x))

eval47.0ms (2.1%)

Compiler

Compiled 2149 to 1027 computations (52.2% saved)

prune30.0ms (1.3%)

Pruning

10 alts after pruning (5 fresh and 5 done)

PrunedKeptTotal
New2144218
Fresh011
Picked011
Done044
Total21410224
Error
0.01%
Counts
224 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
2.09%
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
0.03%
(hypot.f64 x x)
97.29%
(/.f64 1 (+.f64 x x))
88.87%
(+.f64 x x)
93.94%
(+.f64 -2 x)
94.9%
(*.f64 (*.f64 x x) 2)
48.78%
(*.f64 (sqrt.f64 2) (neg.f64 x))
94.9%
(*.f64 4 (*.f64 x x))
48.51%
(sqrt.f64 (*.f64 x (+.f64 x x)))
98.33%
-1
Compiler

Compiled 52 to 35 computations (32.7% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.01%
(*.f64 4 (*.f64 x x))
Compiler

Compiled 11 to 5 computations (54.5% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 4 (*.f64 x x))
0.0ms
x
@inf
(*.f64 4 (*.f64 x x))
0.0ms
x
@-inf
(*.f64 4 (*.f64 x x))

rewrite128.0ms (5.6%)

Algorithm
batch-egg-rewrite
Rules
1052×add-sqr-sqrt
1038×*-un-lft-identity
986×pow1
968×add-cube-cbrt
960×add-cbrt-cube
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
112213
2138913
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 4 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 4 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 4 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 4 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 16 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 4 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 4 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 4 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 4 (*.f64 x x))))))))

simplify40.0ms (1.8%)

Algorithm
egg-herbie
Rules
1554×distribute-rgt-in
1526×distribute-lft-in
1288×log-prod
850×associate-*r*
768×associate-+r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036299
191299
2343299
32105299
Stop Event
node limit
Counts
23 → 14
Calls
Call 1
Inputs
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(-.f64 (+.f64 1 (*.f64 4 (*.f64 x x))) 1)
(pow.f64 (*.f64 4 (*.f64 x x)) 1)
(pow.f64 (*.f64 x 2) 2)
(pow.f64 (cbrt.f64 (*.f64 4 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 4 (*.f64 x x)) 3) 1/3)
(sqrt.f64 (*.f64 16 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 4) (*.f64 x x)))
(cbrt.f64 (pow.f64 (*.f64 4 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 4 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 4 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 4 (*.f64 x x))))
Outputs
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(-.f64 (+.f64 1 (*.f64 4 (*.f64 x x))) 1)
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(pow.f64 (*.f64 4 (*.f64 x x)) 1)
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(pow.f64 (*.f64 x 2) 2)
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(pow.f64 (cbrt.f64 (*.f64 4 (*.f64 x x))) 3)
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(pow.f64 (pow.f64 (*.f64 4 (*.f64 x x)) 3) 1/3)
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(sqrt.f64 (*.f64 16 (pow.f64 x 4)))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(log.f64 (pow.f64 (exp.f64 4) (*.f64 x x)))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(cbrt.f64 (pow.f64 (*.f64 4 (*.f64 x x)) 3))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(expm1.f64 (log1p.f64 (*.f64 4 (*.f64 x x))))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(exp.f64 (log.f64 (*.f64 4 (*.f64 x x))))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))
(log1p.f64 (expm1.f64 (*.f64 4 (*.f64 x x))))
(*.f64 4 (*.f64 x x))
(*.f64 x (*.f64 4 x))

localize2.0ms (0.1%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

localize2.0ms (0.1%)

Compiler

Compiled 5 to 2 computations (60% saved)

localize4.0ms (0.2%)

Compiler

Compiled 11 to 5 computations (54.5% saved)

eval2.0ms (0.1%)

Compiler

Compiled 96 to 62 computations (35.4% saved)

prune6.0ms (0.3%)

Pruning

10 alts after pruning (1 fresh and 9 done)

PrunedKeptTotal
New14014
Fresh011
Picked011
Done088
Total141024
Error
0.01%
Counts
24 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
2.09%
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
0.03%
(hypot.f64 x x)
97.29%
(/.f64 1 (+.f64 x x))
88.87%
(+.f64 x x)
93.94%
(+.f64 -2 x)
94.9%
(*.f64 (*.f64 x x) 2)
48.78%
(*.f64 (sqrt.f64 2) (neg.f64 x))
94.9%
(*.f64 4 (*.f64 x x))
48.51%
(sqrt.f64 (*.f64 x (+.f64 x x)))
98.33%
-1
Compiler

Compiled 52 to 35 computations (32.7% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune4.0ms (0.2%)

Pruning

10 alts after pruning (1 fresh and 9 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done099
Total01010
Error
0.01%
Counts
10 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
2.09%
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
0.03%
(hypot.f64 x x)
97.29%
(/.f64 1 (+.f64 x x))
88.87%
(+.f64 x x)
93.94%
(+.f64 -2 x)
94.9%
(*.f64 (*.f64 x x) 2)
48.78%
(*.f64 (sqrt.f64 2) (neg.f64 x))
94.9%
(*.f64 4 (*.f64 x x))
48.51%
(sqrt.f64 (*.f64 x (+.f64 x x)))
98.33%
-1
Compiler

Compiled 52 to 35 computations (32.7% saved)

regimes46.0ms (2%)

Counts
11 → 1
Calls
Call 1
Inputs
-1
(+.f64 -2 x)
(+.f64 x x)
(*.f64 4 (*.f64 x x))
(*.f64 (*.f64 x x) 2)
(/.f64 1 (+.f64 x x))
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) (neg.f64 x))
(sqrt.f64 (*.f64 x (+.f64 x x)))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
Outputs
(hypot.f64 x x)
Calls

4 calls:

30.0ms
(+.f64 (*.f64 x x) (*.f64 x x))
6.0ms
x
4.0ms
(*.f64 x x)
4.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Results
ErrorSegmentsBranch
0.03%1x
0.03%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
0.03%1(+.f64 (*.f64 x x) (*.f64 x x))
0.03%1(*.f64 x x)
Compiler

Compiled 74 to 34 computations (54.1% saved)

regimes10.0ms (0.4%)

Counts
6 → 1
Calls
Call 1
Inputs
-1
(+.f64 -2 x)
(+.f64 x x)
(*.f64 4 (*.f64 x x))
(*.f64 (*.f64 x x) 2)
(/.f64 1 (+.f64 x x))
Outputs
(+.f64 x x)
Calls

2 calls:

4.0ms
x
3.0ms
(*.f64 x x)
Results
ErrorSegmentsBranch
88.87%1x
88.87%1(*.f64 x x)
Compiler

Compiled 29 to 15 computations (48.3% saved)

regimes4.0ms (0.2%)

Accuracy

Total -2.9b remaining (-4.8%)

Threshold costs -2.9b (-4.8%)

Counts
2 → 1
Calls
Call 1
Inputs
-1
(+.f64 -2 x)
Outputs
(+.f64 -2 x)
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
93.94%1x
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify51.0ms (2.2%)

Algorithm
egg-herbie
Rules
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
1922
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(hypot.f64 x x)
(+.f64 x x)
(+.f64 -2 x)
-1
Outputs
(hypot.f64 x x)
(+.f64 x x)
(+.f64 -2 x)
(+.f64 x -2)
-1
Compiler

Compiled 14 to 9 computations (35.7% saved)

soundness12.0ms (0.5%)

Algorithm
egg-herbie
Rules
*-commutative
count-2
associate-*r*
fma-def
hypot-def
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077
1147
2187
3197
Stop Event
saturated
Compiler

Compiled 12 to 5 computations (58.3% saved)

end38.0ms (1.7%)

Compiler

Compiled 11 to 6 computations (45.5% saved)

Profiling

Loading profile data...