lemma
proved
phi_lt_two
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Constants on GitHub at line 43.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
-
ml_from_phi_tier_structure -
ml_matches_stellar_observations -
ml_geometric_bounds -
high_tc_superconductivity_structure -
vev_phi_window -
delta_w0_max_lt_one -
Jcost_phi_bounds -
phi_lt_two -
log_phi_lt_one -
log_phi_lt_sevenTenths -
spacing_below_two -
phi_lt_two -
phi_perturbation_bounded -
rung_slope_lt_log_two -
rungPhaseDelay_band -
C_kernel_pos -
Omega_0_pos -
phi_bit_more_efficient -
phi_lt_two -
e_gt_phi -
phi_lt_two -
ew_scale_structure -
deltaCP_prediction_matches
formal source
40lemma phi_ne_zero : phi ≠ 0 := ne_of_gt phi_pos
41lemma phi_ne_one : phi ≠ 1 := ne_of_gt one_lt_phi
42
43lemma phi_lt_two : phi < 2 := by
44 have hsqrt5_lt : Real.sqrt 5 < 3 := by
45 have h5_lt_9 : (5 : ℝ) < 9 := by norm_num
46 have h9_eq : Real.sqrt 9 = 3 := by
47 rw [show (9 : ℝ) = 3^2 by norm_num, Real.sqrt_sq (by norm_num : (3 : ℝ) ≥ 0)]
48 have : Real.sqrt 5 < Real.sqrt 9 := Real.sqrt_lt_sqrt (by norm_num) h5_lt_9
49 rwa [h9_eq] at this
50 have hnum_lt : 1 + Real.sqrt 5 < 4 := by linarith
51 have : (1 + Real.sqrt 5) / 2 < 4 / 2 := div_lt_div_of_pos_right hnum_lt (by norm_num)
52 simp only [phi]
53 linarith
54
55/-! ### φ irrationality -/
56
57/-- φ is irrational (degree 2 algebraic, not rational).
58
59 Proof: Our φ equals Mathlib's golden ratio, which is proven irrational
60 via the irrationality of √5 (5 is prime, hence not a perfect square). -/
61theorem phi_irrational : Irrational phi := by
62 -- Our phi equals Mathlib's goldenRatio
63 have h_eq : phi = Real.goldenRatio := rfl
64 rw [h_eq]
65 exact Real.goldenRatio_irrational
66
67/-! ### φ power bounds -/
68
69/-- Key identity: φ² = φ + 1 (from the defining equation x² - x - 1 = 0). -/
70lemma phi_sq_eq : phi^2 = phi + 1 := by
71 simp only [phi]
72 have h5_pos : (0 : ℝ) ≤ 5 := by norm_num
73 have hsq : (Real.sqrt 5)^2 = 5 := Real.sq_sqrt h5_pos