OAI/Analysis/Nonexpansive/CandidateLedgerJoin.lean
26 declarations, 0 contain sorry, 0 declared as axioms
The candidate ledger of the actual recursively constructed tree
The full ordered candidate groups supply the ledger's records. The actual positive-support embeddings select its retained entries. Thus its parent map and its retained maps agree with the tree extracted from the frontier tower, including all discarded records in every earlier prefix.
- def
OAI.ReflexiveFixedPoints.CandidateContext.levelPrefixline 33Source documentation
The literal immutable history preceding a candidate in the full level.
def levelPrefix (i : Fin (OrderedGroupConcat.total (C.groupN A hanchor hτ))) : List (CandidateRecord C) := …Mentions: OAI.ReflexiveFixedPoints.OrderedGroupConcat.total, OAI.ReflexiveFixedPoints.CandidateRecord
- theorem
OAI.ReflexiveFixedPoints.CandidateContext.levelPrefix_lengthline 37 - def
OAI.ReflexiveFixedPoints.CandidateContext.levelPrefixInclusionline 44Source documentation
The prefix indices are the corresponding initial candidate ordinals.
def levelPrefixInclusion (i : Fin (OrderedGroupConcat.total (C.groupN A hanchor hτ))) : Fin (C.levelPrefix A hanchor hτ i).length ↪ Fin (OrderedGroupConcat.total (C.groupN A hanchor hτ)) := … - theorem
OAI.ReflexiveFixedPoints.CandidateContext.levelPrefix_getline 51Source documentation
Reading the immutable prefix returns exactly the full ledger record.
theorem levelPrefix_get (i : Fin (OrderedGroupConcat.total (C.groupN A hanchor hτ))) (j : Fin (C.levelPrefix A hanchor hτ i).length) : (C.levelPrefix A hanchor hτ i).get j = C.levelRecord A hanchor hτ (C.levelPrefixInclusion A hanchor hτ i j) := by … - theorem
OAI.ReflexiveFixedPoints.CandidateContext.levelPrefix_legalline 62Source documentation
Legality was established against this literal preceding prefix.
theorem levelPrefix_legal (i : Fin (OrderedGroupConcat.total (C.groupN A hanchor hτ))) : C.Legal (C.levelPrefix A hanchor hτ i) (C.levelRecord A hanchor hτ i) := … - theorem
OAI.ReflexiveFixedPoints.CandidateContext.levelRecord_retainedCandidate_mapline 68Source documentation
The retained record stores the very map installed in the extension.
theorem levelRecord_retainedCandidate_map (v : Fin (C.selectedExtension A hanchor).size) : (C.levelRecord A hanchor C.runTolerance_pos (C.retainedCandidate A hanchor v)).map = (C.selectedExtension A hanchor).map v := by … - def
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedgerline 97Source documentation
The concrete ledger retains every candidate chosen at this level.
def candidateLedger (k : ℕ) : CandidateLedger (tower D A U).toOrderedTree k (CandidateRecord (context D A U k)) where …Mentions: OAI.ReflexiveFixedPoints.CandidateLedger, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.CandidateRecord, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.context
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger_countline 120 - theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger_retainline 124 - theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger_point_parentline 129Source documentation
Each ledger entry's stored parent equals its ordered ledger parent.
theorem candidateLedger_point_parent (k : ℕ) (i : Fin (candidateLedger D A U k).count) : ((candidateLedger D A U k).point i).parent = (candidateLedger D A U k).parent i := …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger_retainedPoint_parentline 137Source documentation
Retaining a record preserves the parent of the final tree node.
theorem candidateLedger_retainedPoint_parent (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) : ((candidateLedger D A U k).retainedPoint v).parent = (tower D A U).toOrderedTree.parent k v := by …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger_retainedPoint_mapline 145Source documentation
The retained point is the actual map used by the infinite evaluator.
theorem candidateLedger_retainedPoint_map (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) : ((candidateLedger D A U k).retainedPoint v).map = (tower D A U).toEvaluation.map (k + 1) v := by …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger_retainedPoint_generatedline 158Source documentation
Each actual retained map carries its original generation derivation.
theorem candidateLedger_retainedPoint_generated (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) : Generated D.closed D.convex D.T D.nonexpansive (((candidateLedger D A U k).retainedPoint v).map) := …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.Generated, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger
- def
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateFunctionalline 165Source documentation
The detector functional is the one chosen for this candidate record.
def candidateFunctional (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) : X →L[ℝ] ℝ := …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower
- def
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePointLedgerline 170Source documentation
The same actual ledger, evaluated at the single fixed anchor.
def candidatePointLedger (k : ℕ) : CandidateLedger (tower D A U).toOrderedTree k D.K where …Mentions: OAI.ReflexiveFixedPoints.CandidateLedger, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePointLedger_retainedPointline 180Source documentation
Its retained outputs are the actual final tree maps at the fixed anchor.
theorem candidatePointLedger_retainedPoint (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) : (candidatePointLedger D A U k).retainedPoint v = (tower D A U).toEvaluation.map (k + 1) v A.x := by …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePointLedger
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePointLedger_earlierParentline 187 - theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePointLedger_earlierPointline 192 - def
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefixline 199Source documentation
The actual history at the instant this retained candidate was chosen.
def candidatePrefix (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) : List (CandidateRecord (context D A U k)) := …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.CandidateRecord, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.context
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefix_lengthline 205 - def
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefixIndexline 212Source documentation
This equivalence only changes the proof of the same prefix length.
def candidatePrefixIndex (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) : Fin (candidatePrefix D A U k v).length ≃ (candidatePointLedger D A U k).Earlier v := …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefix, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePointLedger
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefixIndex_valline 218 - theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefix_recordline 224Source documentation
Every earlier ledger entry is the record in the actual earlier history.
theorem candidatePrefix_record (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) (i : Fin (candidatePrefix D A U k v).length) : (candidatePrefix D A U k v).get i = (candidateLedger D A U k).earlierPoint v (candidatePrefixIndex D A U k v i) := …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefix, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefixIndex
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefix_parentline 234Source documentation
The history and the final prediction parameter use the same parent labels.
theorem candidatePrefix_parent (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) (i : Fin (candidatePrefix D A U k v).length) : (context D A U k).historyParent (candidatePrefix D A U k v) i = (candidatePointLedger D A U k).earlierParent v (candidatePrefixIndex D A U k v i) := by …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefix, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.context, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePointLedger, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefixIndex
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefix_pointline 245Source documentation
History outputs and the prediction ledger agree at the original anchor.
theorem candidatePrefix_point (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) (i : Fin (candidatePrefix D A U k v).length) : (context D A U k).historyPoint (candidatePrefix D A U k v) i = (candidatePointLedger D A U k).earlierPoint v (candidatePrefixIndex D A U k v i) := by …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefix, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.context, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePointLedger, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefixIndex
- theorem
OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefix_legalline 256Source documentation
The retained candidate's detector was proved for this exact prefix.
theorem candidatePrefix_legal (k : ℕ) (v : (tower D A U).toOrderedTree.Node (k + 1)) : (context D A U k).Legal (candidatePrefix D A U k v) ((candidateLedger D A U k).retainedPoint v) := …Mentions: OAI.ReflexiveFixedPoints.AnchoredCandidateContext.tower, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.context, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidatePrefix, OAI.ReflexiveFixedPoints.AnchoredCandidateContext.candidateLedger