Ask Your Question

northcity4's profile - activity

2021-08-23 12:56:48 +0200 received badge  Famous Question (source)
2021-08-23 12:56:48 +0200 received badge  Notable Question (source)
2021-08-23 12:56:48 +0200 received badge  Popular Question (source)
2018-10-01 15:20:58 +0200 asked a question Error: 'Object has no attribute 'intersection''

Hi, I am pretty new to SAGE and and am not understanding why my code keeps giving me the error 'RelativeOrder_with_category' object has no attribute 'intersection'. Here is my code:

sage: P1=x^3-x^2-4*x-1
sage: P2=x^3+x^2-2*x-1
sage: K1.<p>=NumberField(P1)
sage: K2.<d>=NumberField(P2)
sage: K.<p,d>=ExtensionField(K1,P2)
sage: O_K=K.ring_of_integers()
sage: A_K1=O_K.intersection(K1)
AttributeError: 'RelativeOrder_with_category' object has no attribute 'intersection'

I have looked at a lot of examples from other questions, but I can't seem to find a solution.