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

Pushout operator does not elaborate constants into generated named theory's body #533

Open
rappatoni opened this issue Sep 7, 2020 · 1 comment
Assignees
Labels
bug devel Pertains to issues on the devel branch

Comments

@rappatoni
Copy link
Contributor

Example Code:

namespace http://mathhub.info/Panopikum/examples❚
import base http://mathhub.info/MitM/Foundation

fixmeta http://cds.omdoc.org/urtheories?LFComb

theory start : base:?NaturalDeduction =
A:prop ❙
B:prop ❙
ax: ⊦ A ❙

theory out : base:?NaturalDeduction =
include ?start ❙
axi: ⊦ A ⇒ B ❙

theory target : base:?NaturalDeduction =
include ?start ❙
C: prop ❙
D: prop ❙
axone: ⊦ C ❙

view re : ?start -> ?target =
include base?NaturalDeduction ❙
A = C ❙
B = D ❙
ax = axone ❙

diagram pushout : http://cds.omdoc.org/urtheories?LFComb := PREFIX PUSHOUT ?out ALONG ?re BY "pushout_" ❚

theory proof =
include ?pushout_pres ❙
beweis: ⊦ D ❘= MP axi axone❙

This will produce a theory with an empty body. The generated constants remain stuck in the theory's definiens.

pushout_empty_body

@rappatoni rappatoni added bug devel Pertains to issues on the devel branch labels Sep 7, 2020
@ComFreek
Copy link
Member

ComFreek commented Sep 8, 2020

This will probably vanish into thin air during the reimplementation of diagram operators that @florian-rabe planned.

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
Projects
None yet
Development

No branches or pull requests

3 participants