def
definition
rung
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Engineering.AsteroidOreSpectroscopy on GitHub at line 69.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
-
hearingLossPenalty_zero -
GeometricStrain -
E_base_pos -
E_PBM_bounds -
eV_to_J_pos -
settlementLevelCount_eq -
referenceTime -
BIT_carrier_period_band -
fast_radio_burst_one_statement -
FRB_amplification_factor_eq -
FRB_period_geometric -
FRB_period_strict_increasing -
ml_nucleosynthesis_eq_phi -
referenceExponent -
AgreesAtHalfRung -
planetaryFormationCert -
r_orbit_adjacent_ratio -
r_orbit_adjacent_ratio_band -
r_orbit_closed -
r_orbit_gap_skip_band -
two_rung_gap_eq_phi_squared -
bimodal_ratio_gt_thirty -
bimodal_ratio_lt_phi_nine -
gap_size_pos -
normal_median_rung -
pulsar_period_one_statement -
recycling_rung_shift_eq -
E_coh -
different_rungs_different_barriers -
rate_enhancement -
rungBarrier -
referenceTemp -
atmosphericLayeringFromPhiLadderCert -
mesopause_rung_lower -
mesopause_rung_upper -
rung_strict_ordering -
stratopause_rung -
thermosphere_above_stratopause_ratio -
thermosphere_rung_eq -
tropopause_rung
formal source
66
67namespace OreClass
68
69def rung : OreClass → ℕ
70 | .silicate => 0
71 | .carbonate => 1
72 | .oxide => 2
73 | .sulfide => 3
74 | .metallic_Fe => 4
75 | .metallic_Ni => 5
76 | .platinoid => 6
77
78def all : List OreClass :=
79 [.silicate, .carbonate, .oxide, .sulfide, .metallic_Fe, .metallic_Ni, .platinoid]
80
81theorem all_length : all.length = 7 := by decide
82
83theorem all_nodup : all.Nodup := by decide
84
85def peak (c : OreClass) : ℝ := peakFrequency c.rung
86
87theorem peak_pos (c : OreClass) : 0 < peak c := peakFrequency_pos _
88
89end OreClass
90
91/-! ## §3. Adjacent-class peak ratio -/
92
93theorem adjacent_class_ratio (c₁ c₂ : OreClass)
94 (h : c₂.rung = c₁.rung + 1) :
95 OreClass.peak c₂ = OreClass.peak c₁ * phi := by
96 unfold OreClass.peak; rw [h]; exact peakFrequency_succ _
97
98/-! ## §4. Master certificate -/
99