Details

Time bar (total: 3.3s)

analyze314.0ms (9.6%)

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.1s (65%)

Results
1.1s2750×body1024valid
576.0ms3855×body256valid
305.0ms1345×body512valid
137.0ms306×body2048valid
5.0ms47×body256infinite
1.0msbody256unsamplable
Bogosity

preprocess40.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: 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)

simplify105.0ms (3.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%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New325
Fresh101
Picked000
Done000
Total426
Accurracy
100.0%
Counts
6 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))
100.0%
(sqrt.f64 (+.f64 1 (exp.f64 x)))
Compiler

Compiled 15 to 11 computations (26.7% saved)

localize5.0ms (0.2%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(+.f64 1 (exp.f64 x))
Compiler

Compiled 14 to 8 computations (42.9% saved)

series0.0ms (0%)

Counts
1 → 4
Calls

3 calls:

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

rewrite168.0ms (5.1%)

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
(((-.f64 (+.f64 1 (+.f64 1 (exp.f64 x))) 1) (2)) ((-.f64 (/.f64 1 (-.f64 1 (exp.f64 x))) (/.f64 (exp.f64 (+.f64 x x)) (-.f64 1 (exp.f64 x)))) (2)) ((*.f64 1 (+.f64 1 (exp.f64 x))) (2)) ((*.f64 (+.f64 1 (exp.f64 x)) 1) (2)) ((*.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))) (sqrt.f64 (+.f64 1 (exp.f64 x)))) (2)) ((*.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) (pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 2)) (2)) ((*.f64 (pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 2) (cbrt.f64 (+.f64 1 (exp.f64 x)))) (2)) ((*.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (/.f64 1 (-.f64 1 (exp.f64 x)))) (2)) ((*.f64 (+.f64 1 (exp.f64 (*.f64 x 3))) (/.f64 1 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))))) (2)) ((/.f64 1 (/.f64 (-.f64 1 (exp.f64 x)) (-.f64 1 (exp.f64 (+.f64 x x))))) (2)) ((/.f64 1 (/.f64 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))) (+.f64 1 (exp.f64 (*.f64 x 3))))) (2)) ((/.f64 (-.f64 1 (exp.f64 (+.f64 x x))) (-.f64 1 (exp.f64 x))) (2)) ((/.f64 (+.f64 1 (exp.f64 (*.f64 x 3))) (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x)))) (2)) ((/.f64 (+.f64 1 (exp.f64 (*.f64 x 3))) (+.f64 (exp.f64 (+.f64 x x)) (-.f64 1 (exp.f64 x)))) (2)) ((/.f64 (-.f64 (exp.f64 (+.f64 x x)) 1) (expm1.f64 x)) (2)) ((/.f64 (neg.f64 (-.f64 1 (exp.f64 (+.f64 x x)))) (neg.f64 (-.f64 1 (exp.f64 x)))) (2)) ((/.f64 (neg.f64 (+.f64 1 (exp.f64 (*.f64 x 3)))) (neg.f64 (+.f64 1 (*.f64 (exp.f64 x) (expm1.f64 x))))) (2)) ((pow.f64 (+.f64 1 (exp.f64 x)) 1) (2)) ((pow.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))) 2) (2)) ((pow.f64 (cbrt.f64 (+.f64 1 (exp.f64 x))) 3) (2)) ((pow.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 3) 1/3) (2)) ((sqrt.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 2)) (2)) ((log.f64 (exp.f64 (+.f64 1 (exp.f64 x)))) (2)) ((cbrt.f64 (pow.f64 (+.f64 1 (exp.f64 x)) 3)) (2)) ((expm1.f64 (log1p.f64 (+.f64 1 (exp.f64 x)))) (2)) ((exp.f64 (log1p.f64 (exp.f64 x))) (2)) ((log1p.f64 (expm1.f64 (+.f64 1 (exp.f64 x)))) (2)) ((fma.f64 1 (exp.f64 x) 1) (2)) ((fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) 1) (2)) ((fma.f64 (cbrt.f64 (exp.f64 (+.f64 x x))) (cbrt.f64 (exp.f64 x)) 1) (2)))

simplify50.0ms (1.5%)

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.2%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
Compiler

Compiled 26 to 6 computations (76.9% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 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))

rewrite115.0ms (3.5%)

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
0821
116621
2227321
Stop Event
node limit
Counts
1 → 33
Calls
Call 1
Inputs
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
Outputs
(((-.f64 (exp.f64 (log1p.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))) 1) (2)) ((-.f64 (/.f64 (exp.f64 (+.f64 x x)) (expm1.f64 x)) (/.f64 1 (expm1.f64 x))) (2)) ((*.f64 (expm1.f64 (+.f64 x x)) (/.f64 1 (expm1.f64 x))) (2)) ((*.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 1) (2)) ((*.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) (2)) ((*.f64 (sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) (sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))) (2)) ((*.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (*.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (expm1.f64 x)))) (2)) ((*.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)) (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)))) (2)) ((*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (expm1.f64 x)))) (2)) ((*.f64 (/.f64 1 (expm1.f64 x)) (expm1.f64 (+.f64 x x))) (2)) ((*.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (neg.f64 (expm1.f64 x)))) (2)) ((*.f64 (/.f64 1 (sqrt.f64 (expm1.f64 x))) (/.f64 (expm1.f64 (+.f64 x x)) (sqrt.f64 (expm1.f64 x)))) (2)) ((*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (/.f64 (expm1.f64 (+.f64 x x)) (cbrt.f64 (expm1.f64 x)))) (2)) ((*.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) 1) (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (expm1.f64 x))) (2)) ((*.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)))) (2)) ((*.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) 1) (/.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (expm1.f64 x))) (2)) ((*.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)))) (2)) ((*.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)))) (2)) ((pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 1) (2)) ((pow.f64 (sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 2) (2)) ((pow.f64 (cbrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 3) (2)) ((pow.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 3) 1/3) (2)) ((pow.f64 (/.f64 (expm1.f64 x) (expm1.f64 (+.f64 x x))) -1) (2)) ((neg.f64 (/.f64 (expm1.f64 (+.f64 x x)) (neg.f64 (expm1.f64 x)))) (2)) ((sqrt.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 2)) (2)) ((log.f64 (exp.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))) (2)) ((log.f64 (+.f64 1 (expm1.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))) (2)) ((cbrt.f64 (pow.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) 3)) (2)) ((expm1.f64 (log1p.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))) (2)) ((exp.f64 (log.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))) (2)) ((exp.f64 (*.f64 (log.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) 1)) (2)) ((log1p.f64 (expm1.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))) (2)))

simplify58.0ms (1.8%)

Algorithm
egg-herbie
Rules
1252×associate-+l+
676×associate-*r/
486×distribute-lft-neg-out
466×associate-*l/
454×associate-+r-
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01091083
12721059
210161059
345041059
Stop Event
node limit
Counts
45 → 52
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))
(-.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))))
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 x (fma.f64 x (*.f64 x 1/2) 2))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
(fma.f64 1/6 (pow.f64 x 3) (+.f64 2 (fma.f64 1/2 (*.f64 x x) x)))
(+.f64 (fma.f64 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 x (fma.f64 1/6 (pow.f64 x 3) (fma.f64 x (*.f64 x 1/2) 2)))
(/.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))
(-.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 (/.f64 (expm1.f64 (+.f64 x x)) (sqrt.f64 (expm1.f64 x))) (sqrt.f64 (expm1.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (*.f64 (sqrt.f64 (expm1.f64 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 (expm1.f64 (+.f64 x x)) (cbrt.f64 (expm1.f64 x))) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2))
(/.f64 (expm1.f64 (+.f64 x x)) (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (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 (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 1 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (/.f64 (expm1.f64 (+.f64 x x)) (cbrt.f64 (expm1.f64 x))))
(/.f64 (/.f64 (expm1.f64 (+.f64 x x)) (cbrt.f64 (expm1.f64 x))) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2))
(/.f64 (expm1.f64 (+.f64 x x)) (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (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 (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 1 (sqrt.f64 (expm1.f64 x))) (/.f64 (expm1.f64 (+.f64 x x)) (sqrt.f64 (expm1.f64 x))))
(/.f64 (/.f64 (expm1.f64 (+.f64 x x)) (sqrt.f64 (expm1.f64 x))) (sqrt.f64 (expm1.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (*.f64 (sqrt.f64 (expm1.f64 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))))
(*.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)))
(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))

eval42.0ms (1.3%)

Compiler

Compiled 1230 to 628 computations (48.9% saved)

prune17.0ms (0.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1003103
Fresh000
Picked101
Done101
Total1023105
Accurracy
100.0%
Counts
105 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (+.f64 2 (expm1.f64 x)))
62.2%
(sqrt.f64 (+.f64 2 x))
69.4%
(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.1%)

Compiler

Compiled 10 to 7 computations (30% saved)

localize6.0ms (0.2%)

Compiler

Compiled 14 to 8 computations (42.9% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Accurracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (+.f64 2 (expm1.f64 x)))
62.2%
(sqrt.f64 (+.f64 2 x))
69.4%
(sqrt.f64 2)
Compiler

Compiled 14 to 12 computations (14.3% saved)

regimes10.0ms (0.3%)

Counts
6 → 1
Calls
Call 1
Inputs
(sqrt.f64 2)
(sqrt.f64 (+.f64 2 x))
(sqrt.f64 (+.f64 1 (exp.f64 x)))
(sqrt.f64 (+.f64 2 (expm1.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 2 (expm1.f64 x)))
Calls

3 calls:

4.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
AccuracySegmentsBranch
100.0%1x
100.0%1(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
100.0%1(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
Compiler

Compiled 64 to 49 computations (23.4% saved)

regimes4.0ms (0.1%)

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

1 calls:

3.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
Compiler

Compiled 14 to 11 computations (21.4% saved)

regimes5.0ms (0.1%)

Accuracy

Total -4.9b remaining (-24.9%)

Threshold costs -4.9b (-24.9%)

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
AccuracySegmentsBranch
69.4%1x
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

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

Compiled 15 to 13 computations (13.3% saved)

soundness156.0ms (4.8%)

Algorithm
egg-herbie
Rules
1440×associate-/l*
1382×associate-*r*
1160×associate-/r*
1100×distribute-lft-in
976×distribute-rgt-in
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01325
12725
23625
36225
413521
534915
6123815
085840
1200790
2709616
32924592
Stop Event
node limit
node limit
Compiler

Compiled 123 to 86 computations (30.1% saved)

end23.0ms (0.7%)

Compiler

Compiled 13 to 11 computations (15.4% saved)

Profiling

Loading profile data...