Equations
- SecondOrder.instReprKind = { reprPrec := SecondOrder.reprKind✝ }
Equations
- SecondOrder.instDecidableEqKind x y = if h : x.toCtorIdx = y.toCtorIdx then isTrue ⋯ else isFalse ⋯
Equations
- SecondOrder.«term∗» = Lean.ParserDescr.node `SecondOrder.term∗ 1024 (Lean.ParserDescr.symbol " ∗ ")
Instances For
Equations
- SecondOrder.instToStringKind = { toString := fun (k : SecondOrder.Kind) => match k with | ∗ => "∗" }
- var: Name → SecondOrder.Typ
- arrow: SecondOrder.Typ → SecondOrder.Typ → SecondOrder.Typ
- pi: Name → SecondOrder.Kind → SecondOrder.Typ → SecondOrder.Typ
Instances For
Equations
- SecondOrder.instReprTyp = { reprPrec := SecondOrder.reprTyp✝ }
Equations
Instances For
Equations
- SecondOrder.Typ.instToString = { toString := SecondOrder.Typ.toString }
Equations
- SecondOrder.Typ.instCoeName = { coe := SecondOrder.Typ.var }
Equations
- SecondOrder.Typ.«term_⇒_» = Lean.ParserDescr.trailingNode `SecondOrder.Typ.term_⇒_ 20 21 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⇒ ") (Lean.ParserDescr.cat `term 20))
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- var: Name → SecondOrder.Term
- app: SecondOrder.Term → SecondOrder.Term → SecondOrder.Term
- tapp: SecondOrder.Term → SecondOrder.Typ → SecondOrder.Term
- abs: Name → SecondOrder.Typ → SecondOrder.Term → SecondOrder.Term
- tabs: Name → SecondOrder.Kind → SecondOrder.Term → SecondOrder.Term
Instances For
Equations
- SecondOrder.instReprTerm = { reprPrec := SecondOrder.reprTerm✝ }
Equations
- (SecondOrder.Term.var a).toString = a
- (a ∙ a_1).toString = toString "(" ++ toString a.toString ++ toString " " ++ toString a_1.toString ++ toString ")"
- (a ∙ₜ a_1).toString = toString "(" ++ toString a.toString ++ toString " [" ++ toString a_1.toString ++ toString "])"
- (SecondOrder.Term.abs a a_1 a_2).toString = toString "(λ" ++ toString a ++ toString " : " ++ toString a_1 ++ toString ". " ++ toString a_2.toString ++ toString ")"
- (Λ a:a_1,a_2).toString = toString "(Λ" ++ toString a ++ toString " : " ++ toString a_1 ++ toString ". " ++ toString a_2.toString ++ toString ")"
Instances For
Equations
- SecondOrder.Term.instToString = { toString := SecondOrder.Term.toString }
Equations
- SecondOrder.Term.instCoeName = { coe := SecondOrder.Term.var }
Equations
- SecondOrder.Term.«term_∙_» = Lean.ParserDescr.trailingNode `SecondOrder.Term.term_∙_ 100 100 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ∙ ") (Lean.ParserDescr.cat `term 101))
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.