Zulip Chat Archive
Stream: new members
Topic: (b + c) % d < a → b + c < a
Tobias Grosser (May 03 2024 at 09:15):
(deleted)
Tobias Grosser (May 03 2024 at 09:16):
(deleted)
Tobias Grosser (May 03 2024 at 09:17):
(deleted)
Tobias Grosser (May 03 2024 at 09:18):
(deleted)
Notification Bot (May 03 2024 at 09:19):
Tobias Grosser has marked this topic as resolved.
Tobias Grosser (May 03 2024 at 09:20):
Let me think about this further. This is not even true.
Yaël Dillies (May 03 2024 at 09:26):
Are you looking for docs#Nat.mod_eq_of_lt ?
Tobias Grosser (May 03 2024 at 09:27):
No, I am trying to proof:
2 ^ w ≤ b + c
⊢ (b + c) % 2 ^ w < a → b + c < a
Tobias Grosser (May 03 2024 at 09:28):
And am looking for the right lemma.
Notification Bot (May 03 2024 at 09:28):
Tobias Grosser has marked this topic as unresolved.
Yaël Dillies (May 03 2024 at 09:28):
Yeah indeed you're going to need more assumptions
Tobias Grosser (May 03 2024 at 09:34):
Should this lemma not hold?
def should_this_hold {a b c : Nat} (h : c ≤ b) : b % c < a → b < a := by
sorry
Tobias Grosser (May 03 2024 at 09:35):
My proof goes through if this lemma would hold
Yaël Dillies (May 03 2024 at 09:35):
Take a = 2
, b = 3
, c = 2
Tobias Grosser (May 03 2024 at 09:37):
OK. I need to switch topics.
Tobias Grosser (May 03 2024 at 09:38):
I had hoped I can bash this somehow. Need to think about this more carefully. Thank you.
Last updated: May 02 2025 at 03:31 UTC