Zulip Chat Archive
Stream: lean4
Topic: structure extensions
Anthony Bordg (Mar 19 2025 at 16:04):
Is there a convenient way to search for all the extensions (lean keyword extends
) of a given structure
, e.g. Equiv
?
Kyle Miller (Mar 19 2025 at 16:06):
I don't believe so, but the data is available
Kyle Miller (Mar 19 2025 at 16:07):
docs#Lean.structureExt via docs#Lean.StructureInfo.parentInfo
You'd have to iterate through all structures and see what's in the parentInfo fields to see what extends a given structure
Kyle Miller (Mar 19 2025 at 16:09):
I wonder if docgen should show this information, like how it shows instances already. (By the way: if you are ever wondering about class
in particular, then these all appear in the instances list on docgen)
Anthony Bordg (Mar 19 2025 at 16:44):
Kyle Miller said:
I wonder if docgen should show this information
It could be useful.
Last updated: May 02 2025 at 03:31 UTC