Had the teacher not come, the students wouldn't study.
here, simple tense is used, would + not is used before the verb study.' Would' is a helping veb which to used to support the main verb 'study'. Wouldnot is used to support the first part of the sentence which says 'Had the teacher not come.' and it supports the sentence by making proper sense.