tiny fixes

This commit is contained in:
wadler 2018-07-04 20:57:02 -03:00
parent d181097775
commit 7864c7ec5f
6 changed files with 18 additions and 13 deletions

Binary file not shown.

View file

@ -15,6 +15,7 @@ Lambda
Properties Properties
DeBruijn DeBruijn
More More
Bisimulation
Inference Inference
Untyped Untyped
-- --

View file

@ -37,6 +37,7 @@ ABCDEFGHIJKLMNOPQRSTUVWXYZ|
≡≡≢≢| ≡≡≢≢|
≃≃≲≲| ≃≃≲≲|
≟≟≐≐| ≟≟≐≐|
∸∸^^|
⟨⟨⟩⟩| ⟨⟨⟩⟩|
⌊⌊⌋⌋| ⌊⌊⌋⌋|
⌈⌈⌉⌉| ⌈⌈⌉⌉|
@ -46,6 +47,7 @@ ABCDEFGHIJKLMNOPQRSTUVWXYZ|
∈∈∋∋| ∈∈∋∋|
⊢⊢⊣⊣| ⊢⊢⊣⊣|
∷∷∷∷| ∷∷∷∷|
∎∎∎∎|
⦂⦂⦂⦂| ⦂⦂⦂⦂|
----| ----|
-} -}

View file

@ -874,7 +874,7 @@ This chapter uses the following unicode.
U+2115 DOUBLE-STRUCK CAPITAL N (\bN) U+2115 DOUBLE-STRUCK CAPITAL N (\bN)
→ U+2192 RIGHTWARDS ARROW (\to, \r) → U+2192 RIGHTWARDS ARROW (\to, \r)
∸ U+2238 DOT MINUS (\.-) ∸ U+2238 DOT MINUS (\.-)
≡ U+2261 IDENTICAL TO (\==) = ≡ U+2261 IDENTICAL TO (\==)
⟨ U+27E8 MATHEMATICAL LEFT ANGLE BRACKET (\<) ⟨ U+27E8 MATHEMATICAL LEFT ANGLE BRACKET (\<)
⟩ U+27E9 MATHEMATICAL RIGHT ANGLE BRACKET (\>) ⟩ U+27E9 MATHEMATICAL RIGHT ANGLE BRACKET (\>)
∎ U+220E END OF PROOF (\qed) ∎ U+220E END OF PROOF (\qed)
@ -887,7 +887,7 @@ The command `\r` gives access to a wide variety of rightward arrows.
After typing `\r`, one can access the many available arrows by using After typing `\r`, one can access the many available arrows by using
the left, right, up, and down keys to navigate. The command remembers the left, right, up, and down keys to navigate. The command remembers
where you navigated to the last time, and starts with the same where you navigated to the last time, and starts with the same
character next time. character next time. The command `\l` works similarly for left arrows.
In place of left, right, up, and down keys, one may also use control characters. In place of left, right, up, and down keys, one may also use control characters.
@ -897,4 +897,4 @@ In place of left, right, up, and down keys, one may also use control characters.
^N down (dowN) ^N down (dowN)
We write `^B` to stand for control-B, and similarly. One can also navigate We write `^B` to stand for control-B, and similarly. One can also navigate
left and write by typing the digits that appear in the displayed list. left and right by typing the digits that appear in the displayed list.

View file

@ -9,7 +9,7 @@ Total number of lines and number of lines of Agda code in each chapter
total code total code
----- ---- ----- ----
Preface 99 1 Preface 92 0
Naturals 900 86 Naturals 900 86
Induction 770 107 Induction 770 107
@ -22,13 +22,14 @@ Total number of lines and number of lines of Agda code in each chapter
Lists 893 412 Lists 893 412
Decidable 566 170 Decidable 566 170
Lambda 1300 386 Lambda 1304 389
Properties 1533 724 Properties 1539 568
DeBruijn 1363 627 DeBruijn 1363 635
More 603 524 More 675 570
Bisimulation 151 110
Inference 431 350 Inference 431 350
Untyped 362 281 Untyped 362 281
Acknowledgements 46 1 Acknowledgements 44 0
Fonts 62 44 Fonts 78 59
Statistics 38 1 Statistics 34 0

View file

@ -136,9 +136,9 @@ data Normal : ∀ {n} → Term n → Set
data Neutral where data Neutral where
⌊_⌋ : ∀ {n} ⌊_⌋ : ∀ {n}
→ (k : Var n) → (x : Var n)
------------- -------------
→ Neutral ⌊ k → Neutral ⌊ x
_·_ : ∀ {n} {L : Term n} {M : Term n} _·_ : ∀ {n} {L : Term n} {M : Term n}
→ Neutral L → Neutral L
@ -155,6 +155,7 @@ data Normal where
⌈_⌉ : ∀ {n} {M : Term n} ⌈_⌉ : ∀ {n} {M : Term n}
→ Neutral M → Neutral M
---------
→ Normal M → Normal M
\end{code} \end{code}