elucubrate

verb
  1. to produce or compose with great labor and care; to work out in detail through careful study or writing
  2. Usage: formal; literary; often used with 'over' or 'upon'
  3. to study or work late into the night by lamplight
  4. Usage: archaic; rare

Examples