Details

Time bar (total: 2.0s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%50%25%3
50%25%25%4
62.5%12.5%25%5
68.7%6.2%25%6
71.8%3.1%25%7
73.4%1.6%25%8
74.2%0.8%25%9
74.6%0.4%25%10
74.8%0.2%25%11
74.9%0.1%25%12
74.9%0%25%13
74.9%0%25%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample799.0ms (40%)

Results
785.0ms8252×body128valid
1.0msbody2048valid

preprocess16.0ms (0.8%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
Outputs
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
Outputs
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))

eval0.0ms (0%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.2b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
Compiler

Compiled 18 to 14 computations (22.2% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x 1))
0.0b
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))

series7.0ms (0.4%)

Counts
3 → 12
Calls

9 calls:

TimeVariablePointExpression
2.0ms
x
@inf
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
2.0ms
x
@-inf
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
1.0ms
x
@0
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
0.0ms
x
@inf
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
0.0ms
x
@-inf
(+.f64 1 (sqrt.f64 (+.f64 x 1)))

rewrite49.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
804×log1p-expm1-u_binary64
804×expm1-log1p-u_binary64
81×add-sqr-sqrt_binary64
78×*-un-lft-identity_binary64
78×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify48.0ms (2.4%)

Algorithm
egg-herbie
Rules
803×unswap-sqr_binary64
571×distribute-lft-out_binary64
504×fma-def_binary64
342×*-commutative_binary64
197×distribute-rgt-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
033136
192132
2210130
3600109
41607109
52603109
64582109
74725109
84989109
Stop Event
node limit
Counts
105 → 114
Calls
Call 1
Inputs
(*.f64 1/2 x)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3))))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3)))))
2
(+.f64 (*.f64 1/2 x) 2)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) 2))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 2 (*.f64 1/16 (pow.f64 x 3)))))
1
(+.f64 (*.f64 1/2 x) 1)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) 1))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/16 (pow.f64 x 3)))))
Outputs
(*.f64 1/2 x)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x))
(fma.f64 -1/8 (*.f64 x x) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 -1/8 (*.f64 x x)))
(*.f64 x (+.f64 1/2 (*.f64 x -1/8)))
(*.f64 x (fma.f64 x -1/8 1/2))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (*.f64 1/16 (pow.f64 x 3))))
(fma.f64 1/2 x (*.f64 (*.f64 x x) (+.f64 -1/8 (*.f64 x 1/16))))
(*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/16 -1/8))))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3)))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 -5/128 (pow.f64 x 4) (*.f64 1/16 (pow.f64 x 3)))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 1/16 (pow.f64 x 3) (*.f64 -5/128 (pow.f64 x 4)))))
(fma.f64 x (*.f64 x -1/8) (fma.f64 -5/128 (pow.f64 x 4) (fma.f64 1/16 (pow.f64 x 3) (*.f64 1/2 x))))
(fma.f64 x (fma.f64 x -1/8 1/2) (*.f64 (pow.f64 x 3) (+.f64 1/16 (*.f64 x -5/128))))
2
(+.f64 (*.f64 1/2 x) 2)
(fma.f64 1/2 x 2)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) 2))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x 2))
(fma.f64 1/2 x (fma.f64 x (*.f64 x -1/8) 2))
(fma.f64 x (fma.f64 x -1/8 1/2) 2)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 2 (*.f64 1/16 (pow.f64 x 3)))))
(fma.f64 -1/8 (*.f64 x x) (+.f64 (fma.f64 1/2 x 2) (*.f64 1/16 (pow.f64 x 3))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 1/16 (pow.f64 x 3) 2)))
(fma.f64 1/2 x (fma.f64 x (*.f64 x -1/8) (fma.f64 1/16 (pow.f64 x 3) 2)))
(fma.f64 1/2 x (fma.f64 x (*.f64 x (fma.f64 x 1/16 -1/8)) 2))
(fma.f64 1/2 x (fma.f64 (*.f64 x x) (fma.f64 x 1/16 -1/8) 2))
(fma.f64 (*.f64 x x) (fma.f64 x 1/16 -1/8) (fma.f64 1/2 x 2))
1
(+.f64 (*.f64 1/2 x) 1)
(fma.f64 1/2 x 1)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) 1))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x 1))
(fma.f64 1/2 x (fma.f64 x (*.f64 x -1/8) 1))
(fma.f64 x (fma.f64 x -1/8 1/2) 1)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/16 (pow.f64 x 3)))))
(fma.f64 -1/8 (*.f64 x x) (+.f64 (fma.f64 1/2 x 1) (*.f64 1/16 (pow.f64 x 3))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 1/16 (pow.f64 x 3) 1)))
(fma.f64 1/2 x (fma.f64 x (*.f64 x -1/8) (fma.f64 1/16 (pow.f64 x 3) 1)))
(fma.f64 1/2 x (fma.f64 (*.f64 x x) (fma.f64 x 1/16 -1/8) 1))

eval34.0ms (1.7%)

Compiler

Compiled 1464 to 1145 computations (21.8% saved)

prune158.0ms (7.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1122114
Fresh000
Picked011
Done000
Total1123115
Error
0b
Counts
115 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
20.4b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.3b
(/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1)))))
Compiler

Compiled 69 to 53 computations (23.2% saved)

localize8.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1)))
0.2b
(cbrt.f64 (+.f64 x 1))
0.2b
(/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1)))))
0.2b
(cbrt.f64 (sqrt.f64 (+.f64 x 1)))

series7.0ms (0.3%)

Counts
4 → 24
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(cbrt.f64 (sqrt.f64 (+.f64 x 1)))
1.0ms
x
@inf
(cbrt.f64 (sqrt.f64 (+.f64 x 1)))
1.0ms
x
@inf
(cbrt.f64 (+.f64 x 1))
1.0ms
x
@0
(cbrt.f64 (sqrt.f64 (+.f64 x 1)))
0.0ms
x
@inf
(/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1)))))

rewrite50.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
548×prod-diff_binary64
374×fma-def_binary64
161×fma-neg_binary64
156×log1p-udef_binary64
155×expm1-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify27.0ms (1.4%)

Algorithm
egg-herbie
Rules
424×associate-*l*_binary64
372×fma-def_binary64
347×associate-*r*_binary64
309×times-frac_binary64
232×associate-/l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
087504
1234478
2600404
31768352
Stop Event
node limit
Counts
137 → 155
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 1/6 x))
(+.f64 1 (+.f64 (*.f64 1/6 x) (*.f64 -5/72 (pow.f64 x 2))))
(+.f64 (*.f64 55/1296 (pow.f64 x 3)) (+.f64 1 (+.f64 (*.f64 1/6 x) (*.f64 -5/72 (pow.f64 x 2)))))
(pow.f64 x 1/6)
(+.f64 (pow.f64 x 1/6) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6)))
(+.f64 (pow.f64 x 1/6) (+.f64 (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6)) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6))))
(+.f64 (*.f64 55/1296 (pow.f64 (/.f64 1 (pow.f64 x 17)) 1/6)) (+.f64 (pow.f64 x 1/6) (+.f64 (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6)) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6)))))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))))
(+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x)))
(+.f64 (*.f64 -5/72 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 2))) (+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x))))
(+.f64 (*.f64 -5/72 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 2))) (+.f64 (*.f64 55/1296 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 3))) (+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x)))))
(*.f64 1/2 x)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3))))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3)))))
1
(+.f64 1 (*.f64 1/3 x))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (*.f64 1/3 x)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x))))
1
(+.f64 (*.f64 1/2 x) 1)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) 1))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/16 (pow.f64 x 3)))))
Outputs
1
(+.f64 1 (*.f64 1/6 x))
(fma.f64 1/6 x 1)
(+.f64 1 (+.f64 (*.f64 1/6 x) (*.f64 -5/72 (pow.f64 x 2))))
(+.f64 1 (fma.f64 1/6 x (*.f64 -5/72 (*.f64 x x))))
(fma.f64 1/6 x (fma.f64 x (*.f64 x -5/72) 1))
(+.f64 (*.f64 55/1296 (pow.f64 x 3)) (+.f64 1 (+.f64 (*.f64 1/6 x) (*.f64 -5/72 (pow.f64 x 2)))))
(fma.f64 55/1296 (pow.f64 x 3) (+.f64 1 (fma.f64 1/6 x (*.f64 -5/72 (*.f64 x x)))))
(+.f64 (fma.f64 1/6 x (*.f64 -5/72 (*.f64 x x))) (fma.f64 55/1296 (pow.f64 x 3) 1))
(fma.f64 55/1296 (pow.f64 x 3) (fma.f64 1/6 x (fma.f64 x (*.f64 x -5/72) 1)))
(pow.f64 x 1/6)
(+.f64 (pow.f64 x 1/6) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6)))
(fma.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6) (pow.f64 x 1/6))
(+.f64 (pow.f64 x 1/6) (+.f64 (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6)) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6))))
(+.f64 (pow.f64 x 1/6) (fma.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6))))
(+.f64 (pow.f64 x 1/6) (fma.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6) (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6))))
(fma.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6) (fma.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6) (pow.f64 x 1/6)))
(+.f64 (*.f64 55/1296 (pow.f64 (/.f64 1 (pow.f64 x 17)) 1/6)) (+.f64 (pow.f64 x 1/6) (+.f64 (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6)) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6)))))
(fma.f64 55/1296 (pow.f64 (/.f64 1 (pow.f64 x 17)) 1/6) (+.f64 (pow.f64 x 1/6) (fma.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6)))))
(+.f64 (fma.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6) (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6))) (fma.f64 55/1296 (pow.f64 (/.f64 1 (pow.f64 x 17)) 1/6) (pow.f64 x 1/6)))
(fma.f64 55/1296 (pow.f64 (/.f64 1 (pow.f64 x 17)) 1/6) (fma.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6) (fma.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6) (pow.f64 x 1/6))))
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))))
(pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)))
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))))
(*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6))
(pow.f64 (exp.f64 1/6) (log.f64 x))
(+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x)))
(+.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) x)))
(fma.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) x) (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))))
(fma.f64 1/6 (/.f64 (*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6)) x) (*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6)))
(*.f64 (+.f64 (/.f64 1/6 x) 1) (pow.f64 (exp.f64 1/6) (log.f64 x)))
(+.f64 (*.f64 -5/72 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 2))) (+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x))))
(fma.f64 -5/72 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 x x)) (+.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) x))))
(fma.f64 -5/72 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (*.f64 x x)) (fma.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) x) (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))))))
(fma.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6) (*.f64 (/.f64 (*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6)) x) (+.f64 1/6 (/.f64 -5/72 x))))
(+.f64 (pow.f64 (exp.f64 1/6) (log.f64 x)) (*.f64 (/.f64 (pow.f64 (exp.f64 1/6) (log.f64 x)) x) (+.f64 1/6 (/.f64 -5/72 x))))
(+.f64 (*.f64 -5/72 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 2))) (+.f64 (*.f64 55/1296 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 3))) (+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x)))))
(fma.f64 -5/72 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 x x)) (fma.f64 55/1296 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (pow.f64 x 3)) (+.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) x)))))
(fma.f64 -5/72 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (*.f64 x x)) (fma.f64 55/1296 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (pow.f64 x 3)) (fma.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) x) (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))))))
(fma.f64 55/1296 (/.f64 (*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6)) (pow.f64 x 3)) (fma.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6) (*.f64 (/.f64 (*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6)) x) (+.f64 1/6 (/.f64 -5/72 x)))))
(+.f64 (pow.f64 (exp.f64 1/6) (log.f64 x)) (*.f64 (/.f64 (pow.f64 (exp.f64 1/6) (log.f64 x)) x) (+.f64 (+.f64 1/6 (/.f64 55/1296 (*.f64 x x))) (/.f64 -5/72 x))))
(*.f64 1/2 x)
(*.f64 x 1/2)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x))
(fma.f64 -1/8 (*.f64 x x) (*.f64 x 1/2))
(fma.f64 x 1/2 (*.f64 x (*.f64 x -1/8)))
(*.f64 x (+.f64 1/2 (*.f64 x -1/8)))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (*.f64 (pow.f64 x 3) 1/16)))
(fma.f64 (*.f64 x x) -1/8 (fma.f64 x 1/2 (*.f64 (pow.f64 x 3) 1/16)))
(fma.f64 x 1/2 (*.f64 (*.f64 x x) (+.f64 -1/8 (*.f64 x 1/16))))
(*.f64 x (+.f64 1/2 (*.f64 x (+.f64 -1/8 (*.f64 x 1/16)))))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3)))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 -5/128 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 1/16))))
(fma.f64 (*.f64 x x) -1/8 (fma.f64 x 1/2 (fma.f64 (pow.f64 x 3) 1/16 (*.f64 -5/128 (pow.f64 x 4)))))
(fma.f64 x 1/2 (fma.f64 x (*.f64 x -1/8) (fma.f64 -5/128 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 1/16))))
(fma.f64 x 1/2 (*.f64 (*.f64 x x) (+.f64 -1/8 (*.f64 x (+.f64 (*.f64 x -5/128) 1/16)))))
1
(+.f64 1 (*.f64 1/3 x))
(+.f64 1 (*.f64 x 1/3))
(fma.f64 x 1/3 1)
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (*.f64 1/3 x)))
(fma.f64 -1/9 (*.f64 x x) (+.f64 1 (*.f64 x 1/3)))
(fma.f64 (*.f64 x x) -1/9 (fma.f64 x 1/3 1))
(fma.f64 x 1/3 (fma.f64 (*.f64 x x) -1/9 1))
(fma.f64 x 1/3 (fma.f64 x (*.f64 x -1/9) 1))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x))))
(fma.f64 -1/9 (*.f64 x x) (+.f64 1 (fma.f64 5/81 (pow.f64 x 3) (*.f64 x 1/3))))
(+.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) 5/81)) (fma.f64 (*.f64 x x) -1/9 1))
(fma.f64 x (*.f64 x -1/9) (fma.f64 x 1/3 (fma.f64 (pow.f64 x 3) 5/81 1)))
1
(+.f64 (*.f64 1/2 x) 1)
(fma.f64 1/2 x 1)
(fma.f64 x 1/2 1)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) 1))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x 1))
(fma.f64 (*.f64 x x) -1/8 (fma.f64 x 1/2 1))
(fma.f64 x 1/2 (fma.f64 (*.f64 x x) -1/8 1))
(fma.f64 x (*.f64 x -1/8) (fma.f64 x 1/2 1))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/16 (pow.f64 x 3)))))
(fma.f64 -1/8 (*.f64 x x) (+.f64 (fma.f64 1/2 x 1) (*.f64 (pow.f64 x 3) 1/16)))
(fma.f64 (*.f64 x x) -1/8 (fma.f64 x 1/2 (fma.f64 (pow.f64 x 3) 1/16 1)))
(fma.f64 x (*.f64 x -1/8) (fma.f64 x 1/2 (fma.f64 (pow.f64 x 3) 1/16 1)))

eval61.0ms (3.1%)

Compiler

Compiled 2669 to 2142 computations (19.7% saved)

prune306.0ms (15.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1550155
Fresh011
Picked011
Done011
Total1553158
Error
0b
Counts
158 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
20.4b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.3b
(/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1)))))
Compiler

Compiled 54 to 41 computations (24.1% saved)

localize8.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x 1))
0.0b
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
0.0b
(/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))
0.2b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))

series9.0ms (0.5%)

Counts
2 → 4
Calls

6 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
3.0ms
x
@inf
(/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))
2.0ms
x
@-inf
(/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))
1.0ms
x
@0
(/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))
1.0ms
x
@inf
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))

rewrite58.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
484×prod-diff_binary64
301×fma-def_binary64
175×fma-neg_binary64
166×log1p-udef_binary64
165×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify22.0ms (1.1%)

Algorithm
egg-herbie
Rules
921×fma-def_binary64
803×unswap-sqr_binary64
545×distribute-lft-out_binary64
343×*-commutative_binary64
197×distribute-rgt-out_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02258
15658
212856
338447
4122542
5304042
Stop Event
node limit
Counts
85 → 88
Calls
Call 1
Inputs
(*.f64 1/2 x)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3))))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3)))))
Outputs
(*.f64 1/2 x)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x))
(fma.f64 -1/8 (*.f64 x x) (*.f64 1/2 x))
(*.f64 x (+.f64 (*.f64 x -1/8) 1/2))
(*.f64 x (fma.f64 x -1/8 1/2))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (*.f64 1/16 (pow.f64 x 3))))
(fma.f64 1/2 x (*.f64 (*.f64 x x) (+.f64 -1/8 (*.f64 x 1/16))))
(*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/16 -1/8))))
(*.f64 x (fma.f64 x (fma.f64 x 1/16 -1/8) 1/2))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3)))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 -5/128 (pow.f64 x 4) (*.f64 1/16 (pow.f64 x 3)))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 1/16 (pow.f64 x 3) (*.f64 -5/128 (pow.f64 x 4)))))
(fma.f64 1/2 x (fma.f64 x (*.f64 x -1/8) (fma.f64 1/16 (pow.f64 x 3) (*.f64 -5/128 (pow.f64 x 4)))))
(fma.f64 x (fma.f64 x -1/8 1/2) (*.f64 (pow.f64 x 3) (+.f64 1/16 (*.f64 x -5/128))))
(*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x (fma.f64 x -5/128 1/16) -1/8))))

eval90.0ms (4.5%)

Compiler

Compiled 2740 to 1941 computations (29.2% saved)

prune201.0ms (10.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1600160
Fresh000
Picked011
Done022
Total1603163
Error
0b
Counts
163 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
20.4b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.3b
(/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1)))))
Compiler

Compiled 39 to 30 computations (23.1% saved)

regimes9.0ms (0.4%)

Accuracy

Total -20.6b remaining (-9752.7%)

Threshold costs -20.6b (-9752.7%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
(/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1)))))
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
Outputs
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
Results
TimeErrorSegmentsBranch
4.0ms0.2b1x
4.0ms0.2b1(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
Compiler

Compiled 48 to 36 computations (25% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
Outputs
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))

end14.0ms (0.7%)

Stop Event
done
Compiler

Compiled 18 to 14 computations (22.2% saved)

Profiling

Loading profile data...