This is a test of MathJax.
A::=1|A×B|A→B|Ne::=()|(e,e)|π1e|π2e|λx.e|ee′|z|s(e)|iter(e,z→ez,s(x)→es)|x|e:AΓ::=⋅|Γ,x:A
x:A∈ΓΓ⊢x:AΓ⊢():1Γ⊢e1:A1Γ⊢e2:A2Γ⊢(e1,e2):A1×A2Γ⊢e:A1×A2Γ⊢πi(e):AiΓ,x:A⊢e:BΓ⊢λx.e:A→BΓ⊢e:A→BΓ⊢e′:AΓ⊢ee′:BΓ⊢z:NΓ⊢e:NΓ⊢s(e):NΓ⊢e:NΓ⊢ez:AΓ,x:A⊢es:AΓ⊢iter(e,z→ez,s(x)→es):AΓ⊢e:AΓ⊢(e:A):A
It seems to work!
No comments:
Post a Comment