Zulip Chat Archive

Stream: mathlib4

Topic: Porting of exists_least_of_bdd vs leastOfBdd


Hunter Monroe (Mar 05 2024 at 01:09):

The reason exists_least_of_bdd exists is to avoid the assumption of DecidablePred like leastOfBdd (these implement the least number principle). However, the ported version of both now use DecidablePred which is duplicative and inconsistent with the documentation. The only place exists_least_of_bdd is used has the porting note "port of Int.exists_least_of_bdd requires DecidablePred, so we use classical". Is there a reason exists_least_of_bdd cannot avoid DecidablePred?

Eric Rodriguez (Mar 05 2024 at 02:04):

(this is docs#Int.exists_least_of_bdd)

Yury G. Kudryashov (Mar 05 2024 at 04:07):

I think that it's a porting bug. I'm slowly cleaning up these bugs but I'm far from being done.

Yury G. Kudryashov (Mar 05 2024 at 04:08):

I'm going to fix these two in a few minutes.

Yury G. Kudryashov (Mar 05 2024 at 04:22):

#11163

Yury G. Kudryashov (Mar 05 2024 at 04:23):

This file was ported manually before mathport.

Hunter Monroe (Mar 05 2024 at 21:17):

Many thanks!


Last updated: May 02 2025 at 03:31 UTC