Zulip Chat Archive

Stream: Is there code for X?

Topic: logic.relation.symm_gen equivalent


Andrew Carter (Dec 17 2022 at 21:14):

In logic.relation I see a refl_gen and a trans_gen, but is there also an equivalent to a symm_gen hiding somewhere? I realize its trivial, but so is refl_gen so it seems a little bit weird to me that there are just the 2/3 so I'm worried I might be blind.

Martin Dvořák (Dec 17 2022 at 21:18):

(deleted)

Mario Carneiro (Dec 17 2022 at 21:24):

surely that exists in the formalization of undirected graphs

Mario Carneiro (Dec 17 2022 at 21:26):

eh, kind of: src#simple_graph.from_rel

Mario Carneiro (Dec 17 2022 at 21:27):

it was done ad-hoc with an additional irreflexivity step since that's what was needed. (It is also trivial, so it makes sense that it was not extracted to a lemma.)


Last updated: Dec 20 2023 at 11:08 UTC