I will give you that, numbers varied from a high of 72 to a low considerably below that at times. The 33rd fighter group was supposed to reinforce the 57th in Egypt but got grabbed for Torch.
I think maybe the C/O was embedded with the British for a while.
Demonstrating a utility isn't quite the same as fielding a new engine in a fighter with much enhanced altitude performance and yet using it for the same old tasks.
There was no " theoretically more advanced P-39 " in mid to late 1942. Most people involved with planning Torch and the subsequent campaigns should have already known that the P-39 was NOT a fighter in the NA/European theaters. It was having trouble with the Japanese fighters in New Guinea and the South Pacific. Or perhaps you were being sarcastic?
No, what I'm saying is that the P-39 was still thought of in a lot of USAAF circles as the more modern aircraft than the P-40. Keeping mind the P-40 was a derivation of the P-36, whereas the P-39 was a brand new design with some radical new features, and comparatively very good streamlining. I believe they did not know that the P-39 was going to be a 'dud' in the Med though perhaps the possibility was starting to dawn on USAAF planners by the time of Torch (personally I don't think it was even a foregone conclusion, as I think part of the problem with the P-39 in that Theater was due to training and tactics). The reason the P-39 ended up in some major battles in the Pacific and why it was sent to the Med was because it was expected to be a good fighter.
As a more general point, I also don't think it was a broad assumption in 1942 that the Japanese fighters were pushovers (I don't think that myself today, but I know many here do). To the contrary, I believe a lot of people were still pretty scared of the Japanese War Machine at that point as it still looked pretty damn formidable. Also lets not forget the P-39 was doing well in Russia by late 1942, I don't know if the word got back to the US War Dept but I would assume it did. On the other hand bad experiences in the Pacific were also undoubtedly filtering back as well.
I believe hopes in US planning circles for the P-39 were probably fading leading up to Torch but established planning, which tends to have a certain amount of inertia in the military,. still had it as the better fighter in certain circles in the War Department. After all, it was faster and more heavily armed, and climbed better than the P-40. Newer hopes were being pinned on the P-38 to a greater degree of course, but they didn't know it would still be a few more subtypes in the queue before that fighter would reach it's full potential.
We can see all this stuff very clearly in hindsight but I don't think they knew everything at the time.
Well, if the Allison P-40 was intended to be a fighter bomber in mid 1942 they screwed up putting in the -81 and later engines. Losing almost 10% of your take-off power doesn't sound like good planning to me

Not to mention cutting the WEP rating from 60in to 57in. The -81 engines did improve performance at altitudes higher than around 5,000ft though. Fighter bomber for use in mountains?
Well, lets compare the other major fighter bomber in the Theater after the P-40 - the P-47. Unlike the Typhoon that it often gets compared to, it was designed as a high altitude fighter and it was primarily at high altitude where it performed best, at 30,000 feet right? And yet it was pressed into service as a fighter bomber, in several of the very same fighter groups that had been flying the P-40F. In that role I would guess the Typhoon was actually better since the P-47 wasn't ideal for flying around near sea-level. Yet that is what it often had to do.
As for the evolution of doctrine here, I don't have any memos to quote from Washington, my perception on this are based from reading unit histories like the 79th FG for which I have two books, and the 57th and 325th FG and so on. I get the impression they really didn't know precisely what kind of missions these aircraft, by which I mean all the American aircraft particularly the fighters, would be flying. This is why they had such an eclectic mix - P-38s, Spitfires, P-39s, P-40Fs and Ls, and P-40Ks, A-36s and Beaufighters - and that is just in the American forces.
The analogy in my mind, is I do martial arts and I can tell you, before a tournament, you really don't know what kind of fight you are going to be in. Opponents are randomized so you don't know who you will face. Or which part of your 'game' you are going to need. So it's good to be as well rounded as possible. Prepare for long and short distance, grappling and striking, for a quick encounter or for a long battle of attrition. You can sort of pre-load your best techniques, but you can't actually predict what is behind the event horizon. I find, somewhat superstitiously, it is bad luck to even think about what happens after a match. Let alone what happens after all the matches, after you get through your pools and if you will make it into the eliminations.
Anyway I just get the impression the USAAF people didn't know exactly what they were going to be getting into in North Africa. They certainly brought a lot of different tools into the mix, and they had some idea, but they were facing what was for most of them, new opponents in the Germans and Italians.
And here you have put your finger on one of the differences between the operational history/use of the P-40F and the Typhoon. The Typhoon only occasionally was used as an escort and for a good part of it's career it was the aircraft being escorted. Conditions and operations changed but for a good number of Typhoon missions if the German fighters got in gun range of the Typhoons the Spitfires had screwed up.
Well, it was the same with Hurricanes but they didn't start out that way. My theory is that with a fighter, the first few combats start to dictate how it will end up being used. No plan survives contact with the enemy.
I would also note that trying to compare a stripped P-40F or L shows just how far off the P-40 was. Not six guns but four .50s with how much ammo? AHT shows 235 rounds per gun for an L. Typhoon is carrying 140 shells for each of it's four 20mm guns. Taking out the forward wing tank leaves you with about 20% more fuel than a Spitfire rather than the almost 60% more fuel you have with the forward tank. Typhoon has about 50% more internal fuel than the P-40L with two internal tanks. Yes the Typhoon is larger and heavier but with that forward tank missing the Typhoon, at most economical speed at 15,000ft has about 50-60 miles more range than the P-40L going just about the same speed.
The P-40L or stripped P-40F seemed to have limited range, but I guess that 20% made a difference. I believe they only did it when the air to air combat was intense, because you see a lot of these planes with the six guns in them too. How much fuel is needed even with the tanks in of course depends on the mission. Somehow they seem to have been flying P-40Ls on missions halfway across the Med. It's a bit of a mystery to me.