4. Let S be the midpoint of arc \overparenABC, R and T be the midpoints of AC and MN respectively. Then
△AMS≅△CNS⇒SM=SN⇒∠SRK=∠STK=90∘,
i.e., R and T both lie on the circle Γ1 with diameter SK.
Let PQ intersect circle Γ1 at point D. Then
DR=DT,∠ARD=∠DTN.
Let P1 and P2 be the points where the incircle of △AKM touches the lines KA and KM respectively, and Q1 and Q2 be the points where the excircle of △CKN touches the lines KA and KM respectively. Then
RP1+TP2=RA+AP1+MP2+TM=RA+AM+TM,RQ1+TQ2=RC+CN+TN. Thus, RP1+TP2=RQ1+TQ2. Also, RP1+RQ1=P1Q1=P2Q2=TP2+TQ2, so RP1=TQ2,RQ1=TP2. Hence, RP1=TQ2,DR=DT,∠P1RD=∠Q2TD.
Therefore, △DRP1≅△DTQ2⇒DP1=DQ2.
By symmetry, DQ2=DQ1, i.e., △DP1Q1 is an isosceles triangle.
Thus, point D lies on the midline of the right trapezoid PQQ1P1.
Therefore, DP=DQ.
Since SD⊥PQ, it follows that SP=SQ.