Skip to content

Commit

Permalink
Patch for coq v8.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Columbus240 committed Jan 10, 2021
1 parent dd1c3ec commit 0b86e6b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions theories/Topology/EuclideanSpaces.v
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
Does every compact manifold (or topological-space (maybe Hausdorff is necessary)) admit a uniform probability distribution?
*)

Require Import FunctionalExtensionality.
Require Import RTopology.
Require Import Vector.
Require Import ProductTopology.
Require Import RTopology.
Require Import FunctionalExtensionality.
Require Import Ensembles.
Require Import Compactness.

(* Using [Fin.t] instead of repeated application of ProductTopology2 makes that we don’t have to consider associativity. Using [Vector] instead of [ProductTopology] makes that we don’t have to always consider functional extensionality. *)
Definition FiniteProduct (A : TopologicalSpace) (n : nat) :=
Expand Down Expand Up @@ -145,7 +147,6 @@ Definition EuclideanSpace_scalarproduct {n : nat} (x y : point_set (EuclideanSpa

Program Definition EuclideanSpace_scalarproduct_self_nonneg {n : nat} (x : point_set (EuclideanSpace n)) : nonnegreal :=
{| nonneg := EuclideanSpace_scalarproduct x x; |}.
Proof.
Next Obligation.
unfold EuclideanSpace_scalarproduct.
induction x.
Expand Down

0 comments on commit 0b86e6b

Please sign in to comment.