Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Definitions for Compactly Generated Stacks: A Cartesian Closed Theory of Topological Stacks

Definition
QAlgorithms_Papers_Independent_Intakethird100_P32

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of Compactly Generated Stacks: A Cartesian Closed Theory of Topological Stacks (arXiv:0907.3925) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • IsOpenCover: An ordinary open cover, allowing an empty index type over the empty space (Definition 2.7, PDF p.12; Definition 3.1, PDF p.16).
  • IsShrinking: A shrinking has the SAME index type, remains an open cover, and has each closure contained in the corresponding original member (Definition 2.7, PDF p.12).
  • ShrinkingSpace: Every universe-small open cover has a shrinking (Definition 2.7, PDF p.12).
  • CGCover: The concrete CG-cover condition (Definition 3.1, PDF p.16). The interior is taken INSIDE each compact subspace K. A finite collection has an open-cover refinement precisely when these relative interiors cover K.
  • HasOpenRefinement: An open refinement can canonically be taken to be the interiors of the members of V, indexed by the same set (Proposition 3.3, PDF p.18).
  • allCompactSubsets: The actual family of ALL compact subsets, with no chosen exhaustion (Corollary 3.1, PDF p.18).
  • ShrinkableMap: A continuous section and a homotopy from s composed with f to the identity, with every homotopy stage over the base (Definition 4.2, PDF p.28).
  • KelleyShrinkable: Apply the Kelley correction to both spaces before asserting shrinkability. The source topologies are captured before the local instances are replaced; compact test spaces have universe u (pp.4,10,28).
  • restrictedProjection: Restriction of f over a subset V of its base, prior to Kelley correction (Definition 4.3, PDF p.28).
  • LocallyShrinkableMap: Shrinkability over an ordinary open cover, with CGH restrictions formed by Kelley correction (Definition 4.3, PDF p.28).
  • CGLocallyShrinkableMap: Shrinkability over a CG-cover, with the same restriction construction (Definition 4.3, PDF p.28).
  • pullbackProjection: Projection of the actual topological fiber product, prior to Kelley correction (Definition 4.4, PDF p.28).
  • QuasiShrinkableMap: All pullbacks to locally compact, PARACOMPACT, Hausdorff test spaces are shrinkable (Definition 4.4, PDF p.28). Printed X ×_Y T is corrected to X ×_B T: Y is undefined, while f and the test map both have target B.
Definition code
import Mathlib

/-!
Statements from Carchedi, arXiv:0907.3925v3. Local definitions have complete bodies;
only the six source-result declarations use `sorry`. Other planned nodes are explicitly
deferred in this unit's HARD.md and GAPS.json. Compilation is pending the batch handoff.
-/

namespace QAlgorithms.Papers.Independent.Intakethird100.P32

universe u

open Set Topology

/-- An ordinary open cover, allowing an empty index type over the empty space
(Definition 2.7, PDF p.12; Definition 3.1, PDF p.16). -/
def IsOpenCover {X : Type u} [TopologicalSpace X] {A : Type u}
    (U : A → Set X) : Prop :=
  (∀ a, IsOpen (U a)) ∧ ∀ x, ∃ a, x ∈ U a

/-- A shrinking has the SAME index type, remains an open cover, and has each
closure contained in the corresponding original member (Definition 2.7, PDF p.12). -/
def IsShrinking {X : Type u} [TopologicalSpace X] {A : Type u}
    (U V : A → Set X) : Prop :=
  IsOpenCover V ∧ ∀ a, closure (V a) ⊆ U a

/-- Every universe-small open cover has a shrinking (Definition 2.7, PDF p.12). -/
def ShrinkingSpace (X : Type u) [TopologicalSpace X] : Prop :=
  ∀ (A : Type u) (U : A → Set X), IsOpenCover U → ∃ V, IsShrinking U V

/-- The concrete CG-cover condition (Definition 3.1, PDF p.16).
The interior is taken INSIDE each compact subspace K. A finite collection has an
open-cover refinement precisely when these relative interiors cover K. -/
def CGCover {X : Type u} [TopologicalSpace X] {A : Type u}
    (V : A → Set X) : Prop :=
  ∀ K : Set X, IsCompact K → ∃ J : Finset A,
    ∀ x : K, ∃ a, a ∈ J ∧ x ∈ interior ((Subtype.val : K → X) ⁻¹' V a)

/-- An open refinement can canonically be taken to be the interiors of the members
of V, indexed by the same set (Proposition 3.3, PDF p.18). -/
def HasOpenRefinement {X : Type u} [TopologicalSpace X] {A : Type u}
    (V : A → Set X) : Prop :=
  ∀ x, ∃ a, x ∈ interior (V a)

/-- The actual family of ALL compact subsets, with no chosen exhaustion
(Corollary 3.1, PDF p.18). -/
def allCompactSubsets (X : Type u) [TopologicalSpace X] :
    {K : Set X // IsCompact K} → Set X := fun K => K.val

/-- A continuous section and a homotopy from s composed with f to the identity,
with every homotopy stage over the base (Definition 4.2, PDF p.28). -/
def ShrinkableMap {X B : Type u} [TopologicalSpace X] [TopologicalSpace B]
    (f : X → B) : Prop :=
  Continuous f ∧ ∃ s : C(B, X),
    (∀ b, f (s b) = b) ∧ ∃ H : C(unitInterval × X, X),
      (∀ x, H (0, x) = s (f x)) ∧
      (∀ x, H (1, x) = x) ∧
      ∀ t x, f (H (t, x)) = f x

/-- Apply the Kelley correction to both spaces before asserting shrinkability.
The source topologies are captured before the local instances are replaced;
compact test spaces have universe u (pp.4,10,28). -/
def KelleyShrinkable {X B : Type u} [TopologicalSpace X] [TopologicalSpace B]
    (f : X → B) : Prop :=
  let tx := TopologicalSpace.compactlyGenerated.{u} X
  let tb := TopologicalSpace.compactlyGenerated.{u} B
  letI : TopologicalSpace X := tx
  letI : TopologicalSpace B := tb
  ShrinkableMap f

/-- Restriction of f over a subset V of its base, prior to Kelley correction
(Definition 4.3, PDF p.28). -/
def restrictedProjection {X B : Type u} (f : X → B) (V : Set B) :
    {x : X // f x ∈ V} → V := fun x => ⟨f x.val, x.property⟩

/-- Shrinkability over an ordinary open cover, with CGH restrictions formed by
Kelley correction (Definition 4.3, PDF p.28). -/
def LocallyShrinkableMap {X B : Type u} [TopologicalSpace X] [TopologicalSpace B]
    (f : X → B) : Prop :=
  Continuous f ∧ ∃ (A : Type u) (U : A → Set B),
    IsOpenCover U ∧ ∀ a, KelleyShrinkable (restrictedProjection f (U a))

/-- Shrinkability over a CG-cover, with the same restriction construction
(Definition 4.3, PDF p.28). -/
def CGLocallyShrinkableMap {X B : Type u} [TopologicalSpace X] [TopologicalSpace B]
    (f : X → B) : Prop :=
  Continuous f ∧ ∃ (A : Type u) (V : A → Set B),
    CGCover V ∧ ∀ a, KelleyShrinkable (restrictedProjection f (V a))

/-- Projection of the actual topological fiber product, prior to Kelley correction
(Definition 4.4, PDF p.28). -/
def pullbackProjection {X B T : Type u} (f : X → B) (g : T → B) :
    {p : X × T // f p.1 = g p.2} → T := fun p => p.val.2

/-- All pullbacks to locally compact, PARACOMPACT, Hausdorff test spaces are
shrinkable (Definition 4.4, PDF p.28). Printed X ×_Y T is corrected to X ×_B T:
Y is undefined, while f and the test map both have target B. -/
def QuasiShrinkableMap {X B : Type u} [TopologicalSpace X] [TopologicalSpace B]
    (f : X → B) : Prop :=
  Continuous f ∧ ∀ (T : Type u) [TopologicalSpace T]
    [T2Space T] [LocallyCompactSpace T] [ParacompactSpace T]
    (g : C(T, B)), KelleyShrinkable (pullbackProjection f g)

/-- Sanity: a one-member universal open cover is its own shrinking. -/
example (X : Type u) [TopologicalSpace X] :
    IsShrinking (fun _ : PUnit => (Set.univ : Set X))
      (fun _ : PUnit => (Set.univ : Set X)) := by
  constructor
  · constructor
    · intro a
      exact isOpen_univ
    · intro x
      exact ⟨PUnit.unit, Set.mem_univ x⟩
  · intro a
    exact Set.subset_univ _

/-- Sanity: the empty family is a CG-cover of the empty space. -/
example : CGCover (fun _ : Empty => (∅ : Set Empty)) := by
  intro K hK
  refine ⟨∅, ?_⟩
  intro x
  exact isEmptyElim x.val

/-- Sanity: a universal singleton family satisfies the finite relative-interior test. -/
example (X : Type u) [TopologicalSpace X] :
    CGCover (fun _ : PUnit => (Set.univ : Set X)) := by
  intro K hK
  refine ⟨{PUnit.unit}, ?_⟩
  intro x
  refine ⟨PUnit.unit, by simp, ?_⟩
  simp

/-- Sanity: a point belongs to the member selected by its own compact singleton. -/
example (X : Type u) [TopologicalSpace X] (x : X) :
    x ∈ allCompactSubsets X ⟨{x}, isCompact_singleton⟩ := by
  exact Set.mem_singleton x

/-- Sanity: identity maps have the identity section and constant fiber homotopy. -/
example (X : Type u) [TopologicalSpace X] : ShrinkableMap (id : X → X) := by
  refine ⟨continuous_id, ContinuousMap.id X, ?_, ⟨Prod.snd, continuous_snd⟩,
    ?_, ?_, ?_⟩
  · intro x
    rfl
  · intro x
    rfl
  · intro x
    rfl
  · intro t x
    rfl

/-- Sanity: Kelley correction also permits the identity section and homotopy. -/
example (X : Type u) [TopologicalSpace X] : KelleyShrinkable (id : X → X) := by
  letI : TopologicalSpace X := TopologicalSpace.compactlyGenerated.{u} X
  change ShrinkableMap (id : X → X)
  refine ⟨continuous_id, ContinuousMap.id X, ?_, ⟨Prod.snd, continuous_snd⟩,
    ?_, ?_, ?_⟩
  · intro x
    rfl
  · intro x
    rfl
  · intro x
    rfl
  · intro t x
    rfl

/-- Sanity: identity restrictions and fiber products use the actual coordinates. -/
example {X : Type u} (V : Set X) (x : V) :
    restrictedProjection (id : X → X) V x = x := rfl

/-- Sanity: pullback projection retains the test-space coordinate. -/
example {X : Type u} (x : X) :
    pullbackProjection (id : X → X) (id : X → X) ⟨(x, x), rfl⟩ = x := rfl

/-- Sanity: a one-member family with full interior is an open refinement. -/
example (X : Type u) [TopologicalSpace X] :
    HasOpenRefinement (fun _ : PUnit => (Set.univ : Set X)) := by
  intro x
  exact ⟨PUnit.unit, by simp⟩

/-- Sanity: the identity is locally shrinkable over the universal cover. -/
example (X : Type u) [TopologicalSpace X] : LocallyShrinkableMap (id : X → X) := by
  refine ⟨continuous_id, PUnit, fun _ => Set.univ, ?_, ?_⟩
  · exact ⟨fun _ => isOpen_univ, fun x => ⟨PUnit.unit, Set.mem_univ x⟩⟩
  · intro a
    letI univTopology : TopologicalSpace (Set.univ : Set X) :=
      TopologicalSpace.compactlyGenerated.{u} (Set.univ : Set X)
    change ShrinkableMap (id : ↥(Set.univ : Set X) → ↥(Set.univ : Set X))
    refine ⟨continuous_id, ContinuousMap.id _, ?_, ⟨Prod.snd, continuous_snd⟩,
      ?_, ?_, ?_⟩
    · intro x
      rfl
    · intro x
      rfl
    · intro x
      rfl
    · intro t x
      rfl

/-- Sanity: CG-local shrinkability permits the universal singleton CG-cover. -/
example (X : Type u) [TopologicalSpace X] : CGLocallyShrinkableMap (id : X → X) := by
  refine ⟨continuous_id, PUnit, fun _ => Set.univ, ?_, ?_⟩
  · intro K hK
    refine ⟨{PUnit.unit}, ?_⟩
    intro x
    exact ⟨PUnit.unit, by simp, by simp⟩
  · intro a
    letI univTopology : TopologicalSpace (Set.univ : Set X) :=
      TopologicalSpace.compactlyGenerated.{u} (Set.univ : Set X)
    change ShrinkableMap (id : ↥(Set.univ : Set X) → ↥(Set.univ : Set X))
    refine ⟨continuous_id, ContinuousMap.id _, ?_, ⟨Prod.snd, continuous_snd⟩,
      ?_, ?_, ?_⟩
    · intro x
      rfl
    · intro x
      rfl
    · intro x
      rfl
    · intro t x
      rfl

/-- Sanity: the quasi-shrinkable test includes each point of the base. -/
example {X B : Type u} [TopologicalSpace X] [TopologicalSpace B]
    (f : X → B) (hf : QuasiShrinkableMap f) (b : B) :
    KelleyShrinkable (pullbackProjection f (ContinuousMap.const PUnit b)) := by
  exact hf.2 PUnit (ContinuousMap.const PUnit b)

end QAlgorithms.Papers.Independent.Intakethird100.P32
Source
Compactly Generated Stacks: A Cartesian Closed Theory of Topological Stacks, arXiv:0907.3925v3, https://arxiv.org/abs/0907.3925v3
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

QAlgorithms.Papers.Independent.Intakethird100.P32.CGCover

For a topological space XXX, an index type AAA in the same universe uuu, and a family (Va)a∈A(V_a)_{a\in A}(Va​)a∈A​ of subsets of XXX, this property means that for every compact subset K⊆XK\subseteq XK⊆X, there exists a finite subset J⊆AJ\subseteq AJ⊆A such that every point of KKK belongs to int⁡K(K∩Va)\operatorname{int}_K(K\cap V_a)intK​(K∩Va​) for some a∈Ja\in Ja∈J. Here KKK carries its subspace topology, and the interior is taken in that space KKK. The finite set JJJ may depend on KKK; the sets VaV_aVa​ need not be open. The empty compact subset is included and can use J=∅J=\varnothingJ=∅. An empty index type satisfies the property exactly when XXX is empty.

QAlgorithms.Papers.Independent.Intakethird100.P32.CGLocallyShrinkableMap

For topological spaces XXX and BBB with underlying types in the same universe uuu, and a function f:X→Bf:X\to Bf:X→B, this property means that fff is continuous in the given topologies and there exist an index type AAA in universe uuu and subsets (Va)a∈A(V_a)_{a\in A}(Va​)a∈A​ of BBB such that, for every compact subset K⊆BK\subseteq BK⊆B, some finite subset J⊆AJ\subseteq AJ⊆A satisfies K=⋃a∈Jint⁡K(K∩Va)K=\bigcup_{a\in J}\operatorname{int}_K(K\cap V_a)K=⋃a∈J​intK​(K∩Va​), with interiors taken in the subspace KKK. For each aaa, put Ea=f−1(Va)E_a=f^{-1}(V_a)Ea​=f−1(Va​) and let pa:Ea→Vap_a:E_a\to V_apa​:Ea​→Va​ send xxx to f(x)f(x)f(x); give both spaces their subspace topologies and then their compactly generated topologies, denoted kEakE_akEa​ and kVakV_akVa​. The map pa:kEa→kVap_a:kE_a\to kV_apa​:kEa​→kVa​ must be continuous, and there must exist continuous maps sa:kVa→kEas_a:kV_a\to kE_asa​:kVa​→kEa​ and Ha:[0,1]×kEa→kEaH_a:[0,1]\times kE_a\to kE_aHa​:[0,1]×kEa​→kEa​, using the product topology, satisfying pa(sa(b))=bp_a(s_a(b))=bpa​(sa​(b))=b, Ha(0,x)=sa(pa(x))H_a(0,x)=s_a(p_a(x))Ha​(0,x)=sa​(pa​(x)), Ha(1,x)=xH_a(1,x)=xHa​(1,x)=x, and pa(Ha(t,x))=pa(x)p_a(H_a(t,x))=p_a(x)pa​(Ha​(t,x))=pa​(x) for every b∈Vab\in V_ab∈Va​, x∈Eax\in E_ax∈Ea​, and t∈[0,1]t\in[0,1]t∈[0,1]. The sets VaV_aVa​ need not be open. Empty members and the empty compact subset are included; the latter may use J=∅J=\varnothingJ=∅, and an empty index type is possible only when BBB is empty.

QAlgorithms.Papers.Independent.Intakethird100.P32.HasOpenRefinement

For a topological space XXX, an index type AAA in the same universe uuu, and a family (Va)a∈A(V_a)_{a\in A}(Va​)a∈A​ of subsets of XXX, this property means that every point x∈Xx\in Xx∈X belongs to the interior in XXX of some VaV_aVa​; equivalently, the family (int⁡XVa)a∈A(\operatorname{int}_X V_a)_{a\in A}(intX​Va​)a∈A​ covers XXX. The sets VaV_aVa​ themselves are not required to be open. For empty XXX the condition is vacuous, and an empty index type is permitted exactly in that case.

QAlgorithms.Papers.Independent.Intakethird100.P32.IsOpenCover

For a topological space XXX, an index type AAA in the same universe uuu as XXX, and a family of subsets (Ua)a∈A(U_a)_{a\in A}(Ua​)a∈A​ of XXX, this property means that every UaU_aUa​ is open and every point of XXX belongs to at least one UaU_aUa​. Empty members are allowed. The index type may be empty, in which case the property holds exactly when XXX is empty.

QAlgorithms.Papers.Independent.Intakethird100.P32.IsShrinking

For a topological space XXX, an index type AAA in the same universe uuu, and two families (Ua)a∈A(U_a)_{a\in A}(Ua​)a∈A​ and (Va)a∈A(V_a)_{a\in A}(Va​)a∈A​ of subsets of XXX, this property means that every VaV_aVa​ is open, every point of XXX lies in some VaV_aVa​, and Va‾⊆Ua\overline{V_a}\subseteq U_aVa​​⊆Ua​ for every a∈Aa\in Aa∈A, where closure is taken in XXX. There is no separate requirement that the sets UaU_aUa​ be open. Empty members are allowed; if AAA is empty, the property holds exactly when XXX is empty.

QAlgorithms.Papers.Independent.Intakethird100.P32.KelleyShrinkable

For topological spaces XXX and BBB with underlying types in the same universe uuu, and a function f:X→Bf:X\to Bf:X→B, let kXkXkX and kBkBkB denote those same underlying sets equipped with the compactly generated topologies obtained from their given topologies, using universe uuu. This property means that f:kX→kBf:kX\to kBf:kX→kB is continuous and there exist a continuous section s:kB→kXs:kB\to kXs:kB→kX and a continuous map H:[0,1]×kX→kXH:[0,1]\times kX\to kXH:[0,1]×kX→kX, with the product topology on its domain, such that f(s(b))=bf(s(b))=bf(s(b))=b, H(0,x)=s(f(x))H(0,x)=s(f(x))H(0,x)=s(f(x)), H(1,x)=xH(1,x)=xH(1,x)=x, and f(H(t,x))=f(x)f(H(t,x))=f(x)f(H(t,x))=f(x) for all b∈Bb\in Bb∈B, x∈Xx\in Xx∈X, and t∈[0,1]t\in[0,1]t∈[0,1]. These continuity requirements use the replaced topologies. Empty spaces are included; an empty XXX and nonempty BBB cannot admit the required section.

QAlgorithms.Papers.Independent.Intakethird100.P32.LocallyShrinkableMap

For topological spaces XXX and BBB with underlying types in the same universe uuu, and a function f:X→Bf:X\to Bf:X→B, this property means that fff is continuous in the given topologies and there exist an index type AAA in universe uuu and open subsets (Ua)a∈A(U_a)_{a\in A}(Ua​)a∈A​ covering BBB with the following property. For each aaa, put Ea=f−1(Ua)E_a=f^{-1}(U_a)Ea​=f−1(Ua​) and let pa:Ea→Uap_a:E_a\to U_apa​:Ea​→Ua​ send xxx to f(x)f(x)f(x); give EaE_aEa​ and UaU_aUa​ their subspace topologies and then replace each by its compactly generated topology, denoted kEakE_akEa​ and kUakU_akUa​. The map pa:kEa→kUap_a:kE_a\to kU_apa​:kEa​→kUa​ is continuous, and there exist continuous maps sa:kUa→kEas_a:kU_a\to kE_asa​:kUa​→kEa​ and Ha:[0,1]×kEa→kEaH_a:[0,1]\times kE_a\to kE_aHa​:[0,1]×kEa​→kEa​, using the product topology, such that pa(sa(b))=bp_a(s_a(b))=bpa​(sa​(b))=b, Ha(0,x)=sa(pa(x))H_a(0,x)=s_a(p_a(x))Ha​(0,x)=sa​(pa​(x)), Ha(1,x)=xH_a(1,x)=xHa​(1,x)=x, and pa(Ha(t,x))=pa(x)p_a(H_a(t,x))=p_a(x)pa​(Ha​(t,x))=pa​(x) for all b∈Uab\in U_ab∈Ua​, x∈Eax\in E_ax∈Ea​, and t∈[0,1]t\in[0,1]t∈[0,1]. Empty cover members are allowed, and the index type may be empty when BBB is empty.

QAlgorithms.Papers.Independent.Intakethird100.P32.QuasiShrinkableMap

For topological spaces XXX and BBB in the same universe and a function f:X→Bf:X\to Bf:X→B, the property defined here means that fff is continuous and satisfies the following condition: for every Hausdorff, locally compact, paracompact topological space TTT in that universe and every continuous map g:T→Bg:T\to Bg:T→B, form the subspace

P={(x,t)∈X×T:f(x)=g(t)}P=\{(x,t)\in X\times T:f(x)=g(t)\}P={(x,t)∈X×T:f(x)=g(t)}

and its projection p:P→Tp:P\to Tp:P→T, p(x,t)=tp(x,t)=tp(x,t)=t. After replacing the topologies of both PPP and TTT by their compactly generated topologies, ppp is continuous and there exist a continuous section s:T→Ps:T\to Ps:T→P and a continuous map H:[0,1]×P→PH:[0,1]\times P\to PH:[0,1]×P→P such that

p(s(t))=t,H(0,z)=s(p(z)),H(1,z)=z,p(H(r,z))=p(z)p(s(t))=t,\qquad H(0,z)=s(p(z)),\qquad H(1,z)=z,\qquad p(H(r,z))=p(z)p(s(t))=t,H(0,z)=s(p(z)),H(1,z)=z,p(H(r,z))=p(z)

for every t∈Tt\in Tt∈T, z∈Pz\in Pz∈P, and r∈[0,1]r\in[0,1]r∈[0,1]. The product used for HHH uses the replaced topology on PPP. No nonemptiness assumption is imposed on these spaces; the requirement includes empty test spaces, and whenever a test space is nonempty, the required section must exist on all of it.

QAlgorithms.Papers.Independent.Intakethird100.P32.ShrinkableMap

For topological spaces XXX and BBB with underlying types in the same universe uuu, and a function f:X→Bf:X\to Bf:X→B, this property means that fff is continuous and there exists a continuous map s:B→Xs:B\to Xs:B→X satisfying f(s(b))=bf(s(b))=bf(s(b))=b for every b∈Bb\in Bb∈B, together with a continuous map H:[0,1]×X→XH:[0,1]\times X\to XH:[0,1]×X→X, using the product topology, such that H(0,x)=s(f(x))H(0,x)=s(f(x))H(0,x)=s(f(x)), H(1,x)=xH(1,x)=xH(1,x)=x, and f(H(t,x))=f(x)f(H(t,x))=f(x)f(H(t,x))=f(x) for every x∈Xx\in Xx∈X and every t∈[0,1]t\in[0,1]t∈[0,1]. No nonemptiness is assumed: if XXX is empty and BBB is nonempty, the required section cannot exist; if both are empty, the conditions hold.

QAlgorithms.Papers.Independent.Intakethird100.P32.ShrinkingSpace

For a topological space XXX with underlying type in universe uuu, this property means that for every index type AAA in universe uuu and every family (Ua)a∈A(U_a)_{a\in A}(Ua​)a∈A​ of open subsets covering XXX, there exists a family (Va)a∈A(V_a)_{a\in A}(Va​)a∈A​ of open subsets covering XXX, with the same index type, such that Va‾⊆Ua\overline{V_a}\subseteq U_aVa​​⊆Ua​ for every a∈Aa\in Aa∈A. Empty members and empty index types are included; an empty index type gives an open cover only when XXX is empty, and the empty space satisfies this property.

QAlgorithms.Papers.Independent.Intakethird100.P32.allCompactSubsets

For a topological space XXX with underlying type in universe uuu, this defines a function whose inputs are subsets K⊆XK\subseteq XK⊆X equipped with a proof that KKK is compact, and whose output on such an input is the underlying subset KKK itself. Thus it indexes the compact subsets of XXX by those compact subsets together with their compactness proofs. The empty subset is included; there is no requirement that these compact subsets be nonempty or closed.

QAlgorithms.Papers.Independent.Intakethird100.P32.pullbackProjection

For types XXX, BBB, and TTT in the same universe uuu, and arbitrary functions f:X→Bf:X\to Bf:X→B and g:T→Bg:T\to Bg:T→B, this defines the function {(x,t)∈X×T∣f(x)=g(t)}→T\{(x,t)\in X\times T\mid f(x)=g(t)\}\to T{(x,t)∈X×T∣f(x)=g(t)}→T that sends a pair (x,t)(x,t)(x,t), equipped with a proof of f(x)=g(t)f(x)=g(t)f(x)=g(t), to its second coordinate ttt. No topologies, continuity assumptions, or nonemptiness assumptions are required; the domain may be empty.

QAlgorithms.Papers.Independent.Intakethird100.P32.restrictedProjection

For types XXX and BBB in the same universe uuu, any function f:X→Bf:X\to Bf:X→B, and any subset V⊆BV\subseteq BV⊆B, this defines the function f−1(V)→Vf^{-1}(V)\to Vf−1(V)→V that sends a point xxx, equipped with the fact that f(x)∈Vf(x)\in Vf(x)∈V, to f(x)f(x)f(x), equipped with that same membership fact. No topologies or continuity assumptions are required. If VVV is empty, its domain is also empty and this is the function from the empty set to itself.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me