Skip to content

Infinite loop with combination of BReduce -> True and $KeepLogDivergentScalelessIntegrals = True #364

Open

Description

@MJKirk

If you set $KeepLogDivergentScalelessIntegrals = True and set the option BReduce -> True in B0, FeynCalc will try to reduce B0[0,0,0] resulting in an infinite loop and a recursion limit error.

This appears to be limited to B0 itself, as

PaVe[0, {0}, {0, 0}]
PaVeReduce[%, BReduce -> True]

does not give a error.

Activity

  1. added a commit that references this issue on Jul 9, 2026
  2. added
    fixed
    on Jul 9, 2026
  3. self-assigned this
    on Jul 9, 2026
  4. vsht commented on Jul 9, 2026

    @vsht
    Member

    I fixed this one, but after looking at the whole approach once again, I'm
    strongly inclined to completely remove $KeepLogDivergentScalelessIntegrals
    in the dev version and the next stable release.

    This functionality is way too fragile and is not supported by most of the loop related functions,
    so it's advertising it is an "UV/IR divergences separation method in FeynCalc" is simply wrong.

  5. MJKirk commented on Jul 14, 2026

    @MJKirk
    Author

    I would prefer to keep the$KeepLogDivergentScalelessIntegrals option (for basically the reasons given the FeynCalc 10.3 paper when it was introduced - that it is very useful for EFT matching and renormalisation at 1-loop), but as I see the argument that it's not nice to have something that only works for 1-loop given the increased multi-loop functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugfixed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions