A person who studies or teaches logic.
Someone who constructs theories, especially in the arts or sciences.