Details

Time bar (total: 3.2s)

analyze10.0ms (0.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%100%0%0%0%0%3
50%50%50%0%0%0%0%4
75%75%25%0%0%0%0%5
87.5%87.5%12.5%0%0%0%0%6
93.8%93.7%6.2%0%0%0%0%7
96.9%96.8%3.1%0%0%0%0%8
98.4%98.4%1.6%0%0%0%0%9
99.2%99.2%0.8%0%0%0%0%10
99.6%99.6%0.4%0%0%0%0%11
99.8%99.8%0.2%0%0%0%0%12
Compiler

Compiled 13 to 10 computations (23.1% saved)

sample1.2s (36.5%)

Results
1.1s8256×body256valid
Bogosity

preprocess18.0ms (0.6%)

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)

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

localize12.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 x (+.f64 x 1))
0.0b
(/.f64 1 (-.f64 x 1))
Compiler

Compiled 30 to 21 computations (30% saved)

series5.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite89.0ms (2.8%)

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 1 (-.f64 x 1))
(/.f64 x (+.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 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 (+.f64 (pow.f64 x 3) -1)) (+.f64 (fma.f64 x x 1) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1)) (+.f64 1 x))))) (#(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) 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 (/.f64 1 (cbrt.f64 (+.f64 x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (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 (sqrt.f64 (+.f64 x -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 (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 0 (/.f64 x (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 x (+.f64 1 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 x (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (+.f64 1 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (+.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (+.f64 1 x))) (pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 x))) 2) (cbrt.f64 (/.f64 x (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (+.f64 1 x))) (sqrt.f64 (/.f64 x (+.f64 1 x))))))) (#(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 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) -2) (/.f64 x (cbrt.f64 (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (+.f64 1 x)) 2)) (cbrt.f64 (/.f64 x (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 x)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1 x) -1/2) (/.f64 x (sqrt.f64 (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (+.f64 1 x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (+.f64 1 x))))))) (#(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 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (+.f64 1 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (+.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (+.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (+.f64 1 x) 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 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (+.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (+.f64 1 x))))))) (#(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 (exp.f64 (log1p.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))))) 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 1 x)))) (/.f64 (pow.f64 (/.f64 x (+.f64 1 x)) 2) (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))) (pow.f64 (cbrt.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))) 2) (cbrt.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))) (sqrt.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (+.f64 x -1) (+.f64 1 x)) (/.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 1 x)) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 x -1) -2) (-.f64 (pow.f64 (/.f64 x (+.f64 1 x)) 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 1 x)) 2)) (/.f64 1 (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x -1) (fma.f64 x (+.f64 x -1) (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 x -1) -2) (-.f64 (pow.f64 (/.f64 x (+.f64 1 x)) 2) (/.f64 x (fma.f64 x x -1)))) (+.f64 (pow.f64 (+.f64 x -1) -3) (pow.f64 (/.f64 x (+.f64 1 x)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))) (-.f64 (pow.f64 (+.f64 x -1) -2) (pow.f64 (/.f64 x (+.f64 1 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x (+.f64 x -1) (+.f64 1 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 1 x)) 3)) (+.f64 (pow.f64 (+.f64 x -1) -2) (-.f64 (pow.f64 (/.f64 x (+.f64 1 x)) 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 1 x)) 3)) (+.f64 (pow.f64 (/.f64 x (+.f64 1 x)) 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 1 x)) 2)) (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x (+.f64 x -1) (+.f64 1 x))) (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 1 x)) 3))) (neg.f64 (+.f64 (pow.f64 (+.f64 x -1) -2) (-.f64 (pow.f64 (/.f64 x (+.f64 1 x)) 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 1 x)) 2))) (neg.f64 (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (/.f64 (+.f64 1 x) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 1 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1 (/.f64 (+.f64 1 x) x) (*.f64 (fma.f64 -1 x 1) 1)) (*.f64 (fma.f64 -1 x 1) (/.f64 (+.f64 1 x) x)))))) (#(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 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 (+.f64 x -1) (*.f64 (/.f64 (+.f64 1 x) x) 1)) (*.f64 (/.f64 (+.f64 1 x) 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 (+.f64 (fma.f64 -1 x 1) (*.f64 (/.f64 (+.f64 1 x) x) -1)) (*.f64 (/.f64 (+.f64 1 x) x) (fma.f64 -1 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x (fma.f64 -1 x 1) (*.f64 (+.f64 1 x) -1)) (*.f64 (+.f64 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 (pow.f64 (/.f64 x (+.f64 1 x)) 2) (pow.f64 (+.f64 x -1) -2)) (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 1 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x (+.f64 x -1) (+.f64 1 x)) (+.f64 x -1)) (+.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x -1) (fma.f64 x (+.f64 x -1) (+.f64 1 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (+.f64 x -1) -2) (-.f64 (pow.f64 (/.f64 x (+.f64 1 x)) 2) (/.f64 x (fma.f64 x x -1)))) (+.f64 (pow.f64 (+.f64 x -1) -3) (pow.f64 (/.f64 x (+.f64 1 x)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))) (-.f64 (pow.f64 (+.f64 x -1) -2) (pow.f64 (/.f64 x (+.f64 1 x)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (/.f64 1 (+.f64 x -1)))) (exp.f64 (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (/.f64 1 (+.f64 x -1))) (+.f64 1 (expm1.f64 (/.f64 x (+.f64 1 x))))))))) (#(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 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (/.f64 x (+.f64 1 x)))) (exp.f64 (/.f64 1 (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (/.f64 x (+.f64 1 x))) (+.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 1 x)))) (+.f64 1 (expm1.f64 (/.f64 1 (+.f64 x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 x (+.f64 1 x)) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (/.f64 1 (+.f64 1 x)) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (+.f64 x -1)) 1 (/.f64 x (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 x (+.f64 1 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 1 x)))))) (#(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 1 x)))))) (#(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 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 x (+.f64 1 x))) (pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 x))) 2) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 x))) 2) (cbrt.f64 (/.f64 x (+.f64 1 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) (/.f64 x (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (+.f64 1 x))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 x (+.f64 1 x))) (sqrt.f64 (/.f64 x (+.f64 1 x))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (/.f64 1 (fma.f64 -1 x 1)) (/.f64 x (+.f64 1 x)))))) (#(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 1 x)) 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 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (+.f64 1 x)) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 x)) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) -2) (/.f64 x (cbrt.f64 (+.f64 1 x))) (/.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 1 x)) 2)) (cbrt.f64 (/.f64 x (+.f64 1 x))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 x)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (+.f64 1 x))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (+.f64 1 x) -1/2) (/.f64 x (sqrt.f64 (+.f64 1 x))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (+.f64 1 x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (+.f64 1 x))) (/.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (+.f64 (pow.f64 x 3) -1)) (+.f64 (fma.f64 x x 1) x) (/.f64 x (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (fma.f64 x x -1)) (+.f64 1 x) (/.f64 x (+.f64 1 x)))))) (#(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)))))))

simplify61.0ms (1.9%)

Algorithm
egg-herbie
Rules
467×unswap-sqr_binary64
465×fma-neg_binary64
402×associate-*l*_binary64
388×sub-neg_binary64
336×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

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

eval107.0ms (3.4%)

Compiler

Compiled 3450 to 2590 computations (24.9% saved)

prune52.0ms (1.6%)

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
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
31.7b
(+.f64 1 (/.f64 2 (*.f64 x x)))
31.7b
(+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1)))
31.7b
(+.f64 (/.f64 1 (-.f64 x 1)) x)
0.0b
(/.f64 (+.f64 (/.f64 (+.f64 1 x) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 1 x) x)))
Compiler

Compiled 58 to 42 computations (27.6% saved)

localize14.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 19 to 10 computations (47.4% saved)

series4.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite60.0ms (1.9%)

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

simplify177.0ms (5.6%)

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

localize20.0ms (0.6%)

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)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite116.0ms (3.7%)

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

simplify77.0ms (2.4%)

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

localize17.0ms (0.5%)

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)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite78.0ms (2.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)))))

simplify67.0ms (2.1%)

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

localize35.0ms (1.1%)

Local error

Found 3 expressions with local error:

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

Compiled 52 to 35 computations (32.7% saved)

series5.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

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

rewrite87.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
613×log-prod_binary64
526×fma-def_binary64
311×pow2_binary64
304×log-div_binary64
298×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify61.0ms (1.9%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
036302
199295
2239293
3601293
41943293
56783293
Stop Event
node limit
Counts
175 → 159
Calls
Call 1
Inputs
(/.f64 1 x)
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 1 x))
1
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 1 x))
1
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.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))))))
(/.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))
Outputs
(/.f64 1 x)
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 1 x))
1
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 1 x))
1
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 1 x))
(+.f64 1 (/.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)
1
(+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(+.f64 1 (/.f64 2 (*.f64 x x)))
(+.f64 1 (/.f64 (/.f64 2 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 (/.f64 2 x) x) (/.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)))))
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 (pow.f64 x 4)) (+.f64 1 (/.f64 2 (pow.f64 x 6)))))
(+.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 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 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 (/.f64 2 x) x) (/.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)))))
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 (pow.f64 x 4)) (+.f64 1 (/.f64 2 (pow.f64 x 6)))))
(+.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 x) x) (+.f64 (/.f64 2 (pow.f64 x 4)) (/.f64 2 (pow.f64 x 6)))))
(/.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))

eval273.0ms (8.6%)

Compiler

Compiled 8568 to 6072 computations (29.1% saved)

prune118.0ms (3.7%)

Pruning

9 alts after pruning (4 fresh and 5 done)

PrunedKeptTotal
New4784482
Fresh000
Picked011
Done044
Total4789487
Error
0b
Counts
487 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
32.1b
(+.f64 -1 x)
32.2b
-1
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
31.7b
(+.f64 1 (/.f64 2 (*.f64 x x)))
31.7b
(+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1)))
61.7b
x
31.7b
(+.f64 (/.f64 1 (-.f64 x 1)) x)
61.8b
(neg.f64 x)
0.0b
(/.f64 (+.f64 (/.f64 (+.f64 1 x) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 1 x) x)))
Compiler

Compiled 69 to 50 computations (27.5% saved)

localize4.0ms (0.1%)

Compiler

Compiled 4 to 2 computations (50% saved)

localize6.0ms (0.2%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune7.0ms (0.2%)

Pruning

9 alts after pruning (2 fresh and 7 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done066
Total099
Error
0b
Counts
9 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
32.1b
(+.f64 -1 x)
32.2b
-1
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
31.7b
(+.f64 1 (/.f64 2 (*.f64 x x)))
31.7b
(+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1)))
61.7b
x
31.7b
(+.f64 (/.f64 1 (-.f64 x 1)) x)
61.8b
(neg.f64 x)
0.0b
(/.f64 (+.f64 (/.f64 (+.f64 1 x) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 1 x) x)))
Compiler

Compiled 69 to 50 computations (27.5% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune9.0ms (0.3%)

Pruning

9 alts after pruning (2 fresh and 7 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done077
Total099
Error
0b
Counts
9 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
32.1b
(+.f64 -1 x)
32.2b
-1
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
31.7b
(+.f64 1 (/.f64 2 (*.f64 x x)))
31.7b
(+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1)))
61.7b
x
31.7b
(+.f64 (/.f64 1 (-.f64 x 1)) x)
61.8b
(neg.f64 x)
0.0b
(/.f64 (+.f64 (/.f64 (+.f64 1 x) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 1 x) x)))
Compiler

Compiled 69 to 50 computations (27.5% saved)

regimes28.0ms (0.9%)

Counts
9 → 1
Calls
Call 1
Inputs
-1
x
(neg.f64 x)
(+.f64 -1 x)
(+.f64 1 (/.f64 2 (*.f64 x x)))
(+.f64 (/.f64 1 (-.f64 x 1)) 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 1 x) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 1 x) x)))
Outputs
(/.f64 (+.f64 (/.f64 (+.f64 1 x) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 1 x) x)))
Calls

3 calls:

13.0ms
x
5.0ms
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
5.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 87 to 61 computations (29.9% saved)

regimes21.0ms (0.7%)

Counts
8 → 1
Calls
Call 1
Inputs
-1
x
(neg.f64 x)
(+.f64 -1 x)
(+.f64 1 (/.f64 2 (*.f64 x x)))
(+.f64 (/.f64 1 (-.f64 x 1)) 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:

11.0ms
x
5.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 56 to 39 computations (30.4% saved)

regimes35.0ms (1.1%)

Counts
7 → 3
Calls
Call 1
Inputs
-1
x
(neg.f64 x)
(+.f64 -1 x)
(+.f64 1 (/.f64 2 (*.f64 x x)))
(+.f64 (/.f64 1 (-.f64 x 1)) 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)))
(+.f64 1 (/.f64 2 (*.f64 x x)))
Calls

1 calls:

31.0ms
x
Results
ErrorSegmentsBranch
0.6b3x
Compiler

Compiled 33 to 22 computations (33.3% saved)

bsearch66.0ms (2.1%)

Algorithm
binary-search
Steps
TimeLeftRight
32.0ms
0.00037218625360065295
5105253695.514941
33.0ms
-112.44324702630625
-0.0035762531704590975
Compiler

Compiled 16 to 12 computations (25% saved)

regimes33.0ms (1%)

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

1 calls:

30.0ms
x
Results
ErrorSegmentsBranch
0.6b3x
Compiler

Compiled 24 to 16 computations (33.3% saved)

bsearch63.0ms (2%)

Algorithm
binary-search
Steps
TimeLeftRight
31.0ms
0.00037218625360065295
5105253695.514941
32.0ms
-112.44324702630625
-0.0035762531704590975
Compiler

Compiled 16 to 12 computations (25% saved)

regimes28.0ms (0.9%)

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

1 calls:

25.0ms
x
Results
ErrorSegmentsBranch
0.6b3x
Compiler

Compiled 17 to 11 computations (35.3% saved)

bsearch38.0ms (1.2%)

Algorithm
binary-search
Steps
TimeLeftRight
19.0ms
0.00037218625360065295
5105253695.514941
19.0ms
-112.44324702630625
-0.0035762531704590975
Compiler

Compiled 16 to 12 computations (25% saved)

regimes7.0ms (0.2%)

Counts
4 → 1
Calls
Call 1
Inputs
-1
x
(neg.f64 x)
(+.f64 -1 x)
Outputs
(+.f64 -1 x)
Calls

1 calls:

6.0ms
x
Results
ErrorSegmentsBranch
32.1b1x
Compiler

Compiled 10 to 6 computations (40% saved)

regimes5.0ms (0.2%)

Accuracy

Total -30.7b remaining (-95.3%)

Threshold costs -30.7b (-95.3%)

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

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
32.2b1x
Compiler

Compiled 7 to 4 computations (42.9% saved)

simplify12.0ms (0.4%)

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
034169
147169
250169
352169
453169
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 (/.f64 (+.f64 1 x) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 1 x) x)))
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(if (<=.f64 x -7912490084500023/70368744177664) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 6865624567924005/18446744073709551616) (+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1))) (+.f64 1 (/.f64 2 (*.f64 x x)))))
(if (<=.f64 x -7912490084500023/70368744177664) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 6865624567924005/18446744073709551616) (+.f64 (/.f64 1 (-.f64 x 1)) x) (+.f64 1 (/.f64 2 (*.f64 x x)))))
(if (<=.f64 x -7912490084500023/70368744177664) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 6865624567924005/18446744073709551616) -1 (+.f64 1 (/.f64 2 (*.f64 x x)))))
(+.f64 -1 x)
-1
Outputs
(/.f64 (+.f64 (/.f64 (+.f64 1 x) x) (+.f64 x -1)) (*.f64 (+.f64 x -1) (/.f64 (+.f64 1 x) x)))
(/.f64 (+.f64 (/.f64 (+.f64 1 x) x) (+.f64 x -1)) (*.f64 (/.f64 (+.f64 1 x) x) (+.f64 x -1)))
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
(+.f64 (/.f64 1 (+.f64 x -1)) (/.f64 x (+.f64 1 x)))
(if (<=.f64 x -7912490084500023/70368744177664) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 6865624567924005/18446744073709551616) (+.f64 (-.f64 -1 x) (/.f64 x (+.f64 x 1))) (+.f64 1 (/.f64 2 (*.f64 x x)))))
(if (<=.f64 x -7912490084500023/70368744177664) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 6865624567924005/18446744073709551616) (+.f64 (/.f64 x (+.f64 1 x)) (-.f64 -1 x)) (+.f64 1 (/.f64 2 (*.f64 x x)))))
(if (<=.f64 x -7912490084500023/70368744177664) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 6865624567924005/18446744073709551616) (+.f64 (/.f64 1 (-.f64 x 1)) x) (+.f64 1 (/.f64 2 (*.f64 x x)))))
(if (<=.f64 x -7912490084500023/70368744177664) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 6865624567924005/18446744073709551616) (+.f64 x (/.f64 1 (+.f64 x -1))) (+.f64 1 (/.f64 2 (*.f64 x x)))))
(if (<=.f64 x -7912490084500023/70368744177664) (+.f64 1 (/.f64 2 (*.f64 x x))) (if (<=.f64 x 6865624567924005/18446744073709551616) -1 (+.f64 1 (/.f64 2 (*.f64 x x)))))
(+.f64 -1 x)
(+.f64 x -1)
-1
Compiler

Compiled 124 to 88 computations (29% saved)

soundness0.0ms (0%)

end71.0ms (2.2%)

Compiler

Compiled 118 to 80 computations (32.2% saved)

Profiling

Loading profile data...