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

Push-out facts are not simplified #585

Open
MaZiFAU opened this issue Jan 17, 2024 · 1 comment
Open

Push-out facts are not simplified #585

MaZiFAU opened this issue Jan 17, 2024 · 1 comment
Labels
bug devel Pertains to issues on the devel branch help wanted

Comments

@MaZiFAU
Copy link
Collaborator

MaZiFAU commented Jan 17, 2024

Using FrameIT-mmt Rest-API will not simplify returned facts, but returnd entire AST. Though the AST may be desired in some cases, iff MMT is able to resolve a term, the simplified version is preferred.

For reproduction: use e.g. http://mathhub.info/FrameIT/frameworld?OppositeLen theory/Scroll via e.g. the UFrameIT-Game.

I have attached request, expected and actual answers for an application of scroll "http://mathhub.info/FrameIT/frameworld?RiverScroll"
river_request.json
apply_river_expected.json
apply_river_actual.json

The facts listed in "river_request.json" are the following (ordered), and are added using fact/add endpoint (see Rest-API). Any ?fact<#nr> are dynamic and Ids returned from the server after sending an add request.
River_1st.json
River_2nd.json
River_3rd.json
River_4th.json
River_4.5th.json
River_5th.json (angle of facts # 2,3,1 a.k.a w,x,y)

@MaZiFAU MaZiFAU added bug help wanted devel Pertains to issues on the devel branch labels Jan 17, 2024
@Jazzpirate
Copy link
Contributor

Jazzpirate commented Jan 18, 2024

Translation:
173=w: LFX/Sigma?Symbols?Tuple(-24.32552,1.83532131,1.56619191)
174=x: LFX/Sigma?Symbols?Tuple(-24.32552,0.7562289,1.56619227)
175=y: LFX/Sigma?Symbols?Tuple(-24.32552,0.7562289,2.64528465)
176=B: LFX/Sigma?Symbols?Tuple(-24.32552,-0.00494384766,-5.32920074)
367=B: LFX/Sigma?Symbols?Tuple(0.0,-9.81,0.0)
368: lhs: geometry?Geometry/Common?angle_between(174,175,173), rhs:45, kind:veq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug devel Pertains to issues on the devel branch help wanted
Projects
None yet
Development

No branches or pull requests

2 participants