Details

Time bar (total: 1.7s)

analyze3.0ms (0.2%)

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)

sample846.0ms (50.3%)

Results
813.0ms8256×body256valid
0.0msbody256infinite
Bogosity

preprocess4.0ms (0.3%)

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)

simplify12.0ms (0.7%)

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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(hypot.f64 x x)
Compiler

Compiled 4 to 2 computations (50% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 x x)
Compiler

Compiled 5 to 2 computations (60% saved)

series3.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite50.0ms (3%)

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

simplify56.0ms (3.3%)

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)

eval9.0ms (0.5%)

Compiler

Compiled 662 to 207 computations (68.7% saved)

prune6.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New48250
Fresh000
Picked011
Done000
Total48351
Error
0.0b
Counts
51 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
0.0b
(hypot.f64 x x)
1.4b
(*.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)))))
Compiler

Compiled 39 to 21 computations (46.2% saved)

localize23.0ms (1.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
0.5b
(*.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)))))
0.5b
(cbrt.f64 (hypot.f64 x x))
0.6b
(cbrt.f64 (sqrt.f64 (hypot.f64 x x)))
Compiler

Compiled 72 to 24 computations (66.7% saved)

series47.0ms (2.8%)

Counts
4 → 24
Calls

12 calls:

TimeVariablePointExpression
28.0ms
x
@0
(cbrt.f64 (sqrt.f64 (hypot.f64 x x)))
9.0ms
x
@-inf
(cbrt.f64 (sqrt.f64 (hypot.f64 x x)))
6.0ms
x
@inf
(cbrt.f64 (sqrt.f64 (hypot.f64 x x)))
1.0ms
x
@0
(cbrt.f64 (hypot.f64 x x))
1.0ms
x
@0
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)

rewrite74.0ms (4.4%)

Algorithm
batch-egg-rewrite
Rules
1646×add-sqr-sqrt
1624×*-un-lft-identity
1510×add-cube-cbrt
1492×add-cbrt-cube
218×pow1
Iterations

Useful iterations: 1 (0.0ms)

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

simplify72.0ms (4.3%)

Algorithm
egg-herbie
Rules
710×distribute-lft-in
694×distribute-rgt-in
646×sqr-pow
646×*-commutative
630×+-commutative
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01951946
13941920
214211828
347521828
Stop Event
node limit
Counts
120 → 120
Calls
Call 1
Inputs
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(*.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 (exp.f64 (log1p.f64 (pow.f64 (hypot.f64 x x) 1/6))) 1)
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) 1)
(*.f64 1 (pow.f64 (hypot.f64 x x) 1/6))
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (pow.f64 1 1/3) (pow.f64 (hypot.f64 x x) 1/6))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/3) (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/3))
(pow.f64 (hypot.f64 x x) 1/6)
(pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 1)
(pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/4)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/3)
(pow.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) 2)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) 3)
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
(fabs.f64 (pow.f64 (hypot.f64 x x) 1/6))
(log.f64 (exp.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(log.f64 (+.f64 1 (expm1.f64 (pow.f64 (hypot.f64 x x) 1/6))))
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(exp.f64 (log.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(exp.f64 (*.f64 (log.f64 (pow.f64 (hypot.f64 x x) 1/6)) 1))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 1/3))
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(-.f64 (exp.f64 (log1p.f64 (cbrt.f64 (hypot.f64 x x)))) 1)
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) (pow.f64 (hypot.f64 x x) 1/6))
(*.f64 (cbrt.f64 (hypot.f64 x x)) 1)
(*.f64 1 (cbrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6))
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (pow.f64 (hypot.f64 x x) 1/4))
(*.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))) (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (pow.f64 (hypot.f64 x x) 1/6)))
(*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)))
(*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(*.f64 (*.f64 (pow.f64 (hypot.f64 x x) 1/6) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(*.f64 (pow.f64 1 1/3) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 1 1/2) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4)) 1/2) (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 1/2))
(pow.f64 (hypot.f64 x x) 1/3)
(pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 2)
(pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/2)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 1)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2/3)
(pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)
(pow.f64 (*.f64 x (+.f64 x x)) 1/6)
(sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(fabs.f64 (cbrt.f64 (hypot.f64 x x)))
(log.f64 (exp.f64 (cbrt.f64 (hypot.f64 x x))))
(log.f64 (+.f64 1 (expm1.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))))
(exp.f64 (*.f64 (log.f64 (hypot.f64 x x)) 1/3))
(exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (hypot.f64 x x)))) 1/2))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 1))
(log1p.f64 (expm1.f64 (cbrt.f64 (hypot.f64 x x))))
(-.f64 (exp.f64 (log1p.f64 (hypot.f64 x x))) 1)
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 3/2)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(sqrt.f64 (*.f64 x (+.f64 x x)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(log.f64 (+.f64 1 (expm1.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)))
(exp.f64 (*.f64 (log.f64 (hypot.f64 x x)) 1))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(-.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) 1)
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1)
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/6))
(*.f64 1 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4)))
(*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2))
(*.f64 (*.f64 (pow.f64 (hypot.f64 x x) 1/6) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4))
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))
(log.f64 (exp.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))
(cbrt.f64 (*.f64 x (+.f64 x x)))
(expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(exp.f64 (*.f64 2 (log.f64 (cbrt.f64 (hypot.f64 x x)))))
(exp.f64 (+.f64 (log.f64 (pow.f64 (hypot.f64 x x) 1/6)) (log.f64 (sqrt.f64 (hypot.f64 x x)))))
(exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (hypot.f64 x x)))) 1))
(log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
Outputs
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2))))
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))
(*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 (sqrt.f64 2) 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2))))
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))
(*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 (sqrt.f64 2) 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2))))
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))
(*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 (sqrt.f64 2) 1/6))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2))))
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))
(*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 (sqrt.f64 2) 1/6))
(*.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 (exp.f64 (log1p.f64 (pow.f64 (hypot.f64 x x) 1/6))) 1)
(pow.f64 (hypot.f64 x x) 1/6)
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) 1)
(pow.f64 (hypot.f64 x x) 1/6)
(*.f64 1 (pow.f64 (hypot.f64 x x) 1/6))
(pow.f64 (hypot.f64 x x) 1/6)
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6))
(pow.f64 (hypot.f64 x x) 1/6)
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(pow.f64 (hypot.f64 x x) 1/6)
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(pow.f64 (hypot.f64 x x) 1/6)
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (fabs.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (pow.f64 1 1/3) (pow.f64 (hypot.f64 x x) 1/6))
(pow.f64 (hypot.f64 x x) 1/6)
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/3) (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/3))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/4)) (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/4)))
(pow.f64 (hypot.f64 x x) 1/6)
(pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 1)
(pow.f64 (hypot.f64 x x) 1/6)
(pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/4)
(pow.f64 (hypot.f64 x x) 1/6)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2)
(pow.f64 (hypot.f64 x x) 1/6)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/3)
(pow.f64 (hypot.f64 x x) 1/6)
(pow.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) 2)
(pow.f64 (hypot.f64 x x) 1/6)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) 3)
(pow.f64 (hypot.f64 x x) 1/6)
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
(pow.f64 (hypot.f64 x x) 1/6)
(fabs.f64 (pow.f64 (hypot.f64 x x) 1/6))
(pow.f64 (hypot.f64 x x) 1/6)
(log.f64 (exp.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(pow.f64 (hypot.f64 x x) 1/6)
(log.f64 (+.f64 1 (expm1.f64 (pow.f64 (hypot.f64 x x) 1/6))))
(pow.f64 (hypot.f64 x x) 1/6)
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(pow.f64 (hypot.f64 x x) 1/6)
(exp.f64 (log.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(pow.f64 (hypot.f64 x x) 1/6)
(exp.f64 (*.f64 (log.f64 (pow.f64 (hypot.f64 x x) 1/6)) 1))
(pow.f64 (hypot.f64 x x) 1/6)
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 1/3))
(pow.f64 (hypot.f64 x x) 1/6)
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(pow.f64 (hypot.f64 x x) 1/6)
(-.f64 (exp.f64 (log1p.f64 (cbrt.f64 (hypot.f64 x x)))) 1)
(cbrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) (pow.f64 (hypot.f64 x x) 1/6))
(cbrt.f64 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) 1)
(cbrt.f64 (hypot.f64 x x))
(*.f64 1 (cbrt.f64 (hypot.f64 x x)))
(cbrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6))
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (pow.f64 (hypot.f64 x x) 1/4))
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (pow.f64 (hypot.f64 x x) 1/4))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2))
(cbrt.f64 (hypot.f64 x x))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (pow.f64 (hypot.f64 x x) 1/6)))
(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))))
(cbrt.f64 (hypot.f64 x x))
(*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (fabs.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 4)))
(*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 5)))
(*.f64 (*.f64 (pow.f64 (hypot.f64 x x) 1/6) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)))
(cbrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 1 1/3) (cbrt.f64 (hypot.f64 x x)))
(cbrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 1 1/2) (cbrt.f64 (hypot.f64 x x)))
(cbrt.f64 (hypot.f64 x x))
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4)) 1/2) (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 1/2))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (fabs.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 4)))
(pow.f64 (hypot.f64 x x) 1/3)
(cbrt.f64 (hypot.f64 x x))
(pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 2)
(cbrt.f64 (hypot.f64 x x))
(pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/2)
(cbrt.f64 (hypot.f64 x x))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 1)
(cbrt.f64 (hypot.f64 x x))
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2/3)
(cbrt.f64 (hypot.f64 x x))
(pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)
(cbrt.f64 (hypot.f64 x x))
(pow.f64 (*.f64 x (+.f64 x x)) 1/6)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/6)
(sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(cbrt.f64 (hypot.f64 x x))
(fabs.f64 (cbrt.f64 (hypot.f64 x x)))
(cbrt.f64 (hypot.f64 x x))
(log.f64 (exp.f64 (cbrt.f64 (hypot.f64 x x))))
(cbrt.f64 (hypot.f64 x x))
(log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (hypot.f64 x x)))))
(cbrt.f64 (hypot.f64 x x))
(expm1.f64 (log1p.f64 (cbrt.f64 (hypot.f64 x x))))
(cbrt.f64 (hypot.f64 x x))
(exp.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))))
(cbrt.f64 (hypot.f64 x x))
(exp.f64 (*.f64 (log.f64 (hypot.f64 x x)) 1/3))
(cbrt.f64 (hypot.f64 x x))
(exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (hypot.f64 x x)))) 1/2))
(cbrt.f64 (hypot.f64 x x))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 1))
(cbrt.f64 (hypot.f64 x x))
(log1p.f64 (expm1.f64 (cbrt.f64 (hypot.f64 x x))))
(cbrt.f64 (hypot.f64 x x))
(-.f64 (exp.f64 (log1p.f64 (hypot.f64 x x))) 1)
(hypot.f64 x x)
(pow.f64 (hypot.f64 x x) 1)
(hypot.f64 x x)
(pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 3/2)
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(hypot.f64 x x)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(hypot.f64 x x)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(hypot.f64 x x)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(hypot.f64 x x)
(sqrt.f64 (*.f64 x (+.f64 x x)))
(hypot.f64 x x)
(log.f64 (exp.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(log.f64 (+.f64 1 (expm1.f64 (hypot.f64 x x))))
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(hypot.f64 x x)
(exp.f64 (log.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (hypot.f64 x x)) 1))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2))
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(-.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) (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) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/6))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(*.f64 1 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (sqrt.f64 (hypot.f64 x x))))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (sqrt.f64 (hypot.f64 x x))))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4)))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (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)) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(*.f64 (*.f64 (pow.f64 (hypot.f64 x x) 1/6) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(log.f64 (exp.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(cbrt.f64 (*.f64 x (+.f64 x x)))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(exp.f64 (*.f64 2 (log.f64 (cbrt.f64 (hypot.f64 x x)))))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(exp.f64 (+.f64 (log.f64 (pow.f64 (hypot.f64 x x) 1/6)) (log.f64 (sqrt.f64 (hypot.f64 x x)))))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (hypot.f64 x x)))) 1))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
(log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)

localize6.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 x x)
0.1b
(sqrt.f64 (hypot.f64 x x))
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 16 to 6 computations (62.5% saved)

series7.0ms (0.4%)

Counts
2 → 0
Calls

6 calls:

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

rewrite51.0ms (3%)

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

Useful iterations: 0 (0.0ms)

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

simplify52.0ms (3.1%)

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

Useful iterations: 2 (0.0ms)

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

eval106.0ms (6.3%)

Compiler

Compiled 7716 to 3122 computations (59.5% saved)

prune42.0ms (2.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3131314
Fresh000
Picked011
Done112
Total3143317
Error
0.0b
Counts
317 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
1.4b
(pow.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) 2)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
0.0b
(hypot.f64 x x)
Compiler

Compiled 24 to 15 computations (37.5% saved)

localize11.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
0.5b
(pow.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) 2)
0.5b
(cbrt.f64 (hypot.f64 x x))
0.6b
(cbrt.f64 (sqrt.f64 (hypot.f64 x x)))
Compiler

Compiled 41 to 9 computations (78% saved)

series2.0ms (0.1%)

Counts
2 → 0
Calls

6 calls:

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

rewrite54.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
1454×add-sqr-sqrt
1432×*-un-lft-identity
1336×add-cube-cbrt
1322×add-cbrt-cube
1310×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
122018
2205318
Stop Event
node limit
Counts
2 → 37
Calls
Call 1
Inputs
(pow.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) 2)
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.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 (hypot.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x x) 1/6) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (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 1 (hypot.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (pow.f64 (hypot.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (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 (cbrt.f64 (*.f64 2 (*.f64 x x))) (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 sqrt.f64 (*.f64 2 (*.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 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 exp.f64 (*.f64 (log.f64 (hypot.f64 x x)) 1))))) (#(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 (sqrt.f64 (hypot.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (hypot.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (hypot.f64 x x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (hypot.f64 x x))))))))

simplify58.0ms (3.4%)

Algorithm
egg-herbie
Rules
940×associate-*r*
820×*-commutative
736×associate-*l*
638×associate-/l*
618×distribute-lft-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
079879
1156717
2499535
32426535
45536535
Stop Event
node limit
Counts
37 → 46
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(*.f64 (hypot.f64 x x) 1)
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 1 (hypot.f64 x x))
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (pow.f64 (hypot.f64 x x) 1/6))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (pow.f64 (hypot.f64 x x) 1/6)) (pow.f64 (hypot.f64 x x) 1/6))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(exp.f64 (log.f64 (hypot.f64 x x)))
(exp.f64 (*.f64 (log.f64 (hypot.f64 x x)) 1))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(-.f64 (+.f64 1 (sqrt.f64 (hypot.f64 x x))) 1)
(pow.f64 (hypot.f64 x x) 1/2)
(pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 1)
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)
(pow.f64 (*.f64 2 (*.f64 x x)) 1/4)
(pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/3)
(sqrt.f64 (hypot.f64 x x))
(fabs.f64 (sqrt.f64 (hypot.f64 x x)))
(log.f64 (exp.f64 (sqrt.f64 (hypot.f64 x x))))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x))))
(exp.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))))
(exp.f64 (*.f64 (log.f64 (hypot.f64 x x)) 1/2))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 1))
(log1p.f64 (expm1.f64 (sqrt.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 (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)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 x (*.f64 x 2))))
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/6)))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3))
(*.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 1 (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/4) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (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 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 x (*.f64 x 2))))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4))
(+.f64 1 (-.f64 (hypot.f64 x x) 1))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (pow.f64 (hypot.f64 x x) 1/6))
(*.f64 (pow.f64 (hypot.f64 x x) 1/6) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/6)))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 x (*.f64 x 2))))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (pow.f64 (hypot.f64 x x) 1/6)) (pow.f64 (hypot.f64 x x) 1/6))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 x (*.f64 x 2))))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 x (*.f64 x 2))))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 x (*.f64 x 2)))
(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)
(exp.f64 (*.f64 (log.f64 (hypot.f64 x x)) 1))
(+.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 (sqrt.f64 (hypot.f64 x x))) 1)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(pow.f64 (hypot.f64 x x) 1/2)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 1)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/4)
(pow.f64 (*.f64 x (*.f64 x 2)) 1/4)
(pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/3)
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(sqrt.f64 (hypot.f64 x x))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(fabs.f64 (sqrt.f64 (hypot.f64 x x)))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(log.f64 (exp.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(exp.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(exp.f64 (*.f64 (log.f64 (hypot.f64 x x)) 1/2))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 1))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))
(log1p.f64 (expm1.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1))
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0)
(sqrt.f64 (hypot.f64 x x))

eval26.0ms (1.6%)

Compiler

Compiled 1731 to 776 computations (55.2% saved)

prune16.0ms (1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1220122
Fresh000
Picked011
Done022
Total1223125
Error
0.0b
Counts
125 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
1.4b
(pow.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) 2)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
0.0b
(hypot.f64 x x)
Compiler

Compiled 24 to 15 computations (37.5% saved)

regimes16.0ms (0.9%)

Accuracy

Total -30.5b remaining (-195477.1%)

Threshold costs -30.5b (-195477.1%)

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

4 calls:

4.0ms
x
4.0ms
(*.f64 x x)
3.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
3.0ms
(+.f64 (*.f64 x x) (*.f64 x x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
0.0b1(+.f64 (*.f64 x x) (*.f64 x x))
0.0b1(*.f64 x x)
Compiler

Compiled 80 to 32 computations (60% saved)

simplify4.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 4 to 2 computations (50% saved)

soundness12.0ms (0.7%)

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)

end11.0ms (0.6%)

Compiler

Compiled 4 to 2 computations (50% saved)

Profiling

Loading profile data...