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

Incorrect handling of scoping #8

Open
MirceaS opened this issue Sep 14, 2022 · 0 comments
Open

Incorrect handling of scoping #8

MirceaS opened this issue Sep 14, 2022 · 0 comments

Comments

@MirceaS
Copy link

MirceaS commented Sep 14, 2022

The following simple example illustrates how this Metamath implementation fails to respect the scoping of $e statements.

$( The type of propositions $)
$c prop $.
$c |- true false $.
$v P $.

$( P, true and false are propositions $)
P-prop     $f prop P $.
true-prop  $a prop true $.
false-prop $a prop false $.

$( ex falso quodlibet $)
${
    hyp $e |- false $.
    p   $a |- P $.
$}

$( Proof of false via reference to out-of-scope hypothesis $)
proof-of-false $p |- false $= hyp $. 
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

No branches or pull requests

1 participant