The principle is well understood. You could have pointed out how that principle applied - that the lesser included offense of criminal trespass existed under 2d. Researching principles does nothing if there is a missing fact. Or are you referring to yourself as "Computer Guy"?
If it's too much work for you to engage in a thoughful conversation (per the guidelines), just don't engage at all next time. We don't need low effort "search terms..." comments on here.
Honestly, if you just Google the search terms it’s easier for both of us because you can tailor your search to your level of understanding.