Details

Time bar (total: 2.7s)

analyze184.0ms (6.8%)

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
28.6%25%62.5%0%0%0%12.5%4
30.8%25%56.2%0%0%0%18.7%5
36%28.1%50%0%0%0%21.9%6
38.8%29.7%46.9%0%0%0%23.4%7
40.2%30.5%45.3%0%0%0%24.2%8
40.7%30.8%44.9%0%0%0%24.2%9
41.2%31.2%44.5%0%0%0%24.2%10
41.4%31.3%44.4%0%0%0%24.2%11
41.5%31.4%44.3%0%0%0%24.3%12
Compiler

Compiled 14 to 12 computations (14.3% saved)

sample2.0s (75.5%)

Results
1.1s2819×body1024valid
398.0ms3860×body256valid
272.0ms1298×body512valid
122.0ms279×body2048valid
5.0ms47×body256infinite
0.0msbody256unsamplable
Bogosity

preprocess40.0ms (1.5%)

Algorithm
egg-herbie
Rules
1440×associate-/l*
1382×associate-*r*
1160×associate-/r*
968×associate-*l*
702×fma-def
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01325
12725
23625
36225
413521
534915
6123815
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
Outputs
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
(sqrt.f64 (/.f64 (expm1.f64 (*.f64 2 x)) (expm1.f64 x)))
(sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))
(sqrt.f64 (/.f64 (+.f64 1 (exp.f64 x)) 1))
(sqrt.f64 (+.f64 1 (exp.f64 x)))
Compiler

Compiled 14 to 12 computations (14.3% saved)

simplify33.0ms (1.2%)

Algorithm
egg-herbie
Rules
1440×associate-/l*
1382×associate-*r*
1160×associate-/r*
968×associate-*l*
702×fma-def
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01325
12725
23625
36225
413521
534915
6123815
Stop Event
node limit
Counts
1 → 5
Calls
Call 1
Inputs
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
Outputs
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
(sqrt.f64 (/.f64 (expm1.f64 (*.f64 2 x)) (expm1.f64 x)))
(sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))
(sqrt.f64 (/.f64 (+.f64 1 (exp.f64 x)) 1))
(sqrt.f64 (+.f64 1 (exp.f64 x)))

eval1.0ms (0%)

Compiler

Compiled 41 to 29 computations (29.3% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New325
Fresh101
Picked000
Done000
Total426
Error
0b
Counts
6 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))
0.0b
(sqrt.f64 (+.f64 1 (exp.f64 x)))
Compiler

Compiled 15 to 11 computations (26.7% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 14 to 8 computations (42.9% saved)

series23.0ms (0.8%)

Counts
1 → 4
Calls

3 calls:

TimeVariablePointExpression
22.0ms
x
@-inf
(+.f64 1 (exp.f64 x))
0.0ms
x
@0
(+.f64 1 (exp.f64 x))
0.0ms
x
@inf
(+.f64 1 (exp.f64 x))

rewrite51.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
1318×add-sqr-sqrt
1302×*-un-lft-identity
1212×add-cube-cbrt
1200×add-cbrt-cube
1188×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

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

simplify48.0ms (1.8%)

Algorithm
egg-herbie
Rules
1100×distribute-lft-in
976×distribute-rgt-in
936×associate-/l*
798×associate-*r*
784×times-frac
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
085840
1200790
2709616
32924592
Stop Event
node limit
Counts
34 → 51
Calls
Call 1
Inputs
2
(+.f64 2 x)
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
(-.f64 (+.f64 1 (+.f64 1 (exp.f64 x))) 1)
(-.f64 (/.f64 1 (-.f64 1 (exp.f64 x))) (/.f64 (exp.f64 (+.f64 x x)) (-.f64 1 (exp.f64 x))))
(*.f64 1 (+.f64 1 (exp.f64 x)))
(*.f64 (+.f64 1 (exp.f64 x)) 1)
(*.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))) (sqrt.f64 (+.f64 1 (exp.f64 x))))
(*.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) (pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 2))
(*.f64 (pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 2) (cbrt.f64 (+.f64 1 (exp.f64 x))))
(*.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (/.f64 1 (-.f64 1 (exp.f64 x))))
(*.f64 (+.f64 1 (exp.f64 (*.f64 x 3))) (/.f64 1 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x)))))
(/.f64 1 (/.f64 (-.f64 1 (exp.f64 x)) (-.f64 1 (exp.f64 (+.f64 x x)))))
(/.f64 1 (/.f64 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))) (+.f64 1 (exp.f64 (*.f64 x 3)))))
(/.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (-.f64 1 (exp.f64 x)))
(/.f64 (+.f64 1 (exp.f64 (*.f64 x 3))) (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))))
(/.f64 (+.f64 1 (exp.f64 (*.f64 x 3))) (+.f64 (exp.f64 (+.f64 x x)) (-.f64 1 (exp.f64 x))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) 1) (expm1.f64 x))
(/.f64 (neg.f64 (-.f64 1 (exp.f64 (+.f64 x x)))) (neg.f64 (-.f64 1 (exp.f64 x))))
(/.f64 (neg.f64 (+.f64 1 (exp.f64 (*.f64 x 3)))) (neg.f64 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x)))))
(pow.f64 (+.f64 1 (exp.f64 x)) 1)
(pow.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))) 2)
(pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 3)
(pow.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 3) 1/3)
(sqrt.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 2))
(log.f64 (exp.f64 (+.f64 1 (exp.f64 x))))
(cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 3))
(expm1.f64 (log1p.f64 (+.f64 1 (exp.f64 x))))
(exp.f64 (log1p.f64 (exp.f64 x)))
(log1p.f64 (expm1.f64 (+.f64 1 (exp.f64 x))))
(fma.f64 1 (exp.f64 x) 1)
(fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) 1)
(fma.f64 (cbrt.f64 (exp.f64 (+.f64 x x))) (cbrt.f64 (exp.f64 x)) 1)
Outputs
2
(+.f64 2 x)
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 2 (fma.f64 1/2 (*.f64 x x) x))
(+.f64 2 (fma.f64 x (*.f64 x 1/2) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
(fma.f64 1/6 (pow.f64 x 3) (+.f64 2 (fma.f64 1/2 (*.f64 x x) x)))
(+.f64 (fma.f64 1/2 (*.f64 x x) x) (fma.f64 1/6 (pow.f64 x 3) 2))
(+.f64 2 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 x (*.f64 x 1/2) x)))
(+.f64 (fma.f64 x (*.f64 x 1/2) x) (fma.f64 1/6 (pow.f64 x 3) 2))
(-.f64 (+.f64 1 (+.f64 1 (exp.f64 x))) 1)
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(-.f64 (/.f64 1 (-.f64 1 (exp.f64 x))) (/.f64 (exp.f64 (+.f64 x x)) (-.f64 1 (exp.f64 x))))
(/.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (-.f64 1 (exp.f64 x)))
(/.f64 (-.f64 1 (pow.f64 (exp.f64 2) x)) (-.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (+.f64 2 (expm1.f64 x)) 1)
(*.f64 1 (+.f64 1 (exp.f64 x)))
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(*.f64 (+.f64 1 (exp.f64 x)) 1)
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(*.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))) (sqrt.f64 (+.f64 1 (exp.f64 x))))
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(*.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) (pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 2))
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(*.f64 (pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 2) (cbrt.f64 (+.f64 1 (exp.f64 x))))
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(*.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (/.f64 1 (-.f64 1 (exp.f64 x))))
(/.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (-.f64 1 (exp.f64 x)))
(/.f64 (-.f64 1 (pow.f64 (exp.f64 2) x)) (-.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (+.f64 2 (expm1.f64 x)) 1)
(*.f64 (+.f64 1 (exp.f64 (*.f64 x 3))) (/.f64 1 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x)))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) 1) (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) (fma.f64 (exp.f64 x) (expm1.f64 x) 1))
(/.f64 (+.f64 1 (pow.f64 (exp.f64 3) x)) (fma.f64 (exp.f64 x) (expm1.f64 x) 1))
(/.f64 1 (/.f64 (-.f64 1 (exp.f64 x)) (-.f64 1 (exp.f64 (+.f64 x x)))))
(/.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (-.f64 1 (exp.f64 x)))
(/.f64 (-.f64 1 (pow.f64 (exp.f64 2) x)) (-.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (+.f64 2 (expm1.f64 x)) 1)
(/.f64 1 (/.f64 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))) (+.f64 1 (exp.f64 (*.f64 x 3)))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) 1) (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) (fma.f64 (exp.f64 x) (expm1.f64 x) 1))
(/.f64 (+.f64 1 (pow.f64 (exp.f64 3) x)) (fma.f64 (exp.f64 x) (expm1.f64 x) 1))
(/.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (-.f64 1 (exp.f64 x)))
(/.f64 (-.f64 1 (pow.f64 (exp.f64 2) x)) (-.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (+.f64 2 (expm1.f64 x)) 1)
(/.f64 (+.f64 1 (exp.f64 (*.f64 x 3))) (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) 1) (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) (fma.f64 (exp.f64 x) (expm1.f64 x) 1))
(/.f64 (+.f64 1 (pow.f64 (exp.f64 3) x)) (fma.f64 (exp.f64 x) (expm1.f64 x) 1))
(/.f64 (+.f64 1 (exp.f64 (*.f64 x 3))) (+.f64 (exp.f64 (+.f64 x x)) (-.f64 1 (exp.f64 x))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) 1) (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) (fma.f64 (exp.f64 x) (expm1.f64 x) 1))
(/.f64 (+.f64 1 (pow.f64 (exp.f64 3) x)) (fma.f64 (exp.f64 x) (expm1.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) 1) (expm1.f64 x))
(/.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (-.f64 1 (exp.f64 x)))
(/.f64 (-.f64 1 (pow.f64 (exp.f64 2) x)) (-.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (+.f64 2 (expm1.f64 x)) 1)
(/.f64 (neg.f64 (-.f64 1 (exp.f64 (+.f64 x x)))) (neg.f64 (-.f64 1 (exp.f64 x))))
(/.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (-.f64 1 (exp.f64 x)))
(/.f64 (-.f64 1 (pow.f64 (exp.f64 2) x)) (-.f64 1 (exp.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (+.f64 2 (expm1.f64 x)) 1)
(/.f64 (neg.f64 (+.f64 1 (exp.f64 (*.f64 x 3)))) (neg.f64 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x)))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) 1) (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (exp.f64 x) 3)) (fma.f64 (exp.f64 x) (expm1.f64 x) 1))
(/.f64 (+.f64 1 (pow.f64 (exp.f64 3) x)) (fma.f64 (exp.f64 x) (expm1.f64 x) 1))
(pow.f64 (+.f64 1 (exp.f64 x)) 1)
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(pow.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))) 2)
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 3)
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(pow.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 3) 1/3)
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(sqrt.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 2))
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(log.f64 (exp.f64 (+.f64 1 (exp.f64 x))))
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 3))
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(expm1.f64 (log1p.f64 (+.f64 1 (exp.f64 x))))
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(exp.f64 (log1p.f64 (exp.f64 x)))
(log1p.f64 (expm1.f64 (+.f64 1 (exp.f64 x))))
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(fma.f64 1 (exp.f64 x) 1)
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) 1)
(+.f64 (+.f64 2 (exp.f64 x)) -1)
(+.f64 2 (+.f64 (exp.f64 x) -1))
(+.f64 2 (expm1.f64 x))
(fma.f64 (cbrt.f64 (exp.f64 (+.f64 x x))) (cbrt.f64 (exp.f64 x)) 1)
(fma.f64 (cbrt.f64 (pow.f64 (exp.f64 2) x)) (cbrt.f64 (exp.f64 x)) 1)
(fma.f64 (cbrt.f64 (pow.f64 (exp.f64 x) 2)) (cbrt.f64 (exp.f64 x)) 1)

localize8.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 26 to 6 computations (76.9% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite60.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
1704×add-sqr-sqrt
1688×*-un-lft-identity
1578×add-cube-cbrt
1560×add-cbrt-cube
170×pow1
Iterations

Useful iterations: 0 (0.0ms)

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

simplify47.0ms (1.7%)

Algorithm
egg-herbie
Rules
1376×associate-/r*
1246×associate-*r/
1018×unswap-sqr
922×associate-/l*
922×associate-*l/
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01491269
13641269
217101269
Stop Event
node limit
Counts
77 → 77
Calls
Call 1
Inputs
2
(+.f64 2 x)
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (-.f64 (exp.f64 x) 1))
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 (log1p.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))) 1)
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (expm1.f64 x)) (/.f64 1 (expm1.f64 x)))
(*.f64 (expm1.f64 (+.f64 x x)) (/.f64 1 (expm1.f64 x)))
(*.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 1)
(*.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))
(*.f64 (sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) (sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(*.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (*.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (expm1.f64 x))))
(*.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 2))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 2) (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (expm1.f64 x))))
(*.f64 (/.f64 1 (expm1.f64 x)) (expm1.f64 (+.f64 x x)))
(*.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (neg.f64 (expm1.f64 x))))
(*.f64 (/.f64 1 (sqrt.f64 (expm1.f64 x))) (/.f64 (expm1.f64 (+.f64 x x)) (sqrt.f64 (expm1.f64 x))))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (/.f64 (expm1.f64 (+.f64 x x)) (cbrt.f64 (expm1.f64 x))))
(*.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) 1) (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (expm1.f64 x)))
(*.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (cbrt.f64 (expm1.f64 x))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) 1) (/.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (expm1.f64 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (sqrt.f64 (expm1.f64 x))) (/.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (sqrt.f64 (expm1.f64 x))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 1)
(pow.f64 (sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 2)
(pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 3)
(pow.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 3) 1/3)
(pow.f64 (/.f64 (expm1.f64 x) (expm1.f64 (+.f64 x x))) -1)
(neg.f64 (/.f64 (expm1.f64 (+.f64 x x)) (neg.f64 (expm1.f64 x))))
(sqrt.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 2))
(log.f64 (exp.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(log.f64 (+.f64 1 (expm1.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))))
(cbrt.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 3))
(expm1.f64 (log1p.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(exp.f64 (log.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(exp.f64 (*.f64 (log.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 1))
(log1p.f64 (expm1.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(+.f64 (exp.f64 x) -1)
(-.f64 (exp.f64 x) 1)
(*.f64 (expm1.f64 x) 1)
(*.f64 1 (expm1.f64 x))
(*.f64 (sqrt.f64 (expm1.f64 x)) (sqrt.f64 (expm1.f64 x)))
(*.f64 (cbrt.f64 (expm1.f64 x)) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (cbrt.f64 (expm1.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 1) (+.f64 (exp.f64 (+.f64 x x)) (+.f64 1 (*.f64 (exp.f64 x) 1))))
(pow.f64 (expm1.f64 x) 1)
(pow.f64 (sqrt.f64 (expm1.f64 x)) 2)
(pow.f64 (cbrt.f64 (expm1.f64 x)) 3)
(pow.f64 (pow.f64 (expm1.f64 x) 3) 1/3)
(sqrt.f64 (pow.f64 (expm1.f64 x) 2))
(log.f64 (exp.f64 (expm1.f64 x)))
(log.f64 (+.f64 1 (expm1.f64 (expm1.f64 x))))
(cbrt.f64 (pow.f64 (expm1.f64 x) 3))
(exp.f64 (log.f64 (expm1.f64 x)))
(exp.f64 (*.f64 (log.f64 (expm1.f64 x)) 1))
(log1p.f64 (expm1.f64 (expm1.f64 x)))
Outputs
2
(+.f64 2 x)
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 2 (fma.f64 1/2 (*.f64 x x) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
(fma.f64 1/6 (pow.f64 x 3) (+.f64 2 (fma.f64 1/2 (*.f64 x x) x)))
(+.f64 2 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x)))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (-.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x)
(fma.f64 1/2 (*.f64 x x) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) x)))
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 (log1p.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))) 1)
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (expm1.f64 x)) (/.f64 1 (expm1.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (expm1.f64 (+.f64 x x)) (/.f64 1 (expm1.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 1)
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) (sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (*.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 2))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 2) (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (/.f64 1 (expm1.f64 x)) (expm1.f64 (+.f64 x x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (neg.f64 (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (/.f64 1 (sqrt.f64 (expm1.f64 x))) (/.f64 (expm1.f64 (+.f64 x x)) (sqrt.f64 (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (/.f64 (expm1.f64 (+.f64 x x)) (cbrt.f64 (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) 1) (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (expm1.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (cbrt.f64 (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) 1) (/.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (expm1.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (sqrt.f64 (expm1.f64 x))) (/.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (sqrt.f64 (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(*.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)))
(/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))))
(pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 1)
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(pow.f64 (sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 2)
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 3)
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(pow.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 3) 1/3)
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(pow.f64 (/.f64 (expm1.f64 x) (expm1.f64 (+.f64 x x))) -1)
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(neg.f64 (/.f64 (expm1.f64 (+.f64 x x)) (neg.f64 (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(sqrt.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 2))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(log.f64 (exp.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(log.f64 (+.f64 1 (expm1.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(cbrt.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 3))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(expm1.f64 (log1p.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(exp.f64 (log.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(exp.f64 (*.f64 (log.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(log1p.f64 (expm1.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(+.f64 (exp.f64 x) -1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(*.f64 (expm1.f64 x) 1)
(expm1.f64 x)
(*.f64 1 (expm1.f64 x))
(expm1.f64 x)
(*.f64 (sqrt.f64 (expm1.f64 x)) (sqrt.f64 (expm1.f64 x)))
(expm1.f64 x)
(*.f64 (cbrt.f64 (expm1.f64 x)) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2))
(expm1.f64 x)
(*.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (cbrt.f64 (expm1.f64 x)))
(expm1.f64 x)
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x)))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 1) (+.f64 (exp.f64 (+.f64 x x)) (+.f64 1 (*.f64 (exp.f64 x) 1))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1) (+.f64 (+.f64 (pow.f64 (exp.f64 2) x) 1) (exp.f64 x)))
(/.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 3)) (+.f64 1 (+.f64 (exp.f64 x) (pow.f64 (exp.f64 2) x))))
(/.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 3)) (+.f64 1 (+.f64 (exp.f64 x) (pow.f64 (exp.f64 x) 2))))
(pow.f64 (expm1.f64 x) 1)
(expm1.f64 x)
(pow.f64 (sqrt.f64 (expm1.f64 x)) 2)
(expm1.f64 x)
(pow.f64 (cbrt.f64 (expm1.f64 x)) 3)
(expm1.f64 x)
(pow.f64 (pow.f64 (expm1.f64 x) 3) 1/3)
(expm1.f64 x)
(sqrt.f64 (pow.f64 (expm1.f64 x) 2))
(expm1.f64 x)
(log.f64 (exp.f64 (expm1.f64 x)))
(expm1.f64 x)
(log.f64 (+.f64 1 (expm1.f64 (expm1.f64 x))))
(expm1.f64 x)
(cbrt.f64 (pow.f64 (expm1.f64 x) 3))
(expm1.f64 x)
(exp.f64 (log.f64 (expm1.f64 x)))
(expm1.f64 x)
(exp.f64 (*.f64 (log.f64 (expm1.f64 x)) 1))
(expm1.f64 x)
(log1p.f64 (expm1.f64 (expm1.f64 x)))
(expm1.f64 x)

eval25.0ms (0.9%)

Compiler

Compiled 1597 to 790 computations (50.5% saved)

prune14.0ms (0.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1262128
Fresh000
Picked101
Done011
Total1273130
Error
0b
Counts
130 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
20.9b
(sqrt.f64 (+.f64 2 x))
0.0b
(sqrt.f64 (+.f64 1 (exp.f64 x)))
17.0b
(sqrt.f64 2)
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize2.0ms (0.1%)

Compiler

Compiled 4 to 4 computations (0% saved)

localize4.0ms (0.2%)

Compiler

Compiled 10 to 7 computations (30% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
20.9b
(sqrt.f64 (+.f64 2 x))
0.0b
(sqrt.f64 (+.f64 1 (exp.f64 x)))
17.0b
(sqrt.f64 2)
Compiler

Compiled 14 to 12 computations (14.3% saved)

regimes12.0ms (0.5%)

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

3 calls:

7.0ms
x
2.0ms
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
2.0ms
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
0.0b1(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
Compiler

Compiled 59 to 46 computations (22% saved)

regimes4.0ms (0.1%)

Accuracy

Total -4.1b remaining (-24.4%)

Threshold costs -4.1b (-24.4%)

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

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
17.0b1x
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
1-exp
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01020
11320
Stop Event
done
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 1 (exp.f64 x)))
(sqrt.f64 2)
Outputs
(sqrt.f64 (+.f64 1 (exp.f64 x)))
(sqrt.f64 2)
Compiler

Compiled 9 to 8 computations (11.1% saved)

soundness67.0ms (2.5%)

Algorithm
egg-herbie
Rules
1440×associate-/l*
1382×associate-*r*
1160×associate-/r*
968×associate-*l*
702×fma-def
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01325
12725
23625
36225
413521
534915
6123815
Stop Event
node limit
Compiler

Compiled 85 to 56 computations (34.1% saved)

end21.0ms (0.8%)

Compiler

Compiled 8 to 7 computations (12.5% saved)

Profiling

Loading profile data...