The arm for a quadratic off the real line excludes the arms on the sign of its discriminant - #1799
Merged
Rafael-SOWNet merged 2 commits intoOct 5, 2026
Conversation
…gn of its discriminant An antiderivative over a quadratic with i among its coefficients has an arm off the real line, `not D in RR or D > 0`, beside `D = 0` and `D < 0`. A sum of two such answers drops a pair of arms whose conditions contradict each other, and that arm was read against neither: `D = 0` asks D to be real, and `D < 0` is NaN off the real line, so neither pairing is ever true. The contradiction now reads `not q in RR` as a test of q, and a disjunction as contradicted where each of its arms is. x^2/(x^2 + a + i b)^3 had 7 arms and has 3. Part of #1788. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…-line-excludes-a-sign-arm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #1788.
An antiderivative over a quadratic with
iamong its coefficients has an arm off the real line,not D in RR or D > 0, beside the armsD = 0andD < 0. A sum of two such answers pairs their arms and drops a pair whose conditions contradict each other, and that arm was read against neither -- thoughD = 0asksDto be real, andD < 0is NaN off the real line, so neither pairing is ever true:15aae3d3x^2/(x^2 + a + i b)^3x1/(x^2 + i a)^2 + 1/(x^2 + i a)^3xWhat changes. The test
CombinedCaseByCaseputs each pair through reads its conjuncts as tests of a quantity against zero. It readsnot q in RRas one now, which an equality contradicts for every value and a strict sign for a realq, NaN off the real line being no truer; and a disjunction as contradicted where each of its arms is, for every value or for the same quantity. A pair that is contradicted for a realqonly goes where every later pair tests the sign ofq, as before.This is the third of three defects in the size of #1788's answers; with all three,
2 d^3 t^2/((t^2 - c - i d)^3 (t^2 - c + i d))has 9 arms where master writes 63.Tests:
ContradictoryConjunctionTest.TheArmOffTheRealLineExcludesTheSignArms: the sum of two piecewises with that arm and the two signs has three cases, and a chain of four more stays at three, with values on each side of zero, at zero and off the real line. It fails on master's code.Measured on every corpus problem with
iin its integrand, 2,253 of them, at the corpus's 5-second budget, against master221d3c5f, the branch's base:One answer is counted wrong on each build, and the two builds answer and decline the same problems.
The one problem the two builds disagreed on, run again one build at a time, gets the same verdict from both. Nothing is answered or declined differently; the answers are shorter.
The suite on the commit measured,
6688a0e3, passes, 15,036 tests, and so does the allocation gate: every gated benchmark allocates what the baseline says. The head here,6da62f53, merges master15aae3d3; the calculus and corpus tests pass on it, 4,358 tests, and the library builds fornetstandard2.0.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura