Details

Time bar (total: 2.9s)

analyze7.0ms (0.3%)

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

Compiled 9 to 7 computations (22.2% saved)

sample1.3s (45.2%)

Results
1.3s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 18 to 14 computations (22.2% saved)

preprocess58.0ms (2%)

Algorithm
egg-herbie
Rules
479×rules-20_binary64
243×rules-24_binary64
224×rules-22_binary64
215×rules-24-rev_binary64
188×rules-4_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1199
2457
31427
45097
523437
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Outputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify37.0ms (1.3%)

Algorithm
egg-herbie
Rules
479×rules-20_binary64
243×rules-24_binary64
224×rules-22_binary64
215×rules-24-rev_binary64
188×rules-4_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0711
1199
2457
31427
45097
523437
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Outputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

prune4.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 25 to 17 computations (32% saved)

localize7.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 4
Calls

3 calls:

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

rewrite40.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
426×pow1_binary64
426×rules-40_binary64
426×rules-41_binary64
426×rules-42_binary64
426×rules-43_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify31.0ms (1.1%)

Algorithm
egg-herbie
Rules
616×rules-6_binary64
342×rules-1_binary64
339×rules-20_binary64
274×rules-1-rev_binary64
247×rules-14-rev_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02281
16963
229256
3136056
Stop Event
node limit
Counts
34 → 37
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
Outputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))))
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))))
(fma.f64 (exp.f64 -1) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) (*.f64 x x))) (exp.f64 -1))

prune62.0ms (2.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New33437
Fresh000
Picked101
Done000
Total34438
Error
0b
Counts
38 → 4
Alt Table
StatusErrorProgram
0.0b
(-.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)
0.0b
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
0.0b
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
0.0b
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
Compiler

Compiled 472 to 358 computations (24.2% saved)

localize13.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))
1.0b
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
1.0b
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))

series325.0ms (11.4%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
158.0ms
x
@inf
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
153.0ms
x
@-inf
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
10.0ms
x
@0
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
2.0ms
x
@0
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
1.0ms
x
@inf
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))

rewrite61.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
518×rules-40_binary64
518×rules-41_binary64
518×rules-42_binary64
518×rules-43_binary64
476×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify45.0ms (1.6%)

Algorithm
egg-herbie
Rules
418×rules-13_binary64
399×rules-4_binary64
237×rules-20_binary64
228×rules-6_binary64
204×rules-11_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
056453
1202414
2993408
Stop Event
node limit
Counts
82 → 75
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(log.f64 (+.f64 1 (exp.f64 -1)))
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 1 (exp.f64 -1)))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))))
(-.f64 (+.f64 (*.f64 1/3 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))) (+.f64 (*.f64 1/6 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 1 (exp.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 1 (exp.f64 -1)))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))))) (+.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 6)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2)))))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
Outputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))))
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (+.f64 1 (*.f64 1/6 (pow.f64 x 6))) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(log.f64 (+.f64 1 (exp.f64 -1)))
(log1p.f64 (exp.f64 -1))
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))
(+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)))
(fma.f64 (exp.f64 -1) (*.f64 x (/.f64 x (+.f64 (exp.f64 -1) 1))) (log1p.f64 (exp.f64 -1)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 1 (exp.f64 -1)))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))))
(-.f64 (fma.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 (exp.f64 -1) 1)) (+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)))) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 x 4) (pow.f64 (exp.f64 -1) 2)) (pow.f64 (+.f64 (exp.f64 -1) 1) 2))))
(-.f64 (fma.f64 (exp.f64 -1) (*.f64 x (/.f64 x (+.f64 (exp.f64 -1) 1))) (log1p.f64 (exp.f64 -1))) (*.f64 1/2 (-.f64 (*.f64 (pow.f64 x 4) (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2))) (*.f64 (exp.f64 -1) (/.f64 (pow.f64 x 4) (+.f64 (exp.f64 -1) 1))))))
(-.f64 (*.f64 (exp.f64 -1) (+.f64 (*.f64 x (/.f64 x (+.f64 (exp.f64 -1) 1))) (*.f64 1/2 (/.f64 (pow.f64 x 4) (+.f64 (exp.f64 -1) 1))))) (-.f64 (*.f64 (exp.f64 -2) (/.f64 (pow.f64 x 4) (/.f64 (pow.f64 (+.f64 (exp.f64 -1) 1) 2) 1/2))) (log1p.f64 (exp.f64 -1))))
(-.f64 (+.f64 (*.f64 1/3 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))) (+.f64 (*.f64 1/6 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 1 (exp.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 1 (exp.f64 -1)))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))))) (+.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 6)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2)))))
(-.f64 (fma.f64 1/3 (/.f64 (*.f64 (pow.f64 x 6) (pow.f64 (exp.f64 -1) 3)) (pow.f64 (+.f64 (exp.f64 -1) 1) 3)) (fma.f64 1/6 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (exp.f64 -1) 1)) (fma.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 (exp.f64 -1) 1)) (+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)))))) (*.f64 1/2 (+.f64 (/.f64 (*.f64 (pow.f64 x 4) (pow.f64 (exp.f64 -1) 2)) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (*.f64 (pow.f64 (exp.f64 -1) 2) (/.f64 (pow.f64 x 6) (pow.f64 (+.f64 (exp.f64 -1) 1) 2))))))
(-.f64 (fma.f64 1/3 (*.f64 (pow.f64 x 6) (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3))) (fma.f64 1/6 (*.f64 (exp.f64 -1) (/.f64 (pow.f64 x 6) (+.f64 (exp.f64 -1) 1))) (fma.f64 (exp.f64 -1) (*.f64 x (/.f64 x (+.f64 (exp.f64 -1) 1))) (fma.f64 1/2 (*.f64 (exp.f64 -1) (/.f64 (pow.f64 x 4) (+.f64 (exp.f64 -1) 1))) (log1p.f64 (exp.f64 -1)))))) (*.f64 1/2 (*.f64 (exp.f64 -2) (+.f64 (/.f64 (pow.f64 x 4) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (/.f64 (pow.f64 x 6) (pow.f64 (+.f64 (exp.f64 -1) 1) 2))))))
(-.f64 (+.f64 (log1p.f64 (exp.f64 -1)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 x (/.f64 x (+.f64 (exp.f64 -1) 1))) (*.f64 1/2 (/.f64 (pow.f64 x 4) (+.f64 (exp.f64 -1) 1)))))) (-.f64 (*.f64 1/2 (*.f64 (exp.f64 -2) (+.f64 (/.f64 (pow.f64 x 6) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (/.f64 (pow.f64 x 4) (pow.f64 (+.f64 (exp.f64 -1) 1) 2))))) (*.f64 (pow.f64 x 6) (+.f64 (*.f64 1/3 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3))) (*.f64 (exp.f64 -1) (/.f64 1/6 (+.f64 (exp.f64 -1) 1)))))))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))

prune161.0ms (5.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1120112
Fresh033
Picked011
Done000
Total1124116
Error
0b
Counts
116 → 4
Alt Table
StatusErrorProgram
0.0b
(-.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)
0.0b
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
0.0b
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
0.0b
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
Compiler

Compiled 1646 to 1329 computations (19.3% saved)

localize10.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))

series8.0ms (0.3%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@inf
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
3.0ms
x
@-inf
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
2.0ms
x
@0
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))

rewrite59.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
603×rules-40_binary64
603×rules-41_binary64
603×rules-42_binary64
603×rules-43_binary64
558×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify31.0ms (1.1%)

Algorithm
egg-herbie
Rules
615×rules-6_binary64
346×rules-1_binary64
342×rules-20_binary64
276×rules-1-rev_binary64
249×rules-14-rev_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
024153
174119
2303112
31375112
Stop Event
node limit
Counts
45 → 41
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
Outputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))))
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 1/6 (pow.f64 x 6) (*.f64 1/2 (pow.f64 x 4))) (fma.f64 x x 1)))
(fma.f64 (exp.f64 -1) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

prune54.0ms (1.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh022
Picked011
Done011
Total41445
Error
0b
Counts
45 → 4
Alt Table
StatusErrorProgram
0.0b
(-.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)
0.0b
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
0.0b
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
0.0b
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
Compiler

Compiled 480 to 356 computations (25.8% saved)

localize12.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (exp.f64 (fma.f64 x x -1)))
0.0b
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
0.0b
(exp.f64 (fma.f64 x x -1))

series16.0ms (0.6%)

Counts
2 → 16
Calls

6 calls:

TimeVariablePointExpression
4.0ms
x
@-inf
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
4.0ms
x
@inf
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
3.0ms
x
@0
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
2.0ms
x
@0
(sqrt.f64 (exp.f64 (fma.f64 x x -1)))
2.0ms
x
@-inf
(sqrt.f64 (exp.f64 (fma.f64 x x -1)))

rewrite56.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
581×rules-40_binary64
581×rules-41_binary64
581×rules-42_binary64
581×rules-43_binary64
539×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify49.0ms (1.7%)

Algorithm
egg-herbie
Rules
545×rules-14-rev_binary64
515×fma-def_binary64
499×rules-21_binary64
379×rules-13_binary64
326×rules-10-rev_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
038247
1128217
2575187
32937187
Stop Event
node limit
Counts
81 → 79
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(sqrt.f64 (exp.f64 -1))
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2))))
(+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/8 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 4))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))))
(+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/48 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 6))) (+.f64 (*.f64 1/8 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 4))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2))))))
Outputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))))
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(sqrt.f64 (exp.f64 -1))
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2))))
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 (*.f64 x x) (*.f64 1/2 (sqrt.f64 (exp.f64 -1)))))
(fma.f64 (*.f64 x x) (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) (sqrt.f64 (exp.f64 -1)))
(*.f64 (sqrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 x x) 1/2 1))
(+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/8 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 4))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))))
(+.f64 (sqrt.f64 (exp.f64 -1)) (fma.f64 1/8 (*.f64 (pow.f64 x 4) (sqrt.f64 (exp.f64 -1))) (*.f64 (*.f64 x x) (*.f64 1/2 (sqrt.f64 (exp.f64 -1))))))
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 (*.f64 x x) 1/2) (*.f64 (pow.f64 x 4) 1/8))))
(*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (fma.f64 (pow.f64 x 4) 1/8 (*.f64 x (*.f64 1/2 x))) 1))
(*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 x (*.f64 1/2 x)) (fma.f64 (pow.f64 x 4) 1/8 1)))
(+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/48 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 6))) (+.f64 (*.f64 1/8 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 4))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2))))))
(+.f64 (sqrt.f64 (exp.f64 -1)) (fma.f64 1/48 (*.f64 (pow.f64 x 6) (sqrt.f64 (exp.f64 -1))) (fma.f64 1/8 (*.f64 (pow.f64 x 4) (sqrt.f64 (exp.f64 -1))) (*.f64 (*.f64 x x) (*.f64 1/2 (sqrt.f64 (exp.f64 -1)))))))
(+.f64 (fma.f64 (*.f64 x x) (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) (sqrt.f64 (exp.f64 -1))) (*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 (pow.f64 x 6) 1/48) (*.f64 (pow.f64 x 4) 1/8))))
(*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (fma.f64 (pow.f64 x 6) 1/48 (*.f64 (pow.f64 x 4) 1/8)) (fma.f64 (*.f64 x x) 1/2 1)))
(*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 1 (fma.f64 (pow.f64 x 6) 1/48 (fma.f64 (*.f64 x x) 1/2 (*.f64 (pow.f64 x 4) 1/8)))))

prune164.0ms (5.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1160116
Fresh011
Picked011
Done022
Total1164120
Error
0b
Counts
120 → 4
Alt Table
StatusErrorProgram
0.0b
(-.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)
0.0b
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
0.0b
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
0.0b
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
Compiler

Compiled 1588 to 1254 computations (21% saved)

regimes140.0ms (4.9%)

Accuracy

Total 0.0b remaining (43.7%)

Threshold costs 0.0b (43.7%)

Counts
17 → 1
Compiler

Compiled 898 to 719 computations (19.9% saved)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
Stop Event
saturated
Calls
Call 1
Inputs
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
Outputs
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))

end108.0ms (3.8%)

Stop Event
fuel
Compiler

Compiled 51 to 39 computations (23.5% saved)

Profiling

Loading profile data...