Skip to content

simplify_hypergeometric bug #22467

@rwst

Description

@rwst

The result of expansion of a 2F1 expression using simplify_hypergeometric differs from computing the numeric directly:

sage: hypergeometric((1/5, 4/5), (6/5,), 1/10*sqrt(5)*(sqrt(5) - 1))
hypergeometric((1/5, 4/5), (6/5,), 1/10*sqrt(5)*(sqrt(5) - 1))
sage: _.n()
1.04296605906833
sage: hypergeometric((1/5, 4/5), (6/5,), 1/10*sqrt(5)*(sqrt(5) - 1))
hypergeometric((1/5, 4/5), (6/5,), 1/10*sqrt(5)*(sqrt(5) - 1))
sage: _.simplify_hypergeometric()
0

Inside maxima:

maxima: hgfred([1/5, 4/5], [6/5], 1/10*sqrt(5)*(sqrt(5) - 1));
((1-(sqrt(5)-1)/(2*sqrt(5)))^(1/10)*assoc_legendre_p(-4/5,-1/5,1-(sqrt(5)-1)/sqrt(5))*gamma(1/5))/(5*((sqrt(5)-1)/(2*sqrt(5)))^(1/10))

CC: @slel

Component: calculus

Reviewer: Dima Pasechnik

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

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