2023-05-04 21:05:13 +00:00
|
|
|
|
import Bookshelf.Real.Function.Step
|
|
|
|
|
import Bookshelf.Real.Geometry.Rectangle
|
2023-04-18 17:29:19 +00:00
|
|
|
|
|
2023-05-04 22:37:54 +00:00
|
|
|
|
/-! # Bookshelf.Real.Geometry.Area
|
|
|
|
|
|
|
|
|
|
An axiomatic foundation for the concept of *area*. These axioms are those
|
|
|
|
|
outlined in [^1].
|
|
|
|
|
|
|
|
|
|
[^1]: Apostol, Tom M. Calculus, Vol. 1: One-Variable Calculus, with an
|
|
|
|
|
Introduction to Linear Algebra. 2nd ed. Vol. 1. 2 vols. Wiley, 1991.
|
|
|
|
|
-/
|
|
|
|
|
|
2023-04-22 19:11:50 +00:00
|
|
|
|
namespace Real.Geometry.Area
|
2023-04-18 17:29:19 +00:00
|
|
|
|
|
|
|
|
|
/--
|
|
|
|
|
All *measurable sets*, i.e. sets in the plane to which an area can be assigned.
|
|
|
|
|
|
|
|
|
|
The existence of such a class is assumed in the axiomatic definition of area
|
|
|
|
|
introduced by Apostol. He denotes this set of sets as `𝓜`.
|
|
|
|
|
-/
|
|
|
|
|
axiom 𝓜 : Set (Set ℝ²)
|
|
|
|
|
|
|
|
|
|
/--
|
|
|
|
|
A set function mapping every *measurable set* to a value denoting its area.
|
|
|
|
|
|
|
|
|
|
The existence of such a function is assumed in the axiomatic definition of area
|
|
|
|
|
introduced by Apostol. He denotes this function as `a`.
|
|
|
|
|
-/
|
|
|
|
|
axiom area : ∀ ⦃x⦄, x ∈ 𝓜 → ℝ
|
|
|
|
|
|
2023-05-06 18:01:37 +00:00
|
|
|
|
/-! ## Nonnegative Property
|
2023-04-18 17:29:19 +00:00
|
|
|
|
|
|
|
|
|
For each set `S` in `𝓜`, we have `a(S) ≥ 0`.
|
|
|
|
|
-/
|
2023-05-06 18:01:37 +00:00
|
|
|
|
|
2023-04-18 17:29:19 +00:00
|
|
|
|
axiom area_ge_zero {S : Set ℝ²} (h : S ∈ 𝓜): area h ≥ 0
|
|
|
|
|
|
2023-05-06 18:01:37 +00:00
|
|
|
|
/-! ## Additive Property
|
2023-04-18 17:29:19 +00:00
|
|
|
|
|
2023-05-06 18:01:37 +00:00
|
|
|
|
If `S` and `T` are in `𝓜`, then `S ∪ T` in `𝓜`, `S ∩ T` in `𝓜`, and
|
|
|
|
|
`a(S ∪ T) = a(S) + a(T) - a(S ∩ T)`.
|
2023-04-18 17:29:19 +00:00
|
|
|
|
-/
|
2023-05-06 18:01:37 +00:00
|
|
|
|
|
2023-04-18 17:29:19 +00:00
|
|
|
|
axiom measureable_imp_union_measurable {S T : Set ℝ²} (hS : S ∈ 𝓜) (hT : T ∈ 𝓜)
|
|
|
|
|
: S ∪ T ∈ 𝓜
|
|
|
|
|
|
|
|
|
|
axiom measurable_imp_inter_measurable {S T : Set ℝ²} (hS : S ∈ 𝓜) (hT : T ∈ 𝓜)
|
|
|
|
|
: S ∩ T ∈ 𝓜
|
|
|
|
|
|
|
|
|
|
axiom union_area_eq_area_add_area_sub_inter_area
|
|
|
|
|
{S T : Set ℝ²} (hS : S ∈ 𝓜) (hT : T ∈ 𝓜)
|
|
|
|
|
: area (measureable_imp_union_measurable hS hT) =
|
|
|
|
|
area hS + area hT - area (measurable_imp_inter_measurable hS hT)
|
|
|
|
|
|
2023-05-06 18:01:37 +00:00
|
|
|
|
/-! ## Difference Property
|
2023-04-18 17:29:19 +00:00
|
|
|
|
|
2023-05-06 18:01:37 +00:00
|
|
|
|
If `S` and `T` are in `𝓜` with `S ⊆ T`, then `T - S` is in `𝓜` and
|
|
|
|
|
`a(T - S) = a(T) - a(S)`.
|
2023-04-18 17:29:19 +00:00
|
|
|
|
-/
|
2023-05-06 18:01:37 +00:00
|
|
|
|
|
2023-04-18 17:29:19 +00:00
|
|
|
|
axiom measureable_imp_diff_measurable
|
|
|
|
|
{S T : Set ℝ²} (hS : S ∈ 𝓜) (hT : T ∈ 𝓜) (h : S ⊆ T)
|
|
|
|
|
: T \ S ∈ 𝓜
|
|
|
|
|
|
|
|
|
|
axiom diff_area_eq_area_sub_area
|
|
|
|
|
{S T : Set ℝ²} (hS : S ∈ 𝓜) (hT : T ∈ 𝓜) (h : S ⊆ T)
|
|
|
|
|
: area (measureable_imp_diff_measurable hS hT h) = area hT - area hS
|
|
|
|
|
|
2023-05-06 18:01:37 +00:00
|
|
|
|
/-! ## Invariance Under Congruence
|
2023-04-18 17:29:19 +00:00
|
|
|
|
|
2023-05-06 18:01:37 +00:00
|
|
|
|
If a set `S` is in `𝓜` and if a set `T` is congruent to `S`, then `T` is also in
|
|
|
|
|
`𝓜` and `a(S) = a(T)`.
|
2023-04-18 17:29:19 +00:00
|
|
|
|
-/
|
2023-05-06 18:01:37 +00:00
|
|
|
|
|
2023-04-18 17:29:19 +00:00
|
|
|
|
axiom measurable_congruent_imp_measurable
|
|
|
|
|
{S T : Set ℝ²} (hS : S ∈ 𝓜) (h : congruent S T)
|
|
|
|
|
: T ∈ 𝓜
|
|
|
|
|
|
|
|
|
|
axiom congruent_imp_area_eq_area
|
|
|
|
|
{S T : Set ℝ²} (hS : S ∈ 𝓜) (h : congruent S T)
|
|
|
|
|
: area hS = area (measurable_congruent_imp_measurable hS h)
|
|
|
|
|
|
|
|
|
|
|
2023-05-06 18:01:37 +00:00
|
|
|
|
/-! ## Choice of Scale
|
|
|
|
|
|
|
|
|
|
(i) Every rectangle `R` is in `𝓜`.
|
|
|
|
|
|
|
|
|
|
(ii) If the edges of rectangle `R` have lengths `h` and `k`, then `a(R) = hk`.
|
2023-04-18 17:29:19 +00:00
|
|
|
|
-/
|
2023-05-06 18:01:37 +00:00
|
|
|
|
|
2023-04-18 17:29:19 +00:00
|
|
|
|
axiom rectangle_measurable (R : Rectangle)
|
|
|
|
|
: R.set_def ∈ 𝓜
|
|
|
|
|
|
|
|
|
|
axiom rectangle_area_eq_mul_edge_lengths (R : Rectangle)
|
|
|
|
|
: area (rectangle_measurable R) = R.width * R.height
|
|
|
|
|
|
2023-05-06 18:01:37 +00:00
|
|
|
|
/-! ## Exhaustion property
|
|
|
|
|
|
|
|
|
|
Let `Q` be a set that can be enclosed between two step regions `S` and `T`, so
|
|
|
|
|
that (1.1) `S ⊆ Q ⊆ T`. If there is one and only one number `k` which satisfies
|
|
|
|
|
the inequalities `a(S) ≤ k ≤ a(T)` for all step regions `S` and `T` satisfying
|
|
|
|
|
(1.1), then `Q` is measurable and `a(Q) = k`.
|
|
|
|
|
-/
|
|
|
|
|
|
2023-04-18 17:29:19 +00:00
|
|
|
|
/--
|
|
|
|
|
Every step region is measurable. This follows from the choice of scale axiom,
|
|
|
|
|
and the fact all step regions are equivalent to the union of a collection of
|
|
|
|
|
rectangles.
|
|
|
|
|
-/
|
|
|
|
|
theorem step_function_measurable (S : Function.Step) : S.set_def ∈ 𝓜 := by
|
|
|
|
|
sorry
|
|
|
|
|
|
|
|
|
|
def forall_subset_between_step_imp_le_between_area (k : ℝ) (Q : Set ℝ²) :=
|
|
|
|
|
∀ S T : Function.Step,
|
|
|
|
|
(hS : S.set_def ⊆ Q) →
|
|
|
|
|
(hT : Q ⊆ T.set_def) →
|
|
|
|
|
area (step_function_measurable S) ≤ k ∧ k ≤ area (step_function_measurable T)
|
|
|
|
|
|
|
|
|
|
axiom exhaustion_exists_unique_imp_measurable (Q : Set ℝ²)
|
2023-04-21 13:17:21 +00:00
|
|
|
|
: (∃! k : ℝ, forall_subset_between_step_imp_le_between_area k Q)
|
2023-04-18 17:29:19 +00:00
|
|
|
|
→ Q ∈ 𝓜
|
|
|
|
|
|
|
|
|
|
axiom exhaustion_exists_unique_imp_area_eq (Q : Set ℝ²)
|
|
|
|
|
: ∃ k : ℝ,
|
|
|
|
|
(h : forall_subset_between_step_imp_le_between_area k Q ∧
|
|
|
|
|
(∀ x : ℝ, forall_subset_between_step_imp_le_between_area x Q → x = k))
|
2023-04-21 13:17:21 +00:00
|
|
|
|
→ area (exhaustion_exists_unique_imp_measurable Q ⟨k, h⟩) = k
|
2023-04-18 17:29:19 +00:00
|
|
|
|
|
2023-04-22 19:11:50 +00:00
|
|
|
|
end Real.Geometry.Area
|