Tuesday, March 31, 2009

Hand-writing derivations

I've come to prefer one particular approach to writing out a derivation tree by hand. I used to try to draw the tree by stacking up rules with horizontal separators à la Gentzen, but I could never judge how much space I would need--I'm not accustomed to filling a page bottom to top--and one page never seemed to be enough anyway.

I've found that writing judgments top to bottom, indenting to represent nesting, is much more scalable. E.g.:
⊢ (λ f.f 1) (λ x.x) : int
  ⊢ (λ f.f 1) : (int → int) → int
    f : int → int ⊢ f 1 : int
      f : int → int ⊢ f : int → int
      f : int → int ⊢ 1 : int
  ⊢ (λ x.x) : int → int
    x : int ⊢ x : int

10 comments:

Richard Cobbe said...

Yeah, I developed a similar technique of my own. In addition to the reasons that you mention, writing the trees out Gentzen-style has one other serious problem: the proof tree very quickly gets much wider than any reasonable sheet of paper. (Especially with PL type rules, which tend to have many more antecedents than do the inference rules in, say, classical logic.)

skz said...

Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share. cheap custom term paper

토토사이트 추천 said...

Good to read this webpage, and I used to pay a visit this web site. greatt

카지노사이트 추천 said...

I am reading articles online and this is one of the best, Thankyou for providing this.

카지노사이트 said...

I’m happy I read this. It is very well written, great Keep doing it. Thanks

메이저사이트 추천 said...

Hi! this nice article you shared with great information. Keep sharing.

토토사이트 추천 said...

This article is Really contains lot more information about This Topic. Its a great blog

토토사이트 추천 said...

I have read this excellent post. This is a great job. Keep what you're doing, thanks.

신용카드현금화 said...

I will bookmark this blog of yours, its so good. Waiting for your next updates

소액결제현금화 said...

Its really fun to read this. I enjoyed a lot. Great Article its really informative.