Split A.4.35 into two separate @test_broken assertions#20
Open
Split A.4.35 into two separate @test_broken assertions#20
Conversation
The original test chained three different things in one equality:
refl(Vr, B) == B∧Vr*(Vr)⁻¹ == (B∧Vr)⨽(Vr)⁻¹
But refl() in galgebra is a grade-by-grade sandwich (Vr*B[r]*Vr⁻¹ with
sign (-1)^{s(r+1)}), which is not the same as the rejection (B∧Vr)*Vr⁻¹.
The chained equality was conflating two unrelated operations.
Split into:
- (B∧Vr)*(Vr)⁻¹ == (B∧Vr)⨽(Vr)⁻¹ (rejection = right-contraction form)
- refl(Vr, B) == (B∧Vr)*(Vr)⁻¹ (sandwich vs rejection)
CI will now show which half passes and which is genuinely broken.
Refs #15
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.
Refs #15
The original test had a chained
==mixing three unrelated things:After reading galgebra's
reflect_in_bladesource:refl(Vr, B)is a grade-by-grade sandwich:(-1)^{s(r+1)} * Vr * B[r] * Vr⁻¹for each grader, wheres = grade(Vr). For a grade-2 blade (likeVr = u∧vin Cl3), the sign is always+1, so it reduces toVr * B * Vr⁻¹.(B ∧ Vr) * Vr⁻¹is the rejection (outer projection onto the complement), a completely different operation.Split into two
@test_brokenso CI shows which part actually fails:(B ∧ Vr) * (Vr)⁻¹ == (B ∧ Vr) ⨽ (Vr)⁻¹— pure rejection formula (A.4.35 as written in the paper)refl(Vr, B) == (B ∧ Vr) * (Vr)⁻¹— whether the sandwich equals rejection (likely false in general)