IndisputableMonolith.Agriculture.CropStressorsFromConfigDim
IndisputableMonolith/Agriculture/CropStressorsFromConfigDim.lean · 34 lines · 4 declarations
show as:
view math explainer →
1import Mathlib
2import IndisputableMonolith.Constants
3
4/-!
5# Crop Stressors from configDim — Agriculture Depth
6
7Five canonical crop-stressor classes (= configDim D = 5):
8 drought, heat, nutrient deficiency, pest pressure, pathogen pressure.
9
10They cover water, temperature, resource, herbivory, and infection channels.
11
12Lean status: 0 sorry, 0 axiom.
13-/
14
15namespace IndisputableMonolith.Agriculture.CropStressorsFromConfigDim
16
17inductive CropStressor where
18 | drought
19 | heat
20 | nutrientDeficiency
21 | pestPressure
22 | pathogenPressure
23 deriving DecidableEq, Repr, BEq, Fintype
24
25theorem cropStressor_count : Fintype.card CropStressor = 5 := by decide
26
27structure CropStressorsCert where
28 five_stressors : Fintype.card CropStressor = 5
29
30def cropStressorsCert : CropStressorsCert where
31 five_stressors := cropStressor_count
32
33end IndisputableMonolith.Agriculture.CropStressorsFromConfigDim
34