Prerequisites. Direct starred prerequisites: Chapter 153. Chapter 12 supplies the domain-theoretic interface. No later core chapter depends on this route.
A partial equivalence relation over a domain of realizers interprets a type that may contain divergent elements: proposition 153.31 already builds Π and Σ from PERs, and a least fixed point exists as soon as the relation is closed under suprema of chains and contains ⊥. Combine the two and something breaks.
Let 𝑅 be a PER on a pre-domain 𝐴 and let 𝑆 assign a PER 𝑆𝑥 to each 𝑅-class 𝑥. Interpret Σ as usual: Σ𝑅(𝑆):={(⟨𝑎1,𝑏1⟩,⟨𝑎2,𝑏2⟩) ∣ 𝑎1𝑅𝑎2 and 𝑏1𝑆[𝑎1]𝑏2}. Suppose 𝑅 and every 𝑆𝑥 are chain-complete, and let (⟨𝑎𝑖,𝑏𝑖⟩,⟨𝑎′𝑖,𝑏′𝑖⟩)𝑖∈ℕ be a chain in Σ𝑅(𝑆). Completeness of 𝑅 gives ⨆𝑎𝑖𝑅⨆𝑎′𝑖. For the second component one wants completeness of 𝑆[⨆𝑎𝑖] applied to the chain (𝑏𝑖,𝑏′𝑖) — but each pair (𝑏𝑖,𝑏′𝑖) lies in 𝑆[𝑎𝑖], and nothing so far says that the classes [𝑎𝑖] are all the same class. The argument stops, and it stops for a reason: the index of the second component moves along the chain.
This chapter fixes the gap by a single condition on the relations, and then develops the dependent model that condition supports.
The domain of realizers
Recall from chapter 12 only the following. A pre-domain is a poset with suprema of 𝜔-chains; a domain is a pre-domain with a least element ⊥; 𝐴⊥ adjoins one. A function is continuous when it is monotone and preserves suprema of chains, and 𝐴 →𝑐𝐵 is the pre-domain of continuous functions under the pointwise order. For continuous 𝐹 :𝐷 →𝐷 on a domain, lfp(𝐹) =⨆𝑛𝐹𝑛(⊥) is the least fixed point. A predicate is admissible when it holds of ⊥ and is closed under suprema of chains, and admissible predicates support fixed-point induction. Nothing else from that chapter is used.
Referenced from 3 locations
Fix a pre-domain V with an isomorphism V ≅ 𝟏+ℕ+(V×V)+(V→𝑐V⊥)+𝑇(V), where 𝑇(V):=(V ×V)⊥ is the pre-domain of partial computations returning a value and a residual, and write in𝟏,inℕ,in×,in→,in𝑇 for the injections. Define a partial application on V by 𝑎⋅𝑏:={𝑓(𝑏)if 𝑎=in→(𝑓) and 𝑓(𝑏)≠⊥,undefinedotherwise.
Referenced from 6 locations
There are 𝗄,𝗌 ∈V with 𝗄 ⋅𝑎 ⋅𝑏 =𝑎 and 𝗌 ⋅𝑎 ⋅𝑏 ⋅𝑐 =(𝑎 ⋅𝑐) ⋅(𝑏 ⋅𝑐) whenever the right-hand side is defined, so definition 153.27 applies to (V, ⋅).
Referenced from 3 locations
Proof of Lemma 155.3 — V is a partial combinatory algebra
Proof. Take 𝗄:=in→(𝜆𝑎. in→(𝜆𝑏. 𝑎)) and the analogous continuous term for 𝗌; both are continuous because they are built from projections, injections and application, each of which is continuous in the isomorphism of definition 155.2. The two equations hold by unfolding ⋅, using that the outer applications produce non-⊥ values because their bodies are injections. ◻
Let 𝑅 be a PER on a pre-domain 𝐴.
𝑅 is complete when for all chains (𝑐𝑖), (𝑑𝑖) with 𝑐𝑖𝑅𝑑𝑖 for every 𝑖, also ⨆𝑖𝑐𝑖𝑅⨆𝑖𝑑𝑖;
𝑅 is admissible when it is complete, 𝐴 is a domain, and ⊥ ∈|𝑅|;
𝑅 is monotone when 𝑥,𝑦 ∈|𝑅| and 𝑥 ⊑𝖣𝑦 imply 𝑥𝑅𝑦.
Write 𝐂𝐌𝐏𝐞𝐫(𝐴) for the complete monotone PERs on 𝐴.
Referenced from 3 locations
Let 𝑅 ∈𝐂𝐌𝐏𝐞𝐫(𝐴), and let 𝑆 assign a member of 𝐂𝐌𝐏𝐞𝐫(𝐴) to each 𝑅-class. Then Σ𝑅(𝑆) is complete and monotone. Without monotonicity of 𝑅 this fails: there are complete 𝑅 and 𝑆 for which Σ𝑅(𝑆) is not complete.
Referenced from 9 locations
Proof of Proposition 155.5 — Monotonicity repairs the Σ -argument
Proof. Let (⟨𝑎𝑖,𝑏𝑖⟩,⟨𝑎′𝑖,𝑏′𝑖⟩) be a chain in Σ𝑅(𝑆). Then (𝑎𝑖) and (𝑎′𝑖) are chains in |𝑅| with 𝑎𝑖𝑅𝑎′𝑖, so 𝑎:=⨆𝑎𝑖 and 𝑎′:=⨆𝑎′𝑖 satisfy 𝑎𝑅𝑎′ by completeness. Monotonicity now gives the missing step: for 𝑖 ≤𝑗 we have 𝑎𝑖 ⊑𝖣𝑎𝑗 with both in |𝑅|, hence 𝑎𝑖𝑅𝑎𝑗, so all the classes [𝑎𝑖] coincide with [𝑎]. The pairs (𝑏𝑖,𝑏′𝑖) therefore form a chain in the single PER 𝑆[𝑎], whose completeness gives ⨆𝑏𝑖𝑆[𝑎]⨆𝑏′𝑖; pairing is continuous, so ⨆⟨𝑎𝑖,𝑏𝑖⟩ =⟨𝑎,⨆𝑏𝑖⟩ and the two suprema are related. Monotonicity of Σ𝑅(𝑆) follows componentwise because the order on pairs is componentwise and both 𝑅 and 𝑆[𝑎] are monotone.
For the counterexample let 𝐴:=ℕ ∪{∞} with its usual order, an 𝜔-cpo. Let 𝑅 be the identity relation on 𝐴: it is complete, since a chain related to itself has supremum related to itself, and it is not monotone, because 0 ⊑𝖣1 while 0𝑅1 fails. The 𝑅-classes are the singletons. Put 𝑆[𝑛] the total relation on 𝐴 for 𝑛 ∈ℕ and 𝑆[∞] the empty relation; each is complete. Then (⟨𝑛,0⟩,⟨𝑛,1⟩)𝑛∈ℕ is a chain in Σ𝑅(𝑆), since 𝑛𝑅𝑛 and 0𝑆[𝑛]1. Its supremum is the pair (⟨∞,0⟩,⟨∞,1⟩), which is not in Σ𝑅(𝑆), because 𝑆[∞] is empty. So Σ𝑅(𝑆) is not complete. ◻
Uniform families and the split structure
Contexts are not PERs. A context must carry enough structure to index a family of PERs and to have its own realizers, and the standard choice is an assembly.
An assembly over V is a pair 𝐼 =(|𝐼|,𝐸𝐼) of a set and an assignment of a nonempty set 𝐸𝐼(𝑖) ⊆V of realizers to each 𝑖 ∈|𝐼|. A morphism 𝑢 :𝐼 →𝐽 is a function |𝐼| →|𝐽| for which some 𝛼 ∈V satisfies 𝛼 ⋅𝑒 ∈𝐸𝐽(𝑢(𝑖)) for all 𝑖 and 𝑒 ∈𝐸𝐼(𝑖). Write 𝐀𝐬𝐦 for the resulting category.
A uniform family of complete monotone PERs over 𝐼 is a family 𝑋 =(𝑋𝑖)𝑖∈|𝐼| with each 𝑋𝑖 ∈𝐂𝐌𝐏𝐞𝐫(V). A morphism (𝑢,(𝑓𝑖)) :(𝐼,𝑋) →(𝐽,𝑌) consists of 𝑢 :𝐼 →𝐽 in 𝐀𝐬𝐦 and functions 𝑓𝑖 :[𝑋𝑖] →[𝑌𝑢(𝑖)] such that a single 𝛼 ∈V satisfies 𝛼⋅𝑒𝑖⋅𝑒𝑣∈𝑓𝑖([𝑒𝑣]𝑋𝑖)for all 𝑖∈|𝐼|, 𝑒𝑖∈𝐸𝐼(𝑖), 𝑒𝑣∈|𝑋𝑖|. Write UFam for this category, fibred over 𝐀𝐬𝐦 by (𝐼,𝑋) ↦𝐼.
Referenced from 3 locations
The single realizer 𝛼 is what uniform means: the family of functions is realized once, not once per index.
For 𝑢 :𝐽 →𝐼 in 𝐀𝐬𝐦 and 𝑋 over 𝐼 put 𝑋[𝑢]:=(𝑋𝑢(𝑗))𝑗∈|𝐽|, and for a term 𝑎 =(𝑎𝑖)𝑖 with 𝑎𝑖 ∈[𝑋𝑖] realized uniformly put 𝑎[𝑢]:=(𝑎𝑢(𝑗))𝑗.
Referenced from 3 locations
𝑋[id𝐼] =𝑋 and 𝑋[𝑢 ∘𝑣] =𝑋[𝑢][𝑣], and the same two equations hold for terms; moreover reindexing preserves the property of being complete and monotone.
Referenced from 4 locations
Proof of Lemma 155.9 — Split reindexing
Proof. Both sides of each equation are the same indexed family, since composition of the underlying index functions is strictly associative and unital and the PER assigned at 𝑗 is literally 𝑋𝑢(𝑣(𝑗)) in both cases. A realizer for the reindexed morphism is obtained from the given one by composing with a realizer of 𝑢, which exists by definition 155.7. Completeness and monotonicity are properties of the individual PERs, which are unchanged. ◻
For 𝐼 ∈𝐀𝐬𝐦 and 𝑋 over 𝐼 define |{𝑋}|:={(𝑖,𝑥)∣𝑖∈|𝐼|, 𝑥∈[𝑋𝑖]},𝐸{𝑋}(𝑖,𝑥):={⟨𝑒𝑖,𝑒𝑣⟩∣𝑒𝑖∈𝐸𝐼(𝑖), 𝑒𝑣∈𝑥}. Then {𝑋} is an assembly, the projection 𝐩𝑋(𝑖,𝑥):=𝑖 is a morphism, and for every 𝑢 :𝐽 →𝐼 and every uniform 𝑏 =(𝑏𝑗) with 𝑏𝑗 ∈[𝑋𝑢(𝑗)] there is a unique morphism ⟨𝑢,𝑏⟩ :𝐽 →{𝑋} over 𝑢 whose second component is 𝑏. The resulting structure is split: comprehension commutes with reindexing on the nose.
Referenced from 4 locations
Proof of Theorem 155.10 — Comprehension
Proof. Realizer sets are nonempty because each 𝐸𝐼(𝑖) is and each class 𝑥 is a nonempty subset of |𝑋𝑖|. The projection is realized by a first-projection combinator, which exists in V by lemma 155.3 and the pairing injection. Given 𝑢 and 𝑏 realized by 𝛼𝑢 and 𝛼𝑏, the morphism ⟨𝑢,𝑏⟩(𝑗):=(𝑢(𝑗),𝑏𝑗) is realized by 𝑒 ↦⟨𝛼𝑢 ⋅𝑒,𝛼𝑏 ⋅𝑒⟩, and it is unique because an element of |{𝑋}| is a pair whose components are recovered by the projection and by the second component. Splitness: both {𝑋}[𝑢] and {𝑋[𝑢]} have underlying set the pairs (𝑗,𝑥) with 𝑥 ∈[𝑋𝑢(𝑗)] and the same realizer sets, so they are equal, not merely isomorphic. ◻
For 𝑋 over 𝐼 and 𝑌 over {𝑋} define, for 𝑖 ∈|𝐼|, 𝛼Π𝑋(𝑌)𝑖𝛽 iff for all 𝑒,𝑒′ with 𝑒𝑋𝑖𝑒′, 𝛼⋅𝑒𝑌(𝑖,[𝑒])𝛽⋅𝑒′,⟨𝑎1,𝑏1⟩Σ𝑋(𝑌)𝑖⟨𝑎2,𝑏2⟩ iff 𝑎1𝑋𝑖𝑎2 and 𝑏1𝑌(𝑖,[𝑎1])𝑏2. Both are complete monotone PERs, both are strictly stable under reindexing, and they carry the Π- and Σ-structure of definition 54.21, definition 54.22.
Referenced from 8 locations
Proof of Proposition 155.11 — Dependent products and sums
Proof. Σ is proposition 155.5. For Π: completeness holds because a chain (𝛼𝑛,𝛽𝑛) in Π𝑋(𝑌)𝑖 gives, for fixed related 𝑒,𝑒′, a chain (𝛼𝑛 ⋅𝑒,𝛽𝑛 ⋅𝑒′) in 𝑌(𝑖,[𝑒]), and application is continuous in the function argument by definition 155.2, so the supremum of the applications is the application of the supremum. Monotonicity: if 𝛼 ⊑𝖣𝛽 with both in |Π𝑋(𝑌)𝑖| then for related 𝑒,𝑒′ we get 𝛼 ⋅𝑒 ⊑𝖣𝛽 ⋅𝑒 with both in the domain of 𝑌(𝑖,[𝑒]), hence related by monotonicity of 𝑌; combining with 𝛽 ⋅𝑒𝑌𝛽 ⋅𝑒′ gives the claim. Stability is lemma 155.9 together with the observation that neither formula mentions the index set except through 𝑋 and 𝑌. The structure maps are abstraction and application of realizers, and their equations hold because morphisms are compared through their action on classes. ◻
For a PER 𝑅 on V let ――𝑅:=⋂{𝑆 ∈𝐂𝐌𝐏𝐞𝐫(V) ∣𝑅 ⊆𝑆}. Then ――− is left adjoint to the inclusion 𝐂𝐌𝐏𝐞𝐫(V) ↪𝐏𝐞𝐫(V), the adjunction is fibred and split over 𝐀𝐬𝐦, and for 𝑇 ∈𝐂𝐌𝐏𝐞𝐫(V), ――𝑅→𝑇=𝑅→𝑇.
Referenced from 6 locations
Proof of Theorem 155.12 — Monotone completion is a reflection
Proof. ――𝑅 is a complete monotone PER because both properties are preserved by intersections: a chain related in every 𝑆 has supremum related in every 𝑆, and the monotonicity clause is a conjunction over pairs. It contains 𝑅 by construction and is contained in every complete monotone PER containing 𝑅, which is the universal property of a reflection once the displayed equation is available.
For the equation, ⊇ is immediate from 𝑅 ⊆――𝑅. For ⊆, fix 𝛼𝑅→𝑇𝛽 and consider 𝑆:={(𝑥,𝑦)∣𝛼⋅𝑥𝑇𝛽⋅𝑦}. It is a PER; it is complete because 𝑇 is and application is continuous; and it is monotone because 𝑇 is and application is monotone. It contains 𝑅 by assumption, so ――𝑅 ⊆𝑆, which is exactly 𝛼――𝑅→𝑇𝛽. Fibredness and splitness hold because the construction is applied pointwise in the index and commutes with reindexing on the nose. ◻
The coproducts induced by theorem 155.12 are strong, and for uniform families of complete monotone PERs they coincide with the Σ𝑋(𝑌) of proposition 155.11.
Referenced from 3 locations
Proof of Corollary 155.13 — Impredicative sums
Proof. The induced coproduct is the monotone completion of the standard PER sum; by proposition 155.5 that sum is already complete and monotone, so the completion is the identity on it and the two agree. Strength is the statement that the comprehension of the coproduct is the comprehension of the family, which theorem 155.10 gives on the nose. ◻
Fixed points at a dependent type
Define 𝑢 :V →𝑐(𝑇(V) →𝑐𝑇(V)) by 𝑢(𝑥)(𝑦):={𝑧if 𝑥⋅in𝑇(𝑦)=in𝑇(𝑧),⊥otherwise, and put lfp:=in→(𝜆𝑥. in𝑇(⨆𝑛𝑢(𝑥)𝑛(⊥))).
Referenced from 2 locations
The map 𝑢 is continuous in both arguments, so ⨆𝑛𝑢(𝑥)𝑛(⊥) exists and is the least fixed point of 𝑢(𝑥).
Referenced from 3 locations
Proof of Lemma 155.15 — u is continuous
Proof. Application is continuous in each argument by definition 155.2, and in𝑇 is an isomorphism onto a summand, hence continuous with continuous partial inverse; the case split is by whether a continuous function returns a value in that summand, and the “otherwise” branch returns the least element, so the whole assignment is monotone and preserves suprema of chains. Kleene’s construction then applies. ◻
Let 𝑅 be an admissible PER on 𝑇(V), and write in𝑇(𝑅) for its image in V. Then lfp∈∣(in𝑇(𝑅)→in𝑇(𝑅))→in𝑇(𝑅)∣, and for every 𝛼 ∈|in𝑇(𝑅) →in𝑇(𝑅)|, 𝛼⋅(lfp⋅𝛼)in𝑇(𝑅)lfp⋅𝛼.
Referenced from 9 locations
Proof of Theorem 155.16 — Fixed points at admissible types
Proof. Fix 𝛼 related to itself. By induction on 𝑛, in𝑇(𝑢(𝛼)𝑛(⊥)) ∈|in𝑇(𝑅)|: at 𝑛 =0 this is admissibility, ⊥ ∈|𝑅|; at 𝑛 +1 it is the assumption on 𝛼 applied to the induction hypothesis. The sequence (𝑢(𝛼)𝑛(⊥))𝑛 is a chain because 𝑢(𝛼) is monotone and starts at ⊥, so completeness of 𝑅 gives ⨆𝑛𝑢(𝛼)𝑛(⊥) ∈|𝑅|, that is lfp ⋅𝛼 ∈|in𝑇(𝑅)|. Relatedness of lfp to itself is the same argument carried out on two related 𝛼,𝛼′, using completeness of 𝑅 on the two chains simultaneously. The displayed equation is the fixed-point property of lemma 155.15 transported along in𝑇: the supremum is a fixed point of 𝑢(𝛼), and 𝛼 ⋅in𝑇(𝑦) is in𝑇(𝑢(𝛼)(𝑦)) whenever the left side lies in the computation summand, which it does because 𝛼 preserves in𝑇(𝑅). ◻
Soundness, and one dependent partial program
Let T𝗂𝖧 be the dependent type theory with the structural rules of definition 54.2, Π- and Σ-types, a universe 𝗌𝖾𝗍 of small types, and a partial-computation former 𝑇 with a fixed-point rule at admissible types. Interpret contexts by assemblies, substitutions by their morphisms, types over Γ by uniform families of complete monotone PERs over [[Γ]], terms by uniform families of classes, 𝗌𝖾𝗍 by the assembly of complete monotone PERs, and the fixed-point rule by theorem 155.16. Then
[[𝐴[𝛾]]] =[[𝐴]][[[𝛾]]] and [[𝑎[𝛾]]] =[[𝑎]][[[𝛾]]];
every derivable judgment holds under the interpretation, with the four equality judgments interpreted by equality of the corresponding semantic data.
Referenced from 7 locations
Proof of Theorem 155.18 — Semantic substitution and soundness
Proof. Clause (1) is lemma 155.9 together with theorem 155.10, whose splitness makes the interpretation of a context extension commute with reindexing on the nose; the interpretation is therefore a strict morphism of the comprehension structure and the usual induction over derivations applies.
Clause (2) is that induction. The structural rules are the split structure. Π and Σ are proposition 155.11, with the impredicative sum handled by corollary 155.13; the PER cases are the two displayed formulas, and each equation between terms is checked on classes, where it reduces to an equation between realizers modulo the target PER. The universe is interpreted by an assembly whose underlying set is 𝐂𝐌𝐏𝐞𝐫(V), which is a set because a PER is a subset of V ×V; decoding is the identity, and closure of 𝐂𝐌𝐏𝐞𝐫(V) under the two formers is proposition 155.11. The fixed-point rule is theorem 155.16: its premise is that the interpreting PER is admissible, and its conclusion is the displayed relatedness, which is exactly the required equation between the recursive term and its unfolding. ◻
Let 𝐼 be the assembly of natural numbers with 𝐸𝐼(𝑛) ={inℕ(𝑛)}, and let 𝑋 over 𝐼 be the family with 𝑋𝑛 the complete monotone PER on 𝑇(V) whose domain consists of the computations that, when run, either diverge or return a value below 𝑛 in the numeral order. Each 𝑋𝑛 is complete (a chain of such computations has such a supremum, since the bound is preserved) and monotone (any two of its elements are related, by remark 155.6, because ⊥ is in the domain).
Let search ∈Tm(𝐼,𝑋) be interpreted by lfp ⋅𝛼 where 𝛼 realizes “if the current candidate satisfies the test, return it, otherwise recurse on the next candidate”. By theorem 155.16 this is a well-formed element of |𝑋𝑛| for each 𝑛, and it satisfies the unfolding equation in 𝑋𝑛.
Now reindex along 𝑢 :𝐽 →𝐼, 𝑢(𝑗):=𝑗 +1. By definition 155.8, 𝑋[𝑢]𝑗 =𝑋𝑗+1 and search[𝑢]𝑗 =search𝑗+1, and the unfolding equation is inherited because it is an equation in 𝑋𝑗+1, which is one of the PERs of the original family. No new fixed point is taken: the semantic substitution lemma theorem 155.18(1) is what makes the reindexed program the reindex of the program.
The equality of 𝑋𝑛 is trivial by remark 155.6, so the model does not distinguish search from the everywhere-divergent computation inside 𝑋𝑛. What it does distinguish is the family: for 𝑚 ≠𝑛 the PERs 𝑋𝑚 and 𝑋𝑛 have different domains, so the two typings are different semantic facts.
Referenced from 3 locations
★★☆ Verify directly that the family 𝑋 of example 155.19 is monotone, and then modify it so that it is complete but not monotone. Show that proposition 155.5 fails for your modification by exhibiting the chain, and identify which class of the base index moves.
Referenced from 2 locations
★★☆ Prove that the equation ――𝑅 →𝑇 =𝑅 →𝑇 of theorem 155.12 fails if 𝑇 is merely complete and not monotone, by exhibiting 𝑅 and 𝑇 and a realizer in one side and not the other.
Referenced from 2 locations
★★☆ Give a complete monotone PER 𝑅 on 𝑇(V) with ⊥ ∉|𝑅| for which the conclusion of theorem 155.16 fails, and locate the first step of that proof that breaks.
Referenced from 3 locations
Comparison, boundary, and seminar
Only the domain-theoretic interface of convention 155.1 is shared with the adequacy development of chapter 154: pre-domains, continuity, chains, least fixed points and admissibility. Both chapters use lfp and both reason with admissible predicates, and there the overlap ends. Theorem 154.24 equates the denotation of a term with the denotation of the effect tree its operational semantics builds; it is a theorem about a fixed simply typed language with a fixed algebraic signature, proved by a syntactic approximation argument. Nothing in the present chapter supplies an operational semantics, an effect tree, or an approximation language, so no adequacy statement follows here, and none is assumed. In the other direction, theorem 155.18 is a statement about dependent families and their reindexing; chapter 154 has no families, so it receives nothing from this chapter either. A dependent operational-adequacy theorem would require a matching source with its own language, its own observations and its own proof.
Four further boundaries are part of the results. Monotonicity is a hypothesis of proposition 155.5 and, by remark 155.6, it makes the equality of every computation type trivial; the model therefore proves soundness, not any statement distinguishing two convergent computations of the same specified type. Admissibility is a hypothesis of theorem 155.16 and cannot be dropped (exercise 155.3). The universe of theorem 155.18 is the assembly of complete monotone PERs, so it is closed under exactly the formers verified in proposition 155.11, and a former not verified there is not in the universe. And model soundness is neither normalization nor productivity for the syntax: no term is claimed to have a normal form, and no recursive definition is claimed to be productive.
The proof base is Svendsen, Birkedal and Nanevski’s split structure and its complete-monotone-PER instance [SBN11], whose monotonicity condition, monotone-completion reflection, uniform families, fixed-point operator and soundness statement are the results reconstructed above; the fibrational background is [Jac99]; and the computational reading of PERs and assemblies is the standard one of [Hyl82, AL91]. The Hoare-style specification layer of that source, and the state component of its realizer domain, are not developed here.
[4]
Suggested first pass.
Begin with exercise 155.4, then exercise 155.5, and finish with exercise 155.7.
★★☆ Remark 155.6 shows that a monotone PER containing ⊥ in its domain has a trivial equality. Prove this in full, and then prove that the purely functional types of proposition 155.11 avoid the collapse by showing that ⊥ ∉|Π𝑋(𝑌)𝑖| whenever ⊥ ∉|𝑌(𝑖,𝑥)| for some 𝑥.
Referenced from 3 locations
★★★ Define 𝖶-types in UFam by taking, for 𝑋 over 𝐼 and 𝑌 over {𝑋}, the least PER closed under the constructor ⟨𝑎,𝑓⟩ with 𝑎 ∈|𝑋𝑖| and 𝑓 a realizer sending elements of |𝑌(𝑖,[𝑎])| into the PER being defined. Prove that the result is complete and monotone, and identify the place where the argument needs proposition 155.5.
Referenced from 3 locations
★★★ Write down, as precisely as you can, the statement of a dependent computational-adequacy theorem for the theory of theorem 155.18: an operational semantics, an observation, and the equality claimed. Then say which of its ingredients the present chapter supplies and which it does not, and explain why theorem 154.24 cannot be used to fill any of the gaps.
Referenced from 2 locations
★★★ Practical project.cmper-family-checker Implement the finite fragment of the model: a finite pre-domain given by an order table; a PER given by a relation table; and a uniform family given by a table of PERs indexed by a finite assembly. The program decides completeness, monotonicity and admissibility of a PER by exhaustive search over chains and comparable pairs, forms Σ𝑋(𝑌) and Π𝑋(𝑌) by the formulas of proposition 155.11, and computes the monotone completion ――𝑅 of theorem 155.12 as the least fixed point of the closure operator. The invariant the program must maintain is that no table is reported complete, monotone or admissible unless every witness pair required by definition 155.4 has been checked. The program must print, for each named input, the three verdicts, the computed Σ table, and the completion ――𝑅. The acceptance test is: the identity PER on {0,1,…,𝑘,∞} is reported complete and not monotone; the family of the counterexample in the proof of proposition 155.5 yields a Σ table reported not complete, with the offending chain printed; after replacing the base PER by its monotone completion the same Σ table is reported complete, illustrating proposition 155.5; and ――𝑅 →𝑇 and 𝑅 →𝑇 print as the same table for a monotone 𝑇, illustrating theorem 155.12. Finite tables are evidence on these inputs only: the realizer domain V of definition 155.2 is infinite, so the program checks no instance of theorem 155.16 or theorem 155.18.
Referenced from 3 locations