- msg : Bytes
- sig : Bytes
Instances For
@[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
@[instance_reducible]
Equations
Instances For
@[instance_reducible]
Equations
Instances For
Equations
- DY.Example.ACME.WithDEO.SignDEO.SubF.internal 0 = DY.Signature.Vk.SubF
- DY.Example.ACME.WithDEO.SignDEO.SubF.internal 1 = DY.Signature.Sign.SubF
- DY.Example.ACME.WithDEO.SignDEO.SubF.internal 2 = DY.Example.ACME.WithDEO.SignDEO.DEO.SubF
- DY.Example.ACME.WithDEO.SignDEO.SubF.internal ⟨n.succ.succ.succ, isLt⟩ = ⋯.elim
Instances For
Equations
- DY.Example.ACME.WithDEO.SignDEO.SubF.length.internal 0 = DY.Signature.Vk.SubF.length
- DY.Example.ACME.WithDEO.SignDEO.SubF.length.internal 1 = DY.Signature.Sign.SubF.length
- DY.Example.ACME.WithDEO.SignDEO.SubF.length.internal 2 = DY.Example.ACME.WithDEO.SignDEO.DEO.SubF.length
- DY.Example.ACME.WithDEO.SignDEO.SubF.length.internal ⟨n.succ.succ.succ, isLt⟩ = ⋯.elim
Instances For
@[reducible, inline]
abbrev DY.Example.ACME.WithDEO.SignDEO.DEO.SubF.pack [BytesFunctor] [BytesFunctor.Has SubF] (x : SubF Bytes) :
Equations
- x.pack = DY.BytesView.pack x
Instances For
@[instance_reducible]
instance DY.Example.ACME.WithDEO.SignDEO.instCanSignBytes_examples [BytesFunctor] [BytesFunctor.Has SubF] :
Equations
- One or more equations did not get rendered due to their size.
def DY.Example.ACME.WithDEO.SignDEO.deogen [BytesFunctor] [BytesFunctor.Has SubF] (msg sig : Bytes) :
Equations
- DY.Example.ACME.WithDEO.SignDEO.deogen msg sig = { msg := msg, sig := sig }.pack
Instances For
theorem DY.Example.ACME.WithDEO.SignDEO.verify_sign [BytesFunctor] [BytesFunctor.Has SubF] (sk nonce msg : Bytes) :
theorem DY.Example.ACME.WithDEO.SignDEO.verify_deo [BytesFunctor] [BytesFunctor.Has SubF] (sk nonce msg1 msg2 : Bytes) :
Signature.verify (Signature.vk (deogen msg2 (Signature.sign sk nonce msg1))) msg2 (Signature.sign sk nonce msg1) = true
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def DY.Example.ACME.WithDEO.SignDEO.deogen.attackerKnowledge [BytesFunctor] [BytesFunctor.Has SubF] :
Equations
- One or more equations did not get rendered due to their size.
Instances For
def DY.Example.ACME.WithDEO.SignDEO.attackerKnowledge.internal [BytesFunctor] [BytesFunctor.Has SubF] :
Equations
- DY.Example.ACME.WithDEO.SignDEO.attackerKnowledge.internal 0 = DY.Example.ACME.WithDEO.SignDEO.vk.attackerKnowledge
- DY.Example.ACME.WithDEO.SignDEO.attackerKnowledge.internal 1 = DY.Example.ACME.WithDEO.SignDEO.sign.attackerKnowledge
- DY.Example.ACME.WithDEO.SignDEO.attackerKnowledge.internal 2 = DY.Example.ACME.WithDEO.SignDEO.deogen.attackerKnowledge
- DY.Example.ACME.WithDEO.SignDEO.attackerKnowledge.internal ⟨n.succ.succ.succ, isLt⟩ = ⋯.elim
Instances For
@[instance_reducible]
Equations
Instances For
theorem DY.Example.ACME.WithDEO.SignDEO.attacker_knows_vk [BytesFunctor] [BytesFunctor.Has SubF] [ExecTraceTypes] [BaseAttackerKnowledge] [AttackerKnowledge] [AttackerKnowledge.Has attackerKnowledge] (sk : Bytes) (tr : ExecTrace) :
sk.AttackerKnows tr → (Signature.vk sk).AttackerKnows tr
theorem DY.Example.ACME.WithDEO.SignDEO.attacker_knows_sign [BytesFunctor] [BytesFunctor.Has SubF] [ExecTraceTypes] [BaseAttackerKnowledge] [AttackerKnowledge] [AttackerKnowledge.Has attackerKnowledge] (sk nonce msg : Bytes) (tr : ExecTrace) :
sk.AttackerKnows tr → nonce.AttackerKnows tr → msg.AttackerKnows tr → (Signature.sign sk nonce msg).AttackerKnows tr
theorem DY.Example.ACME.WithDEO.SignDEO.attacker_knows_deogen [BytesFunctor] [BytesFunctor.Has SubF] [ExecTraceTypes] [BaseAttackerKnowledge] [AttackerKnowledge] [AttackerKnowledge.Has attackerKnowledge] (msg sig : Bytes) (tr : ExecTrace) :
msg.AttackerKnows tr → sig.AttackerKnows tr → (deogen msg sig).AttackerKnows tr