-
Notifications
You must be signed in to change notification settings - Fork 242
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
[ refactor ] Move Data.List.Relation.Unary.All.Properties.all⊆concat
to Data.List.Relation.Binary.Sublist.Setoid.Properties
#2524
Conversation
…`SetoidProperties`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes me wonder if we have equational proof combinators for ⊆ reasoning.
We do, AFAIK, but would they help here? Oh, I suppose you could eliminate my go-to pattern of |
Will try to collect examples of fragility. My memory is that it mostly arises in two cases: 1) Agda upgrades, 2) (what ought to be) minor refactorings. |
I'm with @JacquesCarette on this one. It is also my experience that rewrite proofs tend to be very fragile, and refactoring proofs that use extensive rewriting is extremely painful. In particular, it's very non-obvious which and how many terms in the goal are being rewritten. To be honest, I would be happy with a blanket policy of no rewrite proofs in the library, but I realise that might be a bit extreme. |
I'll fix up the |
It turns out I was wrong. There is a module |
This perhaps is one of those rare situations where I envy the affordances in the
Well, it's a good yardstick to hold on to, I suppose, and have refactored accordingly. But I agree it might be 'too extreme'... except that we could put it in the |
Given 2 approvals, are you each happy for me also to fold in tightening the |
I'm always pro tighter imports. |
Fixes #2517 following discussion there.
Re-exports to
Data.List.Relation.Binary.Sublist.Propositional.Properties
automatically, so this strictly generalises #2513 as a solution to #2509 .