Charge information of selected records against code weights
ProvedPvsNP.selected_record_scale_chargecomplexity-theoryformal-verification
Suppose each record has nonnegative selected mass, a positive scale, and a positive code weight. If the product of its selected mass and scale is at most one, then the summed mass-weighted log of scale times code weight is at most the sum of the code weights.
Preamble
import Mathlib
Formal statement
theorem PvsNP.selected_record_scale_charge {Record : Type*} (records : Finset Record)
(mass scale codeWeight : Record → ℝ)
(massNonneg : ∀ r ∈ records, 0 ≤ mass r)
(scalePos : ∀ r ∈ records, 0 < scale r)
(weightPos : ∀ r ∈ records, 0 < codeWeight r)
(fibreBound : ∀ r ∈ records, mass r * scale r ≤ 1) :
∑ r ∈ records, mass r * (Real.log (scale r) + Real.log (codeWeight r)) ≤
∑ r ∈ records, codeWeight r := by sorrySource
Fixed-input randomized replay for one-work-head truth table verification.