Skip to content

Pin three accepted proposals that are already implemented (#246, #214, #185) - #806

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
test/accepted-proposals-already-implemented
Aug 8, 2026
Merged

Pin three accepted proposals that are already implemented (#246, #214, #185)#806
Rafael-SOWNet merged 1 commit into
masterfrom
test/accepted-proposals-already-implemented

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Collaborator

Closes #246, #214 and #185 — each asks for behaviour the library already has.

Each is pinned by the example the proposal itself gives, so that closing it rests on a test rather than on my reading of it.

issue asks for measured
#246 a logarithmic solver, converting logarithms to a polynomial where possible log(2, x) + log(2, x - 1) = 1{ 2 }; ln(x)^2 - 3ln(x) + 2 = 0{ e, e^2 }
#214 a^f(x) + b^g(x) + ... = 0 solvable 2^x + 4^x = 6{ 1 }; 3^(2x) - 4·3^x + 3 = 0{ 0, 1 }
#185 collecting unlike terms by treating each as an unknown e^x + sin(x) + 2e^x + 2sin(x)3(sin(x) + e^x)

Every root is substituted back into its equation. A solver that answers the right root alongside a wrong one is not solving it, and the printed set does not say which it has done — that distinction is what made #115 and #272 defects rather than gaps.

Grouped into one commit rather than three, against the usual habit of a branch per issue, because there is no behaviour change to bisect: it is one test file recording a measurement about three issues. Happy to split it if you would rather.

Test-only. 8 pass.

🤖 Generated with Claude Code

…#185)

Each of these asks for behaviour the library already has, and each is pinned by
the example the proposal itself gives, so that closing it rests on a test rather
than on a reading.

  #246  a logarithmic solver, converting logarithms to a polynomial where possible
        log(2, x) + log(2, x - 1) = 1   -> { 2 }
        ln(x)^2 - 3*ln(x) + 2 = 0       -> { e, e^2 }

  #214  a ^ f(x) + b ^ g(x) + ... = 0
        2^x + 4^x = 6                   -> { 1 }
        3^(2x) - 4*3^x + 3 = 0          -> { 0, 1 }

  #185  collecting unlike terms by treating each as an unknown
        e^x + sin(x) + 2e^x + 2sin(x)   -> 3*(sin(x) + e^x)

Every root is substituted back into its equation. A solver that answers the
right root alongside a wrong one is not solving the equation, and the printed
set does not say which it has done -- which is the whole reason #115 and #272
were defects rather than gaps.

Grouped into one commit rather than three, against the usual habit of a branch
per issue, because there is no behaviour change to bisect: it is one test file
recording a measurement about three issues.

Test-only; 8 pass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Rafael-SOWNet
Rafael-SOWNet merged commit 21f0d16 into master Aug 8, 2026
24 checks passed
@Rafael-SOWNet
Rafael-SOWNet deleted the test/accepted-proposals-already-implemented branch August 8, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

logarihtmic equation solver

1 participant