S5 — Record-compatible priced symmetry preserves exact service and cost
ProvedAPFLoFStrengthening.priced_form_transportA supplied priced decoder equivalence transports every finite form family with exact protocolwise service, attainable price sets, feasibility, every real budget, and infimal cost. The equivalence supplies state and protocol bijections, compatible dependent record bijections, preservation and reflection of registration, matching readouts, and equal full prices. A geometric symmetry alone does not supply these hypotheses.
import Definitions.Def_APFLoFStrengthening_Model import Definitions.Def_APFLoFStrengthening_Symmetry import Mathlib.Tactic set_option autoImplicit false set_option linter.unusedSectionVars false set_option maxRecDepth 100000 set_option maxHeartbeats 4000000 open LawsOfForm APFPaper1.Foundation APFLawsOfForm
namespace APFLoFStrengthening
theorem priced_form_transport {Ω Ω' D D' P P' : Type}
{L : Ledger D P} {K : Ledger D' P'}
{M : DecoderSystem Ω P} {N : DecoderSystem Ω' P'}
{r : Nat → Ω → Bool} {s : Nat → Ω' → Bool}
(T : Symmetry.PricedFormEquivalence L K M N r s) (F : Finset Expr) :
(∀ p, (formLedger L M r).serves p F ↔ (formLedger K N s).serves (T.protocol p) F) ∧
costs (formLedger L M r) F = costs (formLedger K N s) F ∧
(Feasible (formLedger L M r) F ↔ Feasible (formLedger K N s) F) ∧
(∀ b, WithinBudget (formLedger L M r) F b ↔ WithinBudget (formLedger K N s) F b) ∧
cost (formLedger L M r) F = cost (formLedger K N s) F := by sorry
end APFLoFStrengthening
Read-back
What the Lean code literally says, in plain math · Fresh isolated Codex reader; exact model ID not recorded
priced_form_transport — independent code readback
Fix arbitrary implicit types Ω, Ω′, D, D′, P, P′ : Type; ledgers L : Ledger D P and K : Ledger D′ P′; decoder systems M and N on the corresponding state and protocol types; and total numbered Boolean-readout families r and s. No DecidableEq or finiteness instance on these types is assumed. Given a PricedFormEquivalence T between these data and any finite expression family F, the theorem asserts:
- For every source protocol p, p serves F in the source form ledger if and only if T.protocol p serves the same F in the target form ledger.
- The two sets of attainable serving-protocol prices are equal.
- A serving protocol exists on the source side if and only if one exists on the target side.
- For every real b, some source protocol serves F at price ≤ b if and only if some target protocol does so at price ≤ b.
- The two real infima of serving-protocol prices are equal.
T is a supplied hypothesis/data object, not an existence conclusion. It includes global state and protocol bijections, record bijections for every protocol, commutation of recording with state transport, equivalence of decoder registration under inverse record transport for every decoder, equality of corresponding protocol prices, and preservation of all numbered readouts at every state. L and K already bundle nonnegative prices, primitive service/carrying laws, and a zero-price protocol for the empty primitive request. No preservation of their primitive distinction types or primitive service relations is separately required.
Serving F means that each e ∈ F has a registered Boolean decoder of the same protocol’s record which agrees with its denotation on all states. The decoder can depend on e. The protocol transport is the same T for all p and F, and F itself is not renamed.
No feasibility assumption on F is present. If no protocol serves F, both price sets are empty and the formal real-infimum equality still applies; it does not assert existence or attainment of a minimum. For F = ∅ every protocol serves, the zero-price protocols give cost 0, and the budget condition holds exactly for b ≥ 0. Negative budgets are allowed as quantified inputs but cannot pay for a nonnegative serving price. State or distinction types may be empty when the supplied structures allow it; protocol types are nonempty because ledgers contain an empty-request witness. These are mathematical transport assertions, without an empirical physical or computational-cost guarantee. The placeholder is not proof evidence.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.