leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: Is there code for X?

Topic: Functions with explicit finite preimage


Gian Cordana Sanjaya (Jul 28 2024 at 03:33):

I want to see if this kind of data structure already exists in Mathlib. I'm sure it is, but I couldn't find it.

structure FiniteFiberFn (α β) where
  fn : α → β
  fiber : β → Finset α
  fiber_spec : ∀ a b, a ∈ fiber b ↔ fn a = b

Yaël Dillies (Jul 28 2024 at 05:53):

No, this doesn't exist


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll