-
Notifications
You must be signed in to change notification settings - Fork 247
Look for cases where wlog
can simplify proofs.
#523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@gallais I had a go with this and can't seem to make it work for |
We had the proof in the original PR thread: #450 |
So... five years later, what do we want to do about this? |
I'm happy for it to be closed but there may still be further instances. |
Indeed, tempting to think that the whole of |
And... UPDATED: thinking about this a bit more, I've come to the conclusion that the argument order of ------------------------------------------------------------------------
-- Without Loss of Generality
module _ {_R_ : Rel A ℓ₁} {Q : Rel A ℓ₂} where
wlog : Total _R_ → Symmetric Q →
(∀ a b → a R b → Q a b) →
∀ a b → Q a b
wlog r-total q-sym prf a b with r-total a b
... | inj₁ aRb = prf a b aRb
... | inj₂ bRa = q-sym (prf b a bRa) This (current) version takes But I think it is better understood (more or less) as:
TL;DR: |
It would be great if |
See also #2626 for more opportunities to use |
e.g. *-distribˡ-∣-∣
The text was updated successfully, but these errors were encountered: