mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
overload resolution with value type, for experiment
This commit is contained in:
@@ -18,9 +18,9 @@ lincat
|
||||
lin
|
||||
ThmWithProof = theorem ;
|
||||
|
||||
Conj A = coord and_Conj A ;
|
||||
Disj A B = coord or_Conj A B ;
|
||||
Impl A B = coord ifthen_DConj A B ;
|
||||
Conj = coord and_Conj ;
|
||||
Disj = coord or_Conj ;
|
||||
Impl = coord ifthen_DConj ;
|
||||
|
||||
Abs =
|
||||
mkS (pred have_V2 (mkNP we_Pron) (mkNP (mkDet IndefArt) contradiction_N)) ;
|
||||
@@ -28,21 +28,21 @@ lin
|
||||
Univ A B =
|
||||
AdvS
|
||||
(mkAdv for_Prep (mkNP all_Predet
|
||||
(mkNP (mkDet (PlQuant IndefArt)) (mkCN A (symb B.$0)))))
|
||||
(mkNP (mkDet (PlQuant IndefArt) NoNum NoOrd) (mkCN A (symb B.$0)))))
|
||||
B ;
|
||||
|
||||
DisjIl A B a = proof a (proof afortiori (coord or_Conj A B)) ;
|
||||
DisjIr A B b = proof b (proof afortiori (coord or_Conj A B)) ;
|
||||
|
||||
DisjE A B C c b1 b2 =
|
||||
DisjE A B C c d e =
|
||||
appendText
|
||||
c
|
||||
(appendText
|
||||
(appendText
|
||||
(cases (mkNum n2))
|
||||
(proofs
|
||||
(appendText (assumption A) b1)
|
||||
(appendText (assumption B) b2)))
|
||||
(appendText (assumption A) d)
|
||||
(appendText (assumption B) e)))
|
||||
(proof therefore C)) ;
|
||||
|
||||
ImplI A B b =
|
||||
|
||||
Reference in New Issue
Block a user