Attained minimum prices and model selection
DefinitionAPFReachKernel_Metricapfconditional-referencereachkernel
The predicates express that a connecting price is attained and no connecting protocol is cheaper, that a connecting protocol is selected by such a minimum for fixed ordered endpoints, and that two destinations have separated prices. Existence and attainment remain explicit hypotheses. This minimum-based interface neither constructs arbitrary family infima nor identifies a selected original physical execution.
Definition code
import Definitions.Def_APFReachKernel_Foundation
import Definitions.Def_APFReachKernel_RealignmentModel
namespace ReachKernel.RealignmentModel
end ReachKernel.RealignmentModel
/-
ReachKernel/Metric.lean
Conditional least-price and selection results in minimum form.
Existence and attainment are explicit: these statements do not construct
an infimum for an arbitrary protocol family. Selected is a model's least
connecting price predicate, not a proof that full physical A2 selects a
particular original execution. Cost-separated model destinations are not BW.
-/
set_option autoImplicit false
namespace ReachKernel.RealignmentModel
variable {X Q R K : Type} [Add K] [LE K]
variable {Cont : X → Set Q} {D : Set (PhysicalState Cont → Bool)}
variable {calib : R → K} {C : K}
/-- `k` is a least price of a → b: attained, and below every other price. -/
def IsMinPrice (M : RealignmentModel Cont D calib C) (a b : Alignment Cont D) (k : K) : Prop :=
k ∈ M.realignmentPrices a b ∧ ∀ k', k' ∈ M.realignmentPrices a b → k ≤ k'
/-- A2 on κ^trans: π is a least-cost protocol connecting a to b. -/
def Selected (M : RealignmentModel Cont D calib C) (a b : Alignment Cont D) (π : Q) : Prop :=
M.Connects π a b ∧ ∀ π', M.Connects π' a b → M.cost π ≤ M.cost π'
/-- Cost-separated destinations: two destinations reachable from `a` at
different least prices. A MODEL fact when exhibited; not BW (Audit: BW is a
source commitment on the configuration cost spectrum, and two unequal prices
in a supplied witness do not instantiate it). -/
def CostSeparated (M : RealignmentModel Cont D calib C) (a b c : Alignment Cont D) : Prop :=
∃ k₁ k₂, M.IsMinPrice a b k₁ ∧ M.IsMinPrice a c k₂ ∧ k₁ ≠ k₂
end ReachKernel.RealignmentModel
Source
APF ReachKernel; original archive f05a126714fe8d24a4377f87a7e460777555e19227087abb6c18dbe2ffae959e, ReachKernel/Metric.lean; corrected compatible source manifest 2c8ccc43b416ba6e4f1b9eb02d4780b828e8dab689651eb567f7d159065cdfd2. Private conditional/reference model.