On the disposal of a licence, relevant qualifying expenditure incurred by the person making the disposal—
shall be treated as expenditure falling within section 38(1)(b).
Expenditure incurred as mentioned in subsection (1) above is relevant expenditure if, and only if—
In subsection (2) above and subsection (4) below, the expression "if the trading condition had been fulfilled" means, in relation to expenditure of a capital nature on research and development, if, after the expenditure was incurred but before the disposal concerned was made, the person incurring the expenditure had set up and commenced a trade connected with that research and development; and in subsection (2)(b) above—
"relevant chargeable period" has the same meaning as in section 441 of the Capital Allowances Act; ...
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Relevant expenditure is qualifying expenditure only to the extent that it does not exceed the disposal value which, by reason of the disposal—
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Where, on the disposal of a licence, subsection (1) above has effect in relation to any relevant qualifying expenditure in respect of which the person had not in fact been entitled to an allowance as mentioned in subsection (2)(b) above—
Where, on the disposal of a licence which is a part disposal, subsection (1) above has effect in relation to any relevant qualifying expenditure, then, for the purposes of section 42, that expenditure shall be treated as wholly attributable to what is disposed of (and, accordingly, shall not be apportioned as mentioned in that section).
In this section "research and development" has the same meaning as in Part 6 of the Capital Allowances Act (research and development allowances).