So it only happened once, but two days ago I studied maths (limits and asymptotes) from 8 PM to ~10:45 PM for a maths exam the next day (which I did very well).

When I finished studying, I took a shower and went to sleep at around 11:20PM.
Although I never lucid dream and can hardly recall or have vivid dreams when I sleep so late, I had two lucid dreams in a row, the second of which was really vivid, and in which I could finally decently fly (not swim in the air), control my speed, visit space, (right over the clouds), etc.

So does stimulating the logic part of the brain (like doing maths) increase the chance of attaining lucidity?

Anyway, I'm studying for physics tonight (starting now), and if I get similar results, I may have found a good way to attain lucidity!