2014-11-05 02:41:27 +00:00
|
|
|
inductive fibrant [class] (T : Type) : Type :=
|
|
|
|
fibrant_mk : fibrant T
|
|
|
|
|
|
|
|
inductive path {A : Type'} [fA : fibrant A] (a : A) : A → Type :=
|
|
|
|
idpath : path a a
|
|
|
|
|
|
|
|
notation a ≈ b := path a b
|
|
|
|
|
|
|
|
axiom path_fibrant {A : Type'} [fA : fibrant A] (a b : A) : fibrant (path a b)
|
2015-01-26 19:31:12 +00:00
|
|
|
attribute path_fibrant [instance]
|
2014-11-05 02:41:27 +00:00
|
|
|
|
|
|
|
axiom imp_fibrant {A : Type'} {B : Type'} [C1 : fibrant A] [C2 : fibrant B] : fibrant (A → B)
|
2015-01-25 04:23:21 +00:00
|
|
|
attribute imp_fibrant [instance]
|
2014-11-05 02:41:27 +00:00
|
|
|
|
2015-07-29 04:56:35 +00:00
|
|
|
noncomputable definition test {A : Type} [fA : fibrant A] {x y : A} :
|
2014-11-05 02:41:27 +00:00
|
|
|
Π (z : A), y ≈ z → fibrant (x ≈ y → x ≈ z) := _
|