mathlib
mathlib copied to clipboard
Merge 3 files about basic properties of relations
We have at least 3 files with basic facts about relations.
-
data/reldefines https://github.com/leanprover-community/mathlib/blob/708faa9f3dba94a57e26ebd27a87cc6cd77a4d06/src/data/rel.lean#L12 then defines (pre)image, (co)domain, composition etc. -
logic/relationworks withα → β → Propwithout introducing a type name. https://github.com/leanprover-community/mathlib/blob/708faa9f3dba94a57e26ebd27a87cc6cd77a4d06/src/logic/relation.lean#L11-L16 -
topology/uniform_space/basicdeals withset (α × β)without introducing a type name. https://github.com/leanprover-community/mathlib/blob/708faa9f3dba94a57e26ebd27a87cc6cd77a4d06/src/topology/uniform_space/basic.lean#L39-L47
See also https://github.com/leanprover-community/mathlib/blob/708faa9f3dba94a57e26ebd27a87cc6cd77a4d06/src/logic/relator.lean#L26-L29