summaryrefslogtreecommitdiff
path: root/examples/logic/LogicEng.gf
blob: 18f466fa770b7f701d1f52d3da352a0da6b2bbfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--# -path=.:mathematical:present:resource-1.0/api:prelude

concrete LogicEng of Logic = LogicI with
  (LexTheory = LexTheoryEng), 
  (Prooftext = ProoftextEng),
  (Grammar = GrammarEng), 
  (Symbolic = SymbolicEng), 
  (Symbol = SymbolEng), 
  (Combinators = CombinatorsEng), 
  (Constructors = ConstructorsEng), 
  ;

{-
ImplI Abs Abs (\h -> DisjE Abs Abs Abs (DisjIr Abs Abs (Hypoth Abs h)) 
(\x -> Hypoth Abs x) (\y -> Hypoth Abs y))

assume that we have a contradiction . by the hypothesis we have a contradiction . 
a fortiori we have a contradiction or we have a contradiction . 
we have two cases. assume that we have a contradiction . 
by the hypothesis we have a contradiction . assume that we have a contradiction . 
by the hypothesis we have a contradiction . therefore we have a contradiction . 
therefore if we have a contradiction then we have a contradiction .
-}