Let 𝑦 ∈𝑌 and 𝑥1,𝑥2 ∈𝑓−1{𝑦}, so that 𝑓(𝑥1) =𝑓(𝑥2) =𝑦
𝑥1 and 𝑥2 have open neighbourhoods 𝑈 and 𝑉 respectively such that 𝑓 ↾𝑈 and 𝑓 ↾𝑉 are injections:
Thus 𝑈 ∩𝑓−1{𝑦} ={𝑥1} and 𝑉 ∩𝑓−1{𝑦} ={𝑥2}.
Since 𝑈 and 𝑉 are open in 𝑋,
the singletons {𝑥1} and {𝑥2} are open in the subspace topology of the fibre 𝑓−1{𝑦}.
The selection of 𝑥1,𝑥2 ∈𝑓−1{𝑦} was arbitrary,
therefore 𝑓−1{𝑦} carries a discrete topology for any 𝑦 ∈𝑌.