Stumped on a Kaldewaij derivation

7 views
Skip to first unread message

elih...@gmail.com

unread,
Oct 16, 2025, 5:31:22 AM (11 days ago) Oct 16
to Calculational Mathematics
Hi all,

On p197 of Kaldewaij's book, I'm having trouble understating the proof that begins (for k=0). The hint "case analysis,Q" is not terribly helpful to me. Can anyone help me undertand how he arrives at the values s.0 and n+1?

Eric m.

Jeremy Weissmann

unread,
Oct 16, 2025, 7:21:47 AM (11 days ago) Oct 16
to mathmeth
I’d be happy to help — do you think you give a simple firewall interface to let me know the relevant properties of the symbols?

--
You received this message because you are subscribed the mathmeth.com mailing list.
To unsubscribe from this group, send email to Calculational-Math...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Calculational-Mathematics?hl=en
---
You received this message because you are subscribed to the Google Groups "Calculational Mathematics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to calculational-math...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/calculational-mathematics/fccead37-9253-44bd-a038-4273aa805bc7n%40googlegroups.com.

Jeremy Weissmann

unread,
Oct 16, 2025, 7:35:25 AM (11 days ago) Oct 16
to mathmeth
Okay, I think I understand:  He’s exploring  Q  under  n := n+1  in the case  k = 0 ,  to derive the update to  s.0 .

By the invariant  Q ,  he is entitled to use  s.0 = (min p : 0 ≤ p ≤ n /\ N.p.n ≤ 0 : p) ,  where  N.p.n  gives the number of zeros in the range  [p..n) .

So to calculate  (min p : 0 ≤ p ≤ n /\ N.p.(n+1) ≤ 0 : p) ,  we need to check if  X.n = 0  or not.  If  X.n ≠ 0 ,  then the minimum is still  s.0  (there are no zeros in the range  [s.0..n+1) ,  so no update to  s.0  is needed.  Otherwise  X.n = 0 ,  so the smallest  p  such that  N.p.(n+1) ≤ 0  is  n+1  (that is, an empty range) ,  so we let  s.0 := n+1 .

+j

On Oct 16, 2025, at 05:31, elih...@gmail.com <elih...@gmail.com> wrote:

elih...@gmail.com

unread,
Oct 17, 2025, 5:23:52 AM (10 days ago) Oct 17
to Calculational Mathematics
Thanks, that helps!
Reply all
Reply to author
Forward
0 new messages