Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplification/factorization of expressions #30

Open
citron opened this issue Oct 13, 2019 · 0 comments
Open

simplification/factorization of expressions #30

citron opened this issue Oct 13, 2019 · 0 comments

Comments

@citron
Copy link

citron commented Oct 13, 2019

Hello
This report may not be about a bug but about a lack of documentation.
How do I simplify/factorize the rather big symbolic expression intersectionPointPair computed below using reduce.jl ?
Neither intersectionPointPair |> factor or Algebra.optimize(intersectionPointPair) seem to be the way to do it.

using Reduce
using Grassmann
load_package(:scope)

@basis S"∞∅+++"

A = :xa*v1 + :ya*v2 + :za*v3
B = :xb*v1 + :yb*v2 + :zb*v3
C = :xc*v1 + :yc*v2 + :zc*v3
D = :xd*v1 + :yd*v2 + :zd*v3

pA = ↑(A)
pB = ↑(B)
pC = ↑(C)
pD = ↑(D)

pO = ↑(0*v1+0*v2+0*v3)
p∞ = ↑(v∞)

AB = pA ∧ pB
CD = pC ∧ pD

planeAOB = pA ∧ pB ∧ pO ∧ v∞
planeCOD = pC ∧ pD ∧ pO ∧ v∞

S = pA ∧ pB ∧ pC ∧ pD

intersectionPointPair = planeAOB ∨ planeCOD ∨ S
@chakravala chakravala added this to To do in Implement Reduce via automation Oct 16, 2019
@chakravala chakravala added this to To do in Differential Geometric Algebra via automation Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants