def
definition
tick
show as:
view math explainer →
open explainer
Read the cached plain-language explainer.
open lean source
IndisputableMonolith.Constants on GitHub at line 8.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
-
rs_pattern_window_neutral -
PosturalAxis -
year_dimensionless -
BIT_carrier_period_band -
fastRadioBurstFromBITCert -
FRB_period_strict_increasing -
all_ml_on_phi_ladder -
ml_nucleosynthesis_eq_phi -
NuclearTier -
of -
phi_ladder_step -
E_coh -
ml_from_geometry_only -
gap_size_pos -
ms_median_rung -
pulsarPeriodFromRungCert -
effective_tier -
ml_is_phi_power -
ml_is_phi_power' -
tick_partition -
tick_ratio_value -
Conserves -
attemptFrequency -
eightTickPeriod -
bcc_max_8tick_coherence -
close_packed_lower_energy -
eightTickCoherence -
packingEfficiencyApprox -
prefersHCP -
stability_tradeoff -
tetragonal_implies_orthorhombic -
nonzero_below_curie -
packingEfficiency -
bandMultiplier -
phase_wraps_24 -
E_coh_pos -
tau0 -
satJCost_zero_iff -
c_ell0_tau0 -
E_coh_pos
formal source
5namespace Constants
6
7/-- The fundamental RS time quantum (RS-native). τ₀ = 1 tick. -/
8@[simp] def tick : ℝ := 1
9
10/-- Notation for fundamental tick. -/
11abbrev τ₀ : ℝ := tick
12
13/-- One octave = 8 ticks: the fundamental evolution period. -/
14def octave : ℝ := 8 * tick
15
16/-- Golden ratio φ as a concrete real. -/
17noncomputable def phi : ℝ := (1 + Real.sqrt 5) / 2
18
19lemma phi_pos : 0 < phi := by
20 have htwo : 0 < (2 : ℝ) := by norm_num
21 -- Use that √5 > 0
22 have hroot_pos : 0 < Real.sqrt 5 := by
23 have : (0 : ℝ) < 5 := by norm_num
24 exact Real.sqrt_pos.mpr this
25 have hnum_pos : 0 < 1 + Real.sqrt 5 := by exact add_pos_of_pos_of_nonneg (by norm_num) (le_of_lt hroot_pos)
26 simpa [phi] using (div_pos hnum_pos htwo)
27
28lemma one_lt_phi : 1 < phi := by
29 have htwo : 0 < (2 : ℝ) := by norm_num
30 have hsqrt_gt : Real.sqrt 1 < Real.sqrt 5 := by
31 simpa [Real.sqrt_one] using (Real.sqrt_lt_sqrt (by norm_num) (by norm_num : (1 : ℝ) < 5))
32 have h2lt : (2 : ℝ) < 1 + Real.sqrt 5 := by
33 have h1lt : (1 : ℝ) < Real.sqrt 5 := by simpa [Real.sqrt_one] using hsqrt_gt
34 linarith
35 have hdiv : (2 : ℝ) / 2 < (1 + Real.sqrt 5) / 2 := (div_lt_div_of_pos_right h2lt htwo)
36 have hone_lt : 1 < (1 + Real.sqrt 5) / 2 := by simpa using hdiv
37 simpa [phi] using hone_lt
38