Continuation profile equality, quotient, and canonical class
DefinitionAPFPaper1_ContinuationQuotientFor arbitrary types X and Q and a supplied profile X → Set Q, equality of profiles defines an equivalence relation. PhysicalState is its quotient and physicalClass is the canonical quotient map. The equivalence laws follow from equality. A physical application must identify profile with the complete original admissible continuation profile; this abstract definition supplies neither that correspondence nor physical-fact completeness. This explicitly separated quotient facet preserves the three existing declaration bodies; the historical combined Foundation definition remains preserved with its other facets unresolved.
Historical record — alternate quotient retired from the active route
The active Foundation Ledger route uses APFB01.PhysicalState and APFB01.physicalClass from the existing B01 definition. The replacement descent theorem is APFB01.continuation_descent_ledger. B01 and B06 retain their existing Lean definitions; a second quotient declaration is not required for this correction.
This definition is retained to preserve the original construction and the imports of the historical descent theorem. Its Lean source and native identifier are unchanged. Retirement does not invalidate the quotient construction, delete this record, remove historical mission membership, or rewire any import. This record is not the canonical quotient for future Foundation Ledger consumers, and retirement does not supply fresh canonical acceptance of this encoding.
import Mathlib.Data.Set.Defs
namespace APFPaper1.Foundation
def continuationSetoid {X Q : Type*} (profile : X → Set Q) : Setoid X where
r x y := profile x = profile y
iseqv := ⟨fun _ => rfl, fun h => h.symm, fun h k => h.trans k⟩
def PhysicalState {X Q : Type*} (profile : X → Set Q) :=
Quotient (continuationSetoid profile)
def physicalClass {X Q : Type*} (profile : X → Set Q) (x : X) :
PhysicalState profile := Quotient.mk _ x
end APFPaper1.Foundation