def
definition
def or abbrev
F2Power
show as:
view Lean formalization →
formal statement (Lean)
49def F2Power (D : ℕ) : Type := Fin D → Bool
proof body
Definition body.
50
51namespace F2Power
52
53variable {D : ℕ}
54
55instance : DecidableEq (F2Power D) := by
56 unfold F2Power; infer_instance
57
58instance : Fintype (F2Power D) := by
59 unfold F2Power; infer_instance
60
61instance : Inhabited (F2Power D) := by
62 unfold F2Power; infer_instance
63
64/-- The zero element: all coordinates `false`. -/
65instance : Zero (F2Power D) := ⟨fun _ => false⟩
66
used by (40)
-
booker_count_eq_F2Power3_nonzero -
booker_seven_eq_2_pow_3_minus_1 -
card_eq_seven -
narrativeGeodesicCert -
NarrativeGeodesicCert -
narrative_geodesic_one_statement -
no_eighth_plot -
plot_composition_cancels_iff -
plot_count_scaling -
plotEncoding -
plotEncoding_image_eq_nonzero -
plotEncoding_image_nonzero -
plotWeight -
Q3_nontrivial_subgroup_count -
singleAxis_plots -
three_act_resolution_below_climax -
threeAxis_plots -
twoAxis_plots -
add_apply -
add_self -
axis1 -
axis12 -
axis123 -
axis123_weight -
axis13 -
axis2 -
axis23 -
axis3 -
card_eq -
card_weight_zero_three