Duality of Injectivity/surjectivity of precomposition map
Statement
If we fix a function on sets , and a set and consider the precomposition map
Then injective surjective, and surjective injective. This is a very well-known result, critical to many areas of algebra.
Every time I have seen this the proof is done in four parts. I.e., both directions of the two statements are all proven separately. Moreover, the proofs are usually done "point-wise", e.g., "Take some , then if is surjective there is a preimage such that , ...". This feels unsatisfying, by try as I might I can't find a cleaner way. I have to admit that I don't really understand why we get this nice duality.
My question: Is there a conceptual proof of these statements that leverages some deeper duality, gives a single, unified, illuminating argument, and avoids resorting to four cases?
Posed by grge · ct.category-theory
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-490476.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-490476.lean
import Mathlib /-! # Duality of Injectivity/surjectivity of precomposition map Source: https://mathoverflow.net/questions/490476 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_490476 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_490476