Details

Time bar (total: 999.0ms)

analyze5.0ms (0.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
99.9%0.1%0%13
99.9%0%0%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample642.0ms (64.2%)

Results
630.0ms8256×body128valid
Compiler

Compiled 18 to 14 computations (22.2% saved)

preprocess38.0ms (3.8%)

Algorithm
egg-herbie
Rules
468×fma-def_binary64
327×fma-neg_binary64
233×div-sub_binary64
156×times-frac_binary64
137×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11110
21510
32110
42910
53910
65210
76910
88810
912010
1015310
1119510
1228710
1341710
1466910
15129210
16194910
17246910
18264410
19278010
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify28.0ms (2.8%)

Algorithm
egg-herbie
Rules
468×fma-def_binary64
327×fma-neg_binary64
233×div-sub_binary64
156×times-frac_binary64
137×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11110
21510
32110
42910
53910
65210
76910
88810
912010
1015310
1119510
1228710
1341710
1466910
15129210
16194910
17246910
18264410
19278010
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 24 to 18 computations (25% saved)

localize4.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite45.0ms (4.5%)

Algorithm
batch-egg-rewrite
Rules
787×pow1_binary64
737×log1p-expm1-u_binary64
737×expm1-log1p-u_binary64
71×add-sqr-sqrt_binary64
69×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify31.0ms (3.1%)

Algorithm
egg-herbie
Rules
670×fma-neg_binary64
601×fma-def_binary64
418×cancel-sign-sub-inv_binary64
303×associate-/l/_binary64
291×times-frac_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
032151
1102130
2299128
3890128
42653124
Stop Event
node limit
Counts
47 → 49
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 2 x))
(+.f64 1 (+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x)))
(+.f64 1 (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) (*.f64 2 (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 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
-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 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
Outputs
1
(+.f64 1 (*.f64 2 x))
(fma.f64 2 x 1)
(+.f64 1 (+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x)))
(+.f64 1 (*.f64 2 (+.f64 (*.f64 x x) x)))
(fma.f64 2 (fma.f64 x x x) 1)
(+.f64 1 (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) (*.f64 2 (pow.f64 x 3)))))
(+.f64 1 (fma.f64 2 (*.f64 x x) (*.f64 2 (+.f64 x (pow.f64 x 3)))))
(+.f64 1 (*.f64 2 (+.f64 (fma.f64 x x x) (pow.f64 x 3))))
(fma.f64 2 (+.f64 (pow.f64 x 3) (fma.f64 x x x)) 1)
(fma.f64 2 (+.f64 x (*.f64 x (fma.f64 x x x))) 1)
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(-.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))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 -2 x) (-.f64 (/.f64 (/.f64 -2 x) x) 1))
(+.f64 (/.f64 -2 x) (+.f64 -1 (/.f64 (/.f64 -2 x) x)))
(+.f64 -1 (*.f64 (/.f64 1 x) (-.f64 -2 (/.f64 2 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.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 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (-.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 2 x)) (/.f64 (/.f64 -2 x) x)))
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 (/.f64 1 x) x) (+.f64 2 (/.f64 2 x)) 1))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(-.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))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 -2 x) (-.f64 (/.f64 (/.f64 -2 x) x) 1))
(+.f64 (/.f64 -2 x) (+.f64 -1 (/.f64 (/.f64 -2 x) x)))
(+.f64 -1 (*.f64 (/.f64 1 x) (-.f64 -2 (/.f64 2 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.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 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (-.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 2 x)) (/.f64 (/.f64 -2 x) x)))
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 (/.f64 1 x) x) (+.f64 2 (/.f64 2 x)) 1))

prune36.0ms (3.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New47249
Fresh000
Picked011
Done000
Total47350
Error
0b
Counts
50 → 3
Alt Table
StatusErrorProgram
34.2b
(exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
28.8b
(+.f64 -1 (/.f64 -2 x))
Compiler

Compiled 620 to 485 computations (21.8% saved)

localize3.0ms (0.3%)

prune2.0ms (0.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
34.2b
(exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
28.8b
(+.f64 -1 (/.f64 -2 x))
Compiler

Compiled 30 to 23 computations (23.3% saved)

localize7.0ms (0.7%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))

series3.0ms (0.3%)

Counts
1 → 12
Calls

3 calls:

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

rewrite30.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
519×pow1_binary64
484×add-log-exp_binary64
484×expm1-log1p-u_binary64
482×log1p-expm1-u_binary64
475×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify31.0ms (3.1%)

Algorithm
egg-herbie
Rules
805×fma-def_binary64
503×associate-/l/_binary64
369×times-frac_binary64
301×associate-*l*_binary64
198×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039174
1108174
2250174
3603174
41149174
52672174
Stop Event
node limit
Counts
47 → 57
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2 x))
(+.f64 (*.f64 2/5 (pow.f64 x 5)) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2 x)))
(+.f64 (*.f64 2/5 (pow.f64 x 5)) (+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2 x))))
(*.f64 -1 (log.f64 -1))
(-.f64 (*.f64 2 (/.f64 1 x)) (log.f64 -1))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/3 (/.f64 1 (pow.f64 x 3)))) (log.f64 -1))
(-.f64 (+.f64 (*.f64 2/5 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/3 (/.f64 1 (pow.f64 x 3))))) (log.f64 -1))
(log.f64 -1)
(+.f64 (*.f64 2 (/.f64 1 x)) (log.f64 -1))
(+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (log.f64 -1)))
(+.f64 (*.f64 2/5 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (log.f64 -1))))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2 x))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2 x))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2))
(+.f64 (*.f64 2/5 (pow.f64 x 5)) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2 x)))
(fma.f64 2/5 (pow.f64 x 5) (fma.f64 2/3 (pow.f64 x 3) (*.f64 2 x)))
(fma.f64 2/5 (pow.f64 x 5) (fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))))
(fma.f64 2/3 (pow.f64 x 3) (fma.f64 2 x (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))
(fma.f64 x (fma.f64 x (*.f64 x 2/3) 2) (*.f64 2/5 (pow.f64 x 5)))
(+.f64 (*.f64 2/5 (pow.f64 x 5)) (+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2 x))))
(fma.f64 2/5 (pow.f64 x 5) (fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/3 (pow.f64 x 3) (*.f64 2 x))))
(fma.f64 2/5 (pow.f64 x 5) (fma.f64 2/7 (pow.f64 x 7) (fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))))
(fma.f64 2/5 (pow.f64 x 5) (fma.f64 2/3 (pow.f64 x 3) (fma.f64 2/7 (pow.f64 x 7) (*.f64 2 x))))
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/7 (pow.f64 x 7)))))
(fma.f64 2 x (fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))))
(*.f64 -1 (log.f64 -1))
(neg.f64 (log.f64 -1))
(-.f64 (*.f64 2 (/.f64 1 x)) (log.f64 -1))
(-.f64 (/.f64 2 x) (log.f64 -1))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/3 (/.f64 1 (pow.f64 x 3)))) (log.f64 -1))
(+.f64 (/.f64 2 x) (-.f64 (/.f64 2/3 (pow.f64 x 3)) (log.f64 -1)))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (-.f64 (/.f64 2 x) (log.f64 -1)))
(-.f64 (+.f64 (*.f64 2/5 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/3 (/.f64 1 (pow.f64 x 3))))) (log.f64 -1))
(+.f64 (/.f64 2/5 (pow.f64 x 5)) (+.f64 (/.f64 2 x) (-.f64 (/.f64 2/3 (pow.f64 x 3)) (log.f64 -1))))
(+.f64 (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))) (-.f64 (/.f64 2/5 (pow.f64 x 5)) (log.f64 -1)))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (-.f64 (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))) (log.f64 -1)))
(+.f64 (/.f64 2 x) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (-.f64 (/.f64 2/3 (pow.f64 x 3)) (log.f64 -1))))
(+.f64 (/.f64 2 x) (-.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (/.f64 -2/5 (pow.f64 x 5)))))
(log.f64 -1)
(+.f64 (*.f64 2 (/.f64 1 x)) (log.f64 -1))
(+.f64 (log.f64 -1) (/.f64 2 x))
(+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (log.f64 -1)))
(+.f64 (/.f64 2 x) (+.f64 (log.f64 -1) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (/.f64 2 x)))
(+.f64 (*.f64 2/5 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (log.f64 -1))))
(+.f64 (/.f64 2/5 (pow.f64 x 5)) (+.f64 (/.f64 2 x) (+.f64 (log.f64 -1) (/.f64 2/3 (pow.f64 x 3)))))
(+.f64 (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))) (+.f64 (log.f64 -1) (/.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)))))
(+.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)))))

prune25.0ms (2.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New57057
Fresh000
Picked011
Done022
Total57360
Error
0b
Counts
60 → 3
Alt Table
StatusErrorProgram
34.2b
(exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
28.8b
(+.f64 -1 (/.f64 -2 x))
Compiler

Compiled 802 to 460 computations (42.6% saved)

regimes19.0ms (1.9%)

Accuracy

Total 0.0b remaining (94.9%)

Threshold costs 0.0b (94.9%)

Counts
19 → 1
Compiler

Compiled 155 to 117 computations (24.5% saved)

simplify2.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11110
21510
31710
41810
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))

end45.0ms (4.5%)

Stop Event
done
Compiler

Compiled 38 to 29 computations (23.7% saved)

Profiling

Loading profile data...