@article { , title = {Normalisation by evaluation for type theory, in type theory}, abstract = {© Altenkirch and Kaposi. We develop normalisation by evaluation (NBE) for dependent types based on presheaf categories. Our construction is formulated in the metalanguage of type theory using quotient inductive types. We use a typed presentation hence there are no preterms or realizers in our construction, and every construction respects the conversion relation. NBE for simple types uses a logical relation between the syntax and the presheaf interpretation. In our construction, we merge the presheaf interpretation and the logical relation into a proof-relevant logical predicate. We prove normalisation, completeness, stability and decidability of definitional equality. Most of the constructions were formalized in Agda.}, doi = {10.23638/LMCS-13(4:1)2017}, eissn = {1860-5974}, issn = {1860-5974}, issue = {4}, journal = {Logical Methods in Computer Science}, publicationstatus = {Published}, publisher = {Logical Methods in Computer Science}, url = {https://nottingham-repository.worktribe.com/output/888899}, volume = {13}, keyword = {normalisation by evaluation, dependent types, internal type theory, logical relations, Agda}, year = {2017}, author = {Altenkirch, Thorsten and Kaposi, Ambrus} }