Code Rules that apply to this:
26-742  Separate Built- in Cooking Units
Tap Conductors feeding individual built in cooking units from a single branch circuit shall be permitted to smaller than the branch circuit conductors provided the tap conductors:
(a) Are not more than 7.5 m in length; and
(b) Have an ampacity not less than the ampere rating of the built in cooking unit they supply; and
(c) Have an ampacity not less than one-third the ampere rating of the branch circuit overcurrent device.
26-746 Appliances exceeding 1500 watts
(3) For the purpose of this Rule, two or more separate built-in cooking units shall be considered as one.

8-300 Branch circuits supplying Electric Ranges
(1) Conductors of a branch circuit supplying a range in a dwelling unit shall be considered as having a demand of:
(a) 8 Kw where the rating of the range does not exceed 12 Kw; Or
(b) 8 Kw plus 40% of the amount by which the rating of the range exceeds 12 Kw.
(2)  For the purpose of subrule (1), two or more separate Built in cooking units shall be permitted to be considered as one Range.

14-100 (c) also reinforces mechanical protection, and length of the tap conductors

Rule 12-3036 and Table 22 and 23 for box fill.

26-742 also allows us to use taps as small as #12 if the unit is less than 4800 watts and  #14 wire if the unit is less than 3600 watts, but personally, it scares the hell out of me to see #14 on a 40 amp breaker!!
Three different ways to connect cooking appliances. 
Ranges, Cooktops and built-in ovens