I'm partially studying the book Algebraic geometry of Daniel Perrin, and I have a doubt on proposition 1.11 of chapter 4.
For some reasons I'm reading this section without reading the previous one about sheaves and varieties so I'm trying to prove the results changing "algebraic variety" by "algebraic affine set".
I've managed to do it until corolary 1.10 but on proposition 1.11 that states that the dimension of an irreducible algebraic variety is the same as any open subset of it I'm stuck.
So, my question is if it is possible to prove only using theory on algebraic affine sets and the previous results on chapter 4 of the book (but only for algebraic affine sets) that given $A$ an algebraic affine set and $U$ an open, non-empty, subset of $A$ then the dimension of both sets is the same.