| Parents |
| combin |
| Children |
| hol |
| Constants |
|
IsSumRep
|
'a × 'b × BOOL → BOOL |
|
InL
|
'a → 'a + 'b |
|
InR
|
'b → 'a + 'b |
|
OutL
|
'a + 'b → 'a |
|
OutR
|
'a + 'b → 'b |
|
IsL
|
'a + 'b → BOOL |
|
IsR
|
'a + 'b → BOOL |
| Types |
|
'1 + '2
|
| Fixity |
| Right Infix 300: |
+ |
| Definitions |
|
IsSumRep
is_sum_rep_def
|
⊢ ∃ inl inr outl outr isl isr
|
|
+
sum_def
|
⊢ ∃ f• TypeDefn IsSumRep f |
|
InL
InR
OutL
OutR
IsL
IsR
sum_clauses
|
⊢ ∀ x1 x2 y1 y2 z |
| Theorems |
|
sum_cases_thm
|
⊢ ∀ x• (∃ y• x = InL y) ∨ (∃ z• x = InR z) |
|
sum_fns_thm
|
⊢ ∀ f g• ∃1 h• h o InL = f ∧ h o InR = g |