Combinatorics problem: you're arranging 10 people (A .. J) in a row. A and B must sit next to each other. How many arrangements? How could writing this problem as a program help scaffold the problem-solving process?
-
-
Seems kind of similar -- you have to carefully pick your representation to ensure downstream analysis will work.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
what do you mean exactly by "wrote axioms as functions"?
-
By axioms I actually mean inference rules. And it was something like: constant has_type : Expr → Typ → Prop axiom T_add : ∀ e1 e2 : Expr, (has_type e1 Typ.Num ∧ has_type e2 Typ.Num) → has_type (Expr.Add e1 e2) Typ.Num
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD
