Polish case #
This file defines the seven Polish cases: "Polish has preserved the full inherited case system, including the vocative, but there is a growing tendency to use the nominative instead of the vocative for personal names. The vocative is consistently used with titles and with personal names when they are used as part of a vocative phrase" ([Rot93], p. 696), as in panie Janku and kochana Basiu 'dear Basia'.
References #
@[instance_reducible]
Equations
- Polish.instDecidableEqCase x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
@[instance_reducible]
Equations
- Polish.instFintypeCase = { elems := { val := ↑Polish.Case.enumList, nodup := Polish.Case.enumList_nodup }, complete := Polish.instFintypeCase._proof_1 }
@[instance_reducible]
Equations
- Polish.instReprCase = { reprPrec := Polish.instReprCase.repr }
Equations
- Polish.instReprCase.repr Polish.Case.nom prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Polish.Case.nom")).group prec✝
- Polish.instReprCase.repr Polish.Case.voc prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Polish.Case.voc")).group prec✝
- Polish.instReprCase.repr Polish.Case.acc prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Polish.Case.acc")).group prec✝
- Polish.instReprCase.repr Polish.Case.gen prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Polish.Case.gen")).group prec✝
- Polish.instReprCase.repr Polish.Case.dat prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Polish.Case.dat")).group prec✝
- Polish.instReprCase.repr Polish.Case.inst prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Polish.Case.inst")).group prec✝
- Polish.instReprCase.repr Polish.Case.loc prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Polish.Case.loc")).group prec✝
Instances For
The comparative value a case is named for.