∀ {X : Type u_5} [inst : TopologicalSpace X] {U : Set X} [inst_1 : (x : X) → Decidable (x ∈ U)] (hU : IsClopen U),
  LocallyConstant.ofIsClopen hU = { toFun := fun x => if x ∈ U then 0 else 1, isLocallyConstant := ⋯ }