Finite fixture for the two marginal-floor predicates
DefinitionAPFOriginalSource_FloorScopeFixtureThis is a finite mathematical fixture for comparing the two production marginal-floor predicates. It has two distinction labels and two record labels (Bool), with all four finite subsets as protocols. The resource type is the nonnegative reals, and calibration is the identity.
The tariff is 0 for the empty protocol, 1 for a singleton, and 3/2 for the pair. A protocol maintains its member records; sufficiency and the separately specified realization-use relation are given by membership. The original SourceData structure is instantiated with its required calibration and empty-bill laws.
This definition contains only the tariff, the lawful fixture, and the two named test families. The cost, novelty and floor conclusions are proved in F4. It supplies mathematical test data, not a physical model or a replacement for adopted B05.
import Definitions.Def_APFOriginalSource
import Mathlib.Tactic
set_option autoImplicit false
open Classical APFOriginalSource
noncomputable section
namespace APFOriginalSource.FloorScope
/-- Finite test fixture for the exact production predicates. No physical
realization or full-foundation model is asserted. -/
def tariff (n : ℕ) : NNReal :=
if n = 0 then 0 else if n = 1 then 1 else 3 / 2
def fixture : SourceData Bool (Finset Bool) NNReal Bool where
nullProtocol := ∅
wholeResource := fun p => tariff p.card
calibration := id
calibration_monotone := fun _ _ h => h
calibration_zero := rfl
null_bill := by simp [tariff]
maintained := fun p => (p : Set Bool)
sufficient := fun _ σ d => d ∈ σ
usesToRealize := fun _ d σ => d ∈ σ
def goodFamily : Finset Bool := ∅
def badFamily : Finset Bool := {false}
end APFOriginalSource.FloorScope