Skip to content

Mixing of different domains for symbolic variables #6862

@golam-m-hossain

Description

@golam-m-hossain

From suge-support

On Sep 1, 11:35 pm, Mani chandra [email protected] wrote:

Mani chandra wrote:

sage: x = a + I*b
sage: real(x.conjugate().simplify())
real_part(a) + imag_part(b)
sage: real(x.conjugate())
real_part(a) - imag_part(b)

This seems to be happening because maxima(via simplify)
treats variables as real whereas pynac treats as
complex.

sage: x.conjugate()
conjugate(a) - I*conjugate(b)

sage: x.conjugate().simplify()
a - I*b

Upstream: Reported upstream. Developers deny it's a bug.

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/6862

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions