Hi Francisco, would you mind sharing your proof attempt, that would make it easier to understand what is going on? The first proof must rely on induction on finite sets.The corresponding theorem FS_Induction is found in module FiniteSetTheorems in the library modules for TLAPS [1]. But yes, proofs involving CHOOSE can be tricky. The second problem should be easier to solve. It sounds like the prover cannot figure out that j \in DOMAIN injug. Is the assumption injug \in [Jugs -> Nat] (which probably comes from a type-correctness predicate) part of the hypotheses of the proof step? Hope this helps, Stephan [1] https://github.com/tlaplus/tlapm/blob/main/library/FiniteSetTheorems.tla
--
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. To view this discussion visit https://groups.google.com/d/msgid/tlaplus/06D6EAAE-DB2F-4F82-9962-49A5651B97DE%40gmail.com. |