If a contract is written as:
You own things you make on your own time unless you're using company equipment provided: * The thing does not relate to company business * The thing does not result from work you do for the company
It's pretty clear cut what this means and a judge would not care for boolean logic. Of course it's hard to know for sure without knowing the exact wording of the contract.