OAI/NumberTheory/Ostmann/Construction/PreorderTransferPaths.lean
5 declarations, 0 contain sorry, 0 declared as axioms
The actual reconstructed node at a preorder path
- def
OAI.Ostmann.transferNodeAtPathline 11 - theorem
OAI.Ostmann.transferNodeList_get_pathline 21Source documentation
Path lookup and the literal preorder list name the same node.
theorem transferNodeList_get_path {State : Type*} (sys : TransferHistorySystem State) (n : ℕ) (σ : State) (t : FrequencyTree ℤ n) (path : List Bool) (hp : path.length < n) (fallback : ReconstructedTransferNode State) : (transferNodeList sys n σ t).getD (nodePathIndex n path) fallback = transferNodeAtPath sys n σ t path := by …Mentions: OAI.Ostmann.TransferHistorySystem, OAI.Ostmann.FrequencyTree, OAI.Ostmann.ReconstructedTransferNode, OAI.Ostmann.transferNodeList, OAI.Ostmann.nodePathIndex, OAI.Ostmann.transferNodeAtPath
- theorem
OAI.Ostmann.transferNodeAtPath_validline 48 - def
OAI.Ostmann.replayNodeIndicesline 57 - theorem
OAI.Ostmann.replayNodeIndices_actualline 65Source documentation
The node's state is obtained by substituting just its proper ancestor pivots, in their root-to-leaf order.
theorem replayNodeIndices_actual {State : Type*} (sys : TransferHistorySystem State) (n : ℕ) (σ : State) (t : FrequencyTree ℤ n) (path : List Bool) (hp : path.length < n) (d : ℕ) (p : ℕ → ℕ) (hanc : ∀ k < path.length, p (d + k) = (transferNodeAtPath sys n σ t (path.take k)).pivot sys) : replayNodeIndices sys path d p σ = (transferNodeAtPath sys n σ t path).state := by …Mentions: OAI.Ostmann.TransferHistorySystem, OAI.Ostmann.FrequencyTree, OAI.Ostmann.transferNodeAtPath, OAI.Ostmann.replayNodeIndices