Equations
- DY.Random.baseAttackerKnowledge = { attackerKnows := fun (x : DY.ExecTrace) (x_1 : DY.Random.ExecEntryT) (x_2 : DY.Bytes) => False }
Instances For
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
instance
DY.Random.instSubTraceInvariantExecEntryTProofEntryT
[BytesFunctor]
[ExecTraceTypes]
[ProofTraceTypes]
:
Equations
- DY.Random.instSubTraceInvariantExecEntryTProofEntryT = { invariant := fun (x : DY.ProofTrace) (x_1 : DY.Random.ProofEntryT) => True }
@[instance_reducible]
Equations
- DY.Random.instFunctorSizeOfRandom = { sizeOf := fun {t : Type} [SizeOf t] (x : DY.Random.Random t) => match x with | { timestamp := timestamp, size := size } => 0 }
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[reducible, inline]
Equations
Instances For
Instances For
@[reducible, inline]
Instances For
Equations
Instances For
@[reducible, inline]
Instances For
def
DY.Random.Random.invariants
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[ExecTraceTypes.Has ExecEntryT]
[ProofTraceTypes.Has ProofEntryT]
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[reducible, inline]
abbrev
DY.Random.invariants
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[ExecTraceTypes.Has ExecEntryT]
[ProofTraceTypes.Has ProofEntryT]
:
Instances For
@[reducible, inline]
abbrev
DY.Random.invariantsProofs
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[ExecTraceTypes.Has ExecEntryT]
[ProofTraceTypes.Has ProofEntryT]
[BytesInvariants]
:
Equations
- ⋯ = ⋯
Instances For
def
DY.Random.genRand
[BytesFunctor]
[BytesFunctor.Has SubF]
[ExecTraceTypes]
[ExecTraceTypes.Has ExecEntryT]
(size : Nat)
:
Equations
- DY.Random.genRand size = do let time ← DY.appendEntry { length := size } pure (DY.Random.makeRand✝ time size)
Instances For
@[instance_reducible]
instance
DY.Random.genRand.spec
[BytesFunctor]
[ExecTraceTypes]
[ProofTraceTypes]
[TraceInvariant]
[BytesInvariants]
[BytesInvariantsProofs]
[BytesFunctor.Has SubF]
[ExecTraceTypes.Has ExecEntryT]
[ProofTraceTypes.Has ProofEntryT]
[TraceInvariant.Has ProofEntryT]
[BytesInvariants.Has invariants]
(size : Nat)
(label : Bytes → Label)
(usage : Usage)
:
HoareTripleGhost (genRand size) (label, usage) (fun (x : ProofTrace) => True) fun (res : Bytes) (tr : ProofTrace) =>
res.Invariant tr ∧ res.label tr = label res ∧ res.HasUsage usage tr