Details

Time bar (total: 1.3s)

analyze7.0ms (0.6%)

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

Compiled 13 to 10 computations (23.1% saved)

sample719.0ms (57.5%)

Results
707.0ms8256×body128valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

preprocess15.0ms (1.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11516
21616
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Outputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))
Compiler

Compiled 12 to 9 computations (25% saved)

simplify6.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11516
21616
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Outputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))

prune2.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 47 to 35 computations (25.5% saved)

localize7.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (-.f64 x 1))
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
0.0b
(/.f64 x (+.f64 x 1))

series6.0ms (0.5%)

Counts
3 → 36
Calls

9 calls:

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

rewrite58.0ms (4.6%)

Algorithm
batch-egg-rewrite
Rules
489×fma-def_binary64
249×fma-neg_binary64
229×log-div_binary64
168×expm1-udef_binary64
168×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0830
119330
2314130
Stop Event
node limit
Counts
3 → 138
Calls
Call 1
Inputs
(/.f64 x (+.f64 x 1))
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(/.f64 1 (-.f64 x 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (+.f64 x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (+.f64 x 1))) (pow.f64 (cbrt.f64 (/.f64 x (+.f64 x 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (+.f64 x 1))) 2) (cbrt.f64 (/.f64 x (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (+.f64 x 1))) (sqrt.f64 (/.f64 x (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (fma.f64 -1 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (fma.f64 x x -1)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.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 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (/.f64 x (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (cbrt.f64 (/.f64 x (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (+.f64 x 1))) (/.f64 x (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (+.f64 x 1))) (/.f64 (cbrt.f64 x) (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (-.f64 (fma.f64 x x 1) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (+.f64 x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (+.f64 x 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (+.f64 x 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 x 1) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (fma.f64 -1 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (+.f64 x 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (+.f64 x 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 x) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 x) (log1p.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (+.f64 x 1))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 x -1) -2) (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 x 1)))) (/.f64 (pow.f64 (/.f64 x (+.f64 x 1)) 2) (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))) (pow.f64 (cbrt.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))) 2) (cbrt.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))) (sqrt.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (+.f64 x -1) (+.f64 x 1)) (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x -1) -3) (pow.f64 (/.f64 x (+.f64 x 1)) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 x -1) -2) (-.f64 (pow.f64 (/.f64 x (+.f64 x 1)) 2) (/.f64 x (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 x -1) -2) (pow.f64 (/.f64 x (+.f64 x 1)) 2)) (/.f64 1 (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x -1) (fma.f64 x (+.f64 x -1) (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 x -1) -2) (-.f64 (pow.f64 (/.f64 x (+.f64 x 1)) 2) (/.f64 x (fma.f64 x x -1)))) (+.f64 (pow.f64 (+.f64 x -1) -3) (pow.f64 (/.f64 x (+.f64 x 1)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 x 1))) (-.f64 (pow.f64 (+.f64 x -1) -2) (pow.f64 (/.f64 x (+.f64 x 1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x (+.f64 x -1) (+.f64 x 1)) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x -1) -3) (pow.f64 (/.f64 x (+.f64 x 1)) 3)) (+.f64 (pow.f64 (+.f64 x -1) -2) (-.f64 (pow.f64 (/.f64 x (+.f64 x 1)) 2) (/.f64 x (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x -1) -3) (pow.f64 (/.f64 x (+.f64 x 1)) 3)) (+.f64 (pow.f64 (/.f64 x (+.f64 x 1)) 2) (-.f64 (pow.f64 (+.f64 x -1) -2) (/.f64 x (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 x -1) -2) (pow.f64 (/.f64 x (+.f64 x 1)) 2)) (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x (+.f64 x -1) (+.f64 x 1))) (neg.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x -1) -3) (pow.f64 (/.f64 x (+.f64 x 1)) 3))) (neg.f64 (+.f64 (pow.f64 (+.f64 x -1) -2) (-.f64 (pow.f64 (/.f64 x (+.f64 x 1)) 2) (/.f64 x (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 x -1) -2) (pow.f64 (/.f64 x (+.f64 x 1)) 2))) (neg.f64 (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 x -1) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (*.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (neg.f64 x) (+.f64 x -1) (*.f64 (fma.f64 -1 x -1) 1)) (*.f64 (fma.f64 -1 x -1) (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x (fma.f64 -1 x 1) (*.f64 (+.f64 x 1) -1)) (*.f64 (+.f64 x 1) (fma.f64 -1 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (fma.f64 -1 x 1) (*.f64 (/.f64 (+.f64 x 1) x) -1)) (*.f64 (/.f64 (+.f64 x 1) x) (fma.f64 -1 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (neg.f64 x) (fma.f64 -1 x 1) (*.f64 (fma.f64 -1 x -1) -1)) (*.f64 (fma.f64 -1 x -1) (fma.f64 -1 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (fma.f64 -1 x -1) (*.f64 (fma.f64 -1 x 1) x)) (*.f64 (fma.f64 -1 x 1) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1 (/.f64 (+.f64 x 1) x) (*.f64 (fma.f64 -1 x 1) 1)) (*.f64 (fma.f64 -1 x 1) (/.f64 (+.f64 x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (fma.f64 -1 x -1) (*.f64 (+.f64 x -1) (neg.f64 x))) (*.f64 (+.f64 x -1) (fma.f64 -1 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1 (fma.f64 -1 x -1) (*.f64 (fma.f64 -1 x 1) (neg.f64 x))) (*.f64 (fma.f64 -1 x 1) (fma.f64 -1 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (/.f64 x (+.f64 x 1)) 2) (pow.f64 (+.f64 x -1) -2)) (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x (+.f64 x -1) (+.f64 x 1)) (+.f64 x -1)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (/.f64 x (+.f64 x 1)))) (exp.f64 (/.f64 1 (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (+.f64 1 (expm1.f64 (/.f64 1 (+.f64 x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (/.f64 x (+.f64 x 1)))) (+.f64 1 (expm1.f64 (/.f64 1 (+.f64 x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (/.f64 1 (+.f64 x -1)))) (exp.f64 (/.f64 x (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (/.f64 1 (+.f64 x -1))) (+.f64 1 (expm1.f64 (/.f64 x (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (/.f64 1 (+.f64 x -1)))) (+.f64 1 (expm1.f64 (/.f64 x (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 x (+.f64 x 1)) 1 (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (+.f64 x -1)) 1 (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 x (+.f64 x 1))) (pow.f64 (cbrt.f64 (/.f64 x (+.f64 x 1))) 2) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 x (+.f64 x 1))) 2) (cbrt.f64 (/.f64 x (+.f64 x 1))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (+.f64 x 1))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (cbrt.f64 (+.f64 x -1))) (cbrt.f64 (pow.f64 (+.f64 x -1) -2)) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 x -1) -2)) (/.f64 1 (cbrt.f64 (+.f64 x -1))) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 x (+.f64 x 1))) (sqrt.f64 (/.f64 x (+.f64 x 1))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (+.f64 x 1))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (+.f64 x -1) -1/2) (pow.f64 (+.f64 x -1) -1/2) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (/.f64 1 (fma.f64 -1 x 1)) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 x) (/.f64 1 (fma.f64 -1 x -1)) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 x (fma.f64 x x -1)) (+.f64 x -1) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (+.f64 x 1)) x (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x -1)) 2) -1) (pow.f64 (cbrt.f64 (+.f64 x -1)) -1) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (sqrt.f64 (+.f64 x -1)) -1) (pow.f64 (sqrt.f64 (+.f64 x -1)) -1) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (/.f64 x (cbrt.f64 (+.f64 x 1))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (cbrt.f64 (/.f64 x (+.f64 x 1))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (+.f64 x 1))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (sqrt.f64 (+.f64 x 1))) (/.f64 x (sqrt.f64 (+.f64 x 1))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (+.f64 x 1))) (/.f64 (cbrt.f64 x) (sqrt.f64 (+.f64 x 1))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (+.f64 (pow.f64 x 3) -1)) (fma.f64 x x (+.f64 x 1)) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (fma.f64 x x -1)) (+.f64 x 1) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (-.f64 (fma.f64 x x 1) x) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 1 (+.f64 x -1)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (+.f64 x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (+.f64 x -1))) (cbrt.f64 (pow.f64 (+.f64 x -1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 x -1) -2)) (/.f64 1 (cbrt.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x -1) -1/2) (pow.f64 (+.f64 x -1) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (fma.f64 -1 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x -1)) 2) -1) (pow.f64 (cbrt.f64 (+.f64 x -1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (+.f64 x -1)) -1) (pow.f64 (sqrt.f64 (+.f64 x -1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (pow.f64 x 3) -1)) (fma.f64 x x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (+.f64 x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (+.f64 x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x -1) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x -1) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x -1) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x -1) -3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 x -1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (+.f64 x -1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (+.f64 x -1))))))))

simplify30.0ms (2.4%)

Algorithm
egg-herbie
Rules
479×fma-neg_binary64
456×cancel-sign-sub-inv_binary64
432×associate-*l*_binary64
313×associate-*r*_binary64
208×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059488
1183470
2551457
31754453
Stop Event
node limit
Counts
174 → 178
Calls
Call 1
Inputs
x
(-.f64 x (pow.f64 x 2))
(-.f64 (+.f64 (pow.f64 x 3) x) (pow.f64 x 2))
(-.f64 (+.f64 (pow.f64 x 3) x) (+.f64 (pow.f64 x 4) (pow.f64 x 2)))
1
(-.f64 1 (/.f64 1 x))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
1
(-.f64 1 (/.f64 1 x))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
-1
(neg.f64 (+.f64 1 (*.f64 2 (pow.f64 x 2))))
(neg.f64 (+.f64 (*.f64 2 (pow.f64 x 4)) (+.f64 1 (*.f64 2 (pow.f64 x 2)))))
(neg.f64 (+.f64 (*.f64 2 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 2 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 2))))))
1
(+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
1
(+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
-1
(neg.f64 (+.f64 1 x))
(neg.f64 (+.f64 1 (+.f64 (pow.f64 x 2) x)))
(neg.f64 (+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 x (pow.f64 x 3)))))
(/.f64 1 x)
(+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 2)))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))))
(/.f64 1 x)
(+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 2)))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))))
Outputs
x
(-.f64 x (pow.f64 x 2))
(-.f64 x (*.f64 x x))
(-.f64 (+.f64 (pow.f64 x 3) x) (pow.f64 x 2))
(+.f64 (pow.f64 x 3) (-.f64 x (*.f64 x x)))
(*.f64 x (-.f64 (fma.f64 x x 1) x))
(-.f64 (+.f64 (pow.f64 x 3) x) (+.f64 (pow.f64 x 4) (pow.f64 x 2)))
(+.f64 (pow.f64 x 3) (-.f64 x (+.f64 (*.f64 x x) (pow.f64 x 4))))
(+.f64 x (-.f64 (pow.f64 x 3) (fma.f64 x x (pow.f64 x 4))))
(*.f64 (fma.f64 x x 1) (-.f64 x (*.f64 x x)))
1
(-.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 -1 x))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(+.f64 1 (-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 x)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 1 (/.f64 -1 x)))
(+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 x)))
(-.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) -1))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 1 (/.f64 -1 x))) (/.f64 1 (pow.f64 x 3)))
(+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3)))))
(+.f64 (-.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) -1)) (/.f64 -1 (pow.f64 x 3)))
1
(-.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 -1 x))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(+.f64 1 (-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 x)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 1 (/.f64 -1 x)))
(+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 x)))
(-.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) -1))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 1 (/.f64 -1 x))) (/.f64 1 (pow.f64 x 3)))
(+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3)))))
(+.f64 (-.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) -1)) (/.f64 -1 (pow.f64 x 3)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (pow.f64 x 2))))
(neg.f64 (+.f64 1 (*.f64 2 (*.f64 x x))))
(neg.f64 (fma.f64 2 (*.f64 x x) 1))
(fma.f64 (*.f64 x x) -2 -1)
(fma.f64 x (*.f64 x -2) -1)
(neg.f64 (+.f64 (*.f64 2 (pow.f64 x 4)) (+.f64 1 (*.f64 2 (pow.f64 x 2)))))
(neg.f64 (fma.f64 2 (pow.f64 x 4) (+.f64 1 (*.f64 2 (*.f64 x x)))))
(-.f64 (*.f64 (pow.f64 x 4) -2) (fma.f64 2 (*.f64 x x) 1))
(-.f64 -1 (*.f64 2 (fma.f64 x x (pow.f64 x 4))))
(neg.f64 (+.f64 (*.f64 2 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 2 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 2))))))
(neg.f64 (fma.f64 2 (pow.f64 x 4) (+.f64 1 (*.f64 2 (+.f64 (pow.f64 x 6) (*.f64 x x))))))
(-.f64 (*.f64 (pow.f64 x 4) -2) (fma.f64 2 (+.f64 (*.f64 x x) (pow.f64 x 6)) 1))
(-.f64 -1 (*.f64 2 (+.f64 (fma.f64 x x (pow.f64 x 6)) (pow.f64 x 4))))
(fma.f64 (pow.f64 x 4) -2 (fma.f64 (fma.f64 x x (pow.f64 x 6)) -2 -1))
1
(+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(+.f64 1 (/.f64 2 (*.f64 x x)))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) (/.f64 2 (pow.f64 x 4)))
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 1 (/.f64 2 (pow.f64 x 4))))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 (/.f64 2 (pow.f64 x 4)) (+.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 6)))))
(+.f64 (+.f64 (/.f64 2 (*.f64 x x)) (+.f64 1 (/.f64 2 (pow.f64 x 4)))) (/.f64 2 (pow.f64 x 6)))
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 1 (+.f64 (/.f64 2 (pow.f64 x 4)) (/.f64 2 (pow.f64 x 6)))))
(+.f64 1 (+.f64 (/.f64 2 (pow.f64 x 4)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 6)))))
1
(+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(+.f64 1 (/.f64 2 (*.f64 x x)))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) (/.f64 2 (pow.f64 x 4)))
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 1 (/.f64 2 (pow.f64 x 4))))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 (/.f64 2 (pow.f64 x 4)) (+.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 6)))))
(+.f64 (+.f64 (/.f64 2 (*.f64 x x)) (+.f64 1 (/.f64 2 (pow.f64 x 4)))) (/.f64 2 (pow.f64 x 6)))
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 1 (+.f64 (/.f64 2 (pow.f64 x 4)) (/.f64 2 (pow.f64 x 6)))))
(+.f64 1 (+.f64 (/.f64 2 (pow.f64 x 4)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 6)))))
-1
(neg.f64 (+.f64 1 x))
(neg.f64 (+.f64 x 1))
(-.f64 -1 x)
(neg.f64 (+.f64 1 (+.f64 (pow.f64 x 2) x)))
(+.f64 -1 (neg.f64 (+.f64 x (*.f64 x x))))
(-.f64 -1 (fma.f64 x x x))
(neg.f64 (+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 x (pow.f64 x 3)))))
(+.f64 -1 (neg.f64 (+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3)))))
(-.f64 -1 (+.f64 (pow.f64 x 3) (fma.f64 x x x)))
(-.f64 -1 (+.f64 x (fma.f64 x x (pow.f64 x 3))))
(*.f64 (fma.f64 x x 1) (-.f64 -1 x))
(/.f64 1 x)
(+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 2)))
(+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3)))))
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 4))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))
(/.f64 1 x)
(+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 2)))
(+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3)))))
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 4))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))

prune111.0ms (8.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1762178
Fresh000
Picked011
Done000
Total1763179
Error
0b
Counts
179 → 3
Alt Table
StatusErrorProgram
29.4b
(+.f64 1 (/.f64 2 (*.f64 x x)))
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
34.5b
(-.f64 -1 (*.f64 2 (fma.f64 x x (pow.f64 x 4))))
Compiler

Compiled 3052 to 2282 computations (25.2% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(/.f64 2 (*.f64 x x))

series2.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite32.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
491×pow1_binary64
458×add-log-exp_binary64
458×log1p-expm1-u_binary64
458×expm1-log1p-u_binary64
448×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify56.0ms (4.5%)

Algorithm
egg-herbie
Rules
605×sqr-pow_binary64
434×unswap-sqr_binary64
333×associate-/l/_binary64
281×cube-prod_binary64
275×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0584
11084
21984
33484
47484
520184
679384
7199984
8216584
9234984
10255784
11284884
12324184
13372184
14428484
15497284
Stop Event
node limit
Counts
33 → 23
Calls
Call 1
Inputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
Outputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))

prune11.0ms (0.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New23023
Fresh011
Picked011
Done011
Total23326
Error
0b
Counts
26 → 3
Alt Table
StatusErrorProgram
29.4b
(+.f64 1 (/.f64 2 (*.f64 x x)))
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
34.5b
(-.f64 -1 (*.f64 2 (fma.f64 x x (pow.f64 x 4))))
Compiler

Compiled 261 to 195 computations (25.3% saved)

localize6.0ms (0.5%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))

series4.0ms (0.3%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))
1.0ms
x
@inf
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))
1.0ms
x
@0
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))

rewrite31.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
583×pow1_binary64
538×add-log-exp_binary64
538×log1p-expm1-u_binary64
538×expm1-log1p-u_binary64
526×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify60.0ms (4.8%)

Algorithm
egg-herbie
Rules
1523×fma-def_binary64
477×associate-*l*_binary64
342×unswap-sqr_binary64
278×associate-*r*_binary64
275×*-commutative_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
09138
122138
249120
3126120
4441120
51774120
63704120
73870120
84069120
94283120
104564120
114931120
Stop Event
node limit
Counts
25 → 18
Calls
Call 1
Inputs
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 4))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 4))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
Outputs
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (pow.f64 x 4) (*.f64 x x)))
(*.f64 2 (+.f64 (*.f64 x x) (pow.f64 x 4)))
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (pow.f64 x 4) (*.f64 x x)))
(*.f64 2 (+.f64 (*.f64 x x) (pow.f64 x 4)))
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (pow.f64 x 4) (*.f64 x x)))
(*.f64 2 (+.f64 (*.f64 x x) (pow.f64 x 4)))
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))
(*.f64 2 (pow.f64 x 4))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (pow.f64 x 4) (*.f64 x x)))
(*.f64 2 (+.f64 (*.f64 x x) (pow.f64 x 4)))
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (pow.f64 x 4) (*.f64 x x)))
(*.f64 2 (+.f64 (*.f64 x x) (pow.f64 x 4)))
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (pow.f64 x 4) (*.f64 x x)))
(*.f64 2 (+.f64 (*.f64 x x) (pow.f64 x 4)))
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))
(*.f64 2 (pow.f64 x 4))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (pow.f64 x 4) (*.f64 x x)))
(*.f64 2 (+.f64 (*.f64 x x) (pow.f64 x 4)))
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (pow.f64 x 4) (*.f64 x x)))
(*.f64 2 (+.f64 (*.f64 x x) (pow.f64 x 4)))
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))
(+.f64 (*.f64 2 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (pow.f64 x 4) (*.f64 x x)))
(*.f64 2 (+.f64 (*.f64 x x) (pow.f64 x 4)))
(*.f64 2 (fma.f64 x x (pow.f64 x 4)))

prune10.0ms (0.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New18018
Fresh000
Picked011
Done022
Total18321
Error
0b
Counts
21 → 3
Alt Table
StatusErrorProgram
29.4b
(+.f64 1 (/.f64 2 (*.f64 x x)))
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
34.5b
(-.f64 -1 (*.f64 2 (fma.f64 x x (pow.f64 x 4))))
Compiler

Compiled 241 to 182 computations (24.5% saved)

regimes22.0ms (1.7%)

Accuracy

Total 0.0b remaining (73%)

Threshold costs 0.0b (73%)

Counts
13 → 1
Compiler

Compiled 246 to 194 computations (21.1% saved)

simplify3.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11516
21616
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Outputs
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))

end49.0ms (3.9%)

Stop Event
done
Compiler

Compiled 55 to 41 computations (25.5% saved)

Profiling

Loading profile data...