Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

All-ambient contextual equivalence preserves completed preparation values

Proved
APFPaper5.K1.completed_value_respects_prep

by FiniteUniverse · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

apfapf-referencesib-v15-2026-11

Supply typed words, raw input states, a definedness predicate and a run-value function. Let W and W′ have the same source and target, and assume h: they are contextually equivalent over every typed prefix and suffix. For any terminal word S and input x, the completed runs W then S and W′ then S are defined at x under exactly the same conditions, and their values agree whenever both are defined. This uses the author-selected all-ambient relation; it does not construct a physical score or identify the supplied values with physical readouts.

Preamble
import Definitions.Def_APFPaper1_ContextualEquivalence

set_option autoImplicit false
namespace APFPaper5.K1
end APFPaper5.K1
open APFPaper5.K1
open APFPaper1.Continuation

universe uC uF uX uV
variable {Context : Type uC} {Frag : Context → Context → Type uF} {Raw : Context → Type uX}
  {Val : Type uV}
Formal statement
theorem APFPaper5.K1.completed_value_respects_prep (Defd : (g : Context) → Raw g → WordFrom Frag g → Prop)
    (value : (g : Context) → WordFrom Frag g → Raw g → Val)
    {g a c : Context} (W W' : Word Frag g a) (S : Word Frag a c) (x : Raw g)
    (h : ContextEq Defd value (fun _ _ _ => True) W W') :
    (Defd g x (sandwich (Word.nil g) W S) ↔ Defd g x (sandwich (Word.nil g) W' S)) ∧
    (Defd g x (sandwich (Word.nil g) W S) → Defd g x (sandwich (Word.nil g) W' S) →
      value g (sandwich (Word.nil g) W S) x = value g (sandwich (Word.nil g) W' S) x) := by sorry
Source
Sib v15 frozen source: Theorems/Thm_APFPaper5_K1_score_respects_classes.lean:28; Papers/Paper 01 - The Enforceability of Distinction/Paper_1_Enforceability_of_Distinction_Supplement_v9.28.tex, 3239-3304; Papers/Paper 05 - Quantum Structure - Hilbert Space and Born Rule/Paper_5_Quantum_Structure_Hilbert_Born_Supplement_v7.33.tex, 353-362; Artifacts_2026-11-12_session/claude/EthanBrooke-01WrrBvu/RULING_ContextEq_all_ambients_2026-11-12.md, ruling and fidelity comparison
Human review
  • Endorsed by Shuze Chen · Nov 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by FiniteUniverse · Nov 16, 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