# [tlaplus] Requesting help with TLAPM proof

• From: Swee Warman <swee@xxxxxxxxx>
• Date: Tue, 14 Jul 2020 05:16:49 -0700 (PDT)

Hi,

I am learning to use the TLAPM prover and would like some help.

I have the following simple example and I am trying to prove the theorem as shown below. I am not sure how to prove this in TLAPM. Anyone has any thoughts on how I could proceed?

Many thanks,
Swee

------------------------------- MODULE test -------------------------------

EXTENDS Naturals, TLAPS

VARIABLE y

inc == y' = [i \in DOMAIN y |-> y[i] + 1]

THEOREM inc => \A i \in DOMAIN y: y[i]' /= y[i]
<1> SUFFICES ASSUME inc
PROVE  \A i \in DOMAIN y: y[i]' /= y[i]
OBVIOUS
<1> QED
BY DEF inc

============================================

--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.