@[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.
@[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
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
theorem
DY.Concat.split_concat
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
(lhs rhs : Bytes)
:
theorem
DY.Concat.concat_split
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
(buf : Bytes)
(i : Nat)
(lhs rhs : Bytes)
:
@[simp]
theorem
DY.Concat.length_concat
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[BytesLength.Has SubF.length]
(lhs rhs : Bytes)
:
@[simp]
theorem
DY.Concat.length_split
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[BytesLength.Has SubF.length]
(buf : Bytes)
(i : Nat)
(lhs rhs : Bytes)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
Instances For
Equations
- DY.Concat.attackerKnowledge.internal 0 = DY.Concat.concat.attackerKnowledge
- DY.Concat.attackerKnowledge.internal 1 = DY.Concat.splitLeft.attackerKnowledge
- DY.Concat.attackerKnowledge.internal 2 = DY.Concat.splitRight.attackerKnowledge
- DY.Concat.attackerKnowledge.internal ⟨n.succ.succ.succ, isLt⟩ = ⋯.elim
Instances For
theorem
DY.Concat.attacker_knows_concat
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[ExecTraceTypes]
[BaseAttackerKnowledge]
[AttackerKnowledge]
[AttackerKnowledge.Has attackerKnowledge]
(lhs rhs : Bytes)
(tr : ExecTrace)
:
lhs.AttackerKnows tr → rhs.AttackerKnows tr → (concat lhs rhs).AttackerKnows tr
theorem
DY.Concat.attacker_knows_split
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[ExecTraceTypes]
[BaseAttackerKnowledge]
[AttackerKnowledge]
[AttackerKnowledge.Has attackerKnowledge]
(buf : Bytes)
(i : Nat)
(tr : ExecTrace)
:
buf.AttackerKnows tr →
match split buf i with
| none => True
| some (lhs, rhs) => lhs.AttackerKnows tr ∧ rhs.AttackerKnows tr
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
DY.Concat.invariantsProofs.internal
[BytesFunctor]
[ExecTraceTypes]
[ProofTraceTypes]
[BytesInvariants]
(id✝ : Fin 1)
:
@[instance_reducible]
Instances For
Equations
Instances For
@[simp]
theorem
DY.Concat.concat.WellFormed
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[BytesWellFormed]
[BytesWellFormed.Has Concat.invariants.well_formed]
(lhs rhs : Bytes)
(tr : ProofTrace)
:
@[simp]
theorem
DY.Concat.concat.label
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[BytesInvariants]
[BytesInvariants.Has invariants]
(lhs rhs : Bytes)
(tr : ProofTrace)
:
@[simp]
theorem
DY.Concat.concat.Invariant
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[BytesInvariants]
[BytesInvariants.Has invariants]
(lhs rhs : Bytes)
(tr : ProofTrace)
:
@[simp]
theorem
DY.Concat.split.WellFormed
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[BytesWellFormed]
[BytesWellFormed.Has Concat.invariants.well_formed]
(buf : Bytes)
(i : Nat)
(tr : ProofTrace)
:
match split buf i with
| none => True
| some (lhs, rhs) => buf.WellFormed tr = (lhs.WellFormed tr ∧ rhs.WellFormed tr)
@[simp]
theorem
DY.Concat.split.label
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[BytesInvariants]
[BytesInvariants.Has invariants]
(buf : Bytes)
(i : Nat)
(tr : ProofTrace)
:
@[simp]
theorem
DY.Concat.split.Invariant
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[BytesInvariants]
[BytesInvariants.Has invariants]
(buf : Bytes)
(i : Nat)
(tr : ProofTrace)
: