Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

S5 — Record-compatible priced symmetry preserves exact service and cost

Proved
APFLoFStrengthening.priced_form_transport

by FiniteUniverse · Sep 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

apflaws-of-formrecordssemantic-costsymmetry

A 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.

Preamble
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
Formal statement
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
Source
APF project with Codex, Independent Records, Semantic Cost, and Symmetry, project technical note version 1, 7 September 2026, SOURCE.md. Source SHA-256 bd8025b7ccbd3e7203b124ad8f02536ed3846f0f979877634fe54322787e0026. Every supplied priced form equivalence transports a finite form family with exact protocolwise service equivalence, equal attainable price sets, equivalent feasibility, equivalent service within every real budget, and equal infimal costs. The proof transports registered implementing decoders and then whole serving protocols. It neither invents a decoder nor recalculates an unaccounted bill.
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.

Human review
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by FiniteUniverse · Nov 18, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me