Average Error: 0.0 → 0.0
Time: 24.1s
Precision: 64
Internal Precision: 128
\[\frac{NdChar}{1 + e^{\frac{-\left(\left(\left(Ec - Vef\right) - EDonor\right) - mu\right)}{KbT}}} + \frac{NaChar}{1 + e^{\frac{\left(\left(Ev + Vef\right) + EAccept\right) + \left(-mu\right)}{KbT}}}\]
\[\frac{NaChar}{1 + e^{\frac{\left(-mu\right) + \left(\left(Ev + Vef\right) + EAccept\right)}{KbT}}} + \frac{NdChar}{e^{-\frac{\left(\left(Ec - Vef\right) - EDonor\right) - mu}{KbT}} + 1}\]

Error

Bits error versus NdChar

Bits error versus Ec

Bits error versus Vef

Bits error versus EDonor

Bits error versus mu

Bits error versus KbT

Bits error versus NaChar

Bits error versus Ev

Bits error versus EAccept

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\frac{NdChar}{1 + e^{\frac{-\left(\left(\left(Ec - Vef\right) - EDonor\right) - mu\right)}{KbT}}} + \frac{NaChar}{1 + e^{\frac{\left(\left(Ev + Vef\right) + EAccept\right) + \left(-mu\right)}{KbT}}}\]
  2. Final simplification0.0

    \[\leadsto \frac{NaChar}{1 + e^{\frac{\left(-mu\right) + \left(\left(Ev + Vef\right) + EAccept\right)}{KbT}}} + \frac{NdChar}{e^{-\frac{\left(\left(Ec - Vef\right) - EDonor\right) - mu}{KbT}} + 1}\]

Reproduce

herbie shell --seed 2019002 +o rules:numerics
(FPCore (NdChar Ec Vef EDonor mu KbT NaChar Ev EAccept)
  :name "Bulmash initializePoisson"
  (+ (/ NdChar (+ 1 (exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)))) (/ NaChar (+ 1 (exp (/ (+ (+ (+ Ev Vef) EAccept) (- mu)) KbT))))))

Details

Time bar (total: 23.5s)Debug log

sample111.0ms

Algorithm
intervals

simplify314.0ms

Counts
1 → 1
Calls

1 calls. Slowest were:

314.0ms
(+ (/ NdChar (+ 1 (exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)))) (/ NaChar (+ 1 (exp (/ (+ (+ (+ Ev Vef) EAccept) (- mu)) KbT)))))

prune23.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize100.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT))
0.0b
(/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)
0.0b
(+ 1 (exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)))
0.0b
(/ (+ (+ (+ Ev Vef) EAccept) (- mu)) KbT)

rewrite229.0ms

Algorithm
rewrite-expression-head
Counts
4 → 75
Calls

4 calls. Slowest were:

81.0ms
(exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT))
60.0ms
(/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)
56.0ms
(/ (+ (+ (+ Ev Vef) EAccept) (- mu)) KbT)

series302.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

89.0ms
(+ 1 (exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)))
83.0ms
(exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT))
67.0ms
(/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)
63.0ms
(/ (+ (+ (+ Ev Vef) EAccept) (- mu)) KbT)

simplify8.6s

Counts
36 → 87
Calls

36 calls. Slowest were:

911.0ms
(- (* (+ (+ Ev Vef) EAccept) (+ (+ Ev Vef) EAccept)) (* (- mu) (- mu)))
735.0ms
(+ (pow (+ (+ Ev Vef) EAccept) 3) (pow (- mu) 3))
623.0ms
(- (+ (/ mu KbT) (+ (/ Vef KbT) (+ (/ EDonor KbT) 1))) (/ Ec KbT))

prune1.7s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(log1p (+ 1 (exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT))))
0.0b
(expm1 (log1p (+ 1 (exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)))))
0.0b
(exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT))
0.0b
(/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)

rewrite93.0ms

Algorithm
rewrite-expression-head
Counts
4 → 64
Calls

4 calls. Slowest were:

48.0ms
(exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT))
44.0ms
(/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)
0.0ms
(log1p (+ 1 (exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT))))

series291.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

94.0ms
(log1p (+ 1 (exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT))))
84.0ms
(expm1 (log1p (+ 1 (exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)))))
60.0ms
(/ (- (- (- (- Ec Vef) EDonor) mu)) KbT)
54.0ms
(exp (/ (- (- (- (- Ec Vef) EDonor) mu)) KbT))

simplify6.8s

Counts
30 → 76
Calls

30 calls. Slowest were:

674.0ms
(- (+ (/ mu KbT) (+ (/ Vef KbT) (+ (/ EDonor KbT) 1))) (/ Ec KbT))
596.0ms
(- (+ (/ mu KbT) (+ (/ Vef KbT) (+ (/ EDonor KbT) 1))) (/ Ec KbT))
540.0ms
(- (+ (/ mu KbT) (+ (/ Vef KbT) (+ (/ EDonor KbT) 2))) (/ Ec KbT))

prune1.6s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes677.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch6.0ms

end0.0ms

sample2.7s

Algorithm
intervals