Zulip Chat Archive

Stream: general

Topic: exists data


Johan Commelin (Dec 24 2018 at 05:53):

Is there a clean way to avoid the , true in this condition?

def generate_sieve (c : covering_family U) : covering_family U :=
{ V : over U |  (Ui : over U) (hUi : Ui  c) (f : V  Ui), true }

I guess I should use nonempty? Somehow, that doesn't feel clean to me, and in the past I found it harder to use.

Mario Carneiro (Dec 24 2018 at 06:19):

that's nonempty

Mario Carneiro (Dec 24 2018 at 06:20):

{ V : over U | ∃ Ui ∈ c, nonempty (V ⟶ Ui) }

Johan Commelin (Dec 24 2018 at 06:23):

Ok, I'll try using it again.


Last updated: Dec 20 2023 at 11:08 UTC