mirror of https://github.com/nmvdw/HITs-Examples
Split the development into different directories
This commit is contained in:
parent
bae04a6d2b
commit
0de37d6cea
|
@ -0,0 +1,7 @@
|
|||
Require Export HoTT HitTactics.
|
||||
Require Export representations.definition.
|
||||
From fsets Require Export
|
||||
monad
|
||||
extensionality
|
||||
properties
|
||||
properties_decidable.
|
|
@ -2,16 +2,17 @@
|
|||
-R ../prelude ""
|
||||
lattice.v
|
||||
disjunction.v
|
||||
bad.v
|
||||
definition.v
|
||||
operations.v
|
||||
properties.v
|
||||
operations_decidable.v
|
||||
extensionality.v
|
||||
properties_decidable.v
|
||||
monad.v
|
||||
cons_repr.v
|
||||
lists.v
|
||||
enumerated.v
|
||||
representations/bad.v
|
||||
representations/definition.v
|
||||
fsets/operations.v
|
||||
fsets/properties.v
|
||||
fsets/operations_decidable.v
|
||||
fsets/extensionality.v
|
||||
fsets/properties_decidable.v
|
||||
fsets/monad.v
|
||||
FSets.v
|
||||
representations/cons_repr.v
|
||||
implementations/lists.v
|
||||
variations/enumerated.v
|
||||
#empty_set.v
|
||||
#ordered.v
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
(** Extensionality of the FSets *)
|
||||
Require Import HoTT HitTactics.
|
||||
Require Import definition operations properties.
|
||||
From representations Require Import definition.
|
||||
From fsets Require Import operations properties.
|
||||
|
||||
Section ext.
|
||||
Context {A : Type}.
|
|
@ -1,6 +1,6 @@
|
|||
(* [FSet] is a (strong and stable) finite powerset monad *)
|
||||
Require Import HoTT HitTactics.
|
||||
Require Export definition properties.
|
||||
Require Export representations.definition fsets.properties.
|
||||
|
||||
Definition ffmap {A B : Type} : (A -> B) -> FSet A -> FSet B.
|
||||
Proof.
|
|
@ -1,6 +1,6 @@
|
|||
(* Operations on the [FSet A] for an arbitrary [A] *)
|
||||
Require Import HoTT HitTactics.
|
||||
Require Import definition disjunction lattice.
|
||||
Require Import representations.definition disjunction lattice.
|
||||
|
||||
Section operations.
|
||||
Context {A : Type}.
|
|
@ -1,6 +1,6 @@
|
|||
(* Operations on [FSet A] when [A] has decidable equality *)
|
||||
Require Import HoTT HitTactics.
|
||||
Require Export definition operations.
|
||||
Require Export representations.definition fsets.operations.
|
||||
|
||||
Section decidable_A.
|
||||
Context {A : Type}.
|
|
@ -1,5 +1,5 @@
|
|||
Require Import HoTT HitTactics.
|
||||
Require Export definition operations disjunction.
|
||||
Require Export representations.definition disjunction fsets.operations.
|
||||
|
||||
(* Lemmas relating operations to the membership predicate *)
|
||||
Section operations_isIn.
|
|
@ -1,6 +1,7 @@
|
|||
(* Properties of [FSet A] where [A] has decidable equality *)
|
||||
Require Import HoTT HitTactics.
|
||||
Require Export properties extensionality lattice operations_decidable.
|
||||
From fsets Require Export properties extensionality operations_decidable.
|
||||
Require Export lattice.
|
||||
|
||||
(* Lemmas relating operations to the membership predicate *)
|
||||
Section operations_isIn.
|
|
@ -1,5 +1,5 @@
|
|||
Require Import HoTT HitTactics.
|
||||
Require Import cons_repr operations_decidable properties_decidable definition.
|
||||
Require Import representations.cons_repr FSets.
|
||||
|
||||
Section Operations.
|
||||
Variable A : Type.
|
|
@ -1,5 +1,6 @@
|
|||
Require Import HoTT HitTactics.
|
||||
Require Import definition operations_decidable properties_decidable.
|
||||
Require Import representations.definition.
|
||||
From fsets Require Import operations_decidable properties_decidable.
|
||||
|
||||
Module Export FSetC.
|
||||
|
Loading…
Reference in New Issue