Details

Time bar (total: 2.0s)

analyze5.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)

sample863.0ms (43.5%)

Results
850.0ms8256×body128valid
0.0msbody128invalid

preprocess28.0ms (1.4%)

Algorithm
egg-herbie
Rules
417×times-frac_binary64
412×associate-/l*_binary64
360×associate-/r*_binary64
350×associate-*l*_binary64
200×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616137
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 -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)

simplify20.0ms (1%)

Algorithm
egg-herbie
Rules
417×times-frac_binary64
412×associate-/l*_binary64
360×associate-/r*_binary64
350×associate-*l*_binary64
200×distribute-rgt-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616137
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 -1 (*.f64 x x)))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

eval1.0ms (0%)

Compiler

Compiled 13 to 9 computations (30.8% saved)

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.1b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 12 to 8 computations (33.3% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series1.0ms (0.1%)

Counts
1 → 4
Calls

3 calls:

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

rewrite41.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
394×pow1_binary64
361×add-log-exp_binary64
361×log1p-expm1-u_binary64
361×expm1-log1p-u_binary64
353×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1907
29717
Stop Event
node limit
Counts
1 → 20
Calls
Call 1
Inputs
(exp.f64 (fma.f64 x x -1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (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 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 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (fma.f64 x x -1))))) (#(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 sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(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 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 expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))))

simplify47.0ms (2.4%)

Algorithm
egg-herbie
Rules
705×distribute-lft-out_binary64
385×*-commutative_binary64
343×associate-*l*_binary64
341×distribute-rgt-out_binary64
338×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02179
15175
212863
343056
4178656
5352556
6453356
Stop Event
node limit
Counts
24 → 27
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))
(*.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 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))))
(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/2 (pow.f64 x 4)) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 1/2 (pow.f64 x 4) 1) (fma.f64 1/6 (pow.f64 x 6) (*.f64 x x))))

eval8.0ms (0.4%)

Compiler

Compiled 276 to 210 computations (23.9% saved)

prune42.0ms (2.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24327
Fresh000
Picked011
Done000
Total24428
Error
0.0b
Counts
28 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(exp.f64 (fma.f64 x x -1))
0.1b
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
0.1b
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
2.0b
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)
Compiler

Compiled 60 to 46 computations (23.3% saved)

localize17.0ms (0.9%)

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.1b
(exp.f64 (fma.f64 x x -1))

series4.0ms (0.2%)

Counts
2 → 16
Calls

6 calls:

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

rewrite39.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
540×pow1_binary64
499×add-log-exp_binary64
499×log1p-expm1-u_binary64
499×expm1-log1p-u_binary64
487×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
115516
2140116
Stop Event
node limit
Counts
2 → 38
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 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (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 (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 (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (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 (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (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 sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(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 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 exp.f64 (fma.f64 x x -1))))) (#(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 -.f64 (+.f64 1 (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 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 1 1/2) (sqrt.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 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 cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2))))) (#(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 exp.f64 (*.f64 (fma.f64 x x -1) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))))

simplify24.0ms (1.2%)

Algorithm
egg-herbie
Rules
416×*-commutative_binary64
383×distribute-rgt-in_binary64
364×distribute-lft-in_binary64
265×fma-def_binary64
245×associate-+l+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
050340
1143327
2414279
31799239
Stop Event
node limit
Counts
54 → 52
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/4 (exp.f64 -1))) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)))
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/4 (exp.f64 -1))) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -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 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/6 (exp.f64 -1)) (*.f64 1/2 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)))) (pow.f64 x 6)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2))))))
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/4 (exp.f64 -1))) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)))
(fma.f64 (-.f64 (*.f64 (exp.f64 -1) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4) (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)))
(fma.f64 (-.f64 (*.f64 (exp.f64 -1) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4) (*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)))
(fma.f64 (fma.f64 (exp.f64 -1) 3/4 (*.f64 (exp.f64 -1) -1/4)) (pow.f64 x 4) (*.f64 (exp.f64 -1) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/4 (exp.f64 -1))) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))))
(fma.f64 (-.f64 (*.f64 (exp.f64 -1) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))))
(fma.f64 (-.f64 (*.f64 (exp.f64 -1) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))))
(fma.f64 (fma.f64 (exp.f64 -1) 3/4 (*.f64 (exp.f64 -1) -1/4)) (pow.f64 x 4) (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/6 (pow.f64 x 6)))))
(*.f64 (exp.f64 -1) (+.f64 (+.f64 (fma.f64 x x 1) (*.f64 1/6 (pow.f64 x 6))) (*.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))
(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 1/2 (*.f64 (*.f64 x x) (sqrt.f64 (exp.f64 -1)))))
(fma.f64 1/2 (*.f64 x (*.f64 x (sqrt.f64 (exp.f64 -1)))) (sqrt.f64 (exp.f64 -1)))
(*.f64 (+.f64 (*.f64 (*.f64 x x) 1/2) 1) (sqrt.f64 (exp.f64 -1)))
(*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 1 (*.f64 x (*.f64 x 1/2))))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))))
(fma.f64 1/2 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (*.f64 (pow.f64 x 4) (sqrt.f64 (exp.f64 1)))) (+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 (exp.f64 -1))))))
(fma.f64 1/2 (*.f64 (pow.f64 x 4) (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (sqrt.f64 (E.f64)))) (fma.f64 1/2 (*.f64 x (*.f64 x (sqrt.f64 (exp.f64 -1)))) (sqrt.f64 (exp.f64 -1))))
(fma.f64 1/2 (*.f64 (fma.f64 (exp.f64 -1) 1/2 (*.f64 (exp.f64 -1) -1/4)) (*.f64 (pow.f64 x 4) (sqrt.f64 (E.f64)))) (*.f64 (+.f64 (*.f64 (*.f64 x x) 1/2) 1) (sqrt.f64 (exp.f64 -1))))
(fma.f64 1/2 (*.f64 (*.f64 (exp.f64 -1) 1/4) (*.f64 (pow.f64 x 4) (sqrt.f64 (E.f64)))) (*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 1 (*.f64 x (*.f64 x 1/2)))))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (pow.f64 x 4)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/6 (exp.f64 -1)) (*.f64 1/2 (-.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)))) (pow.f64 x 6)) (sqrt.f64 (/.f64 1 (exp.f64 -1))))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2))))))
(fma.f64 1/2 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (*.f64 (pow.f64 x 4) (sqrt.f64 (exp.f64 1)))) (+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (+.f64 (*.f64 (sqrt.f64 (exp.f64 1)) (*.f64 (pow.f64 x 6) (+.f64 (*.f64 (exp.f64 -1) 1/6) (*.f64 -1/2 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)))))) (*.f64 (*.f64 x x) (sqrt.f64 (exp.f64 -1)))))))
(fma.f64 1/2 (*.f64 (pow.f64 x 4) (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) (sqrt.f64 (E.f64)))) (fma.f64 1/2 (fma.f64 (fma.f64 (exp.f64 -1) 1/6 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) 2)) -1/2)) (*.f64 (pow.f64 x 6) (sqrt.f64 (E.f64))) (*.f64 x (*.f64 x (sqrt.f64 (exp.f64 -1))))) (sqrt.f64 (exp.f64 -1))))
(fma.f64 1/2 (fma.f64 x (*.f64 x (sqrt.f64 (exp.f64 -1))) (*.f64 (fma.f64 (fma.f64 (exp.f64 -1) 1/2 (*.f64 (exp.f64 -1) -1/4)) -1/2 (*.f64 (exp.f64 -1) 1/6)) (*.f64 (pow.f64 x 6) (sqrt.f64 (E.f64))))) (fma.f64 1/2 (*.f64 (fma.f64 (exp.f64 -1) 1/2 (*.f64 (exp.f64 -1) -1/4)) (*.f64 (pow.f64 x 4) (sqrt.f64 (E.f64)))) (sqrt.f64 (exp.f64 -1))))
(+.f64 (*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 1 (*.f64 x (*.f64 x 1/2)))) (*.f64 (*.f64 1/2 (sqrt.f64 (E.f64))) (+.f64 (*.f64 (pow.f64 x 6) (fma.f64 (exp.f64 -1) 1/6 (*.f64 1/2 (*.f64 (exp.f64 -1) -1/4)))) (*.f64 (*.f64 (exp.f64 -1) 1/4) (pow.f64 x 4)))))

eval37.0ms (1.9%)

Compiler

Compiled 1142 to 934 computations (18.2% saved)

prune159.0ms (8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New78179
Fresh112
Picked011
Done011
Total79483
Error
0.0b
Counts
83 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(exp.f64 (fma.f64 x x -1))
0.1b
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
0.1b
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
2.0b
(pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)) 2)
Compiler

Compiled 57 to 45 computations (21.1% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(exp.f64 (fma.f64 x x -1))
1.0b
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
1.5b
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))

series5.0ms (0.3%)

Counts
2 → 16
Calls

6 calls:

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

rewrite35.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
566×pow1_binary64
531×add-log-exp_binary64
531×log1p-expm1-u_binary64
531×expm1-log1p-u_binary64
518×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify25.0ms (1.3%)

Algorithm
egg-herbie
Rules
770×associate-+l+_binary64
388×distribute-rgt-out_binary64
345×fma-def_binary64
335×distribute-lft-out_binary64
276×distribute-rgt-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
047278
1136263
2441209
32306196
Stop Event
node limit
Counts
59 → 58
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (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))
(pow.f64 (exp.f64 -1) 3)
(+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3)))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 1/6 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (exp.f64 -1) 2)) (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1)) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6)) (pow.f64 (exp.f64 -1) 3))))
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))))
(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/2 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (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))
(pow.f64 (exp.f64 -1) 3)
(exp.f64 -3)
(+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3))
(fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (pow.f64 (exp.f64 -1) 3))
(fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (+.f64 (*.f64 x (*.f64 x 3)) 1) (exp.f64 -3))
(fma.f64 x (*.f64 x (*.f64 3 (exp.f64 -3))) (exp.f64 -3))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (pow.f64 x 4) (fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 x (*.f64 x (*.f64 3 (exp.f64 -3))) (fma.f64 (pow.f64 x 4) (*.f64 (exp.f64 -3) 9/2) (exp.f64 -3)))
(*.f64 (exp.f64 -3) (+.f64 (+.f64 (*.f64 x (*.f64 x 3)) 1) (*.f64 (pow.f64 x 4) 9/2)))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 1/6 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (exp.f64 -1) 2)) (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1)) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6)) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (pow.f64 x 4) (fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (fma.f64 (fma.f64 2 (pow.f64 (exp.f64 -1) 3) (fma.f64 1/6 (pow.f64 (exp.f64 -1) 3) (fma.f64 (*.f64 4/3 (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (fma.f64 (pow.f64 x 6) (+.f64 (*.f64 (exp.f64 -1) (+.f64 (exp.f64 -2) (*.f64 (exp.f64 -2) 4/3))) (*.f64 (pow.f64 (exp.f64 -1) 3) 13/6)) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 x (*.f64 x (*.f64 3 (exp.f64 -3))) (fma.f64 (pow.f64 x 4) (*.f64 (exp.f64 -3) 9/2) (fma.f64 (pow.f64 x 6) (fma.f64 (exp.f64 -3) 13/6 (*.f64 7/3 (exp.f64 -3))) (exp.f64 -3))))
(+.f64 (*.f64 (pow.f64 x 6) (*.f64 (exp.f64 -3) 9/2)) (*.f64 (exp.f64 -3) (+.f64 (+.f64 (*.f64 x (*.f64 x 3)) 1) (*.f64 (pow.f64 x 4) 9/2))))

eval45.0ms (2.3%)

Compiler

Compiled 1167 to 939 computations (19.5% saved)

prune137.0ms (6.9%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New84185
Fresh011
Picked011
Done022
Total84589
Error
0.0b
Counts
89 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(exp.f64 (fma.f64 x x -1))
0.1b
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
0.1b
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
0.1b
(cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3))
2.0b
(pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)) 2)
Compiler

Compiled 70 to 56 computations (20% saved)

localize10.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
1.0b
(pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)
1.0b
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
1.5b
(cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3))

series59.0ms (3%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
30.0ms
x
@inf
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
24.0ms
x
@-inf
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
2.0ms
x
@0
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
0.0ms
x
@0
(cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3))
0.0ms
x
@0
(pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)

rewrite52.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
646×pow1_binary64
605×expm1-log1p-u_binary64
604×add-log-exp_binary64
604×log1p-expm1-u_binary64
73×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify41.0ms (2%)

Algorithm
egg-herbie
Rules
471×fma-def_binary64
448×distribute-rgt-out_binary64
325×associate-*r*_binary64
308×associate-*l*_binary64
247×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
082795
1230763
2756686
33968675
Stop Event
node limit
Counts
137 → 89
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (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))
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (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))
(pow.f64 (exp.f64 -1) 3)
(+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3)))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 1/6 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (exp.f64 -1) 2)) (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1)) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6)) (pow.f64 (exp.f64 -1) 3))))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(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 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4)))))
(+.f64 (*.f64 1/720 (*.f64 (+.f64 (*.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (+.f64 (*.f64 120 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1)))) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))))) (pow.f64 x 6))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4))))))
(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 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))))
(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))))
(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))
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))))
(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))))
(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))
(pow.f64 (exp.f64 -1) 3)
(exp.f64 -3)
(+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3))
(fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (pow.f64 (exp.f64 -1) 3))
(fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (+.f64 (*.f64 x (*.f64 x 3)) 1) (exp.f64 -3))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (pow.f64 x 4) (fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 x (*.f64 3 (*.f64 (exp.f64 -3) x)) (fma.f64 (pow.f64 x 4) (*.f64 (exp.f64 -3) 9/2) (exp.f64 -3)))
(*.f64 (exp.f64 -3) (+.f64 (*.f64 (pow.f64 x 4) 9/2) (+.f64 (*.f64 x (*.f64 x 3)) 1)))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 1/6 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (exp.f64 -1) 2)) (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1)) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6)) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (pow.f64 x 4) (fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (fma.f64 (fma.f64 2 (pow.f64 (exp.f64 -1) 3) (fma.f64 1/6 (pow.f64 (exp.f64 -1) 3) (fma.f64 (*.f64 4/3 (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (fma.f64 (pow.f64 x 6) (+.f64 (*.f64 (exp.f64 -1) (+.f64 (exp.f64 -2) (*.f64 (exp.f64 -2) 4/3))) (*.f64 (pow.f64 (exp.f64 -1) 3) 13/6)) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 x (*.f64 3 (*.f64 (exp.f64 -3) x)) (fma.f64 (pow.f64 x 4) (*.f64 (exp.f64 -3) 9/2) (fma.f64 (pow.f64 x 6) (fma.f64 (exp.f64 -3) 13/6 (*.f64 7/3 (exp.f64 -3))) (exp.f64 -3))))
(+.f64 (*.f64 (pow.f64 x 6) (*.f64 (exp.f64 -3) 9/2)) (*.f64 (exp.f64 -3) (+.f64 (*.f64 (pow.f64 x 4) 9/2) (+.f64 (*.f64 x (*.f64 x 3)) 1))))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(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)))
(+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (exp.f64 -1) (/.f64 (+.f64 (exp.f64 -1) 1) (*.f64 x x))))
(fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1)))
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4)))))
(+.f64 (+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1))) (*.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (/.f64 (*.f64 12 (exp.f64 -1)) (+.f64 (exp.f64 -1) 1))))))
(+.f64 (log1p.f64 (exp.f64 -1)) (fma.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))))) (/.f64 (exp.f64 -1) (/.f64 (+.f64 (exp.f64 -1) 1) (*.f64 x x)))))
(fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/2 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))) (*.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -1/2)) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1))))
(+.f64 (*.f64 1/720 (*.f64 (+.f64 (*.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (+.f64 (*.f64 120 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1)))) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))))) (pow.f64 x 6))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4))))))
(fma.f64 1/720 (*.f64 (pow.f64 x 6) (fma.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (fma.f64 120 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3)))))) (+.f64 (+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1))) (*.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (/.f64 (*.f64 12 (exp.f64 -1)) (+.f64 (exp.f64 -1) 1)))))))
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))))) (/.f64 (exp.f64 -1) (/.f64 (+.f64 (exp.f64 -1) 1) (*.f64 x x)))) (fma.f64 1/720 (*.f64 (pow.f64 x 6) (fma.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -360 (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 120 (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3)))))) (log1p.f64 (exp.f64 -1))))
(fma.f64 (pow.f64 x 6) (*.f64 1/720 (fma.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -360 (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 120 (*.f64 240 (pow.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 3))))) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/2 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))) (*.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -1/2)) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1)))))
(fma.f64 (pow.f64 x 6) (fma.f64 1/720 (*.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (+.f64 (/.f64 (*.f64 (exp.f64 -1) -360) (+.f64 (exp.f64 -1) 1)) 120)) (*.f64 1/3 (pow.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 3))) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/2 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))) (*.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -1/2)) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -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)))

eval46.0ms (2.3%)

Compiler

Compiled 1479 to 1239 computations (16.2% saved)

prune146.0ms (7.3%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New89089
Fresh011
Picked011
Done033
Total89594
Error
0.0b
Counts
94 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(exp.f64 (fma.f64 x x -1))
0.1b
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
0.1b
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
0.1b
(cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3))
2.0b
(pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)) 2)
Compiler

Compiled 47 to 37 computations (21.3% saved)

regimes17.0ms (0.9%)

Accuracy

Total -2.0b remaining (-3557.9%)

Threshold costs -2.0b (-3557.9%)

Counts
7 → 1
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3))
(pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)) 2)
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)
(exp.f64 (fma.f64 x x -1))
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Outputs
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
Results
TimeErrorSegmentsBranch
6.0ms0.1b1x
2.0ms0.1b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
2.0ms0.1b1(neg.f64 (-.f64 1 (*.f64 x x)))
2.0ms0.1b1(-.f64 1 (*.f64 x x))
2.0ms0.1b1(*.f64 x x)
Compiler

Compiled 85 to 62 computations (27.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
Stop Event
saturated
Calls
Call 1
Inputs
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
Outputs
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)

end19.0ms (0.9%)

Stop Event
fuel
Compiler

Compiled 18 to 14 computations (22.2% saved)

Profiling

Loading profile data...