Prefix an actual continuation to a query
DefinitionAPFOriginalQuestion_prependapforiginal-questionprivate
Prefix an actual continuation to a query
Prefixing a typed path to an admission or ledger query concatenates that path with the query's suffix.
The ledger value and both question forms are retained.
Generic supporting mathematics in the reference mission, at the hypotheses shown in the formal statement.
Definition code
import Definitions.Def_APFOriginalQuestion_Primitive
import Definitions.Def_APFTypedHistory
import Mathlib.Tactic
set_option autoImplicit false
open APFTypedHistory APFOriginalQuestion
universe u v w
variable {N : Type u} {E : N → N → Type v} {V : Type w} {a b c : N}
def APFOriginalQuestion.prepend (p : Path E b c) : Primitive E V c → Primitive E V b
| .admission d r => .admission d (Path.append p r)
| .ledger d r x => .ledger d (Path.append p r) x
Source
Accepted OriginalQuestion source SHA decb78490bd436cb643e1ecdff9ee05b8926450b93117b4b62346c4e695e9cd2