Propositions-as-Types Walkthrough: Separating formula (Type Definition) from theorem (Kernel-Checked Proof Term)Checked deterministically by NBGCompiler.typeCheck
Bidirectionally synthesizes type of proof term e via NBGCompiler.typeCheck and checks definitional (α/β/δ) equivalence with F
Never (relative to MK/NBG consistency) โ every candidate term for an uninhabited type is deterministically rejected
4-Step Walkthrough of empty_class_no_elements : โ(z : Class) ((z โ {x | โฅ}) โ โฅ):
(Note: in .nbg ASCII surface syntax, Set(z) is the surface keyword for the sethood predicate rendered as isSet(z) in the Unicode/LaTeX catalog.)
Step 1 ยท Universal Intro (ELam) Lam (z:Class) => ... introduces fresh class parameter z into context ฮ.
Step 2 ยท Implication Intro (EFn) fn (hIn : (z in {x | Bot})) => ... adds antecedent hypothesis hIn to proof context ฮ.