def
definition
defect
show as:
view math explainer →
open explainer
Read the cached plain-language explainer.
open lean source
IndisputableMonolith.Foundation.LawOfExistence on GitHub at line 32.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
-
continuous_bijective_preserves_J_eq_id_or_inv -
cost_algebra_certificate -
costCompose_comm -
J_le_J_of_inv_le_le -
quasiTriangleConstant_eq -
ethicsDomain -
semanticsDomain -
CircuitLedgerCert -
CircuitSeparation -
AlgebraicRestrictionHyp -
CNFFormula -
JCostLandscape -
cosmological_constant_resolution -
perpetual_complexity -
defect_le_constants_mul_energyGap -
defect_le_constants_mul_tests -
Structured -
bsm_not_warranted -
bsm_probability_small -
curvature_defect_strength -
interactionDefect -
interactionDefect_eq_zero_of_separatelyAdditive -
IsCouplingCombiner -
RCLCombiner -
RCLCombiner_zero_separatelyAdditive -
separatelyAdditive_iff_interactionDefect_zero -
separatelyAdditive_of_interactionDefect_zero -
cost_stability_calibrated -
dAlembertDefect -
defect_even_in_t -
defect_even_in_u -
defect_symmetric -
defect_zero_iff_dAlembert -
ODEApproximation -
optimal_h -
StabilityBounds -
StabilityEstimate -
zero_defect_implies_cosh -
determinism_resolution -
PublicCostLayer
formal source
29noncomputable def J (x : ℝ) : ℝ := (x + x⁻¹) / 2 - 1
30
31/-- The defect functional. Equals J for positive x. -/
32noncomputable def defect (x : ℝ) : ℝ := J x
33
34/-- Defect at unity is zero. -/
35@[simp] theorem defect_at_one : defect 1 = 0 := by simp [defect, J]
36
37/-- Defect is non-negative for positive arguments. -/
38theorem defect_nonneg {x : ℝ} (hx : 0 < x) : 0 ≤ defect x := by
39 simp only [defect, J]
40 have hx0 : x ≠ 0 := hx.ne'
41 have h : 0 ≤ (x - 1)^2 / x := by positivity
42 calc (x + x⁻¹) / 2 - 1 = ((x - 1)^2 / x) / 2 := by field_simp; ring
43 _ ≥ 0 := by positivity
44
45/-! ## The Existence Predicate -/
46
47/-- **Existence Predicate**: x exists in the RS framework iff x > 0 and defect(x) = 0. -/
48structure Exists (x : ℝ) : Prop where
49 pos : 0 < x
50 defect_zero : defect x = 0
51
52/-- **Defect Collapse Predicate**: Equivalent formulation. -/
53def DefectCollapse (x : ℝ) : Prop := 0 < x ∧ defect x = 0
54
55/-! ## Core Equivalence Theorems -/
56
57/-- **Defect Zero Characterization**: defect(x) = 0 ⟺ x = 1 (for x > 0). -/
58theorem defect_zero_iff_one {x : ℝ} (hx : 0 < x) : defect x = 0 ↔ x = 1 := by
59 simp only [defect, J]
60 constructor
61 · intro h
62 have hx0 : x ≠ 0 := hx.ne'
papers checked against this theorem (showing 1 of 1)
-
Contrastive pre-training yields strong text and code embeddings
"we show that contrastive pre-training on unsupervised data at scale leads to high quality vector representations"