[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*From*: Isaac DeFrain <isaacdefrain@xxxxxxxxx>*Date*: Thu, 22 Apr 2021 12:03:20 -0600*Ironport-hdrordr*: A9a23:BbfWY6MWMT2iv8BcTxz255DYdL4zR+YMi2QD/3taDTRIb82VkN2vlvwH1RnyzA0cQm0khMroAsXwOk/03aVepa0cJ62rUgWjgmunK4l+8ZDvqgeMalXD38Zn/+Nbf6B6YeebfCFHpOz95xS1FMtl/cmf/MmT9JHj5lpObSUvUaFv6A9lFh2We3cYKjVuKJIlGPOnl7h6jhW6f3B/VLXJOlAkWKz5q8TPhNbaZ3c9dm4awSyPly7twKXxEhiG0n4lInBy6JIj63WAsgD9/8yYwrGG4zrdzXKWz7k+oqqs9vJnBNaQzvESMCiEsHfoWK1FW6ee+Awzuv2l8lwwkNLByi1Qffhbz1P0UiWLrQD22w/muQxelUPK7VeZhHvlr4j9RCgmYvAxyL5xVhfC8UIvsJVd/ctwrheknqNNARnNkSj77dSgbWAhqmOOrXAvkfEeghVkOON0Gdgh1/1iwGpvHJ0NHD335cQcKcYGNrCg2N9sfVyXdHzftGV0qebcL0gbJRueR1hHh8r96UkcoFlCw0wUyNd3pBc93aggQJpJ7fmsCNUdqJhySKYtHNVALdZEase6DVHNTQnBWVjiRWjPJeUoPzbop4Ts6Ls4oNu2cIEFpaFC+6jpYRd3s2g9fk6rJO+v+Nlw8h7LSHigRjiF8KBjzqk8lLv7Sr/mdQOZTkw21+usys9vTPHzarKcPpRZBvOmF2/yAMJy2RHkUZU6Ewh9bOQl/vAhW1yPpcrPbqX3q+3Wd+vSLrLxETAiHljyGGcHQSKbHrQJ0mmbHlnigBbQXHvpPnby+p99C8HhjqEu4blIDYFHvggLhVnR3LDvWFsyzZAeTQ9FObvi1om7qWO18WuNz2IsFAFaEl892sSub093*References*: <83feca0e-9080-4c90-b522-5a92f363dec7n@googlegroups.com>

Hello Joana,

Only integer division is defined.

Best,

Isaac

On Thu, Apr 22, 2021 at 9:54 AM Joana Cruz <jsrcruz@xxxxxxxxx> wrote:

Hi,I have been trying to learn TLA+ and proposed myself as an exercise trying to model the algorithm that is usually used to get the norm of a vector: www.netlib.org/blas/dnrm2.fHowever this algorithm makes use of division (SSQ = ONE + SSQ* (SCALE/ABSXI)**2).I have been having mixed answers on whether division is possible or not. On the one hand in this post Checking equivalence of two algorithms (google.com) sounds like this should be doable.Older posts (as far as 2014) do say that division on real is not possible, but they also mention the possibility of developing it at some point. Since Z3 is now one of the back end provers for TLA+, I was wondering if it was the case that now real division is supported.I come to realize that I needed to override the real definition and that enabled the algorithm to be correct when the vector entries are in the set {-1, 0, 1}.But I wanted to expand this proof upto -5..5 at least.If it turns out that division is not possible, can anybody point me to any prover/tool where I could model this algorithm?Thanks,Joana--

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 on the web visit https://groups.google.com/d/msgid/tlaplus/83feca0e-9080-4c90-b522-5a92f363dec7n%40googlegroups.com.

Isaac DeFrain

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 on the web visit https://groups.google.com/d/msgid/tlaplus/CAM3xQxEv6p_k5Aad%3DbLDh-nFFaUAQWiHoruP02oy9ft-yXkhxQ%40mail.gmail.com.

**References**:

- Prev by Date:
**Re: [tlaplus] Floating Point operations to check equivalence of algorithms** - Next by Date:
**Re: [tlaplus] Re: About Action** - Previous by thread:
**Re: [tlaplus] Floating Point operations to check equivalence of algorithms** - Next by thread:
**[tlaplus] CSP vs. TLA+** - Index(es):