Is it normal in autism to have extreme cognitive rigidity?

I don't have autism at all, I have traits of the autism spectrum and I have a diagnosis of combined ADHD but I am more inclined to be inattentive.

I have fewer sensory problems, moderate social problems, and more severe cognitive problems.

I have trouble understanding and learning things, I am slower than others at learning, I don't understand theoretical concepts, I need a lot of visual and palpable things, concrete things, things that I can see, I don't have much imagination, it's very difficult to imagine something that I can't see or that I've never seen, I don't understand math, and I have a lot of difficulty with logic puzzles, I don't excel in languages, writing or reading, I don't excel in sports, I'm not interested in studying, I'm not interested in any complex subject.

My rigidity is that I am not open to learning new things, I do not accept opinions contrary to mine, I always defend my attitude blindly and do not listen to others, the most extreme rigidity is in the area of ​​​​not wanting to accept opinions contrary to mine, I do not change my beliefs, I am not willing to debate or question my beliefs, my beliefs and opinions are unpopular in the eyes of others but for me they are correct, I am also very rigid about my decision to have indefinitely disconnected from the educational system, I am 31 years old and I have not studied since I was 17 when I barely finished high school, it is something that I hate, I hate mental effort, I hate suffering doing something very heavy and that I do not want to do, I am interested only in my personal goal.