Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

S3 — The actual records realize the ledger with Boolean closure

Proved
APFLoFStrengthening.realized_boolean_ledger

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

apflaws-of-formrecordssemantic-costsymmetry

The constructed APF PhysicalInterface and coordinate-record system satisfy the existing RealizesLedger contract on every finite primitive demand family, and every protocol registry is closed under false, complement, and disjunction. These facts are proved for this model; the universal registry and the price accounting remain chosen model inputs.

Preamble
import Definitions.Def_APFLoFStrengthening_Model
import Definitions.Def_APFLoFStrengthening_Symmetry
import Mathlib.Tactic
import Theorems.Thm_APFLoFStrengthening_recorded_coordinate_iff

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 realized_boolean_ledger (D : Type) [DecidableEq D] :
    RealizesLedger (interface D) (system D) ∧
    (∀ p : Finset D, BooleanClosed (system D) p) := 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. The constructed interface and its record system satisfy the previously defined RealizesLedger proposition for every protocol and every finite primitive family. Every protocol catalogue also satisfies BooleanClosed. S1 proves exact primitive service recovery; the universal decoder catalogue supplies false, complement, and disjunction. These are established model properties, while the chosen catalogue's physical adequacy remains an application obligation.
Read-back

What the Lean code literally says, in plain math · Fresh isolated Codex reader; exact model ID not recorded

realized_boolean_ledger — independent code readback

For every D : Type with DecidableEq D, the theorem asserts a conjunction: interface D and system D satisfy RealizesLedger, and system D is BooleanClosed at every finite protocol p : Finset D. No finite-cardinality or nonempty-D assumption is present.

The first conjunct expands to: for every protocol p and every finite request S, S ⊆ p if and only if, for every d ∈ S, there exists a registered decoder of p’s record that returns coordinate d correctly on every state. The existential decoder is inside the quantification over d: different requested coordinates may use different decoders on the same record. It does not require one Boolean decoder to return the whole family at once. States represent all assignments D → Bool, and a p-record retains exactly the coordinates in p.

The second conjunct says, separately for every p, that its registered decoder set contains the constant-false function, is closed under negating each registered decoder, and is closed under pointwise disjunction of every pair of registered decoders. The model’s registration set is the set of all functions from the record type to Bool. This is a statement about registration, not an estimate of computation or recording cost.

An empty request S makes the right-hand universal condition vacuous and is served by every p. At p = ∅ the record type has one element; constant outputs remain available, and Boolean closure still applies. If D is empty, only the empty protocol and request occur, so the theorem still has these nonvacuous empty-set assertions even though there are no coordinate requests. There is no assertion of a shared budget, finite total capacity, or physical realization beyond the explicitly defined mathematical structures. 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