Details

Time bar (total: 4.8s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50%13
49.9%0%50%14
Compiler

Compiled 14 to 12 computations (14.3% saved)

sample4.1s (86.6%)

Results
2.6s4210×body1024valid
831.0ms2028×body512valid
353.0ms418×body2048valid
268.0ms1028×body256valid
75.0ms572×body128valid

preprocess28.0ms (0.6%)

Algorithm
egg-herbie
Rules
378×rule-/-abc--/ac/bc_binary64
267×rule-/+abc-+/ac/bc_binary64
255×rule-*b-ac--*ab*bc_binary64
235×rule-a-*a1_binary64
235×rule-a--a0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01115
16914
224014
3133814
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
Outputs
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
(*.f64 1/2 (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
(*.f64 1/2 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))
Compiler

Compiled 13 to 11 computations (15.4% saved)

simplify19.0ms (0.4%)

Algorithm
egg-herbie
Rules
378×rule-/-abc--/ac/bc_binary64
267×rule-/+abc-+/ac/bc_binary64
255×rule-*b-ac--*ab*bc_binary64
235×rule-a-*a1_binary64
235×rule-a--a0_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01115
16914
224014
3133814
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
Outputs
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
(*.f64 1/2 (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
(*.f64 1/2 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
50.7b
Counts
3 → 2
Alt Table
StatusErrorProgram
58.8b
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
50.7b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))
Compiler

Compiled 68 to 56 computations (17.6% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))
5.1b
(log.f64 (-.f64 1 x))

series4.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))
1.0ms
x
@inf
(-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))
1.0ms
x
@0
(log.f64 (-.f64 1 x))
1.0ms
x
@inf
(log.f64 (-.f64 1 x))
0.0ms
x
@-inf
(-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))

rewrite41.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
891×rules-31_binary64
891×rules-32_binary64
891×rules-33_binary64
82×add-sqr-sqrt_binary64
79×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify28.0ms (0.6%)

Algorithm
egg-herbie
Rules
307×rule-+a-bc-+b-ac_binary64
267×rule-a-*a1_binary64
267×rule-a--a0_binary64
267×rule-a-+a0_binary64
265×rule-a-/a1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
076406
1537397
21723369
Stop Event
node limit
Counts
100 → 123
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 -1 x)))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 -1 x) (*.f64 -1/4 (pow.f64 x 4)))))
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (/.f64 1 x))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
(*.f64 -1 (log.f64 (/.f64 -1 x)))
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (/.f64 1 x))
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x)))
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))))
(*.f64 -1 (log.f64 -1))
(+.f64 (*.f64 -1 (log.f64 -1)) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
(log.f64 -1)
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
Outputs
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (*.f64 -1 x))
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 -1 x)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/3 (pow.f64 x 3) (*.f64 -1 x)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/3 (pow.f64 x 3) (neg.f64 x)))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 -1 x) (*.f64 -1/4 (pow.f64 x 4)))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -1 x (*.f64 -1/4 (pow.f64 x 4)))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -1/4 (pow.f64 x 4) (neg.f64 x))))
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1))
(fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1))
(+.f64 (*.f64 1 (log.f64 x)) (log.f64 -1))
(+.f64 (log.f64 x) (log.f64 -1))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (/.f64 1 x))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (/.f64 1 x))
(+.f64 (*.f64 1 (log.f64 x)) (-.f64 (log.f64 -1) (/.f64 1 x)))
(+.f64 (log.f64 x) (-.f64 (log.f64 -1) (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x)))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))))
(+.f64 (*.f64 1 (log.f64 x)) (-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x)))))
(-.f64 (+.f64 (log.f64 x) (log.f64 -1)) (/.f64 (+.f64 1 (/.f64 1/2 x)) x))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x)))))
(-.f64 (+.f64 (*.f64 1 (log.f64 x)) (log.f64 -1)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3)))))
(-.f64 (+.f64 (log.f64 x) (log.f64 -1)) (+.f64 (/.f64 1 x) (/.f64 (+.f64 (/.f64 1/3 x) 1/2) (*.f64 x x))))
(*.f64 -1 (log.f64 (/.f64 -1 x)))
(neg.f64 (log.f64 (/.f64 -1 x)))
(-.f64 (log.f64 x) (log.f64 -1))
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (/.f64 1 x))
(-.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (/.f64 1 x))
(-.f64 (/.f64 -1 x) (log.f64 (/.f64 -1 x)))
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x)))
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))))
(-.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))))
(-.f64 (-.f64 (log.f64 x) (log.f64 -1)) (/.f64 (+.f64 1 (/.f64 1/2 x)) x))
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x)))))
(-.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3)))))
(-.f64 (/.f64 -1 x) (+.f64 (/.f64 (+.f64 (/.f64 1/3 x) 1/2) (*.f64 x x)) (log.f64 (/.f64 -1 x))))
(*.f64 2 x)
(*.f64 x 2)
(+.f64 x x)
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 (pow.f64 x 3) 2/3))
(fma.f64 x 2 (*.f64 (pow.f64 x 3) 2/3))
(fma.f64 (pow.f64 x 3) 2/3 (+.f64 x x))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 x 2 (fma.f64 (pow.f64 x 3) 2/3 (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))))
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 x 2 (fma.f64 (pow.f64 x 3) 2/3 (*.f64 2/5 (pow.f64 x 5)))))
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))
(*.f64 -1 (log.f64 -1))
(neg.f64 (log.f64 -1))
(+.f64 (*.f64 -1 (log.f64 -1)) (*.f64 2 (/.f64 1 x)))
(fma.f64 -1 (log.f64 -1) (/.f64 2 x))
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 x))))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (fma.f64 -1 (log.f64 -1) (/.f64 2 x)))
(+.f64 (fma.f64 -1 (log.f64 -1) (/.f64 2 x)) (/.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
(fma.f64 -1 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5)))))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (fma.f64 -1 (log.f64 -1) (/.f64 2 x))))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (fma.f64 -1 (log.f64 -1) (/.f64 2 x)) (/.f64 2/5 (pow.f64 x 5))))
(log.f64 -1)
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))
(+.f64 (log.f64 -1) (/.f64 2 x))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (/.f64 2 x)))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5)))))
(+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (/.f64 2/5 (pow.f64 x 5)))))

prune71.0ms (1.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1221123
Fresh011
Picked101
Done000
Total1232125
Error
0b
Counts
125 → 2
Alt Table
StatusErrorProgram
0.1b
(*.f64 1/2 (fma.f64 2/7 (pow.f64 x 7) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))
58.8b
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
Compiler

Compiled 2051 to 1529 computations (25.5% saved)

localize12.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))
0.1b
(*.f64 2/5 (pow.f64 x 5))

series3.0ms (0.1%)

Counts
2 → 12
Calls

6 calls:

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

rewrite51.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
266×rule-*aa-fabs*aa_binary64
207×rule-nega--0a_binary64
207×rule-nega-/a-1_binary64
207×rule-nega-*a-1_binary64
176×rule-/ab-*+aa/1/2b_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify23.0ms (0.5%)

Algorithm
egg-herbie
Rules
252×rule-+a-bc--+abc_binary64
231×rule-+a-bc-+b-ac_binary64
204×rule--+abc-+a-bc_binary64
184×rule-*a-bc-*nega-cb_binary64
182×rule-*b-ac--*ab*bc_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015165
199165
2283165
31127165
Stop Event
node limit
Counts
84 → 81
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(*.f64 2/5 (pow.f64 x 5))
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(*.f64 2/5 (pow.f64 x 5))
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
Outputs
(*.f64 2 x)
(+.f64 x x)
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))
(*.f64 2/5 (pow.f64 x 5))
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))
(*.f64 2/5 (pow.f64 x 5))
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))

prune100.0ms (2.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New81081
Fresh011
Picked011
Done000
Total81283
Error
0b
Counts
83 → 2
Alt Table
StatusErrorProgram
0.1b
(*.f64 1/2 (fma.f64 2/7 (pow.f64 x 7) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))
58.8b
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
Compiler

Compiled 2259 to 1852 computations (18% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite47.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
934×rules-31_binary64
934×rules-32_binary64
934×rules-33_binary64
85×add-sqr-sqrt_binary64
80×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify29.0ms (0.6%)

Algorithm
egg-herbie
Rules
186×rule-+a+bc-+b+ac_binary64
180×rule-+a-bc-+b-ac_binary64
175×rule-+a-bc--+abc_binary64
174×rule-*a/cb-/a/bc_binary64
173×rule-a-*a1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
052319
1371319
21183295
Stop Event
node limit
Counts
105 → 110
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))))
(log.f64 -1)
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
(log.f64 -1)
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
1
(+.f64 (*.f64 2 x) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
Outputs
(*.f64 2 x)
(+.f64 x x)
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))))
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))
(fma.f64 2 x (fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))
(log.f64 -1)
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))
(+.f64 (log.f64 -1) (/.f64 2 x))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2 x)))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (/.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5)))))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2/5 (pow.f64 x 5)))))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5)))))
(log.f64 -1)
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))
(+.f64 (log.f64 -1) (/.f64 2 x))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2 x)))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (/.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5)))))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2/5 (pow.f64 x 5)))))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5)))))
1
(+.f64 (*.f64 2 x) 1)
(fma.f64 2 x 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 1))
(fma.f64 2 x (fma.f64 2 (*.f64 x x) 1))
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 x (fma.f64 2 (*.f64 x x) 1)))
(fma.f64 2 (*.f64 x x) (fma.f64 2 (pow.f64 x 3) (fma.f64 2 x 1)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 -1 (/.f64 (+.f64 (/.f64 2 x) 2) x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 (/.f64 (+.f64 (/.f64 2 x) 2) x) x)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 -1 (/.f64 (+.f64 (/.f64 2 x) 2) x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 (/.f64 (+.f64 (/.f64 2 x) 2) x) x)))

prune63.0ms (1.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh000
Picked011
Done011
Total1102112
Error
0b
Counts
112 → 2
Alt Table
StatusErrorProgram
0.1b
(*.f64 1/2 (fma.f64 2/7 (pow.f64 x 7) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))
58.8b
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
Compiler

Compiled 1904 to 1554 computations (18.4% saved)

regimes38.0ms (0.8%)

Accuracy

Total -58.7b remaining (-51749.7%)

Threshold costs -58.7b (-51749.7%)

Counts
24 → 1
Compiler

Compiled 381 to 287 computations (24.7% saved)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02134
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 1/2 (+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))))
Outputs
(*.f64 1/2 (+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))))

end54.0ms (1.1%)

Stop Event
done
Compiler

Compiled 80 to 66 computations (17.5% saved)

Profiling

Loading profile data...