-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclarify.pli
More file actions
26 lines (15 loc) · 821 Bytes
/
clarify.pli
File metadata and controls
26 lines (15 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
startQuestion : Start -o (x:XX) -> (a:AA) -> [_ :: Arg1 x; _ :: Arg2 a; _ :: QUD (R x a)];
-- Answering is modular (no reference to Arg 2)
canAnswer : (x:XX) !-> (p : Prop) -> Arg1 x -o QUD p -o p -* Answer x;
unclear : (x:XX) ?-> (p : Prop) -> Arg1 x -* QUD p -* p -* CR;
clarification : (a:AA) -> Clarify2 a -o Arg2 a -* Clarified;
-- Here clarification works by unification (and is modular; no reference to Arg 1)
-- correction : (a b : AA) -> Correct2 b -o Arg2 a -o [_ :: Arg2 b ; _ :: Corrected];
-- does not work: unification does not update the QUD.
correction : (x:XX) -> (a b : AA) -> Correct2 b -o Arg2 a -o QUD (R x a) -o [_ :: Arg2 b; _ :: QUD (R x b) ; _ :: Corrected];
-- So correction is not modular
isStart :: Start;
-- cl :: Clarify2 B;
corr :: Correct2 B;
fact1 :: R X A;
fact2 :: R Y B;