Deletion costs
DefinitionPaley11987Support_038boolean-functionscombinatoricspaley11987-four-phasesensitivity
Defines the finite deletion-cost expression used when estimating marked and source candidate sets.
Formalization Note. This is the definition interface for the supplied proof module BooleanTransferCrossCost.
Definition code
import Mathlib.Data.Nat.Basic
set_option autoImplicit false
set_option Elab.async false
section z59
set_option maxHeartbeats 5000000
namespace ZT
def deletionCost (K t ext intr budget B S J : ℕ) : ℕ :=
let k := min K t
let extra := min t (k+budget)-k
max (k*B+ext*S+intr*J)
((k+extra)*B+(ext-extra)*S+(intr+extra)*J)
end ZT
end z59
Source
User-supplied paley11987_complete_proof.zip, SHA256 fe0ca82767dc3fbdfbd49761a4a7746918039d0c0c741580ac5685bce3104dd7; source module BooleanTransferCrossCost, SHA256 fc75a228b10b4a9c134ec9da88a39f1775aef09b7ed78dfc7f7b78f9812871a1