Dear Mohit,
I am responding inline.
Tamarin manual explains observational equivalence (https://tamarin-prover.github.io/manual/book/007_property-specification.html). I have the following questions for observational equivalence proofs:
1. A secrecy lemma is presented in the explanation. However, I believe it is used to show that the protocol satisfies secrecy but not privacy. Also, proving the secrecy lemma is not necessary to prove observations equivalence. Please correct me if I am wrong.
Correct, the secrecy lemma is here to show the difference between
being able to derive the encrypted content (~b) [secrecy property]
and distinguishing whether the known value (~a) was encrypted or
not [privacy property].
The secrecy lemma here has no impact on the equivalence property,
it is just for comparison.
2. Do Restrictions and reuse lemmas influence the observational equivalence proof run-times and steps (similar to trace properties)?
3. If I try to prove the model using the command.
tamarin-prover --diff ObservationalEquivalenceExample.spthy --prove=Observational_equivalence
It gives the error that
WARNING: ignoring the following wellformedness errors
Check presence of the --prove/--lemma arguments in theory:
--> 'Observational_equivalence' from arguments do(es) not correspond to a specified lemma in the theory
To my understanding, it is still valid proof. The warning merely cautions about the absence of an observational equivalence lemma generated automatically. Please correct me if I am wrong.
This will not work. As the automatically generated lemma Observational_equivalence does not exist on loading, the --prove command will not actually prove anything. The summary at the end of Tamarin's run will show:
DiffLemma: Observational_equivalence : analysis incomplete (1
steps)
In that case, nothing(!) is proven. You can simply start the
proof with the --prove (without parameter), but note all lemmas
will be proven. You can comment the others out, if you don't want
that.
4. Observational equivalence mode supports only heuristics: C O c s o. I wonder why does it not support the other heuristics.
Not entirely sure anymore, but we probably did not have a use for
those heuristics and thus did not enable them for Observational
Equivalence. The 'missing' heuristics include those for SAPIC
(which does not support translation to diff theories, I believe)
which would thus not be useful anyway, and injective rankings.
Cheers,
Ralf
---Regards
Mohit Kumar Jangid
--
You received this message because you are subscribed to the Google Groups "tamarin-prover" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tamarin-prove...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tamarin-prover/037378c3-7cb6-437a-9093-c01a7e76e533n%40googlegroups.com.