Details

Time bar (total: 1.3s)

analyze4.0ms (0.3%)

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

Compiled 10 to 5 computations (50% saved)

sample700.0ms (54.3%)

Results
687.0ms8256×body128valid

preprocess13.0ms (1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
count-2_binary64
associate-*l*_binary64
distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
1114
2144
3174
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 9 to 4 computations (55.6% saved)

simplify6.0ms (0.5%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
count-2_binary64
associate-*l*_binary64
distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
1114
2144
3174
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)

prune3.0ms (0.3%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
Compiler

Compiled 20 to 9 computations (55% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

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)

rewrite42.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
271×pow1_binary64
260×add-sqr-sqrt_binary64
255×*-un-lft-identity_binary64
249×add-log-exp_binary64
249×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
1604
26954
Stop Event
node limit
Counts
1 → 20
Calls
Call 1
Inputs
(hypot.f64 x x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (hypot.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) (cbrt.f64 (exp.f64 (hypot.f64 x x))))) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))))) (#(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 1 (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 (hypot.f64 x x)) (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 (pow.f64 (hypot.f64 x x) 2) 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 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 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 log1p.f64 (expm1.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 x x)))))))

simplify11.0ms (0.8%)

Algorithm
egg-herbie
Rules
38×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0780
11280
22580
32980
43380
55180
67380
78480
89680
912180
Stop Event
saturated
Counts
32 → 23
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))
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))

prune15.0ms (1.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New18523
Fresh000
Picked011
Done000
Total18624
Error
0.0b
Counts
24 → 6
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
28.5b
(*.f64 (sqrt.f64 2) (neg.f64 x))
34.3b
(*.f64 (sqrt.f64 2) x)
5.8b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
1.4b
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
Compiler

Compiled 236 to 115 computations (51.3% saved)

localize4.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (hypot.f64 x x))
0.1b
(hypot.f64 x x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))

series3.0ms (0.2%)

Counts
2 → 12
Calls

6 calls:

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

rewrite29.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
352×pow1_binary64
327×add-log-exp_binary64
327×log1p-expm1-u_binary64
327×expm1-log1p-u_binary64
317×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify11.0ms (0.8%)

Algorithm
egg-herbie
Rules
38×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0780
11280
22580
32980
43380
55180
67380
78480
89680
912180
Stop Event
saturated
Counts
47 → 38
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))
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))

prune49.0ms (3.8%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1023105
Fresh044
Picked011
Done011
Total1029111
Error
0.0b
Counts
111 → 9
Alt Table
StatusErrorProgram
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
22.0b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)))
1.4b
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
28.5b
(*.f64 (sqrt.f64 2) (neg.f64 x))
34.3b
(*.f64 (sqrt.f64 2) x)
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
5.8b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
Compiler

Compiled 1371 to 481 computations (64.9% saved)

localize8.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (hypot.f64 x x))
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2))

series44.0ms (3.5%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
27.0ms
x
@0
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)
9.0ms
x
@-inf
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)
7.0ms
x
@inf
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)
0.0ms
x
@0
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2))
0.0ms
x
@-inf
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2))

rewrite36.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
558×pow1_binary64
521×add-log-exp_binary64
521×log1p-expm1-u_binary64
521×expm1-log1p-u_binary64
507×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify25.0ms (1.9%)

Algorithm
egg-herbie
Rules
578×associate-*l*_binary64
506×unswap-sqr_binary64
497×associate-*r*_binary64
271×fma-def_binary64
102×distribute-rgt-in_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
029312
181308
2193272
3459188
41409184
Stop Event
node limit
Counts
58 → 42
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))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 2)
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))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 2)
(pow.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 1/2)
(sqrt.f64 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 2)
(pow.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 1/2)
(sqrt.f64 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 2)
(pow.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 1/2)
(sqrt.f64 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 2)
(pow.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 1/2)
(sqrt.f64 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 2)
(pow.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 1/2)
(sqrt.f64 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 2)
(pow.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 1/2)
(sqrt.f64 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 2)
(pow.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 1/2)
(sqrt.f64 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 2)
(pow.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 1/2)
(sqrt.f64 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2)))) 2)
(pow.f64 (exp.f64 1/4) (*.f64 2 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))))
(exp.f64 (*.f64 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))) 1/2))
(sqrt.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)))
(sqrt.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2)))) 2)
(pow.f64 (exp.f64 1/4) (*.f64 2 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))))
(exp.f64 (*.f64 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))) 1/2))
(sqrt.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)))
(sqrt.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2)))) 2)
(pow.f64 (exp.f64 1/4) (*.f64 2 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))))
(exp.f64 (*.f64 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))) 1/2))
(sqrt.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)))
(sqrt.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 2)
(pow.f64 (pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2)))) 2)
(pow.f64 (exp.f64 1/4) (*.f64 2 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))))
(exp.f64 (*.f64 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))) 1/2))
(sqrt.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)))
(sqrt.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)))

prune58.0ms (4.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1081109
Fresh156
Picked101
Done022
Total1108118
Error
0.0b
Counts
118 → 8
Alt Table
StatusErrorProgram
0.9b
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 4)
28.5b
(*.f64 (sqrt.f64 2) (neg.f64 x))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
34.3b
(*.f64 (sqrt.f64 2) x)
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
5.8b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
22.0b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)))
Compiler

Compiled 1658 to 781 computations (52.9% saved)

localize6.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (hypot.f64 x x) 1/4)
0.1b
(hypot.f64 x x)
0.9b
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 4)

series4.0ms (0.3%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(pow.f64 (hypot.f64 x x) 1/4)
1.0ms
x
@0
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 4)
1.0ms
x
@inf
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 4)
1.0ms
x
@-inf
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 4)
0.0ms
x
@-inf
(pow.f64 (hypot.f64 x x) 1/4)

rewrite32.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
510×pow1_binary64
478×add-log-exp_binary64
478×log1p-expm1-u_binary64
478×expm1-log1p-u_binary64
466×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify36.0ms (2.8%)

Algorithm
egg-herbie
Rules
322×fma-neg_binary64
284×prod-exp_binary64
219×div-sub_binary64
192×*-commutative_binary64
189×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
028428
172420
2162348
3371240
41243204
53481204
Stop Event
node limit
Counts
54 → 40
Calls
Call 1
Inputs
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 4)
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
Outputs
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4)) 4)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4)) 4)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4)) 4)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4)) 4)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4)) 4)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4)) 4)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4)) 4)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4)) 4)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2)))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 (/.f64 -1 x) -1/4)) 4)
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2)))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 (/.f64 -1 x) -1/4)) 4)
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2)))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 (/.f64 -1 x) -1/4)) 4)
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(pow.f64 (exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2))))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2)))) 4)
(pow.f64 (pow.f64 (exp.f64 1/4) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) 4)
(pow.f64 (*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 (/.f64 -1 x) -1/4)) 4)
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4))
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4))
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4))
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))))
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4))
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4))
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4))
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4))
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 x 1/4))
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2))))
(pow.f64 (exp.f64 1/4) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 (/.f64 -1 x) -1/4))
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/4)
(pow.f64 (*.f64 -1 (*.f64 (sqrt.f64 2) x)) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2))))
(pow.f64 (exp.f64 1/4) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 (/.f64 -1 x) -1/4))
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/4)
(pow.f64 (*.f64 -1 (*.f64 (sqrt.f64 2) x)) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2))))
(pow.f64 (exp.f64 1/4) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 (/.f64 -1 x) -1/4))
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/4)
(pow.f64 (*.f64 -1 (*.f64 (sqrt.f64 2) x)) 1/4)
(exp.f64 (*.f64 1/4 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 (sqrt.f64 2)))))
(pow.f64 (exp.f64 1/4) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 (sqrt.f64 2))))
(pow.f64 (exp.f64 1/4) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))
(*.f64 (pow.f64 (sqrt.f64 2) 1/4) (pow.f64 (/.f64 -1 x) -1/4))
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/4)
(pow.f64 (*.f64 -1 (*.f64 (sqrt.f64 2) x)) 1/4)

prune30.0ms (2.3%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New62163
Fresh055
Picked011
Done022
Total62971
Error
0.0b
Counts
71 → 9
Alt Table
StatusErrorProgram
0.9b
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 4)
28.5b
(*.f64 (sqrt.f64 2) (neg.f64 x))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.4b
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/8) 4) (pow.f64 (pow.f64 (hypot.f64 x x) 1/8) 4))
34.3b
(*.f64 (sqrt.f64 2) x)
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
5.8b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
22.0b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)))
Compiler

Compiled 729 to 445 computations (39% saved)

regimes37.0ms (2.9%)

Accuracy

Total -62.4b remaining (-51127.8%)

Threshold costs -62.4b (-51127.8%)

Counts
19 → 1
Compiler

Compiled 200 to 82 computations (59% saved)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
Stop Event
saturated
Calls
Call 1
Inputs
(hypot.f64 x x)
Outputs
(hypot.f64 x x)

end77.0ms (6%)

Stop Event
fuel
Compiler

Compiled 82 to 36 computations (56.1% saved)

Profiling

Loading profile data...