@[instance_reducible]
Equations
- DY.Literal.Literal.instFunctorSizeOfSubF = { sizeOf := fun {t : Type} [SizeOf t] (x : DY.Literal.Literal.SubF t) => match x with | { lit := lit } => 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.
Instances For
Equations
Instances For
@[instance_reducible]
Instances For
@[instance_reducible]
Instances For
theorem
DY.Literal.bytesToLiteral_literalToBytes
[BytesFunctor]
[BytesFunctor.Has SubF]
(lit : ByteArray)
:
theorem
DY.Literal.literalToBytes_bytesToLiteral
[BytesFunctor]
[BytesFunctor.Has SubF]
(buf : Bytes)
:
match bytesToLiteral buf with
| none => True
| some lit => buf = literalToBytes lit
@[simp]
theorem
DY.Literal.length_literalToBytes
[BytesFunctor]
[BytesLength]
[BytesFunctor.Has SubF]
[BytesLength.Has SubF.length]
(buf : ByteArray)
:
Equations
Instances For
@[instance_reducible]
Equations
Instances For
Equations
Instances For
theorem
DY.Literal.attacker_knows_literalToBytes
[BytesFunctor]
[BytesFunctor.Has SubF]
[ExecTraceTypes]
[BaseAttackerKnowledge]
[AttackerKnowledge]
[AttackerKnowledge.Has attackerKnowledge]
(lit : ByteArray)
(tr : ExecTrace)
:
(literalToBytes lit).AttackerKnows tr
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
DY.Literal.invariants.internal
[BytesFunctor]
[ExecTraceTypes]
[ProofTraceTypes]
(id✝ : Fin 1)
:
Equations
Instances For
@[instance_reducible]
Instances For
theorem
DY.Literal.invariantsProofs.internal
[BytesFunctor]
[ExecTraceTypes]
[ProofTraceTypes]
[BytesInvariants]
(id✝ : Fin 1)
:
@[simp]
theorem
DY.Literal.literalToBytes.WellFormed
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesWellFormed]
[BytesWellFormed.Has Literal.invariants.well_formed]
(lit : ByteArray)
(tr : ProofTrace)
:
(literalToBytes lit).WellFormed tr
@[simp]
theorem
DY.Literal.literalToBytes.label
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesInvariants]
[BytesInvariants.Has invariants]
(lit : ByteArray)
(tr : ProofTrace)
:
@[simp]
theorem
DY.Literal.literalToBytes.Invariant
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesInvariants]
[BytesInvariants.Has invariants]
(lit : ByteArray)
(tr : ProofTrace)
:
(literalToBytes lit).Invariant tr