@ceccec/millennium-solutions 9.2.7 → 9.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ACCOUNTING.md +6 -6
- package/AXIOMS.md +8 -8
- package/CHALLENGES.md +61 -3
- package/PRIOR-ART.md +13 -13
- package/README.md +24 -24
- package/dashboard.md +1 -1
- package/forensic.md +4 -4
- package/index.md +24 -24
- package/package.json +1 -1
- package/paper.md +852 -614
- package/speedup.md +4 -4
- package/src/proof/demand2.lean +36 -0
- package/src/proof/discovered.json +145 -0
- package/src/proof/elementary.lean +20 -0
- package/src/proof/families.lean +166 -0
- package/src/proof/nim.lean +209 -3
- package/src/proof/sequences.lean +31 -0
- package/src/proof/trial-all.json +174 -0
package/src/proof/sequences.lean
CHANGED
|
@@ -102,4 +102,35 @@ theorem the_sequence_takes_both_values :
|
|
|
102
102
|
((List.range 200).filter (fun n => tm n == 0)).length = 100
|
|
103
103
|
∧ ((List.range 200).filter (fun n => tm n == 1)).length = 100 := by decide
|
|
104
104
|
|
|
105
|
+
|
|
106
|
+
-- ── the capped rows above, proved for every value — no bound ─────────────────────────────────────────────────
|
|
107
|
+
-- cassini_at_even_indices, cassini_at_odd_indices and cassini_deviation_is_exactly_one were checked n ≤ 20; one law
|
|
108
|
+
-- carries all three: at every index the product of the neighbours is the square, plus or minus one.
|
|
109
|
+
theorem cassinis_identity_for_every_m :
|
|
110
|
+
∀ m : Nat, fib (2 * m + 1) * fib (2 * m + 3) = fib (2 * m + 2) * fib (2 * m + 2) + 1 ∧
|
|
111
|
+
fib (2 * m) * fib (2 * m + 2) + 1 = fib (2 * m + 1) * fib (2 * m + 1) := by
|
|
112
|
+
intro m
|
|
113
|
+
induction m with
|
|
114
|
+
| zero => decide
|
|
115
|
+
| succ m ih =>
|
|
116
|
+
have r3 : fib (2 * m + 3) = fib (2 * m + 1) + fib (2 * m + 2) := rfl
|
|
117
|
+
have r4 : fib (2 * m + 4) = fib (2 * m + 2) + fib (2 * m + 3) := rfl
|
|
118
|
+
have r5 : fib (2 * m + 5) = fib (2 * m + 3) + fib (2 * m + 4) := rfl
|
|
119
|
+
show fib (2 * m + 3) * fib (2 * m + 5) = fib (2 * m + 4) * fib (2 * m + 4) + 1 ∧
|
|
120
|
+
fib (2 * m + 2) * fib (2 * m + 4) + 1 = fib (2 * m + 3) * fib (2 * m + 3)
|
|
121
|
+
have h := ih.1
|
|
122
|
+
rw [r5, r4, r3]
|
|
123
|
+
rw [r3] at h
|
|
124
|
+
generalize fib (2 * m + 1) = a at h ⊢
|
|
125
|
+
generalize fib (2 * m + 2) = b at h ⊢
|
|
126
|
+
constructor
|
|
127
|
+
· try simp only [Nat.mul_add, Nat.add_mul, Nat.pow_succ, Nat.pow_zero, Nat.one_mul, Nat.mul_one, Nat.reduceMul, Nat.reduceAdd] at *
|
|
128
|
+
try simp only [Nat.mul_assoc, Nat.mul_comm, Nat.mul_left_comm, Nat.reduceMul] at *
|
|
129
|
+
try simp only [Nat.mul_comm _ (OfNat.ofNat _), Nat.mul_left_comm _ (OfNat.ofNat _), Nat.reduceMul] at *
|
|
130
|
+
all_goals omega
|
|
131
|
+
· try simp only [Nat.mul_add, Nat.add_mul, Nat.pow_succ, Nat.pow_zero, Nat.one_mul, Nat.mul_one, Nat.reduceMul, Nat.reduceAdd] at *
|
|
132
|
+
try simp only [Nat.mul_assoc, Nat.mul_comm, Nat.mul_left_comm, Nat.reduceMul] at *
|
|
133
|
+
try simp only [Nat.mul_comm _ (OfNat.ofNat _), Nat.mul_left_comm _ (OfNat.ofNat _), Nat.reduceMul] at *
|
|
134
|
+
all_goals omega
|
|
135
|
+
|
|
105
136
|
end Sequences
|
package/src/proof/trial-all.json
CHANGED
|
@@ -15772,5 +15772,179 @@
|
|
|
15772
15772
|
"verdict": "UNVERIFIED",
|
|
15773
15773
|
"ground": "no candidate in the current space — nothing to recompute",
|
|
15774
15774
|
"receipt": "694fefdf-a71b-8019-84e5-04477e7be3d8"
|
|
15775
|
+
},
|
|
15776
|
+
{
|
|
15777
|
+
"key": "lean_demand2_the_two_power_sums_are_one_sum",
|
|
15778
|
+
"verdict": "UNVERIFIED",
|
|
15779
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15780
|
+
"receipt": "6551630b-4917-8c1c-999f-4728c266cfd1"
|
|
15781
|
+
},
|
|
15782
|
+
{
|
|
15783
|
+
"key": "lean_demand2_nicomachus_sum_of_cubes_is_the_square_of_the_triangular_number_for_every_n",
|
|
15784
|
+
"verdict": "UNVERIFIED",
|
|
15785
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15786
|
+
"receipt": "7aa0bbe0-b4ae-82e8-8319-7aed7047d654"
|
|
15787
|
+
},
|
|
15788
|
+
{
|
|
15789
|
+
"key": "lean_demand2_the_sum_of_fifth_powers_has_the_closed_form_for_every_n",
|
|
15790
|
+
"verdict": "UNVERIFIED",
|
|
15791
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15792
|
+
"receipt": "6916652f-bda2-80d1-882e-009dee2d791d"
|
|
15793
|
+
},
|
|
15794
|
+
{
|
|
15795
|
+
"key": "lean_elementary_the_lucas_numbers_are_the_sum_of_the_neighbouring_fibonaccis_for_every_n",
|
|
15796
|
+
"verdict": "UNVERIFIED",
|
|
15797
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15798
|
+
"receipt": "cacb33f1-2fc1-8887-87a8-67aa352b3ac6"
|
|
15799
|
+
},
|
|
15800
|
+
{
|
|
15801
|
+
"key": "lean_families_cassinis_identity_for_every_m",
|
|
15802
|
+
"verdict": "UNVERIFIED",
|
|
15803
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15804
|
+
"receipt": "75a810f1-ae27-8fb7-b4d3-b257c0c917c7"
|
|
15805
|
+
},
|
|
15806
|
+
{
|
|
15807
|
+
"key": "lean_families_a_sum_over_one_to_n_plus_one_adds_the_last_term",
|
|
15808
|
+
"verdict": "UNVERIFIED",
|
|
15809
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15810
|
+
"receipt": "f664ca1d-8371-8bd5-a369-060e34e5baaf"
|
|
15811
|
+
},
|
|
15812
|
+
{
|
|
15813
|
+
"key": "lean_families_the_numbers_sum_to_their_closed_form_for_every_n",
|
|
15814
|
+
"verdict": "UNVERIFIED",
|
|
15815
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15816
|
+
"receipt": "34fa9fc8-b8ed-8895-bb81-c92f4515e9fe"
|
|
15817
|
+
},
|
|
15818
|
+
{
|
|
15819
|
+
"key": "lean_families_the_squares_sum_to_their_closed_form_for_every_n",
|
|
15820
|
+
"verdict": "UNVERIFIED",
|
|
15821
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15822
|
+
"receipt": "0b7a0569-fb3f-8ba7-a49a-900c19bf369d"
|
|
15823
|
+
},
|
|
15824
|
+
{
|
|
15825
|
+
"key": "lean_families_the_cubes_sum_to_their_closed_form_for_every_n",
|
|
15826
|
+
"verdict": "UNVERIFIED",
|
|
15827
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15828
|
+
"receipt": "96b0047e-cf09-8755-be28-1cb49080d466"
|
|
15829
|
+
},
|
|
15830
|
+
{
|
|
15831
|
+
"key": "lean_families_the_fourth_powers_sum_to_their_closed_form_for_every_n",
|
|
15832
|
+
"verdict": "UNVERIFIED",
|
|
15833
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15834
|
+
"receipt": "3419aabd-970f-8738-ae26-0adbfd4cf7fb"
|
|
15835
|
+
},
|
|
15836
|
+
{
|
|
15837
|
+
"key": "lean_families_the_fifth_powers_sum_to_their_closed_form_for_every_n",
|
|
15838
|
+
"verdict": "UNVERIFIED",
|
|
15839
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15840
|
+
"receipt": "790310ea-f06d-875d-89aa-2aba93d133e3"
|
|
15841
|
+
},
|
|
15842
|
+
{
|
|
15843
|
+
"key": "lean_families_power_sums_match_their_closed_forms_for_every_n",
|
|
15844
|
+
"verdict": "UNVERIFIED",
|
|
15845
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15846
|
+
"receipt": "04b04822-598b-8529-a44c-7881174ec382"
|
|
15847
|
+
},
|
|
15848
|
+
{
|
|
15849
|
+
"key": "lean_families_the_sums_of_triangular_numbers_are_the_tetrahedral_numbers_for_every_n",
|
|
15850
|
+
"verdict": "UNVERIFIED",
|
|
15851
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15852
|
+
"receipt": "43b9cdd8-7110-8f6f-887b-297d0262ae80"
|
|
15853
|
+
},
|
|
15854
|
+
{
|
|
15855
|
+
"key": "lean_sequences_cassinis_identity_for_every_m",
|
|
15856
|
+
"verdict": "UNVERIFIED",
|
|
15857
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15858
|
+
"receipt": "3b815427-42b8-8b8c-abf3-423b1e268af3"
|
|
15859
|
+
},
|
|
15860
|
+
{
|
|
15861
|
+
"key": "lean_nim_the_xor_of_two_bits_is_their_sum_mod_two",
|
|
15862
|
+
"verdict": "UNVERIFIED",
|
|
15863
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15864
|
+
"receipt": "322304d5-f000-8492-8e7f-69ce46520610"
|
|
15865
|
+
},
|
|
15866
|
+
{
|
|
15867
|
+
"key": "lean_nim_xor_commutes_at_every_fuel",
|
|
15868
|
+
"verdict": "UNVERIFIED",
|
|
15869
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15870
|
+
"receipt": "b091d5a8-4e4a-8116-93d8-199afc028903"
|
|
15871
|
+
},
|
|
15872
|
+
{
|
|
15873
|
+
"key": "lean_nim_one_more_step_of_fuel_changes_nothing_once_it_exceeds_an_argument",
|
|
15874
|
+
"verdict": "UNVERIFIED",
|
|
15875
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15876
|
+
"receipt": "adf2ef5a-ef44-84b9-adb7-2edf0437284f"
|
|
15877
|
+
},
|
|
15878
|
+
{
|
|
15879
|
+
"key": "lean_nim_more_fuel_changes_nothing_once_it_exceeds_an_argument",
|
|
15880
|
+
"verdict": "UNVERIFIED",
|
|
15881
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15882
|
+
"receipt": "961d94be-959c-80ff-b0c4-03079551178a"
|
|
15883
|
+
},
|
|
15884
|
+
{
|
|
15885
|
+
"key": "lean_nim_xor_reads_the_same_at_every_sufficient_fuel",
|
|
15886
|
+
"verdict": "UNVERIFIED",
|
|
15887
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15888
|
+
"receipt": "e04a45b5-8834-8bc4-bf6e-bff90869081f"
|
|
15889
|
+
},
|
|
15890
|
+
{
|
|
15891
|
+
"key": "lean_nim_a_number_xored_with_itself_is_zero_at_every_fuel",
|
|
15892
|
+
"verdict": "UNVERIFIED",
|
|
15893
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15894
|
+
"receipt": "409e78df-b565-83bb-b177-aa46813c1cb7"
|
|
15895
|
+
},
|
|
15896
|
+
{
|
|
15897
|
+
"key": "lean_nim_xor_splits_off_its_lowest_bit",
|
|
15898
|
+
"verdict": "UNVERIFIED",
|
|
15899
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15900
|
+
"receipt": "fa8f797f-95fa-80c6-9abc-4bd21309d53a"
|
|
15901
|
+
},
|
|
15902
|
+
{
|
|
15903
|
+
"key": "lean_nim_xor_undoes_itself_when_the_fuel_suffices",
|
|
15904
|
+
"verdict": "UNVERIFIED",
|
|
15905
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15906
|
+
"receipt": "ba799e13-9cb6-8fc8-ab55-3879eb845e7f"
|
|
15907
|
+
},
|
|
15908
|
+
{
|
|
15909
|
+
"key": "lean_nim_xor_is_commutative_for_every_a_b",
|
|
15910
|
+
"verdict": "UNVERIFIED",
|
|
15911
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15912
|
+
"receipt": "e62bc467-f90b-8bb2-844c-c44676d6fce0"
|
|
15913
|
+
},
|
|
15914
|
+
{
|
|
15915
|
+
"key": "lean_nim_xor_zero_is_identity_for_every_a",
|
|
15916
|
+
"verdict": "UNVERIFIED",
|
|
15917
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15918
|
+
"receipt": "667bd69d-51ea-88da-a48e-ce4a33c4f518"
|
|
15919
|
+
},
|
|
15920
|
+
{
|
|
15921
|
+
"key": "lean_nim_xor_is_its_own_inverse_for_every_a_b",
|
|
15922
|
+
"verdict": "UNVERIFIED",
|
|
15923
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15924
|
+
"receipt": "e2f6d0f1-2fa2-832e-b884-1ac9f13160a0"
|
|
15925
|
+
},
|
|
15926
|
+
{
|
|
15927
|
+
"key": "lean_nim_xor_is_the_sum_of_the_bits_plus_twice_the_xor_of_the_halves",
|
|
15928
|
+
"verdict": "UNVERIFIED",
|
|
15929
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15930
|
+
"receipt": "07c467d9-8226-81d4-93b2-612ebd433b2b"
|
|
15931
|
+
},
|
|
15932
|
+
{
|
|
15933
|
+
"key": "lean_nim_xor_is_associative_below_every_bound",
|
|
15934
|
+
"verdict": "UNVERIFIED",
|
|
15935
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15936
|
+
"receipt": "0c3ef805-2811-8035-a30b-cc03489171c1"
|
|
15937
|
+
},
|
|
15938
|
+
{
|
|
15939
|
+
"key": "lean_nim_xor_is_associative_for_every_a_b_c",
|
|
15940
|
+
"verdict": "UNVERIFIED",
|
|
15941
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15942
|
+
"receipt": "d2a922d9-f09d-82db-ae54-2f92149512c9"
|
|
15943
|
+
},
|
|
15944
|
+
{
|
|
15945
|
+
"key": "lean_nim_the_nim_sum_is_a_gf2_vector_addition_for_every_a_b_c",
|
|
15946
|
+
"verdict": "UNVERIFIED",
|
|
15947
|
+
"ground": "no candidate in the current space — nothing to recompute",
|
|
15948
|
+
"receipt": "caa5c327-62cf-8171-9507-6453cfdaed0c"
|
|
15775
15949
|
}
|
|
15776
15950
|
]
|