Details

Time bar (total: 9.1s)

analyze744.0ms (8.2%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
0%0%50%50%0%0%0%1
0%0%50%50%0%0%0%2
0%0%50%50%0%0%0%3
0%0%50%50%0%0%0%4
6.3%3.1%46.8%50%0%0%0%5
9.4%4.7%45.3%50%0%0%0%6
10.9%5.5%44.5%50%0%0%0%7
11.7%5.9%44.1%50%0%0%0%8
12.1%6%43.9%50%0%0%0%9
12.3%6.1%43.8%50%0%0%0%10
12.4%6.2%43.8%50%0%0%0%11
12.5%6.2%43.7%50%0%0%0%12
Compiler

Compiled 17 to 13 computations (23.5% saved)

sample6.8s (74.7%)

Results
4.7s4152×body1024valid
1.1s2005×body512valid
566.0ms437×body2048valid
383.0ms1662×body256valid
Bogosity

preprocess20.0ms (0.2%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
fma-def_binary64
+-commutative_binary64
associate-+l-_binary64
associate--r+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11410
21910
32510
43310
54310
65710
77310
87710
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (log.f64 (-.f64 1 x)) (log.f64 (+.f64 1 x)))
Outputs
(/.f64 (log.f64 (-.f64 1 x)) (log.f64 (+.f64 1 x)))
(/.f64 (log.f64 (-.f64 1 x)) (log1p.f64 x))
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
Compiler

Compiled 11 to 9 computations (18.2% saved)

simplify10.0ms (0.1%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
fma-def_binary64
+-commutative_binary64
associate-+l-_binary64
associate--r+_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0811
11410
21910
32510
43310
54310
65710
77310
87710
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (log.f64 (-.f64 1 x)) (log.f64 (+.f64 1 x)))
Outputs
(/.f64 (log.f64 (-.f64 1 x)) (log.f64 (+.f64 1 x)))
(/.f64 (log.f64 (-.f64 1 x)) (log1p.f64 x))
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))

eval1.0ms (0%)

Compiler

Compiled 16 to 12 computations (25% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
Compiler

Compiled 7 to 5 computations (28.6% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
0.0b
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
Compiler

Compiled 15 to 5 computations (66.7% saved)

series6.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
3.0ms
x
@inf
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
1.0ms
x
@0
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))

rewrite48.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
435×pow1_binary64
418×add-sqr-sqrt_binary64
412×*-un-lft-identity_binary64
402×add-log-exp_binary64
402×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify79.0ms (0.9%)

Algorithm
egg-herbie
Rules
536×associate-/r*_binary64
450×fma-def_binary64
313×times-frac_binary64
287×associate-+l+_binary64
287×associate--r+_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01221206
14111099
214811006
378061006
Stop Event
node limit
Counts
42 → 53
Calls
Call 1
Inputs
-1
(-.f64 (*.f64 -1 x) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1 x) (*.f64 -5/12 (pow.f64 x 3)))) 1)
(*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (log.f64 (/.f64 1 x))))
(-.f64 (+.f64 (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (log.f64 (/.f64 1 x)))) (/.f64 2 (*.f64 (log.f64 (/.f64 1 x)) x))) (/.f64 (log.f64 -1) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) x)))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (*.f64 (log.f64 (/.f64 1 x)) x))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 2)))) (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (log.f64 (/.f64 1 x)))))) (+.f64 (*.f64 -1 (/.f64 (-.f64 (*.f64 2 (/.f64 1 (log.f64 (/.f64 1 x)))) (/.f64 (log.f64 -1) (pow.f64 (log.f64 (/.f64 1 x)) 2))) (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 2)))) (+.f64 (/.f64 (log.f64 -1) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) x)) (*.f64 -1/2 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) (pow.f64 x 2)))))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (*.f64 (log.f64 (/.f64 1 x)) x))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 2)))) (+.f64 (*.f64 1/3 (/.f64 1 (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 3)))) (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (log.f64 (/.f64 1 x))))))) (+.f64 (*.f64 1/2 (/.f64 (-.f64 (*.f64 2 (/.f64 1 (log.f64 (/.f64 1 x)))) (/.f64 (log.f64 -1) (pow.f64 (log.f64 (/.f64 1 x)) 2))) (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 3)))) (+.f64 (*.f64 1/3 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) (pow.f64 x 3)))) (+.f64 (*.f64 -1/2 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) (pow.f64 x 2)))) (+.f64 (*.f64 -1 (/.f64 (-.f64 (*.f64 1/2 (/.f64 1 (log.f64 (/.f64 1 x)))) (+.f64 (*.f64 -1/2 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (pow.f64 (log.f64 (/.f64 1 x)) 2))) (*.f64 -1 (/.f64 (-.f64 (*.f64 2 (/.f64 1 (log.f64 (/.f64 1 x)))) (/.f64 (log.f64 -1) (pow.f64 (log.f64 (/.f64 1 x)) 2))) (log.f64 (/.f64 1 x)))))) (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 3)))) (+.f64 (*.f64 -1 (/.f64 (-.f64 (*.f64 2 (/.f64 1 (log.f64 (/.f64 1 x)))) (/.f64 (log.f64 -1) (pow.f64 (log.f64 (/.f64 1 x)) 2))) (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 2)))) (/.f64 (log.f64 -1) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) x))))))))
(*.f64 -1 (/.f64 (log.f64 (/.f64 -1 x)) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))))
(+.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 -1 x)) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) x)))
(+.f64 (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (*.f64 1/2 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))))) (pow.f64 x 2))) (+.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 -1 x)) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) x))))
(+.f64 (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (*.f64 1/2 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))))) (pow.f64 x 2))) (+.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 -1 x)) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (+.f64 (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) x)) (*.f64 -1 (/.f64 (-.f64 (*.f64 1/3 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 3))) (+.f64 (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (+.f64 (*.f64 1/3 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (*.f64 -1/2 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))))))))) (pow.f64 x 3))))))
Outputs
-1
(-.f64 (*.f64 -1 x) 1)
(fma.f64 -1 x -1)
(-.f64 -1 x)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1 x) (*.f64 -5/12 (pow.f64 x 3)))) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x (*.f64 -5/12 (pow.f64 x 3)))) -1)
(fma.f64 -1/2 (*.f64 x x) (+.f64 (fma.f64 -5/12 (pow.f64 x 3) (neg.f64 x)) -1))
(fma.f64 x (*.f64 x -1/2) (fma.f64 -5/12 (pow.f64 x 3) (-.f64 -1 x)))
(*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (log.f64 (/.f64 1 x))))
(neg.f64 (/.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (neg.f64 (log.f64 x))))
(/.f64 (neg.f64 (+.f64 (log.f64 -1) (log.f64 x))) (neg.f64 (log.f64 x)))
(*.f64 1 (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (log.f64 x)))
(-.f64 (+.f64 (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (log.f64 (/.f64 1 x)))) (/.f64 2 (*.f64 (log.f64 (/.f64 1 x)) x))) (/.f64 (log.f64 -1) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) x)))
(-.f64 (fma.f64 -1 (/.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (neg.f64 (log.f64 x))) (/.f64 2 (*.f64 x (neg.f64 (log.f64 x))))) (/.f64 (/.f64 (log.f64 -1) (pow.f64 (neg.f64 (log.f64 x)) 2)) x))
(-.f64 (-.f64 (/.f64 (/.f64 2 x) (neg.f64 (log.f64 x))) (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (neg.f64 (log.f64 x)))) (/.f64 (/.f64 (log.f64 -1) (*.f64 (log.f64 x) (log.f64 x))) x))
(-.f64 (-.f64 (/.f64 (/.f64 -2 (log.f64 x)) x) (/.f64 (log.f64 -1) (*.f64 x (*.f64 (log.f64 x) (log.f64 x))))) (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (neg.f64 (log.f64 x))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (*.f64 (log.f64 (/.f64 1 x)) x))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 2)))) (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (log.f64 (/.f64 1 x)))))) (+.f64 (*.f64 -1 (/.f64 (-.f64 (*.f64 2 (/.f64 1 (log.f64 (/.f64 1 x)))) (/.f64 (log.f64 -1) (pow.f64 (log.f64 (/.f64 1 x)) 2))) (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 2)))) (+.f64 (/.f64 (log.f64 -1) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) x)) (*.f64 -1/2 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) (pow.f64 x 2)))))))
(-.f64 (+.f64 (/.f64 2 (*.f64 x (neg.f64 (log.f64 x)))) (+.f64 (neg.f64 (/.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (neg.f64 (log.f64 x)))) (/.f64 1/2 (*.f64 (*.f64 x x) (neg.f64 (log.f64 x)))))) (+.f64 (fma.f64 -1 (/.f64 (-.f64 (/.f64 2 (neg.f64 (log.f64 x))) (/.f64 (log.f64 -1) (pow.f64 (neg.f64 (log.f64 x)) 2))) (*.f64 (*.f64 x x) (neg.f64 (log.f64 x)))) (/.f64 (/.f64 (log.f64 -1) (pow.f64 (neg.f64 (log.f64 x)) 2)) x)) (*.f64 -1/2 (/.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (*.f64 (*.f64 x x) (pow.f64 (neg.f64 (log.f64 x)) 2))))))
(+.f64 (-.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (neg.f64 (log.f64 x)))) (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (neg.f64 (log.f64 x)))) (-.f64 (/.f64 (/.f64 2 x) (neg.f64 (log.f64 x))) (-.f64 (fma.f64 -1/2 (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (*.f64 (*.f64 x x) (*.f64 (log.f64 x) (log.f64 x)))) (/.f64 (/.f64 (log.f64 -1) (*.f64 (log.f64 x) (log.f64 x))) x)) (/.f64 (-.f64 (/.f64 2 (neg.f64 (log.f64 x))) (/.f64 (log.f64 -1) (*.f64 (log.f64 x) (log.f64 x)))) (*.f64 (*.f64 x x) (neg.f64 (log.f64 x)))))))
(+.f64 (-.f64 (/.f64 (/.f64 -1/2 (log.f64 x)) (*.f64 x x)) (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (neg.f64 (log.f64 x)))) (+.f64 (-.f64 (/.f64 (/.f64 -2 (log.f64 x)) x) (fma.f64 -1/2 (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (*.f64 x (*.f64 x (*.f64 (log.f64 x) (log.f64 x))))) (/.f64 (log.f64 -1) (*.f64 x (*.f64 (log.f64 x) (log.f64 x)))))) (/.f64 (-.f64 (/.f64 2 (*.f64 (log.f64 x) (log.f64 x))) (/.f64 (log.f64 -1) (pow.f64 (neg.f64 (log.f64 x)) 3))) (*.f64 x x))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (*.f64 (log.f64 (/.f64 1 x)) x))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 2)))) (+.f64 (*.f64 1/3 (/.f64 1 (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 3)))) (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (log.f64 (/.f64 1 x))))))) (+.f64 (*.f64 1/2 (/.f64 (-.f64 (*.f64 2 (/.f64 1 (log.f64 (/.f64 1 x)))) (/.f64 (log.f64 -1) (pow.f64 (log.f64 (/.f64 1 x)) 2))) (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 3)))) (+.f64 (*.f64 1/3 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) (pow.f64 x 3)))) (+.f64 (*.f64 -1/2 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) (pow.f64 x 2)))) (+.f64 (*.f64 -1 (/.f64 (-.f64 (*.f64 1/2 (/.f64 1 (log.f64 (/.f64 1 x)))) (+.f64 (*.f64 -1/2 (/.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (pow.f64 (log.f64 (/.f64 1 x)) 2))) (*.f64 -1 (/.f64 (-.f64 (*.f64 2 (/.f64 1 (log.f64 (/.f64 1 x)))) (/.f64 (log.f64 -1) (pow.f64 (log.f64 (/.f64 1 x)) 2))) (log.f64 (/.f64 1 x)))))) (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 3)))) (+.f64 (*.f64 -1 (/.f64 (-.f64 (*.f64 2 (/.f64 1 (log.f64 (/.f64 1 x)))) (/.f64 (log.f64 -1) (pow.f64 (log.f64 (/.f64 1 x)) 2))) (*.f64 (log.f64 (/.f64 1 x)) (pow.f64 x 2)))) (/.f64 (log.f64 -1) (*.f64 (pow.f64 (log.f64 (/.f64 1 x)) 2) x))))))))
(+.f64 (/.f64 2 (*.f64 x (neg.f64 (log.f64 x)))) (-.f64 (+.f64 (+.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (neg.f64 (log.f64 x)))) (/.f64 1/3 (*.f64 (pow.f64 x 3) (neg.f64 (log.f64 x))))) (neg.f64 (/.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (neg.f64 (log.f64 x))))) (fma.f64 1/2 (/.f64 (-.f64 (/.f64 2 (neg.f64 (log.f64 x))) (/.f64 (log.f64 -1) (pow.f64 (neg.f64 (log.f64 x)) 2))) (*.f64 (pow.f64 x 3) (neg.f64 (log.f64 x)))) (fma.f64 1/3 (/.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (*.f64 (pow.f64 x 3) (pow.f64 (neg.f64 (log.f64 x)) 2))) (fma.f64 -1/2 (/.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (*.f64 (*.f64 x x) (pow.f64 (neg.f64 (log.f64 x)) 2))) (fma.f64 -1 (/.f64 (-.f64 (/.f64 1/2 (neg.f64 (log.f64 x))) (fma.f64 -1/2 (/.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (pow.f64 (neg.f64 (log.f64 x)) 2)) (neg.f64 (/.f64 (-.f64 (/.f64 2 (neg.f64 (log.f64 x))) (/.f64 (log.f64 -1) (pow.f64 (neg.f64 (log.f64 x)) 2))) (neg.f64 (log.f64 x)))))) (*.f64 (pow.f64 x 3) (neg.f64 (log.f64 x)))) (fma.f64 -1 (/.f64 (-.f64 (/.f64 2 (neg.f64 (log.f64 x))) (/.f64 (log.f64 -1) (pow.f64 (neg.f64 (log.f64 x)) 2))) (*.f64 (*.f64 x x) (neg.f64 (log.f64 x)))) (/.f64 (/.f64 (log.f64 -1) (pow.f64 (neg.f64 (log.f64 x)) 2)) x))))))))
(+.f64 (/.f64 (/.f64 2 x) (neg.f64 (log.f64 x))) (-.f64 (+.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (neg.f64 (log.f64 x)))) (-.f64 (/.f64 (/.f64 1/3 (pow.f64 x 3)) (neg.f64 (log.f64 x))) (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (neg.f64 (log.f64 x))))) (fma.f64 1/2 (/.f64 (-.f64 (/.f64 2 (neg.f64 (log.f64 x))) (/.f64 (log.f64 -1) (*.f64 (log.f64 x) (log.f64 x)))) (*.f64 (pow.f64 x 3) (neg.f64 (log.f64 x)))) (fma.f64 1/3 (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (*.f64 (pow.f64 x 3) (*.f64 (log.f64 x) (log.f64 x)))) (fma.f64 -1/2 (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (*.f64 (*.f64 x x) (*.f64 (log.f64 x) (log.f64 x)))) (-.f64 (-.f64 (/.f64 (/.f64 (log.f64 -1) (*.f64 (log.f64 x) (log.f64 x))) x) (/.f64 (-.f64 (/.f64 2 (neg.f64 (log.f64 x))) (/.f64 (log.f64 -1) (*.f64 (log.f64 x) (log.f64 x)))) (*.f64 (*.f64 x x) (neg.f64 (log.f64 x))))) (/.f64 (-.f64 (/.f64 1/2 (neg.f64 (log.f64 x))) (-.f64 (/.f64 (*.f64 -1/2 (+.f64 (log.f64 -1) (log.f64 x))) (*.f64 (log.f64 x) (log.f64 x))) (/.f64 (-.f64 (/.f64 2 (neg.f64 (log.f64 x))) (/.f64 (log.f64 -1) (*.f64 (log.f64 x) (log.f64 x)))) (neg.f64 (log.f64 x))))) (*.f64 (pow.f64 x 3) (neg.f64 (log.f64 x))))))))))
(-.f64 (-.f64 (-.f64 (-.f64 (+.f64 (/.f64 (/.f64 -2 (log.f64 x)) x) (/.f64 (/.f64 -1/2 (log.f64 x)) (*.f64 x x))) (-.f64 (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (neg.f64 (log.f64 x))) (/.f64 (/.f64 -1/3 (log.f64 x)) (pow.f64 x 3)))) (fma.f64 1/2 (/.f64 (-.f64 (/.f64 2 (*.f64 (log.f64 x) (log.f64 x))) (/.f64 (log.f64 -1) (pow.f64 (neg.f64 (log.f64 x)) 3))) (pow.f64 x 3)) (*.f64 (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (*.f64 (log.f64 x) (log.f64 x))) (+.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3)))))) (/.f64 (log.f64 -1) (*.f64 x (*.f64 (log.f64 x) (log.f64 x))))) (*.f64 (/.f64 1 (log.f64 x)) (+.f64 (/.f64 (-.f64 (/.f64 -2 (log.f64 x)) (/.f64 (log.f64 -1) (*.f64 (log.f64 x) (log.f64 x)))) (*.f64 x x)) (/.f64 (+.f64 (/.f64 -1/2 (log.f64 x)) (+.f64 (-.f64 (/.f64 2 (*.f64 (log.f64 x) (log.f64 x))) (/.f64 (log.f64 -1) (pow.f64 (neg.f64 (log.f64 x)) 3))) (*.f64 1/2 (/.f64 (+.f64 (log.f64 -1) (log.f64 x)) (*.f64 (log.f64 x) (log.f64 x)))))) (pow.f64 x 3)))))
(*.f64 -1 (/.f64 (log.f64 (/.f64 -1 x)) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))))
(/.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)))
(/.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))))
(+.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 -1 x)) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) x)))
(*.f64 -1 (+.f64 (/.f64 (log.f64 (/.f64 -1 x)) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 (-.f64 (/.f64 1 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2))) x)))
(-.f64 (/.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (/.f64 (-.f64 (/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2))) x))
(+.f64 (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (*.f64 1/2 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))))) (pow.f64 x 2))) (+.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 -1 x)) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) x))))
(fma.f64 -1 (/.f64 (fma.f64 -1 (/.f64 (-.f64 (/.f64 1 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2))) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (fma.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2)) (/.f64 1/2 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))))) (*.f64 x x)) (*.f64 -1 (+.f64 (/.f64 (log.f64 (/.f64 -1 x)) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 (-.f64 (/.f64 1 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2))) x))))
(-.f64 (-.f64 (/.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (/.f64 (-.f64 (/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2))) x)) (/.f64 (-.f64 (fma.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (/.f64 1/2 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))))) (-.f64 (/.f64 1 (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 3)))) (*.f64 x x)))
(-.f64 (/.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (+.f64 (/.f64 (-.f64 (/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2))) x) (/.f64 (fma.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (-.f64 (/.f64 1/2 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (-.f64 (/.f64 1 (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 3))))) (*.f64 x x))))
(+.f64 (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (*.f64 1/2 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))))) (pow.f64 x 2))) (+.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 -1 x)) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (+.f64 (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) x)) (*.f64 -1 (/.f64 (-.f64 (*.f64 1/3 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 3))) (+.f64 (*.f64 -1 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (+.f64 (*.f64 1/3 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (*.f64 -1/2 (/.f64 (-.f64 (/.f64 1 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) 2))) (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))))))))) (pow.f64 x 3))))))
(fma.f64 -1 (/.f64 (fma.f64 -1 (/.f64 (-.f64 (/.f64 1 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2))) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (fma.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2)) (/.f64 1/2 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))))) (*.f64 x x)) (fma.f64 -1 (/.f64 (log.f64 (/.f64 -1 x)) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 -1 (+.f64 (/.f64 (-.f64 (/.f64 1 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2))) x) (/.f64 (-.f64 (/.f64 1/3 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (fma.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 3)) (fma.f64 -1 (/.f64 (-.f64 (/.f64 1 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2))) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2)) (fma.f64 1/3 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2)) (+.f64 (/.f64 1/2 (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2)) (*.f64 -1/2 (/.f64 (-.f64 (/.f64 1 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1)) 2))) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))))))))) (pow.f64 x 3))))))
(-.f64 (-.f64 (-.f64 (/.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (/.f64 (-.f64 (/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2))) x)) (/.f64 (-.f64 (/.f64 1/3 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (fma.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 3)) (-.f64 (fma.f64 1/3 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (fma.f64 -1/2 (-.f64 (/.f64 1 (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 3))) (/.f64 1/2 (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)))) (-.f64 (/.f64 1 (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 3)) (/.f64 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 3)) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))))))) (pow.f64 x 3))) (/.f64 (-.f64 (fma.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (/.f64 1/2 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))))) (-.f64 (/.f64 1 (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 3)))) (*.f64 x x)))
(-.f64 (-.f64 (/.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (/.f64 (-.f64 (/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2))) x)) (+.f64 (/.f64 (-.f64 (/.f64 1/3 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (fma.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 3)) (+.f64 (fma.f64 1/3 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (/.f64 1/2 (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2))) (*.f64 (-.f64 (/.f64 1 (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 3))) (+.f64 -1/2 (/.f64 -1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))))))))) (pow.f64 x 3)) (/.f64 (fma.f64 1/2 (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (-.f64 (/.f64 1/2 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (-.f64 (/.f64 1 (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 2)) (/.f64 (log.f64 (/.f64 -1 x)) (pow.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))) 3))))) (*.f64 x x))))

eval35.0ms (0.4%)

Compiler

Compiled 1852 to 1351 computations (27.1% saved)

prune9.0ms (0.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New49453
Fresh000
Picked011
Done000
Total49554
Error
0b
Counts
54 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
0.6b
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
0.6b
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
0.8b
(-.f64 -1 x)
1.4b
-1
Compiler

Compiled 34 to 26 computations (23.5% saved)

localize3.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

Compiled 37 to 29 computations (21.6% saved)

series3.0ms (0%)

Counts
2 → 3
Calls

6 calls:

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

rewrite55.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
756×pow1_binary64
706×add-log-exp_binary64
705×log1p-expm1-u_binary64
705×expm1-log1p-u_binary64
692×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify87.0ms (1%)

Algorithm
egg-herbie
Rules
795×fma-def_binary64
646×fma-neg_binary64
526×associate-*l*_binary64
434×unswap-sqr_binary64
315×cube-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
11617
22817
35817
413717
541517
6151817
7261817
8303917
9365317
10431717
11527717
12686717
Stop Event
node limit
Counts
54 → 55
Calls
Call 1
Inputs
(*.f64 -1 x)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
Outputs
(*.f64 -1 x)
(neg.f64 x)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

Compiled 21 to 14 computations (33.3% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite51.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
774×pow1_binary64
721×add-log-exp_binary64
721×log1p-expm1-u_binary64
721×expm1-log1p-u_binary64
707×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify96.0ms (1.1%)

Algorithm
egg-herbie
Rules
1352×fma-def_binary64
597×fma-neg_binary64
378×distribute-rgt-neg-in_binary64
286×unsub-neg_binary64
273×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
012118
128112
254105
313189
435089
5102589
6238989
7436089
8535989
9630989
10668489
11712089
Stop Event
node limit
Counts
49 → 46
Calls
Call 1
Inputs
-1
(-.f64 (*.f64 -1 x) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
Outputs
-1
(-.f64 (*.f64 -1 x) 1)
(fma.f64 -1 x -1)
(-.f64 -1 x)
(+.f64 -1 x)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 x (*.f64 x -1/2)) x)
(*.f64 x (fma.f64 x -1/2 -1))
(*.f64 x (fma.f64 x 1/2 1))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 x (*.f64 x -1/2)) x)
(*.f64 x (fma.f64 x -1/2 -1))
(*.f64 x (fma.f64 x 1/2 1))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)

eval36.0ms (0.4%)

Compiler

Compiled 1481 to 980 computations (33.8% saved)

prune14.0ms (0.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New983101
Fresh101
Picked101
Done123
Total1015106
Error
0b
Counts
106 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
1.4b
-1
0.6b
(+.f64 (*.f64 x (*.f64 x -1/2)) (-.f64 -1 x))
0.6b
(-.f64 (-.f64 (*.f64 -1/2 (*.f64 x x)) x) 1)
0.8b
(-.f64 -1 x)
Compiler

Compiled 33 to 24 computations (27.3% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

Compiled 28 to 14 computations (50% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite52.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
699×pow1_binary64
655×add-log-exp_binary64
655×log1p-expm1-u_binary64
655×expm1-log1p-u_binary64
641×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify106.0ms (1.2%)

Algorithm
egg-herbie
Rules
1287×fma-def_binary64
661×fma-neg_binary64
384×distribute-rgt-neg-in_binary64
304×cancel-sign-sub-inv_binary64
274×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 9 (0.0ms)

IterNodesCost
09191
119191
235191
382173
4229173
5777173
61862173
73972173
85122173
95799171
106419171
116812171
127310171
Stop Event
node limit
Counts
74 → 56
Calls
Call 1
Inputs
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1 x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
Outputs
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1 x)
(neg.f64 x)
x
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(*.f64 x (+.f64 (*.f64 -1/2 x) -1))
(*.f64 x (fma.f64 -1/2 x -1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(*.f64 x (+.f64 (*.f64 -1/2 x) -1))
(*.f64 x (fma.f64 -1/2 x -1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(*.f64 x (+.f64 (*.f64 -1/2 x) -1))
(*.f64 x (fma.f64 -1/2 x -1))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(*.f64 x (+.f64 (*.f64 -1/2 x) -1))
(*.f64 x (fma.f64 -1/2 x -1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(*.f64 x (+.f64 (*.f64 -1/2 x) -1))
(*.f64 x (fma.f64 -1/2 x -1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(*.f64 x (+.f64 (*.f64 -1/2 x) -1))
(*.f64 x (fma.f64 -1/2 x -1))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(*.f64 x (+.f64 (*.f64 -1/2 x) -1))
(*.f64 x (fma.f64 -1/2 x -1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(*.f64 x (+.f64 (*.f64 -1/2 x) -1))
(*.f64 x (fma.f64 -1/2 x -1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(*.f64 x (+.f64 (*.f64 -1/2 x) -1))
(*.f64 x (fma.f64 -1/2 x -1))

localize11.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

Compiled 24 to 16 computations (33.3% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite61.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
633×unpow-prod-down_binary64
420×log-prod_binary64
388×fma-def_binary64
305×exp-prod_binary64
269×pow-prod-down_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
118111
2249011
Stop Event
node limit
Counts
1 → 86
Calls
Call 1
Inputs
(+.f64 (*.f64 x (*.f64 x -1/2)) (-.f64 -1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 -1 (-.f64 x (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 x (*.f64 x -1/2) -1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 (fma.f64 x (*.f64 x -1/2) 1) x)) (/.f64 (pow.f64 (-.f64 -1 x) 2) (+.f64 (fma.f64 x (*.f64 x -1/2) 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))) 2) (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))) (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 6) -1/8 (pow.f64 (-.f64 -1 x) 3)) (/.f64 1 (fma.f64 (-.f64 -1 x) (-.f64 (-.f64 -1 x) (*.f64 x (*.f64 x -1/2))) (*.f64 1/4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 6) -1/8 (pow.f64 (-.f64 -1 x) 3)) (pow.f64 (/.f64 1 (fma.f64 (-.f64 -1 x) (-.f64 (-.f64 -1 x) (*.f64 x (*.f64 x -1/2))) (*.f64 1/4 (pow.f64 x 4)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) (pow.f64 (-.f64 -1 x) 2)) (/.f64 1 (+.f64 (fma.f64 x (*.f64 x -1/2) 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) (pow.f64 (-.f64 -1 x) 2)) (pow.f64 (/.f64 1 (+.f64 (fma.f64 x (*.f64 x -1/2) 1) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)) (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))) 2) 1/3) (cbrt.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))) 2) 3) (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (-.f64 -1 x) (-.f64 (-.f64 -1 x) (*.f64 x (*.f64 x -1/2))) (*.f64 1/4 (pow.f64 x 4))) (fma.f64 (pow.f64 x 6) -1/8 (pow.f64 (-.f64 -1 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (fma.f64 x (*.f64 x -1/2) 1) x) (-.f64 (*.f64 1/4 (pow.f64 x 4)) (pow.f64 (-.f64 -1 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 6) -1/8 (pow.f64 (-.f64 -1 x) 3)) (fma.f64 (-.f64 -1 x) (-.f64 (-.f64 -1 x) (*.f64 x (*.f64 x -1/2))) (*.f64 1/4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 6) -1/8 (pow.f64 (-.f64 -1 x) 3)) (+.f64 (pow.f64 (-.f64 -1 x) 2) (-.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 x (*.f64 (*.f64 x -1/2) (-.f64 -1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) (pow.f64 (-.f64 -1 x) 2)) (+.f64 (fma.f64 x (*.f64 x -1/2) 1) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 6) -1/8 (pow.f64 (-.f64 -1 x) 3))) (neg.f64 (fma.f64 (-.f64 -1 x) (-.f64 (-.f64 -1 x) (*.f64 x (*.f64 x -1/2))) (*.f64 1/4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) (pow.f64 (-.f64 -1 x) 2))) (neg.f64 (+.f64 (fma.f64 x (*.f64 x -1/2) 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) -1) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) -1) 2) (fma.f64 x x (*.f64 (fma.f64 x (*.f64 x -1/2) -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) -1) 2) (*.f64 x x)) (+.f64 (fma.f64 x (*.f64 x -1/2) -1) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (-.f64 -1 x) 2) (*.f64 1/4 (pow.f64 x 4))) (-.f64 (-.f64 -1 x) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (-.f64 -1 x) (-.f64 (-.f64 -1 x) (*.f64 x (*.f64 x -1/2))) (*.f64 1/4 (pow.f64 x 4))) (fma.f64 (pow.f64 x 6) -1/8 (pow.f64 (-.f64 -1 x) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (fma.f64 x (*.f64 x -1/2) 1) x) (-.f64 (*.f64 1/4 (pow.f64 x 4)) (pow.f64 (-.f64 -1 x) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))) 2)) (cbrt.f64 (log.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))))) (sqrt.f64 (log.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (fma.f64 x (*.f64 x -1/2) -1)) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x -1/2)))) (exp.f64 (-.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/2)) (+.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/2)))) (+.f64 1 (expm1.f64 (-.f64 -1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (-.f64 -1 x))) (pow.f64 (exp.f64 x) (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (-.f64 -1 x)) (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x -1/2))))))))) (#(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/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x -1/2) (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (*.f64 x x) (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x -1/2) x (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (*.f64 x -1/2)) 1 (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 -1 x) 1 (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (*.f64 x -1/2)) (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 -1 x) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (*.f64 x -1/2) -1) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/2 (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (cbrt.f64 (*.f64 x (*.f64 x -1/2))) (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (*.f64 x -1/2)) (-.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/2)))))) (#(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/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x -1/2) 2)) (*.f64 (cbrt.f64 (*.f64 x -1/2)) x) (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x -1/2)) (-.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/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x -1/2)) (*.f64 (sqrt.f64 (*.f64 x -1/2)) 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 x -1) 1)) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (*.f64 x x)) (/.f64 1 (+.f64 x -1)) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) -1)) 2) (cbrt.f64 (fma.f64 x (*.f64 x -1/2) -1)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/2) -1)) (sqrt.f64 (fma.f64 x (*.f64 x -1/2) -1)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (sqrt.f64 -1/2) 1) (fma.f64 x (sqrt.f64 -1/2) -1) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (*.f64 x -1/2) 2))) (cbrt.f64 (*.f64 x -1/2)) (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (*.f64 x -1/2))) (sqrt.f64 (*.f64 x -1/2)) (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x -1/2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (-.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x -1/2) (sqrt.f64 x)) (sqrt.f64 x) (-.f64 -1 x))))))

simplify97.0ms (1.1%)

Algorithm
egg-herbie
Rules
1352×fma-def_binary64
597×fma-neg_binary64
378×distribute-rgt-neg-in_binary64
286×unsub-neg_binary64
273×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
012118
128112
254105
313189
435089
5102589
6238989
7436089
8535989
9630989
10668489
11712089
Stop Event
node limit
Counts
98 → 95
Calls
Call 1
Inputs
-1
(-.f64 (*.f64 -1 x) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
Outputs
-1
(-.f64 (*.f64 -1 x) 1)
(fma.f64 -1 x -1)
(-.f64 -1 x)
(+.f64 -1 x)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 x (*.f64 x -1/2)) x)
(*.f64 x (fma.f64 x -1/2 -1))
(*.f64 x (fma.f64 x 1/2 1))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 x (*.f64 x -1/2)) x)
(*.f64 x (fma.f64 x -1/2 -1))
(*.f64 x (fma.f64 x 1/2 1))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)

eval57.0ms (0.6%)

Compiler

Compiled 2283 to 1588 computations (30.4% saved)

prune24.0ms (0.3%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1501151
Fresh011
Picked011
Done033
Total1506156
Error
0b
Counts
156 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
1.4b
-1
0.6b
(+.f64 (*.f64 x (*.f64 x -1/2)) (-.f64 -1 x))
0.6b
(-.f64 (-.f64 (*.f64 -1/2 (*.f64 x x)) x) 1)
0.8b
(-.f64 -1 x)
0.6b
(fma.f64 (-.f64 1 (*.f64 x x)) (/.f64 1 (+.f64 x -1)) (*.f64 x (*.f64 x -1/2)))
Compiler

Compiled 50 to 36 computations (28% saved)

localize21.0ms (0.2%)

Local error

Found 6 expressions with local error:

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

Compiled 45 to 28 computations (37.8% saved)

series4.0ms (0%)

Counts
3 → 36
Calls

9 calls:

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

rewrite71.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
560×log-prod_binary64
533×prod-diff_binary64
317×pow2_binary64
251×fma-def_binary64
219×pow1/3_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify114.0ms (1.3%)

Algorithm
egg-herbie
Rules
405×sub-neg_binary64
364×distribute-rgt-neg-in_binary64
325×distribute-lft-neg-in_binary64
306×fma-def_binary64
304×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031391
181359
2212348
3654329
42463329
54841329
66568329
77482329
Stop Event
node limit
Counts
142 → 131
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))))
-1
(-.f64 (*.f64 -1 x) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(*.f64 -1 (pow.f64 x 2))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(*.f64 -1 (pow.f64 x 2))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.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 (-.f64 -1 x) (fma.f64 x x 1))
(/.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 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4))))
(/.f64 1 x)
(+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))
(+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4))))
-1
(-.f64 (*.f64 -1 x) 1)
(fma.f64 -1 x -1)
(-.f64 -1 x)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 (*.f64 x x) -1/2 (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 (*.f64 x x) -1/2 (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -1/2)
(*.f64 (*.f64 -1/2 x) x)
(*.f64 x (*.f64 x -1/2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 (*.f64 -1/2 x) x) x)
(fma.f64 x (*.f64 x -1/2) (neg.f64 x))
(*.f64 x (fma.f64 x -1/2 -1))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 (*.f64 x x) -1/2 (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 (*.f64 x x) -1/2 (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -1/2)
(*.f64 (*.f64 -1/2 x) x)
(*.f64 x (*.f64 x -1/2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 (*.f64 -1/2 x) x) x)
(fma.f64 x (*.f64 x -1/2) (neg.f64 x))
(*.f64 x (fma.f64 x -1/2 -1))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 (*.f64 x x) -1/2 (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(+.f64 (fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) -1)
(fma.f64 (*.f64 x x) -1/2 (fma.f64 -1 x -1))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(fma.f64 x (fma.f64 x -1/2 -1) -1)
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(*.f64 -1 (pow.f64 x 2))
(neg.f64 (*.f64 x x))
(*.f64 x (neg.f64 x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(*.f64 -1 (pow.f64 x 2))
(neg.f64 (*.f64 x x))
(*.f64 x (neg.f64 x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))

eval112.0ms (1.2%)

Compiler

Compiled 2655 to 1764 computations (33.6% saved)

prune33.0ms (0.4%)

Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New1301131
Fresh011
Picked011
Done044
Total1307137
Error
0b
Counts
137 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
0.6b
(+.f64 (*.f64 x (*.f64 x -1/2)) (/.f64 (-.f64 1 (*.f64 x x)) (+.f64 x -1)))
0.6b
(+.f64 (*.f64 x (*.f64 x -1/2)) (-.f64 -1 x))
0.0b
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
1.4b
-1
0.6b
(-.f64 (-.f64 (*.f64 -1/2 (*.f64 x x)) x) 1)
0.8b
(-.f64 -1 x)
0.6b
(fma.f64 (-.f64 1 (*.f64 x x)) (/.f64 1 (+.f64 x -1)) (*.f64 x (*.f64 x -1/2)))
Compiler

Compiled 66 to 47 computations (28.8% saved)

regimes34.0ms (0.4%)

Counts
11 → 1
Calls
Call 1
Inputs
-1
-1
(-.f64 -1 x)
(+.f64 (*.f64 x (*.f64 x -1/2)) (-.f64 -1 x))
(-.f64 (-.f64 (*.f64 -1/2 (*.f64 x x)) x) 1)
(+.f64 (*.f64 x (*.f64 x -1/2)) (/.f64 (-.f64 1 (*.f64 x x)) (+.f64 x -1)))
(-.f64 (fma.f64 x (*.f64 x -1/2) -1) x)
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) 1)
(fma.f64 (-.f64 1 (*.f64 x x)) (/.f64 1 (+.f64 x -1)) (*.f64 x (*.f64 x -1/2)))
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
(/.f64 (log.f64 (-.f64 1 x)) (log.f64 (+.f64 1 x)))
Outputs
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
Calls

3 calls:

15.0ms
x
8.0ms
(/.f64 (log.f64 (-.f64 1 x)) (log.f64 (+.f64 1 x)))
6.0ms
(/.f64 (log.f64 (-.f64 1 x)) (log.f64 (+.f64 1 x)))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 (log.f64 (-.f64 1 x)) (log.f64 (+.f64 1 x)))
0.0b1(/.f64 (log.f64 (-.f64 1 x)) (log.f64 (+.f64 1 x)))
Compiler

Compiled 111 to 78 computations (29.7% saved)

regimes18.0ms (0.2%)

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

1 calls:

13.0ms
x
Results
ErrorSegmentsBranch
0.6b1x
Compiler

Compiled 76 to 51 computations (32.9% saved)

regimes11.0ms (0.1%)

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

1 calls:

9.0ms
x
Results
ErrorSegmentsBranch
0.6b1x
Compiler

Compiled 17 to 12 computations (29.4% saved)

regimes9.0ms (0.1%)

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

1 calls:

8.0ms
x
Results
ErrorSegmentsBranch
0.8b1x
Compiler

Compiled 8 to 6 computations (25% saved)

regimes9.0ms (0.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

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

1 calls:

7.0ms
x
Results
ErrorSegmentsBranch
1.4b1x
Compiler

Compiled 5 to 4 computations (20% saved)

simplify9.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01741
12941
23441
33541
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
(-.f64 (-.f64 (*.f64 -1/2 (*.f64 x x)) x) 1)
(+.f64 (*.f64 x (*.f64 x -1/2)) (-.f64 -1 x))
(-.f64 -1 x)
-1
Outputs
(/.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
(-.f64 (-.f64 (*.f64 -1/2 (*.f64 x x)) x) 1)
(+.f64 (-.f64 (*.f64 -1/2 (*.f64 x x)) x) -1)
(+.f64 (*.f64 x (*.f64 x -1/2)) (-.f64 -1 x))
(-.f64 -1 x)
-1
Compiler

Compiled 33 to 24 computations (27.3% saved)

soundness21.0ms (0.2%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
fma-def_binary64
+-commutative_binary64
associate-+l-_binary64
associate--r+_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0811
11410
21910
32510
43310
54310
65710
77310
87710
Stop Event
saturated
Compiler

Compiled 34 to 26 computations (23.5% saved)

end69.0ms (0.8%)

Compiler

Compiled 29 to 20 computations (31% saved)

Profiling

Loading profile data...