continuous_if :
∀ {α : Type u_1} {β : Type u_2} [_inst_1 : topological_space α] [_inst_2 : topological_space β]
{p : α → Prop} {f g : α → β} {h : Π (a : α), decidable (p a)},
(∀ (a : α), a ∈ frontier {a : α | p a} → f a = g a) →
continuous f → continuous g → continuous (λ (a : α), ite (p a) (f a) (g a))