where #t is stupid; use side-condition
This commit is contained in:
parent
2382151166
commit
64c8edfde4
|
@ -492,17 +492,17 @@
|
||||||
----------------- "DTR-Unv"
|
----------------- "DTR-Unv"
|
||||||
(type-infer Δ Γ U_0 U_1)]
|
(type-infer Δ Γ U_0 U_1)]
|
||||||
|
|
||||||
[(where #t (Δ-in-dom Δ x))
|
[(side-condition (Δ-in-dom Δ x))
|
||||||
(where t (Δ-ref-type Δ x))
|
(where t (Δ-ref-type Δ x))
|
||||||
----------------- "DTR-Inductive"
|
----------------- "DTR-Inductive"
|
||||||
(type-infer Δ Γ x t)]
|
(type-infer Δ Γ x t)]
|
||||||
|
|
||||||
[(where #t (Δ-in-constructor-dom Δ x))
|
[(side-condition (Δ-in-constructor-dom Δ x))
|
||||||
(where t (Δ-ref-constructor-type Δ x))
|
(where t (Δ-ref-constructor-type Δ x))
|
||||||
----------------- "DTR-Constructor"
|
----------------- "DTR-Constructor"
|
||||||
(type-infer Δ Γ x t)]
|
(type-infer Δ Γ x t)]
|
||||||
|
|
||||||
[(where #t (Γ-in-dom Γ x))
|
[(side-condition (Γ-in-dom Γ x))
|
||||||
(where t (Γ-ref Γ x))
|
(where t (Γ-ref Γ x))
|
||||||
----------------- "DTR-Start"
|
----------------- "DTR-Start"
|
||||||
(type-infer Δ Γ x t)]
|
(type-infer Δ Γ x t)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user