A valid PoV but VERY far from facts for J-10 procurement. Since you made a genuine, let me try to do the same based on what I consider closest to facts.
You can refer to the PAF “official” account written by Alan Warnes on the J-10 procurement back in 2008 so it has nothing to do as you allege.
IRST while a nice to have was not the reason for J-10 nor was Balakot or Rafale. IFF while a valid concern(which is why certain JF-17s have a floodlight for night intercepts) is generally accomplished with a few mechanisms for which the PAF has a robust interrogation capability in both F-16s and JF-17s and why AMRAAM employment is practiced at all ranges especially BVR and was utilized so.
Balakot was not a case of IFF - but intention - neither India nor Pakistan in normalcy wish to escalate without having RoE met and RoE is being engaged by the other(along with a host of other technicalities and then judgement from sector and watch commanders)- if ANY of the IAF aircraft on 26th had fired on a PAF interceptor(which to the IaFs credit in deception meant that by the PAF was in range the M2ks were behind the technical violation line on the Indian side) they would be fired on at range visual ID or NOT.
There are procedures that go just beyond visual ID that establish ID for the PAF - including NCTR built at all levels of sensors both airborne and ground based.
The J-10 procurement was first mulled by the PAF as a strike platform back in the early 2000s - however paucity of funds culled that. At that time the fighter was destined to be called the FC-20 in PAF service. The collapse of Pakistan’s economy during the tenure of the extremely corrupt and incompetent PPP regime and 2008 world recession culled it completely.
The J-10B was a result of Chinese ingenuity but also requests from the head of the sizable PAF team in Chengdu around the early 2000-10 timeframe who while not privy to everything were consulted on some aspects of that aircraft’s progress as well from a UX perspective.
The J-10B was then considered early 2010s but the lack of funds along with potential sale of F-16Vs took priority - as history shows that did not pan out and eventually the economic conditions collapsed further - this did not mean it ever left the ASR for a air superiority and surviving strike aircraft.
Around 2017 - the J-10 discussion opened up again - this time under a parallel opening of Chinese loans just as CPEC was kicking up but being aware of what was cooking at Chengdu the PAF held off waiting to see alternative engine options due to Indian pressure on the RD-93 supply and also wanting to see operational performance of the Chinese engine option for J-10( There are sources that suggest Russian involvement still on what powers J-10C including consulting on Pakistani soil for MRO suggesting some link to powerplant with AL-31 series.. but I cannot state with any authority and would let more strict observers comment
@Deino,
@JamD @Quwa )
Once the Rafale deal was signed - the PAF wanted to expedite the need for maintaining the range edge in BVR - the JF-17 was evaluating /testing a few AESA options since 2010 but performance did not come to PAF’s expectations until a few years later. Part of that was also the ability to employ a longer ranged system and the PAF had been offered the PL-15 in lieu of J-10 purchase.
Again, unconfirmed but reliable sources suggested that during Balakot the PAF took the chance to test AESA testbed JF-17 by looking at performance at the plentiful force projection displayed by India and also test capability of passing targeting data at range to PL-15 successfully.
However, the JF-17 is limited not just by the number of PL-15s it can carry but by range and performance necessary to maximize the PL-15s considerable performance.
I am not referring to the PL-15E
Finally, the Mirages were approaching their end of life and the F-16s will be approaching obsolescence in 5 years including the Block-52s with no potential for upgrades or additional airframes anymore.
So, post pandemic and a bit of impetus the decision was made to formalize the purchase of the J-10C - not just to maintain the BVR edge but because much like the block-70/72 the aircraft has systems and avionics in it borrowed from the J-20 and other cutting edge systems make the only aircraft in the PAF fleet now capable of not just penetrating the formidable IAF ADGE but surviving there against high opposition.
lastly, the capabilities you refer to for IAF Afnet were part of requirements for Link-17 - I know because I can attest(and no more to my well being’s peril) that work was begun on the desk next to me in the summer of 2011 on it.
However, that doesn’t mean AfNET may not have superior implementation or architecture due to more experienced and much more resource pool equipped Indian R&D