Details

Time bar (total: 2.9s)

analyze4.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
25%25%75%0%0%0%0%3
62.5%62.5%37.5%0%0%0%0%4
78.6%68.7%18.7%0%12.5%0%0%5
88.5%71.8%9.4%0%18.7%0%0%6
94%73.4%4.7%0%21.9%0%0%7
96.9%74.2%2.3%0%23.4%0%0%8
98.5%74.6%1.2%0%24.2%0%0%9
99.2%75%0.6%0%24.4%0%0%10
99.6%75.1%0.3%0%24.6%0%0%11
99.8%75.1%0.1%0%24.7%0%0%12
Compiler

Compiled 8 to 6 computations (25% saved)

sample2.4s (83.2%)

Results
1.3s2700×body1024valid
698.0ms3913×body256valid
304.0ms1381×body512valid
85.0ms262×body2048valid
1.0msbody256infinite
Bogosity

preprocess21.0ms (0.7%)

Algorithm
egg-herbie
Rules
186×fma-def
78×associate-*r*
78×associate--r+
70×*-commutative
66×associate-+l-
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11711
22011
32411
43311
54311
66211
711811
817911
926311
1040011
1158911
1266711
1370911
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (-.f64 (exp.f64 x) 1) x)
Outputs
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
Compiler

Compiled 8 to 6 computations (25% saved)

simplify26.0ms (0.9%)

Algorithm
egg-herbie
Rules
186×fma-def
78×associate-*r*
78×associate--r+
70×*-commutative
66×associate-+l-
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11711
22011
32411
43311
54311
66211
711811
817911
926311
1040011
1158911
1266711
1370911
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) 1) x)
Outputs
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)

eval66.0ms (2.3%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)
Compiler

Compiled 5 to 3 computations (40% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)
Compiler

Compiled 8 to 3 computations (62.5% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite59.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
1258×add-sqr-sqrt
1246×*-un-lft-identity
1158×add-cube-cbrt
1142×add-cbrt-cube
1130×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

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

simplify49.0ms (1.7%)

Algorithm
egg-herbie
Rules
1044×associate-+r+
848×associate-+l+
802×*-commutative
596×associate-*r/
416×associate-+l-
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
097595
1240579
2990579
34388579
Stop Event
node limit
Counts
43 → 48
Calls
Call 1
Inputs
1
(+.f64 (*.f64 1/2 x) 1)
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(-.f64 (+.f64 1 (/.f64 (expm1.f64 x) x)) 1)
(-.f64 (/.f64 (exp.f64 x) x) (/.f64 1 x))
(*.f64 (expm1.f64 x) (/.f64 1 x))
(*.f64 (/.f64 (expm1.f64 x) x) 1)
(*.f64 1 (/.f64 (expm1.f64 x) x))
(*.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))
(*.f64 (sqrt.f64 (expm1.f64 x)) (*.f64 (sqrt.f64 (expm1.f64 x)) (/.f64 1 x)))
(*.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 2) (cbrt.f64 (/.f64 (expm1.f64 x) x)))
(*.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (*.f64 (cbrt.f64 (expm1.f64 x)) (/.f64 1 x)))
(*.f64 (/.f64 1 x) (expm1.f64 x))
(*.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x)))
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (expm1.f64 x) (sqrt.f64 x)))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (expm1.f64 x) (cbrt.f64 x)))
(*.f64 (/.f64 (sqrt.f64 (expm1.f64 x)) 1) (/.f64 (sqrt.f64 (expm1.f64 x)) x))
(*.f64 (/.f64 (sqrt.f64 (expm1.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (expm1.f64 x)) (cbrt.f64 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) 1) (/.f64 (cbrt.f64 (expm1.f64 x)) x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (expm1.f64 x)) (sqrt.f64 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 (expm1.f64 x) x)))
(pow.f64 (/.f64 (expm1.f64 x) x) 1)
(pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2)
(pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 3)
(pow.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3) 1/3)
(pow.f64 (/.f64 x (expm1.f64 x)) -1)
(neg.f64 (/.f64 (expm1.f64 x) (neg.f64 x)))
(sqrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 2))
(log.f64 (exp.f64 (/.f64 (expm1.f64 x) x)))
(cbrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3))
(expm1.f64 (log1p.f64 (/.f64 (expm1.f64 x) x)))
(exp.f64 (log.f64 (/.f64 (expm1.f64 x) x)))
(log1p.f64 (expm1.f64 (/.f64 (expm1.f64 x) x)))
Outputs
1
(+.f64 (*.f64 1/2 x) 1)
(fma.f64 1/2 x 1)
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1))
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) 1))
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/6) 1))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (+.f64 (fma.f64 1/6 (*.f64 x x) 1) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) 1)))
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/6) (fma.f64 1/24 (pow.f64 x 3) 1)))
(fma.f64 x (*.f64 x 1/6) (fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) 1)))
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(-.f64 (+.f64 1 (/.f64 (expm1.f64 x) x)) 1)
(/.f64 (expm1.f64 x) x)
(-.f64 (/.f64 (exp.f64 x) x) (/.f64 1 x))
(/.f64 (expm1.f64 x) x)
(*.f64 (expm1.f64 x) (/.f64 1 x))
(/.f64 (expm1.f64 x) x)
(*.f64 (/.f64 (expm1.f64 x) x) 1)
(/.f64 (expm1.f64 x) x)
(*.f64 1 (/.f64 (expm1.f64 x) x))
(/.f64 (expm1.f64 x) x)
(*.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))
(/.f64 (expm1.f64 x) x)
(*.f64 (sqrt.f64 (expm1.f64 x)) (*.f64 (sqrt.f64 (expm1.f64 x)) (/.f64 1 x)))
(/.f64 (expm1.f64 x) x)
(*.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 2))
(/.f64 (expm1.f64 x) x)
(*.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 2) (cbrt.f64 (/.f64 (expm1.f64 x) x)))
(/.f64 (expm1.f64 x) x)
(*.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (*.f64 (cbrt.f64 (expm1.f64 x)) (/.f64 1 x)))
(/.f64 (expm1.f64 x) x)
(*.f64 (/.f64 1 x) (expm1.f64 x))
(/.f64 (expm1.f64 x) x)
(*.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x)))
(/.f64 (expm1.f64 x) x)
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (expm1.f64 x) (sqrt.f64 x)))
(/.f64 (expm1.f64 x) x)
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (expm1.f64 x) (cbrt.f64 x)))
(/.f64 (/.f64 (expm1.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2))
(/.f64 (expm1.f64 x) (*.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x)))
(/.f64 (expm1.f64 x) (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (/.f64 (sqrt.f64 (expm1.f64 x)) 1) (/.f64 (sqrt.f64 (expm1.f64 x)) x))
(/.f64 (expm1.f64 x) x)
(*.f64 (/.f64 (sqrt.f64 (expm1.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (expm1.f64 x)) (cbrt.f64 x)))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (expm1.f64 x) (cbrt.f64 x)))
(/.f64 (/.f64 (expm1.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2))
(/.f64 (expm1.f64 x) (*.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x)))
(/.f64 (expm1.f64 x) (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) 1) (/.f64 (cbrt.f64 (expm1.f64 x)) x))
(/.f64 (expm1.f64 x) x)
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (expm1.f64 x)) (sqrt.f64 x)))
(/.f64 (expm1.f64 x) x)
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 (expm1.f64 x) x)))
(*.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)))
(pow.f64 (/.f64 (expm1.f64 x) x) 1)
(/.f64 (expm1.f64 x) x)
(pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2)
(/.f64 (expm1.f64 x) x)
(pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 3)
(/.f64 (expm1.f64 x) x)
(pow.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3) 1/3)
(/.f64 (expm1.f64 x) x)
(pow.f64 (/.f64 x (expm1.f64 x)) -1)
(/.f64 (expm1.f64 x) x)
(neg.f64 (/.f64 (expm1.f64 x) (neg.f64 x)))
(/.f64 (expm1.f64 x) x)
(sqrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 2))
(/.f64 (expm1.f64 x) x)
(log.f64 (exp.f64 (/.f64 (expm1.f64 x) x)))
(/.f64 (expm1.f64 x) x)
(cbrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3))
(/.f64 (expm1.f64 x) x)
(expm1.f64 (log1p.f64 (/.f64 (expm1.f64 x) x)))
(/.f64 (expm1.f64 x) x)
(exp.f64 (log.f64 (/.f64 (expm1.f64 x) x)))
(/.f64 (expm1.f64 x) x)
(log1p.f64 (expm1.f64 (/.f64 (expm1.f64 x) x)))
(/.f64 (expm1.f64 x) x)

eval8.0ms (0.3%)

Compiler

Compiled 449 to 217 computations (51.7% saved)

prune9.0ms (0.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New45348
Fresh000
Picked011
Done000
Total45449
Error
0b
Counts
49 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)
21.9b
(+.f64 (*.f64 1/2 x) 1)
0.1b
(*.f64 (/.f64 1 x) (expm1.f64 x))
21.5b
1
Compiler

Compiled 20 to 15 computations (25% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (/.f64 1 x) (expm1.f64 x))
Compiler

Compiled 14 to 8 computations (42.9% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(*.f64 (/.f64 1 x) (expm1.f64 x))
0.0ms
x
@0
(*.f64 (/.f64 1 x) (expm1.f64 x))
0.0ms
x
@-inf
(*.f64 (/.f64 1 x) (expm1.f64 x))

rewrite66.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
1412×add-sqr-sqrt
1396×*-un-lft-identity
1296×add-cube-cbrt
1276×add-cbrt-cube
1260×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

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

simplify49.0ms (1.7%)

Algorithm
egg-herbie
Rules
996×associate-/l/
808×*-commutative
634×associate-/r/
546×log-prod
530×associate-*r*
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
078415
1171411
2577411
33189411
Stop Event
node limit
Counts
35 → 34
Calls
Call 1
Inputs
1
(+.f64 (*.f64 1/2 x) 1)
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(-.f64 (+.f64 1 (/.f64 (expm1.f64 x) x)) 1)
(-.f64 (/.f64 (exp.f64 x) x) (/.f64 1 x))
(/.f64 1 (/.f64 x (expm1.f64 x)))
(/.f64 (expm1.f64 x) x)
(/.f64 (sqrt.f64 (expm1.f64 x)) (/.f64 x (sqrt.f64 (expm1.f64 x))))
(/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (/.f64 x (cbrt.f64 (expm1.f64 x))))
(/.f64 (*.f64 (expm1.f64 x) -1) (neg.f64 x))
(/.f64 (*.f64 -1 (expm1.f64 x)) (neg.f64 x))
(/.f64 (/.f64 (expm1.f64 x) 1) x)
(/.f64 (/.f64 (expm1.f64 x) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 (/.f64 (expm1.f64 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(/.f64 (neg.f64 (expm1.f64 x)) (neg.f64 x))
(pow.f64 (/.f64 (expm1.f64 x) x) 1)
(pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2)
(pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 3)
(pow.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3) 1/3)
(sqrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 2))
(log.f64 (exp.f64 (/.f64 (expm1.f64 x) x)))
(cbrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3))
(expm1.f64 (log1p.f64 (/.f64 (expm1.f64 x) x)))
(exp.f64 (log.f64 (/.f64 (expm1.f64 x) x)))
(exp.f64 (*.f64 (log.f64 (/.f64 (expm1.f64 x) x)) 1))
(log1p.f64 (expm1.f64 (/.f64 (expm1.f64 x) x)))
Outputs
1
(+.f64 (*.f64 1/2 x) 1)
(fma.f64 1/2 x 1)
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1))
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) 1))
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/6) 1))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (+.f64 (fma.f64 1/6 (*.f64 x x) 1) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) 1)))
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/6) (fma.f64 1/24 (pow.f64 x 3) 1)))
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(-.f64 (+.f64 1 (/.f64 (expm1.f64 x) x)) 1)
(/.f64 (expm1.f64 x) x)
(-.f64 (/.f64 (exp.f64 x) x) (/.f64 1 x))
(/.f64 (expm1.f64 x) x)
(/.f64 1 (/.f64 x (expm1.f64 x)))
(/.f64 (expm1.f64 x) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (sqrt.f64 (expm1.f64 x)) (/.f64 x (sqrt.f64 (expm1.f64 x))))
(/.f64 (expm1.f64 x) x)
(/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (/.f64 x (cbrt.f64 (expm1.f64 x))))
(/.f64 (expm1.f64 x) x)
(/.f64 (*.f64 (expm1.f64 x) -1) (neg.f64 x))
(/.f64 (expm1.f64 x) x)
(/.f64 (*.f64 -1 (expm1.f64 x)) (neg.f64 x))
(/.f64 (expm1.f64 x) x)
(/.f64 (/.f64 (expm1.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (/.f64 (expm1.f64 x) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 (expm1.f64 x) x)
(/.f64 (/.f64 (expm1.f64 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(/.f64 (expm1.f64 x) x)
(/.f64 (neg.f64 (expm1.f64 x)) (neg.f64 x))
(/.f64 (expm1.f64 x) x)
(pow.f64 (/.f64 (expm1.f64 x) x) 1)
(/.f64 (expm1.f64 x) x)
(pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2)
(/.f64 (expm1.f64 x) x)
(pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 3)
(/.f64 (expm1.f64 x) x)
(pow.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3) 1/3)
(/.f64 (expm1.f64 x) x)
(sqrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 2))
(/.f64 (expm1.f64 x) x)
(log.f64 (exp.f64 (/.f64 (expm1.f64 x) x)))
(/.f64 (expm1.f64 x) x)
(cbrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3))
(/.f64 (expm1.f64 x) x)
(expm1.f64 (log1p.f64 (/.f64 (expm1.f64 x) x)))
(/.f64 (expm1.f64 x) x)
(exp.f64 (log.f64 (/.f64 (expm1.f64 x) x)))
(/.f64 (expm1.f64 x) x)
(exp.f64 (*.f64 (log.f64 (/.f64 (expm1.f64 x) x)) 1))
(/.f64 (expm1.f64 x) x)
(log1p.f64 (expm1.f64 (/.f64 (expm1.f64 x) x)))
(/.f64 (expm1.f64 x) x)

localize5.0ms (0.2%)

Compiler

Compiled 12 to 9 computations (25% saved)

eval6.0ms (0.2%)

Compiler

Compiled 270 to 147 computations (45.6% saved)

prune6.0ms (0.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New34034
Fresh011
Picked011
Done022
Total34438
Error
0b
Counts
38 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)
21.9b
(+.f64 (*.f64 1/2 x) 1)
0.1b
(*.f64 (/.f64 1 x) (expm1.f64 x))
21.5b
1
Compiler

Compiled 20 to 15 computations (25% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)
21.9b
(+.f64 (*.f64 1/2 x) 1)
0.1b
(*.f64 (/.f64 1 x) (expm1.f64 x))
21.5b
1
Compiler

Compiled 20 to 15 computations (25% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)
21.9b
(+.f64 (*.f64 1/2 x) 1)
0.1b
(*.f64 (/.f64 1 x) (expm1.f64 x))
21.5b
1
Compiler

Compiled 20 to 15 computations (25% saved)

regimes11.0ms (0.4%)

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

2 calls:

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

Compiled 32 to 21 computations (34.4% saved)

regimes4.0ms (0.1%)

Accuracy

Total -0.9b remaining (-4%)

Threshold costs -0.9b (-4%)

Counts
2 → 1
Calls
Call 1
Inputs
1
(+.f64 (*.f64 1/2 x) 1)
Outputs
1
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
21.5b1x
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
1-exp
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 7 to 5 computations (28.6% saved)

soundness65.0ms (2.2%)

Algorithm
egg-herbie
Rules
186×fma-def
78×associate-*r*
78×associate--r+
70×*-commutative
66×associate-+l-
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11711
22011
32411
43311
54311
66211
711811
817911
926311
1040011
1158911
1266711
1370911
Stop Event
saturated
Compiler

Compiled 11 to 7 computations (36.4% saved)

end14.0ms (0.5%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

Profiling

Loading profile data...