@[instance_reducible]
Equations
- DY.Hash.Hash.instFunctorSizeOfSubF = { sizeOf := fun {t : Type} [SizeOf t] (x : DY.Hash.Hash.SubF t) => match x with | { input := input } => sizeOf input }
@[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.
Equations
- x✝¹.length x✝ = DY.Hash.hashLength
Instances For
@[instance_reducible]
Instances For
@[instance_reducible]
Instances For
Equations
Instances For
@[instance_reducible]
@[simp]
theorem
DY.Hash.length_hash
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesLength]
[BytesLength.Has SubF.length]
(inp : Bytes)
:
Equations
Instances For
@[instance_reducible]
Equations
Instances For
theorem
DY.Hash.attacker_knows_hash
[BytesFunctor]
[BytesFunctor.Has SubF]
[ExecTraceTypes]
[BaseAttackerKnowledge]
[AttackerKnowledge]
[AttackerKnowledge.Has attackerKnowledge]
(inp : Bytes)
(tr : ExecTrace)
:
inp.AttackerKnows tr → (hash inp).AttackerKnows tr
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
theorem
DY.Hash.invariantsProofs.internal
[BytesFunctor]
[ExecTraceTypes]
[ProofTraceTypes]
[BytesInvariants]
(id✝ : Fin 1)
:
@[instance_reducible]
Instances For
@[simp]
theorem
DY.Hash.hash.WellFormed
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesInvariants]
[BytesInvariants.Has invariants]
(inp : Bytes)
(tr : ProofTrace)
:
@[simp]
theorem
DY.Hash.hash.label
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesInvariants]
[BytesInvariants.Has invariants]
(inp : Bytes)
(tr : ProofTrace)
:
@[simp]
theorem
DY.Hash.hash.Invariant
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesInvariants]
[BytesInvariants.Has invariants]
(inp : Bytes)
(tr : ProofTrace)
: