-
Notifications
You must be signed in to change notification settings - Fork 257
[ refactor ] Data.Fin.Properties.decFinSubset
#2793
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
base: master
Are you sure you want to change the base?
Conversation
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.
Otherwise I approve
Data.Fin.Properties.decFinSubset
Data.Fin.Properties.decFinSubset
@MatthewDaggitt can you re-review ahead of a possible merge? |
src/Data/Fin/Properties.agda
Outdated
¬ (∀ i → P i) → (∃ λ i → ¬ P i) | ||
¬∀⟶∃¬ n P P? ¬P = map id proj₁ (¬∀⟶∃¬-smallest n P P? ¬P) | ||
|
||
-- Kleisli lifting of Dec over Unary subset relation |
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.
Hmm... this isn't actually Kleisli! My mistake, fix incoming...
Hmm... some weird sync error. Have fast-forwarded with |
Cherry-picked from #2744 . Almost purely cosmetic:
variable
s. NB. cf. Fix breaking introduction of variable inSemiring.Primality
#2774 for problems with non-prenex use of such thingsall?
to avoid use ofdecFinSubset
(idiotic complexity blow-up)CHANGELOG
NB.
DecFinSubset.cons
makes successful use ofλ-
and$-
, but I don't seem able to do so forQ⊆P⇒Q⊆ₛP
thanks to unsolved metas!?flip contradiction
! [ add ] new name forflip
ped version ofRelation.Nullary.Negation.Core.contradiction
#2784