mirror of
				https://github.com/nmvdw/HITs-Examples
				synced 2025-11-03 23:23:51 +01:00 
			
		
		
		
	Use the namespace FSets
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
				
			|||||||
Require Import FSets list_representation.
 | 
					Require Import FSets list_representation.
 | 
				
			||||||
Require Import kuratowski.length misc.dec_kuratowski.
 | 
					Require Import kuratowski.length misc.dec_kuratowski.
 | 
				
			||||||
From interfaces Require Import lattice_interface.
 | 
					From FSets.interfaces Require Import lattice_interface.
 | 
				
			||||||
From subobjects Require Import sub b_finite enumerated k_finite.
 | 
					From FSets.subobjects Require Import sub b_finite enumerated k_finite.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(** * Definitions *)
 | 
					(** * Definitions *)
 | 
				
			||||||
Definition definition_2_1 := FSet.
 | 
					Definition definition_2_1 := FSet.
 | 
				
			||||||
@@ -105,7 +105,7 @@ Definition proposition_4_22 `{Univalence} := bfin_to_kfin.
 | 
				
			|||||||
Definition theorem_4_23 `{Univalence} (X : Type) `{DecidablePaths X} := Kf_to_Bf X.
 | 
					Definition theorem_4_23 `{Univalence} (X : Type) `{DecidablePaths X} := Kf_to_Bf X.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(** * Interface for finite sets *)
 | 
					(** * Interface for finite sets *)
 | 
				
			||||||
From interfaces Require Import set_interface.
 | 
					From FSets.interfaces Require Import set_interface.
 | 
				
			||||||
(** ** Method *)
 | 
					(** ** Method *)
 | 
				
			||||||
Definition definition_5_1 := tt. (* not actually present; bundled in the next definition *)
 | 
					Definition definition_5_1 := tt. (* not actually present; bundled in the next definition *)
 | 
				
			||||||
Definition definition_5_2 `{Univalence} := sets.
 | 
					Definition definition_5_2 `{Univalence} := sets.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,6 @@
 | 
				
			|||||||
-R . "" COQC = hoqc COQDEP = hoqdep
 | 
					-R . FSets
 | 
				
			||||||
 | 
					COQC = hoqc
 | 
				
			||||||
 | 
					COQDEP = hoqdep
 | 
				
			||||||
HitTactics.v
 | 
					HitTactics.v
 | 
				
			||||||
prelude.v
 | 
					prelude.v
 | 
				
			||||||
interfaces/lattice_interface.v
 | 
					interfaces/lattice_interface.v
 | 
				
			||||||
@@ -28,3 +30,4 @@ misc/dec_kuratowski.v
 | 
				
			|||||||
misc/dec_fset.v
 | 
					misc/dec_fset.v
 | 
				
			||||||
implementations/lists.v
 | 
					implementations/lists.v
 | 
				
			||||||
CPP.v
 | 
					CPP.v
 | 
				
			||||||
 | 
					fincard.v
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
Require Import FSets list_representation.
 | 
					Require Import FSets list_representation.
 | 
				
			||||||
Require Import kuratowski.length misc.dec_kuratowski.
 | 
					Require Import kuratowski.length misc.dec_kuratowski.
 | 
				
			||||||
From interfaces Require Import lattice_interface.
 | 
					From FSets.interfaces Require Import lattice_interface.
 | 
				
			||||||
From subobjects Require Import sub b_finite enumerated k_finite.
 | 
					From FSets.subobjects Require Import sub b_finite enumerated k_finite.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Require Import HoTT.Spaces.Card.
 | 
					Require Import HoTT.Spaces.Card.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
(* Bishop-finiteness is that "default" notion of finiteness in the HoTT library *)
 | 
					(* Bishop-finiteness is that "default" notion of finiteness in the HoTT library *)
 | 
				
			||||||
Require Import HoTT HitTactics.
 | 
					Require Import HoTT HitTactics.
 | 
				
			||||||
Require Import FSets interfaces.lattice_interface.
 | 
					Require Import FSets interfaces.lattice_interface.
 | 
				
			||||||
From subobjects Require Import sub k_finite.
 | 
					From FSets.subobjects Require Import sub k_finite.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Section finite_hott.
 | 
					Section finite_hott.
 | 
				
			||||||
  Variable (A : Type).
 | 
					  Variable (A : Type).
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user