Details

Time bar (total: 3.2s)

analyze6.0ms (0.2%)

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
Compiler

Compiled 13 to 10 computations (23.1% saved)

sample1.1s (36.3%)

Results
1.1s8256×body256valid

preprocess16.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
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 13 to 10 computations (23.1% saved)

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

eval1.0ms (0%)

Compiler

Compiled 23 to 17 computations (26.1% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 12 to 9 computations (25% saved)

localize13.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

Compiled 30 to 21 computations (30% saved)

series4.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite76.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
489×fma-def_binary64
464×log-prod_binary64
365×pow-prod-down_binary64
250×pow2_binary64
249×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify59.0ms (1.9%)

Algorithm
egg-herbie
Rules
467×unswap-sqr_binary64
459×fma-neg_binary64
401×associate-*l*_binary64
389×sub-neg_binary64
342×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059485
1180466
2502456
31528450
45557450
Stop Event
node limit
Counts
200 → 204
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1 (pow.f64 x 2)) x)
(+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (pow.f64 x 3) x))
(+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 -1 (pow.f64 x 4)) (+.f64 (pow.f64 x 3) x)))
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
(-.f64 (*.f64 -1 x) 1)
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 x))) 1)
(/.f64 1 x)
(+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(/.f64 1 x)
(+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
-1
(-.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(-.f64 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 4))) 1)
(-.f64 (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 (*.f64 -2 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 6)))) 1)
1
(+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.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 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
Outputs
x
(+.f64 (*.f64 -1 (pow.f64 x 2)) x)
(fma.f64 -1 (*.f64 x x) x)
(-.f64 x (*.f64 x x))
(*.f64 x (-.f64 1 x))
(+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (pow.f64 x 3) x))
(fma.f64 -1 (*.f64 x x) (+.f64 x (pow.f64 x 3)))
(+.f64 x (*.f64 (*.f64 x x) (+.f64 -1 x)))
(fma.f64 (*.f64 x x) (+.f64 x -1) x)
(*.f64 x (-.f64 (fma.f64 x x 1) x))
(+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 -1 (pow.f64 x 4)) (+.f64 (pow.f64 x 3) x)))
(fma.f64 -1 (*.f64 x x) (fma.f64 -1 (pow.f64 x 4) (+.f64 x (pow.f64 x 3))))
(+.f64 (+.f64 x (pow.f64 x 3)) (neg.f64 (fma.f64 x x (pow.f64 x 4))))
(-.f64 (+.f64 x (pow.f64 x 3)) (fma.f64 x x (pow.f64 x 4)))
(*.f64 (fma.f64 x x 1) (-.f64 x (*.f64 x x)))
(*.f64 (fma.f64 x x 1) (*.f64 x (-.f64 1 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 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 1 x))
(+.f64 1 (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 -1 x)))
(+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 x)))
(+.f64 (-.f64 1 (/.f64 1 x)) (/.f64 (/.f64 1 x) x))
(-.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 1 (-.f64 (/.f64 (/.f64 1 x) x) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 1 (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3)))))
(+.f64 (-.f64 1 (/.f64 1 x)) (+.f64 (/.f64 (/.f64 1 x) x) (/.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 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 1 x))
(+.f64 1 (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 -1 x)))
(+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 x)))
(+.f64 (-.f64 1 (/.f64 1 x)) (/.f64 (/.f64 1 x) x))
(-.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 1 (-.f64 (/.f64 (/.f64 1 x) x) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 1 (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3)))))
(+.f64 (-.f64 1 (/.f64 1 x)) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 -1 (pow.f64 x 3))))
-1
(-.f64 (*.f64 -1 x) 1)
(fma.f64 -1 x -1)
(fma.f64 x -1 -1)
(-.f64 -1 x)
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (neg.f64 (*.f64 x x)) (fma.f64 -1 x -1))
(fma.f64 -1 (fma.f64 x x x) -1)
(-.f64 -1 (fma.f64 x x x))
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 x))) 1)
(+.f64 (fma.f64 -1 (pow.f64 x 3) (*.f64 -1 (+.f64 (*.f64 x x) x))) -1)
(+.f64 -1 (-.f64 (neg.f64 (fma.f64 x x x)) (pow.f64 x 3)))
(-.f64 (-.f64 -1 (fma.f64 x x x)) (pow.f64 x 3))
(*.f64 (fma.f64 x x 1) (-.f64 -1 x))
(/.f64 1 x)
(+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))
(+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (+.f64 (/.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 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 4))))
(/.f64 1 x)
(+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))
(+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (+.f64 (/.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 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 4))))
-1
(-.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(fma.f64 -2 (*.f64 x x) -1)
(fma.f64 (*.f64 x x) -2 -1)
(fma.f64 x (*.f64 x -2) -1)
(-.f64 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 4))) 1)
(+.f64 (*.f64 -2 (+.f64 (*.f64 x x) (pow.f64 x 4))) -1)
(fma.f64 -2 (fma.f64 x x (pow.f64 x 4)) -1)
(-.f64 (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 (*.f64 -2 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 6)))) 1)
(+.f64 (fma.f64 -2 (*.f64 x x) (*.f64 -2 (+.f64 (pow.f64 x 4) (pow.f64 x 6)))) -1)
(+.f64 -1 (*.f64 -2 (+.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 6))))
(fma.f64 -2 (+.f64 (pow.f64 x 6) (fma.f64 x x (pow.f64 x 4))) -1)
1
(+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(+.f64 1 (/.f64 2 (*.f64 x x)))
(+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 1 (+.f64 (/.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 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 1 (+.f64 (/.f64 2 (pow.f64 x 4)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 6)))))
(+.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 (pow.f64 x 4)) (/.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 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 1 (+.f64 (/.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 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 1 (+.f64 (/.f64 2 (pow.f64 x 4)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 6)))))
(+.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 (pow.f64 x 4)) (/.f64 2 (pow.f64 x 6)))))

eval120.0ms (3.8%)

Compiler

Compiled 3450 to 2596 computations (24.8% saved)

prune27.0ms (0.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2004204
Fresh000
Picked011
Done000
Total2005205
Error
0b
Counts
205 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
26.1b
(+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1)))
26.2b
(+.f64 (/.f64 1 (-.f64 x 1)) x)
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
36.8b
(+.f64 1 (/.f64 2 (*.f64 x x)))
0.0b
(/.f64 (+.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 x 1) x)))
Compiler

Compiled 58 to 42 computations (27.6% saved)

localize109.0ms (3.5%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(/.f64 2 (*.f64 x x))
Compiler

Compiled 19 to 10 computations (47.4% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite43.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
491×pow1_binary64
479×add-sqr-sqrt_binary64
458×add-log-exp_binary64
458×log1p-expm1-u_binary64
458×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11087
212977
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 (exp.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))))))

simplify156.0ms (4.9%)

Algorithm
egg-herbie
Rules
1146×associate-/r*_binary64
1082×sqr-pow_binary64
560×cube-prod_binary64
553×fabs-mul_binary64
523×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0584
11084
21984
33484
47484
522284
683184
7204084
8220684
9239084
10259884
11289784
12329084
13377384
14433984
15502584
16586484
17625684
18654284
19681684
20688884
21692284
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))

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 24 to 16 computations (33.3% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite120.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
470×fma-def_binary64
413×log-prod_binary64
319×exp-prod_binary64
314×pow-prod-down_binary64
239×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify64.0ms (2%)

Algorithm
egg-herbie
Rules
446×sub-neg_binary64
345×fma-def_binary64
317×fma-neg_binary64
276×distribute-neg-frac_binary64
230×associate-/r*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
027158
177145
2195138
3611138
42727136
56663136
Stop Event
node limit
Counts
104 → 107
Calls
Call 1
Inputs
-1
(-.f64 (*.f64 -1 (pow.f64 x 2)) 1)
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 3)) 1)
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 -1 (pow.f64 x 4)) (pow.f64 x 3))) 1)
(*.f64 -1 x)
(-.f64 (*.f64 -1 x) (/.f64 1 x))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1 x)) (/.f64 1 x))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1 x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(*.f64 -1 x)
(-.f64 (*.f64 -1 x) (/.f64 1 x))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1 x)) (/.f64 1 x))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1 x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
Outputs
-1
(-.f64 (*.f64 -1 (pow.f64 x 2)) 1)
(fma.f64 -1 (*.f64 x x) -1)
(-.f64 -1 (*.f64 x x))
(fma.f64 x (neg.f64 x) -1)
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 3)) 1)
(+.f64 (fma.f64 -1 (*.f64 x x) (pow.f64 x 3)) -1)
(+.f64 -1 (-.f64 (pow.f64 x 3) (*.f64 x x)))
(-.f64 (pow.f64 x 3) (fma.f64 x x 1))
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 -1 (pow.f64 x 4)) (pow.f64 x 3))) 1)
(+.f64 (fma.f64 -1 (*.f64 x x) (fma.f64 -1 (pow.f64 x 4) (pow.f64 x 3))) -1)
(+.f64 -1 (-.f64 (-.f64 (pow.f64 x 3) (pow.f64 x 4)) (*.f64 x x)))
(-.f64 (-.f64 (pow.f64 x 3) (pow.f64 x 4)) (fma.f64 x x 1))
(-.f64 (-.f64 (pow.f64 x 3) (fma.f64 x x 1)) (pow.f64 x 4))
(fma.f64 (*.f64 x x) (-.f64 x (fma.f64 x x 1)) -1)
(*.f64 -1 x)
(neg.f64 x)
(-.f64 (*.f64 -1 x) (/.f64 1 x))
(-.f64 (neg.f64 x) (/.f64 1 x))
(fma.f64 -1 x (/.f64 -1 x))
(-.f64 (/.f64 -1 x) x)
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1 x)) (/.f64 1 x))
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (neg.f64 x) (/.f64 1 x)))
(+.f64 (-.f64 (/.f64 1 (*.f64 x x)) x) (/.f64 -1 x))
(-.f64 (/.f64 (/.f64 1 x) x) (-.f64 x (/.f64 -1 x)))
(-.f64 (/.f64 (/.f64 1 x) x) (+.f64 x (/.f64 1 x)))
(+.f64 (-.f64 (/.f64 -1 x) x) (/.f64 1 (*.f64 x x)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1 x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (neg.f64 x) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(-.f64 (-.f64 (/.f64 1 (*.f64 x x)) x) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(-.f64 (-.f64 (/.f64 -1 x) x) (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 (/.f64 1 x) x)))
(-.f64 (/.f64 (/.f64 1 x) x) (+.f64 (-.f64 x (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (-.f64 (/.f64 -1 x) x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 3))))
(*.f64 -1 x)
(neg.f64 x)
(-.f64 (*.f64 -1 x) (/.f64 1 x))
(-.f64 (neg.f64 x) (/.f64 1 x))
(fma.f64 -1 x (/.f64 -1 x))
(-.f64 (/.f64 -1 x) x)
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1 x)) (/.f64 1 x))
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (neg.f64 x) (/.f64 1 x)))
(+.f64 (-.f64 (/.f64 1 (*.f64 x x)) x) (/.f64 -1 x))
(-.f64 (/.f64 (/.f64 1 x) x) (-.f64 x (/.f64 -1 x)))
(-.f64 (/.f64 (/.f64 1 x) x) (+.f64 x (/.f64 1 x)))
(+.f64 (-.f64 (/.f64 -1 x) x) (/.f64 1 (*.f64 x x)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 -1 x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (neg.f64 x) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(-.f64 (-.f64 (/.f64 1 (*.f64 x x)) x) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(-.f64 (-.f64 (/.f64 -1 x) x) (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 (/.f64 1 x) x)))
(-.f64 (/.f64 (/.f64 1 x) x) (+.f64 (-.f64 x (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (-.f64 (/.f64 -1 x) x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 3))))

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 18 to 13 computations (27.8% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite157.0ms (5%)

Algorithm
batch-egg-rewrite
Rules
757×pow1_binary64
710×add-log-exp_binary64
709×log1p-expm1-u_binary64
709×expm1-log1p-u_binary64
696×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify65.0ms (2%)

Algorithm
egg-herbie
Rules
631×associate-/l/_binary64
549×distribute-rgt-neg-in_binary64
488×distribute-lft-neg-in_binary64
478×fma-neg_binary64
401×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
027146
177140
2219133
3741132
43062132
55786132
Stop Event
node limit
Counts
45 → 47
Calls
Call 1
Inputs
-1
(-.f64 (*.f64 -1 (pow.f64 x 2)) 1)
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 3)) (*.f64 -1 (pow.f64 x 2))) 1)
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 (pow.f64 x 4)))) 1)
x
(+.f64 (/.f64 1 x) x)
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) x))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) x)))
x
(+.f64 (/.f64 1 x) x)
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) x))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) x)))
Outputs
-1
(-.f64 (*.f64 -1 (pow.f64 x 2)) 1)
(fma.f64 -1 (*.f64 x x) -1)
(-.f64 -1 (*.f64 x x))
(neg.f64 (fma.f64 x x 1))
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 3)) (*.f64 -1 (pow.f64 x 2))) 1)
(+.f64 (neg.f64 (pow.f64 x 3)) (fma.f64 -1 (*.f64 x x) -1))
(fma.f64 -1 (+.f64 (*.f64 x x) (pow.f64 x 3)) -1)
(-.f64 -1 (*.f64 x (fma.f64 x x x)))
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 (pow.f64 x 4)))) 1)
(+.f64 (fma.f64 -1 (pow.f64 x 3) (fma.f64 -1 (*.f64 x x) (neg.f64 (pow.f64 x 4)))) -1)
(+.f64 -1 (-.f64 (neg.f64 (fma.f64 x x (pow.f64 x 4))) (pow.f64 x 3)))
(fma.f64 -1 (fma.f64 x (fma.f64 x x x) (pow.f64 x 4)) -1)
(-.f64 -1 (fma.f64 x (fma.f64 x x x) (pow.f64 x 4)))
x
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) x))
(+.f64 (+.f64 x (/.f64 1 x)) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 x) (+.f64 x (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 1 x) (+.f64 x (/.f64 (/.f64 1 x) x)))
(+.f64 x (+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x)))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) x)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (+.f64 x (/.f64 1 (pow.f64 x 3)))))
(+.f64 x (+.f64 (/.f64 (/.f64 1 x) x) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(+.f64 x (+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x))))
x
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) x))
(+.f64 (+.f64 x (/.f64 1 x)) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 x) (+.f64 x (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 1 x) (+.f64 x (/.f64 (/.f64 1 x) x)))
(+.f64 x (+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x)))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) x)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (+.f64 x (/.f64 1 (pow.f64 x 3)))))
(+.f64 x (+.f64 (/.f64 (/.f64 1 x) x) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(+.f64 x (+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x))))

localize21.0ms (0.7%)

Local error

Found 2 expressions with local error:

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

Compiled 52 to 35 computations (32.7% saved)

series6.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite82.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
601×log-prod_binary64
496×fma-def_binary64
316×fma-neg_binary64
301×log-div_binary64
299×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01041
123431
2384031
Stop Event
node limit
Counts
2 → 103
Calls
Call 1
Inputs
(*.f64 (+.f64 x -1) (/.f64 (+.f64 x 1) x))
(/.f64 (+.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 x 1) x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (fma.f64 x x -1) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 (+.f64 x 1) x) x) (*.f64 (/.f64 (+.f64 x 1) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (/.f64 (+.f64 x 1) x)) (*.f64 -1 (/.f64 (+.f64 x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1 (/.f64 (+.f64 x 1) x)) (*.f64 x (/.f64 (+.f64 x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 (+.f64 x 1) x) -1) (*.f64 (/.f64 (+.f64 x 1) x) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (fma.f64 x x -1) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (fma.f64 x x -1) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fma.f64 x x -1) x)))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fma.f64 x x -1) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (fma.f64 x x -1) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x -1) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 x 3)) (*.f64 (/.f64 x (+.f64 x 1)) (-.f64 (fma.f64 x x 1) (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1) (*.f64 (/.f64 x (+.f64 x 1)) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x x -1)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 -1 (pow.f64 x 3)) 1) (*.f64 (-.f64 (fma.f64 x x 1) (neg.f64 x)) (/.f64 x (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) 1) (*.f64 (+.f64 x 1) (/.f64 x (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 -1 (pow.f64 x 3)) (+.f64 x 1)) (*.f64 (-.f64 (fma.f64 x x 1) (neg.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) (+.f64 x 1)) (*.f64 (+.f64 x 1) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 -1 (pow.f64 x 3)) (fma.f64 x -1 -1)) (*.f64 (-.f64 (fma.f64 x x 1) (neg.f64 x)) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) (fma.f64 x -1 -1)) (*.f64 (+.f64 x 1) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 1) (+.f64 -1 (pow.f64 x 3))) (*.f64 x (-.f64 (fma.f64 x x 1) (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x -1 -1) (+.f64 -1 (pow.f64 x 3))) (*.f64 (neg.f64 x) (-.f64 (fma.f64 x x 1) (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 1) (fma.f64 x x -1)) (*.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x -1 -1) (fma.f64 x x -1)) (*.f64 (neg.f64 x) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x x -1) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x x -1) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x x -1) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 -1 (pow.f64 x 3)) (/.f64 (+.f64 x 1) x)) (-.f64 (fma.f64 x x 1) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) (/.f64 (+.f64 x 1) x)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x -1 -1) (+.f64 x -1)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x -1) (fma.f64 x -1 -1)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (+.f64 x 1) x) (+.f64 -1 (pow.f64 x 3))) (-.f64 (fma.f64 x x 1) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (+.f64 x 1) x) (fma.f64 x x -1)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x -1) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fma.f64 x x -1) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fma.f64 x x -1) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fma.f64 x x -1) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (+.f64 x -1) 3) (pow.f64 (/.f64 (+.f64 x 1) x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (/.f64 (+.f64 x 1) x) 3) (pow.f64 (+.f64 x -1) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (fma.f64 x x -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fma.f64 x x -1) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fma.f64 x x -1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fma.f64 x x -1) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 x -1) 3) (pow.f64 (/.f64 (+.f64 x 1) x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 (+.f64 x 1) x) 3) (pow.f64 (+.f64 x -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fma.f64 x x -1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fma.f64 x x -1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (fma.f64 x x -1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (fma.f64 x x -1) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (/.f64 (+.f64 x 1) x) (*.f64 -1 (/.f64 (+.f64 x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (/.f64 (+.f64 x 1) x) (*.f64 x (/.f64 (+.f64 x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (+.f64 x 1) x) x (*.f64 (/.f64 (+.f64 x 1) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (+.f64 x 1) x) -1 (*.f64 (/.f64 (+.f64 x 1) x) x))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 1 (/.f64 (fma.f64 x x -1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) 2)) (*.f64 (cbrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (/.f64 1 (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))) (pow.f64 (cbrt.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))) 2) (cbrt.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (*.f64 (sqrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (/.f64 1 (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))) (sqrt.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (/.f64 1 (/.f64 (neg.f64 (fma.f64 x x -1)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (/.f64 (fma.f64 x x -1) x)) (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (+.f64 x -1)) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) 2)) 1) (/.f64 (cbrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (/.f64 (fma.f64 x x -1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) 1) (/.f64 (sqrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (/.f64 (fma.f64 x x -1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (+.f64 x -1)) (/.f64 (sqrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (/.f64 (+.f64 x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 x -1)) (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (+.f64 x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) 2)) (+.f64 x -1)) (/.f64 (cbrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (/.f64 (+.f64 x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (/.f64 (+.f64 x 1) x)) (/.f64 (sqrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) 2)) (/.f64 (+.f64 x 1) x)) (/.f64 (cbrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (/.f64 (fma.f64 x x -1) x)) 2)) (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (cbrt.f64 (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) 2)) (pow.f64 (cbrt.f64 (/.f64 (fma.f64 x x -1) x)) 2)) (cbrt.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (pow.f64 (cbrt.f64 (/.f64 (fma.f64 x x -1) x)) 2)) (/.f64 (sqrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (cbrt.f64 (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (/.f64 (fma.f64 x x -1) x))) (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (sqrt.f64 (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) 2)) (sqrt.f64 (/.f64 (fma.f64 x x -1) x))) (/.f64 (cbrt.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) (sqrt.f64 (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (fma.f64 x x -1)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (+.f64 x -1)) 1) (/.f64 x (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (+.f64 x -1)) (+.f64 x 1)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (+.f64 x -1)) (fma.f64 x -1 -1)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (fma.f64 x x -1) x) (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) 3) (pow.f64 (/.f64 (fma.f64 x x -1) x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (/.f64 (fma.f64 x x -1) x) (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (neg.f64 (fma.f64 x x -1)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) 3) (pow.f64 (/.f64 (fma.f64 x x -1) x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (+.f64 -1 (+.f64 x (/.f64 (+.f64 x 1) x))) (/.f64 (fma.f64 x x -1) x))) 1))))))

simplify62.0ms (2%)

Algorithm
egg-herbie
Rules
706×times-frac_binary64
645×fma-neg_binary64
432×associate-/l/_binary64
422×cancel-sign-sub-inv_binary64
376×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
035233
197226
2237224
3598224
41958224
56839224
Stop Event
node limit
Counts
127 → 121
Calls
Call 1
Inputs
(/.f64 -1 x)
(-.f64 x (/.f64 1 x))
(-.f64 x (/.f64 1 x))
(-.f64 x (/.f64 1 x))
x
(-.f64 x (/.f64 1 x))
(-.f64 x (/.f64 1 x))
(-.f64 x (/.f64 1 x))
x
(-.f64 x (/.f64 1 x))
(-.f64 x (/.f64 1 x))
(-.f64 x (/.f64 1 x))
-1
(-.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(-.f64 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 4))) 1)
(-.f64 (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 (*.f64 -2 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 6)))) 1)
1
(+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.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 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
Outputs
(/.f64 -1 x)
(-.f64 x (/.f64 1 x))
(+.f64 x (/.f64 -1 x))
(-.f64 x (/.f64 1 x))
(+.f64 x (/.f64 -1 x))
(-.f64 x (/.f64 1 x))
(+.f64 x (/.f64 -1 x))
x
(-.f64 x (/.f64 1 x))
(+.f64 x (/.f64 -1 x))
(-.f64 x (/.f64 1 x))
(+.f64 x (/.f64 -1 x))
(-.f64 x (/.f64 1 x))
(+.f64 x (/.f64 -1 x))
x
(-.f64 x (/.f64 1 x))
(+.f64 x (/.f64 -1 x))
(-.f64 x (/.f64 1 x))
(+.f64 x (/.f64 -1 x))
(-.f64 x (/.f64 1 x))
(+.f64 x (/.f64 -1 x))
-1
(-.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(fma.f64 -2 (*.f64 x x) -1)
(fma.f64 x (*.f64 x -2) -1)
(-.f64 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 4))) 1)
(+.f64 (*.f64 -2 (+.f64 (*.f64 x x) (pow.f64 x 4))) -1)
(fma.f64 -2 (fma.f64 x x (pow.f64 x 4)) -1)
(-.f64 (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 (*.f64 -2 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 6)))) 1)
(+.f64 (fma.f64 -2 (*.f64 x x) (*.f64 -2 (+.f64 (pow.f64 x 4) (pow.f64 x 6)))) -1)
(+.f64 -1 (*.f64 -2 (+.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 6))))
(fma.f64 -2 (+.f64 (pow.f64 x 6) (fma.f64 x x (pow.f64 x 4))) -1)
(fma.f64 -2 (+.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6))) -1)
1
(+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(+.f64 1 (/.f64 2 (*.f64 x x)))
(+.f64 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 1 (+.f64 (/.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 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 1 (+.f64 (/.f64 2 (pow.f64 x 4)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 6)))))
(+.f64 (+.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 6)))) (/.f64 2 (pow.f64 x 4)))
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 1 (/.f64 2 (pow.f64 x 4)))))
(+.f64 1 (+.f64 (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))))
(+.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 (pow.f64 x 4)) (/.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 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 1 (+.f64 (/.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 1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 1 (+.f64 (/.f64 2 (pow.f64 x 4)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 6)))))
(+.f64 (+.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 6)))) (/.f64 2 (pow.f64 x 4)))
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 1 (/.f64 2 (pow.f64 x 4)))))
(+.f64 1 (+.f64 (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))))
(+.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 (pow.f64 x 4)) (/.f64 2 (pow.f64 x 6)))))

eval307.0ms (9.7%)

Compiler

Compiled 6701 to 4747 computations (29.2% saved)

prune58.0ms (1.8%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New4032405
Fresh000
Picked011
Done134
Total4046410
Error
0b
Counts
410 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
26.2b
(+.f64 (/.f64 1 (-.f64 x 1)) x)
26.6b
-1
36.5b
1
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
36.8b
(+.f64 1 (/.f64 2 (*.f64 x x)))
0.0b
(/.f64 (+.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 x 1) x)))
Compiler

Compiled 52 to 39 computations (25% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.1%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done044
Total066
Error
0b
Counts
6 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
26.2b
(+.f64 (/.f64 1 (-.f64 x 1)) x)
26.6b
-1
36.5b
1
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
36.8b
(+.f64 1 (/.f64 2 (*.f64 x x)))
0.0b
(/.f64 (+.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 x 1) x)))
Compiler

Compiled 52 to 39 computations (25% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.1%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done044
Total066
Error
0b
Counts
6 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
26.2b
(+.f64 (/.f64 1 (-.f64 x 1)) x)
26.6b
-1
36.5b
1
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
36.8b
(+.f64 1 (/.f64 2 (*.f64 x x)))
0.0b
(/.f64 (+.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 x 1) x)))
Compiler

Compiled 52 to 39 computations (25% saved)

regimes14.0ms (0.4%)

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

3 calls:

5.0ms
x
4.0ms
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
3.0ms
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
0.0b1(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 82 to 59 computations (28% saved)

regimes11.0ms (0.3%)

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

2 calls:

7.0ms
x
2.0ms
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 51 to 37 computations (27.5% saved)

regimes36.0ms (1.1%)

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

1 calls:

34.0ms
x
Results
ErrorSegmentsBranch
0.0b3x
Compiler

Compiled 28 to 20 computations (28.6% saved)

bsearch66.0ms (2.1%)

Algorithm
binary-search
Steps
TimeLeftRight
23.0ms
5.383330709998098e-8
18992703301.36614
42.0ms
-4881.252419129222
-5.0675498104815274e-8
Compiler

Compiled 16 to 12 computations (25% saved)

regimes57.0ms (1.8%)

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

1 calls:

55.0ms
x
Results
ErrorSegmentsBranch
0.0b3x
Compiler

Compiled 19 to 14 computations (26.3% saved)

bsearch37.0ms (1.2%)

Algorithm
binary-search
Steps
TimeLeftRight
18.0ms
5.383330709998098e-8
18992703301.36614
19.0ms
-4881.252419129222
-5.0675498104815274e-8
Compiler

Compiled 16 to 12 computations (25% saved)

regimes15.0ms (0.5%)

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

1 calls:

13.0ms
x
Results
ErrorSegmentsBranch
0.1b3x
Compiler

Compiled 12 to 9 computations (25% saved)

bsearch40.0ms (1.3%)

Algorithm
binary-search
Steps
TimeLeftRight
20.0ms
5.383330709998098e-8
18992703301.36614
20.0ms
-4881.252419129222
-5.0675498104815274e-8
Compiler

Compiled 16 to 12 computations (25% saved)

regimes12.0ms (0.4%)

Accuracy

Total -62.9b remaining (-42527.6%)

Threshold costs -62.9b (-42527.6%)

Counts
2 → 3
Calls
Call 1
Inputs
-1
1
Outputs
1
-1
1
Calls

1 calls:

11.0ms
x
Results
ErrorSegmentsBranch
0.1b3x
Compiler

Compiled 5 to 4 computations (20% saved)

bsearch39.0ms (1.2%)

Algorithm
binary-search
Steps
TimeLeftRight
18.0ms
5.383330709998098e-8
18992703301.36614
20.0ms
-4881.252419129222
-5.0675498104815274e-8
Compiler

Compiled 16 to 12 computations (25% saved)

simplify11.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033153
147153
250153
352153
453153
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 x 1) x)))
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(if (<=.f64 x -5366993792942309/1099511627776) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 4067529681775659/75557863725914323419136) (+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1))) 1))
(if (<=.f64 x -5366993792942309/1099511627776) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 4067529681775659/75557863725914323419136) (+.f64 (/.f64 1 (-.f64 x 1)) x) 1))
(if (<=.f64 x -5366993792942309/1099511627776) 1 (if (<=.f64 x 4067529681775659/75557863725914323419136) (+.f64 (/.f64 1 (-.f64 x 1)) x) 1))
(if (<=.f64 x -5366993792942309/1099511627776) 1 (if (<=.f64 x 4067529681775659/75557863725914323419136) -1 1))
-1
Outputs
(/.f64 (+.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 x 1) x)))
(/.f64 (+.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)) (*.f64 (/.f64 (+.f64 x 1) x) (+.f64 x -1)))
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 x 1)))
(if (<=.f64 x -5366993792942309/1099511627776) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 4067529681775659/75557863725914323419136) (+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1))) 1))
(if (<=.f64 x -5366993792942309/1099511627776) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 4067529681775659/75557863725914323419136) (+.f64 (/.f64 x (+.f64 x 1)) (-.f64 -1 x)) 1))
(if (<=.f64 x -5366993792942309/1099511627776) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 4067529681775659/75557863725914323419136) (+.f64 (/.f64 1 (-.f64 x 1)) x) 1))
(if (<=.f64 x -5366993792942309/1099511627776) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 4067529681775659/75557863725914323419136) (+.f64 x (/.f64 1 (+.f64 x -1))) 1))
(if (<=.f64 x -5366993792942309/1099511627776) 1 (if (<=.f64 x 4067529681775659/75557863725914323419136) (+.f64 (/.f64 1 (-.f64 x 1)) x) 1))
(if (<=.f64 x -5366993792942309/1099511627776) 1 (if (<=.f64 x 4067529681775659/75557863725914323419136) (+.f64 x (/.f64 1 (+.f64 x -1))) 1))
(if (<=.f64 x -5366993792942309/1099511627776) 1 (if (<=.f64 x 4067529681775659/75557863725914323419136) -1 1))
-1
Compiler

Compiled 114 to 86 computations (24.6% saved)

soundness0.0ms (0%)

end70.0ms (2.2%)

Compiler

Compiled 108 to 79 computations (26.9% saved)

Profiling

Loading profile data...