Kernel: SageMath (stable)
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
In [1]:
Exact solution to nonlinear Maxwell's equations and Einstein's equations in Toshmatov et al.
This worksheet is devoted to the study of solutions to the Einstein and nonlinear Maxwell equations from Toshmatov et al. (https://journals.aps.org/prd/abstract/10.1103/PhysRevD.95.084037)
In [1]:
Spacetime: general M(r)
In [2]:
The mass and angular momentum parameters:
In [3]:
The metric:
In [4]:
In [5]:
Electromagnetic field
We need the 1-forms and to form the electromagnetic field; we get them as follows:
In [6]:
In [7]:
The potential defined according to Eq. (25) of Toshmatov et al. (2017):
In [8]:
In [9]:
The electromagnetic field invariant :
In [10]:
Scalar field on the 4-dimensional differentiable manifold M
In [11]:
We introduce the Lagrangian density for the electromagnetic field
In [12]:
Similarly, we introduce as a lambda
function, formed from the derivative of :
Nonlinear Maxwell equation
We introduce the derivative of the Lagrangian density for the electromagnetic field
In [13]:
The nonlinear Maxwell equations read with
In [14]:
Nonlinear Maxwell's equations are satisfied independantly of
In [15]:
Einstein's equations
Energy-momentum tensor of the electromagnetic field
In [16]:
Tensor field of type (1,1) on the 4-dimensional differentiable manifold M
In [17]:
In [18]:
In [19]:
In [20]:
In [21]:
In [22]:
In [23]:
Einstein's tensor
In [24]:
Field of symmetric bilinear forms G on the 4-dimensional differentiable manifold M
In [25]:
In [26]:
In [27]:
In [28]:
In [29]:
In [30]:
In [31]:
Check that Einstein's equations are satisfied
In [32]:
In [33]:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-33-5c5bdec69eff> in <module>()
----> 1 Gud.substitute_function(MM,M0+Integer(8)*gam*pi*Q**Integer(2)/r)==Integer(8)*pi*Tud
/ext/sage/sage-8.3_1804/local/lib/python2.7/site-packages/sage/structure/element.pyx in sage.structure.element.Element.__getattr__ (build/cythonized/sage/structure/element.c:4518)()
491 AttributeError: 'LeftZeroSemigroup_with_category.element_class' object has no attribute 'blah_blah'
492 """
--> 493 return self.getattr_from_category(name)
494
495 cdef getattr_from_category(self, name):
/ext/sage/sage-8.3_1804/local/lib/python2.7/site-packages/sage/structure/element.pyx in sage.structure.element.Element.getattr_from_category (build/cythonized/sage/structure/element.c:4627)()
504 else:
505 cls = P._abstract_element_class
--> 506 return getattr_from_other_class(self, cls, name)
507
508 def __dir__(self):
/ext/sage/sage-8.3_1804/local/lib/python2.7/site-packages/sage/cpython/getattr.pyx in sage.cpython.getattr.getattr_from_other_class (build/cythonized/sage/cpython/getattr.c:2468)()
387 dummy_error_message.cls = type(self)
388 dummy_error_message.name = name
--> 389 raise AttributeError(dummy_error_message)
390 cdef PyObject* attr = instance_getattr(cls, name)
391 if attr is NULL:
AttributeError: 'TensorFieldFreeModule_with_category.element_class' object has no attribute 'substitute_function'