Details

Time bar (total: 2.8s)

analyze2.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%74.6%25.4%0%0%0%0
0%0%74.6%25.4%0%0%0%1
50%37.3%37.3%25.4%0%0%0%2
66.7%37.3%18.7%25.4%18.7%0%0%3
83.3%46.7%9.3%25.4%18.7%0%0%4
90.9%46.7%4.7%25.4%23.3%0%0%5
95.5%49%2.3%25.4%23.3%0%0%6
97.7%49%1.2%25.4%24.5%0%0%7
98.8%49.6%0.6%25.4%24.5%0%0%8
99.4%49.9%0.3%25.4%24.5%0%0%9
99.7%49.9%0.1%25.4%24.6%0%0%10
99.9%49.9%0.1%25.4%24.7%0%0%11
99.9%49.9%0%25.4%24.7%0%0%12
Compiler

Compiled 8 to 6 computations (25% saved)

sample2.0s (69.9%)

Results
1.2s4140×body1024valid
374.0ms2029×body512valid
168.0ms1649×body256valid
153.0ms438×body2048valid
0.0msbody256infinite
Bogosity

preprocess16.0ms (0.6%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
expm1-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
053
1113
2123
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 (exp.f64 x) 1)
Outputs
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify33.0ms (1.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
expm1-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
053
1113
2123
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) 1)
Outputs
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)

eval1.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% 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
(expm1.f64 x)
Compiler

Compiled 3 to 2 computations (33.3% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 x)
Compiler

Compiled 4 to 2 computations (50% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(expm1.f64 x)
0.0ms
x
@inf
(expm1.f64 x)
0.0ms
x
@-inf
(expm1.f64 x)

rewrite87.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
382×expm1-udef_binary64
382×log1p-udef_binary64
255×associate-*r*_binary64
252×pow1_binary64
244×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
1573
26403
369853
Stop Event
node limit
Counts
1 → 63
Calls
Call 1
Inputs
(expm1.f64 x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 x)))) (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (expm1.f64 x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (expm1.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 x) 3) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x)))) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x))) (/.f64 1 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 x)) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (cbrt.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 x)) (sqrt.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 x))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 x))) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 x) 1/6) (*.f64 (pow.f64 (expm1.f64 x) 1/6) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 4))) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 x))) 2) (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 x) 1/4) (sqrt.f64 (pow.f64 (expm1.f64 x) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 x) 1/4) (*.f64 (pow.f64 (expm1.f64 x) 1/4) (sqrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (/.f64 1 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (expm1.f64 x)) (pow.f64 (expm1.f64 x) 1/4)) (pow.f64 (expm1.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 5/2)) (pow.f64 (expm1.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 4)) 2)) (cbrt.f64 (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (expm1.f64 x) 3/2)) (pow.f64 (expm1.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 5)) (pow.f64 (expm1.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 4)) 2) 1/3) (cbrt.f64 (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (expm1.f64 x) 5/2) 1/3) (pow.f64 (expm1.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (expm1.f64 x)) (cbrt.f64 (expm1.f64 x))) (pow.f64 (expm1.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (exp.f64 x)) 1) (-.f64 (sqrt.f64 (exp.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (expm1.f64 x)) (cbrt.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 4)))) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 x))) 2)) (cbrt.f64 (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (pow.f64 (expm1.f64 x) 1/6)) (pow.f64 (expm1.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x))) (+.f64 (pow.f64 (exp.f64 x) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (exp.f64 x)) (fma.f64 (exp.f64 x) (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (*.f64 (exp.f64 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (+.f64 1 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1)) (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1)) (neg.f64 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1) 1) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) 1) (+.f64 1 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (pow.f64 (log.f64 (expm1.f64 x)) 2))) (cbrt.f64 (log.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (expm1.f64 x)))) (sqrt.f64 (log.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (expm1.f64 x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (expm1.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (expm1.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) -1)))))

simplify71.0ms (2.5%)

Algorithm
egg-herbie
Rules
881×fma-def_binary64
803×unswap-sqr_binary64
610×associate-/l/_binary64
507×distribute-lft-out_binary64
349×*-commutative_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02270
15970
212670
337264
4116463
5303463
6509863
7541963
8617663
Stop Event
node limit
Counts
75 → 71
Calls
Call 1
Inputs
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
Outputs
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x)
(fma.f64 1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x 1/2 1))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x))
(fma.f64 x (*.f64 x 1/2) (fma.f64 1/6 (pow.f64 x 3) x))
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/24 (pow.f64 x 4) x)))
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) (fma.f64 1/24 (pow.f64 x 4) x))
(fma.f64 x (*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/24 1/6)))) x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)

eval16.0ms (0.6%)

Compiler

Compiled 721 to 392 computations (45.6% saved)

prune9.0ms (0.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New69271
Fresh000
Picked011
Done000
Total69372
Error
0b
Counts
72 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(expm1.f64 x)
1.1b
x
59.1b
(/.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1))
Compiler

Compiled 17 to 10 computations (41.2% saved)

localize10.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1))
0.0b
(-.f64 (exp.f64 x) -1)
3.5b
(fma.f64 (exp.f64 x) (exp.f64 x) -1)
Compiler

Compiled 26 to 12 computations (53.8% saved)

series4.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

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

rewrite91.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
780×pow1_binary64
724×add-log-exp_binary64
724×log1p-expm1-u_binary64
724×expm1-log1p-u_binary64
709×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify69.0ms (2.5%)

Algorithm
egg-herbie
Rules
700×distribute-rgt-out_binary64
700×fma-def_binary64
529×distribute-lft-out_binary64
389×times-frac_binary64
375×*-commutative_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
039393
1112389
2275337
3845324
42698236
55054236
66788236
Stop Event
node limit
Counts
130 → 118
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))))
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
2
(+.f64 2 x)
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
(+.f64 1 (exp.f64 x))
(+.f64 1 (exp.f64 x))
(+.f64 1 (exp.f64 x))
(+.f64 1 (exp.f64 x))
(+.f64 1 (exp.f64 x))
(+.f64 1 (exp.f64 x))
(+.f64 1 (exp.f64 x))
(+.f64 1 (exp.f64 x))
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
Outputs
(*.f64 2 x)
(+.f64 x x)
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x))
(*.f64 2 (+.f64 (*.f64 x x) x))
(*.f64 2 (fma.f64 x x x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))
(fma.f64 2 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 3) (*.f64 2 x)))
(+.f64 (*.f64 2 (fma.f64 x x x)) (*.f64 4/3 (pow.f64 x 3)))
(fma.f64 2 (fma.f64 x x x) (*.f64 4/3 (pow.f64 x 3)))
(*.f64 x (+.f64 2 (*.f64 x (fma.f64 x 4/3 2))))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))))
(fma.f64 2 (*.f64 x x) (fma.f64 2/3 (pow.f64 x 4) (fma.f64 4/3 (pow.f64 x 3) (*.f64 2 x))))
(+.f64 (fma.f64 2/3 (pow.f64 x 4) (*.f64 4/3 (pow.f64 x 3))) (*.f64 2 (fma.f64 x x x)))
(fma.f64 2/3 (pow.f64 x 4) (fma.f64 2 (fma.f64 x x x) (*.f64 4/3 (pow.f64 x 3))))
(fma.f64 2 (fma.f64 x x x) (*.f64 (pow.f64 x 3) (+.f64 4/3 (*.f64 x 2/3))))
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(+.f64 (pow.f64 (exp.f64 x) 2) -1)
(expm1.f64 (+.f64 x x))
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(+.f64 (pow.f64 (exp.f64 x) 2) -1)
(expm1.f64 (+.f64 x x))
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(+.f64 (pow.f64 (exp.f64 x) 2) -1)
(expm1.f64 (+.f64 x x))
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(+.f64 (pow.f64 (exp.f64 x) 2) -1)
(expm1.f64 (+.f64 x x))
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(+.f64 (pow.f64 (exp.f64 x) 2) -1)
(expm1.f64 (+.f64 x x))
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(+.f64 (pow.f64 (exp.f64 x) 2) -1)
(expm1.f64 (+.f64 x x))
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(+.f64 (pow.f64 (exp.f64 x) 2) -1)
(expm1.f64 (+.f64 x x))
(-.f64 (pow.f64 (exp.f64 x) 2) 1)
(+.f64 (pow.f64 (exp.f64 x) 2) -1)
(expm1.f64 (+.f64 x x))
2
(+.f64 2 x)
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 2 (fma.f64 1/2 (*.f64 x x) x))
(+.f64 2 (fma.f64 (*.f64 x x) 1/2 x))
(+.f64 2 (fma.f64 x (*.f64 x 1/2) x))
(fma.f64 (fma.f64 x 1/2 1) x 2)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
(fma.f64 1/6 (pow.f64 x 3) (+.f64 2 (fma.f64 1/2 (*.f64 x x) x)))
(+.f64 (fma.f64 (*.f64 x x) 1/2 x) (fma.f64 (pow.f64 x 3) 1/6 2))
(+.f64 (fma.f64 x (*.f64 x 1/2) x) (fma.f64 (pow.f64 x 3) 1/6 2))
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) (+.f64 2 x))
(+.f64 1 (exp.f64 x))
(+.f64 (exp.f64 x) 1)
(+.f64 1 (exp.f64 x))
(+.f64 (exp.f64 x) 1)
(+.f64 1 (exp.f64 x))
(+.f64 (exp.f64 x) 1)
(+.f64 1 (exp.f64 x))
(+.f64 (exp.f64 x) 1)
(+.f64 1 (exp.f64 x))
(+.f64 (exp.f64 x) 1)
(+.f64 1 (exp.f64 x))
(+.f64 (exp.f64 x) 1)
(+.f64 1 (exp.f64 x))
(+.f64 (exp.f64 x) 1)
(+.f64 1 (exp.f64 x))
(+.f64 (exp.f64 x) 1)
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x)
(fma.f64 1/2 (*.f64 x x) x)
(fma.f64 (*.f64 x x) 1/2 x)
(fma.f64 x (*.f64 x 1/2) x)
(*.f64 x (fma.f64 x 1/2 1))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x))
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (*.f64 x x) 1/2 x))
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 3) 1/6 x))
(fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) x)))
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (*.f64 x x) 1/2 (fma.f64 (pow.f64 x 4) 1/24 x)))
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 4) 1/24 x)))
(fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) (fma.f64 (pow.f64 x 4) 1/24 x))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
(expm1.f64 x)
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
(expm1.f64 x)
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
(expm1.f64 x)
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
(expm1.f64 x)
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
(expm1.f64 x)
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
(expm1.f64 x)
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
(expm1.f64 x)
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
(expm1.f64 x)

eval51.0ms (1.8%)

Compiler

Compiled 1719 to 1106 computations (35.7% saved)

prune16.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1171118
Fresh011
Picked101
Done011
Total1183121
Error
0b
Counts
121 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(expm1.f64 x)
1.1b
x
0.0b
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1))
Compiler

Compiled 15 to 10 computations (33.3% saved)

localize10.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

Compiled 25 to 10 computations (60% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite187.0ms (6.7%)

Algorithm
batch-egg-rewrite
Rules
876×pow1_binary64
818×add-log-exp_binary64
816×log1p-expm1-u_binary64
816×expm1-log1p-u_binary64
802×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify74.0ms (2.6%)

Algorithm
egg-herbie
Rules
729×fma-def_binary64
567×distribute-lft-out_binary64
387×distribute-rgt-out_binary64
340×distribute-rgt-neg-in_binary64
297×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042263
1119259
2292255
3984247
43763247
57827247
Stop Event
node limit
Counts
84 → 81
Calls
Call 1
Inputs
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x)))
(*.f64 2 x)
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1)
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1)
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1)
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1)
Outputs
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x)
(fma.f64 1/2 (*.f64 x x) x)
(fma.f64 x (*.f64 x 1/2) x)
(*.f64 x (fma.f64 x 1/2 1))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 x (*.f64 x 1/2) x))
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) x)
(fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) x)))
(fma.f64 x (*.f64 x 1/2) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/24 (pow.f64 x 4) x)))
(fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) (fma.f64 1/24 (pow.f64 x 4) x))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x)))
(*.f64 2 x)
(*.f64 x 2)
(+.f64 x x)
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x))
(*.f64 2 (+.f64 (*.f64 x x) x))
(*.f64 2 (fma.f64 x x x))
(*.f64 x (fma.f64 x 2 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))
(fma.f64 2 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 3) (*.f64 x 2)))
(+.f64 (*.f64 2 (fma.f64 x x x)) (*.f64 (pow.f64 x 3) 4/3))
(fma.f64 2 (fma.f64 x x x) (*.f64 (pow.f64 x 3) 4/3))
(*.f64 x (-.f64 (*.f64 x (fma.f64 x 4/3 2)) -2))
(*.f64 x (+.f64 2 (*.f64 x (fma.f64 x 4/3 2))))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))))
(fma.f64 2 (*.f64 x x) (fma.f64 2/3 (pow.f64 x 4) (fma.f64 4/3 (pow.f64 x 3) (*.f64 x 2))))
(+.f64 (fma.f64 (pow.f64 x 4) 2/3 (*.f64 (pow.f64 x 3) 4/3)) (*.f64 2 (fma.f64 x x x)))
(fma.f64 (pow.f64 x 4) 2/3 (fma.f64 2 (fma.f64 x x x) (*.f64 (pow.f64 x 3) 4/3)))
(fma.f64 x (fma.f64 x 2 2) (*.f64 (pow.f64 x 3) (+.f64 (*.f64 x 2/3) 4/3)))
(fma.f64 x (fma.f64 x 2 2) (*.f64 (pow.f64 x 3) (+.f64 4/3 (*.f64 x 2/3))))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (*.f64 2 x)) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1)
(expm1.f64 (*.f64 x 2))
(expm1.f64 (+.f64 x x))

eval33.0ms (1.2%)

Compiler

Compiled 1529 to 830 computations (45.7% saved)

prune14.0ms (0.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh011
Picked011
Done011
Total1173120
Error
0b
Counts
120 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(expm1.f64 x)
1.1b
x
0.0b
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1))
Compiler

Compiled 15 to 10 computations (33.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(expm1.f64 x)
1.1b
x
0.0b
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1))
Compiler

Compiled 15 to 10 computations (33.3% saved)

regimes14.0ms (0.5%)

Accuracy

Total -59.7b remaining (-1527165.5%)

Threshold costs -59.7b (-1527165.5%)

Counts
5 → 1
Calls
Call 1
Inputs
x
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1))
(/.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1))
Outputs
(expm1.f64 x)
Calls

4 calls:

6.0ms
x
2.0ms
(-.f64 (exp.f64 x) 1)
2.0ms
(exp.f64 x)
2.0ms
(exp.f64 x)
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(-.f64 (exp.f64 x) 1)
0.0b1(exp.f64 x)
0.0b1(exp.f64 x)
Compiler

Compiled 41 to 24 computations (41.5% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(expm1.f64 x)
x
Outputs
(expm1.f64 x)
x
Compiler

Compiled 5 to 3 computations (40% saved)

soundness7.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
expm1-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
053
1113
2123
Stop Event
saturated
Compiler

Compiled 8 to 6 computations (25% saved)

end16.0ms (0.6%)

Compiler

Compiled 4 to 2 computations (50% saved)

Profiling

Loading profile data...