Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
821 commits
Select commit Hold shift + click to select a range
68cd804
fix(ErdosProblems/867): apply review fixes — citations, readability
ryantuck Mar 15, 2026
bfa698f
fix(ErdosProblems/869): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
23622ae
fix(ErdosProblems/872): apply review fixes — readability
ryantuck Mar 15, 2026
3186def
fix(ErdosProblems/871): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
e11b75e
fix(ErdosProblems/870): apply review fixes — citations, variants, rea…
ryantuck Mar 15, 2026
8de2ed4
fix(ErdosProblems/875): apply review fixes — citations
ryantuck Mar 15, 2026
5e7b312
fix(ErdosProblems/874): apply review fixes — citations
ryantuck Mar 15, 2026
74438df
fix(ErdosProblems/876): apply review fixes — citations, variants
ryantuck Mar 15, 2026
a7f447a
fix(ErdosProblems/878): apply review fixes — citations
ryantuck Mar 15, 2026
644d908
fix(ErdosProblems/877): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
f60dc44
fix(ErdosProblems/879): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
4db04bf
fix(ErdosProblems/880): apply review fixes — citations
ryantuck Mar 15, 2026
a5a1c0a
fix(ErdosProblems/883): apply review fixes — citations
ryantuck Mar 15, 2026
ad66434
fix(ErdosProblems/882): apply review fixes — citations, variants
ryantuck Mar 15, 2026
b80a3fc
fix(ErdosProblems/884): apply review fixes — citations
ryantuck Mar 15, 2026
f7a0ddc
fix(ErdosProblems/892): apply review fixes — citations, readability
ryantuck Mar 15, 2026
7e2d8e0
fix(ErdosProblems/894): apply review fixes — citations
ryantuck Mar 15, 2026
5158db3
fix(ErdosProblems/895): apply review fixes — citations
ryantuck Mar 15, 2026
59bc64f
fix(ErdosProblems/896): apply review fixes — citations, variants, rea…
ryantuck Mar 15, 2026
d0db729
fix(ErdosProblems/898): apply review fixes — citations
ryantuck Mar 15, 2026
e7fdde8
fix(ErdosProblems/901): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
784843e
fix(ErdosProblems/900): apply review fixes — code reuse, citations, r…
ryantuck Mar 15, 2026
fc4ce0d
fix(ErdosProblems/902): apply review fixes — citations, variants, rea…
ryantuck Mar 15, 2026
6122713
fix(ErdosProblems/903): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
e80992c
fix(ErdosProblems/904): apply review fixes — citations
ryantuck Mar 15, 2026
0e4bd4f
fix(ErdosProblems/907): apply review fixes — citations
ryantuck Mar 15, 2026
85756e5
fix(ErdosProblems/905): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
2039acf
fix(ErdosProblems/908): apply review fixes — citations, readability
ryantuck Mar 15, 2026
935e663
fix(ErdosProblems/909): apply review fixes — citations
ryantuck Mar 15, 2026
53dfe8c
fix(ErdosProblems/910): apply review fixes — citations
ryantuck Mar 15, 2026
1519689
fix(ErdosProblems/911): apply review fixes — code reuse
ryantuck Mar 15, 2026
e061a0b
fix(ErdosProblems/914): apply review fixes — citations
ryantuck Mar 15, 2026
2e716dc
fix(ErdosProblems/916): apply review fixes — readability
ryantuck Mar 15, 2026
84e87e5
fix(ErdosProblems/915): apply review fixes — code reuse, citations, v…
ryantuck Mar 15, 2026
454319d
fix(ErdosProblems/917): apply review fixes — code reuse, citations, r…
ryantuck Mar 15, 2026
0a5997e
fix(ErdosProblems/919): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
3b98b39
fix(ErdosProblems/921): apply review fixes — citations
ryantuck Mar 15, 2026
df27332
fix(ErdosProblems/922): apply review fixes — code reuse, citations, r…
ryantuck Mar 15, 2026
0caccae
fix(ErdosProblems/923): apply review fixes — citations, readability
ryantuck Mar 15, 2026
ca6943a
fix(ErdosProblems/924): apply review fixes — citations
ryantuck Mar 15, 2026
a5eb18d
fix(ErdosProblems/925): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
276d95a
fix(ErdosProblems/926): apply review fixes — citations
ryantuck Mar 15, 2026
3918ed6
fix(ErdosProblems/928): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
3d6fb22
fix(ErdosProblems/927): apply review fixes — code reuse, citations, v…
ryantuck Mar 15, 2026
50196a6
fix(ErdosProblems/929): apply review fixes — citations, readability
ryantuck Mar 15, 2026
838ba66
fix(ErdosProblems/933): apply review fixes — citations
ryantuck Mar 15, 2026
3550452
fix(ErdosProblems/935): apply review fixes — citations
ryantuck Mar 15, 2026
d1aa293
fix(ErdosProblems/934): apply review fixes — citations
ryantuck Mar 15, 2026
0a33619
fix(ErdosProblems/941): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
27e3e6c
fix(ErdosProblems/947): apply review fixes — citations
ryantuck Mar 15, 2026
3e912ca
fix(ErdosProblems/937): apply review fixes — code reuse, citations, v…
ryantuck Mar 15, 2026
de0641f
fix(ErdosProblems/948): apply review fixes — citations
ryantuck Mar 15, 2026
0121666
fix(ErdosProblems/950): apply review fixes — citations
ryantuck Mar 15, 2026
0d716fe
fix(ErdosProblems/953): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
db0ff0c
fix(ErdosProblems/954): apply review fixes — citations
ryantuck Mar 15, 2026
8a031b1
fix(ErdosProblems/955): apply review fixes — citations
ryantuck Mar 15, 2026
5ee9110
fix(ErdosProblems/957): apply review fixes — citations
ryantuck Mar 15, 2026
defca05
fix(ErdosProblems/956): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
3adae30
fix(ErdosProblems/958): apply review fixes — citations, readability
ryantuck Mar 15, 2026
402c015
fix(ErdosProblems/962): apply review fixes — citations, readability
ryantuck Mar 15, 2026
41e7670
fix(ErdosProblems/959): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
0c5ec92
fix(ErdosProblems/960): apply review fixes — citations
ryantuck Mar 15, 2026
4004ffc
fix(ErdosProblems/963): apply review fixes — citations
ryantuck Mar 15, 2026
b256e51
fix(ErdosProblems/964): apply review fixes — citations, variants
ryantuck Mar 15, 2026
7a5170d
fix(ErdosProblems/966): apply review fixes — citations
ryantuck Mar 15, 2026
ee1c98c
fix(ErdosProblems/970): apply review fixes — citations
ryantuck Mar 15, 2026
765f4c5
fix(ErdosProblems/967): apply review fixes — code reuse, variants
ryantuck Mar 15, 2026
517eff0
fix(ErdosProblems/969): apply review fixes — citations, variants, cor…
ryantuck Mar 15, 2026
6cccd66
fix(ErdosProblems/974): apply review fixes — citations
ryantuck Mar 15, 2026
6cceffb
fix(ErdosProblems/973): apply review fixes — citations
ryantuck Mar 15, 2026
84e5249
fix(ErdosProblems/976): apply review fixes — citations
ryantuck Mar 15, 2026
c36ef05
fix(ErdosProblems/977): apply review fixes — code reuse, citations, v…
ryantuck Mar 15, 2026
15da5f2
fix(ErdosProblems/981): apply review fixes — citations
ryantuck Mar 15, 2026
07f61fb
fix(ErdosProblems/983): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
a5175f0
fix(ErdosProblems/980): apply review fixes — citations
ryantuck Mar 15, 2026
7ccbc12
fix(ErdosProblems/988): apply review fixes — citations
ryantuck Mar 15, 2026
c2af030
fix(ErdosProblems/986): apply review fixes — citations, variants
ryantuck Mar 15, 2026
1ee1542
fix(ErdosProblems/989): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
80fedd0
fix(ErdosProblems/987): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
de97a9d
fix(ErdosProblems/991): apply review fixes — citations, readability
ryantuck Mar 15, 2026
e9c2086
fix(ErdosProblems/990): apply review fixes — citations
ryantuck Mar 15, 2026
46cf51e
fix(ErdosProblems/993): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
b33cde2
fix(ErdosProblems/992): apply review fixes — citations, variants
ryantuck Mar 15, 2026
e2a2068
fix(ErdosProblems/994): apply review fixes — citations
ryantuck Mar 15, 2026
cc804eb
fix(ErdosProblems/995): apply review fixes — code reuse, correctness
ryantuck Mar 15, 2026
50e4a82
fix(ErdosProblems/998): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
a81fa45
fix(ErdosProblems/999): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
1ca994a
fix(ErdosProblems/1001): apply review fixes — citations, variants
ryantuck Mar 15, 2026
ed54189
fix(ErdosProblems/1005): apply review fixes — citations
ryantuck Mar 15, 2026
ec68ccb
fix(ErdosProblems/1006): apply review fixes — citations, variants
ryantuck Mar 15, 2026
f42f953
fix(ErdosProblems/1007): apply review fixes — citations, variants, re…
ryantuck Mar 15, 2026
4094602
fix(ErdosProblems/1009): apply review fixes — readability
ryantuck Mar 15, 2026
b15273e
fix(ErdosProblems/1008): apply review fixes — citations, readability
ryantuck Mar 15, 2026
3aaa212
fix(ErdosProblems/1011): apply review fixes — citations, readability
ryantuck Mar 15, 2026
4412ae5
fix(ErdosProblems/1013): apply review fixes — citations, readability
ryantuck Mar 15, 2026
f65c449
fix(ErdosProblems/1014): apply review fixes — citations
ryantuck Mar 15, 2026
e7b257b
fix(ErdosProblems/1012): apply review fixes — citations, code reuse
ryantuck Mar 15, 2026
46e6461
fix(ErdosProblems/1017): apply review fixes — citations
ryantuck Mar 15, 2026
f50b240
fix(ErdosProblems/1015): apply review fixes — citations, correctness,…
ryantuck Mar 15, 2026
afa6589
fix(ErdosProblems/1018): apply review fixes — citations, code reuse, …
ryantuck Mar 15, 2026
4b547a8
fix(ErdosProblems/1016): apply review fixes — citations, code reuse, …
ryantuck Mar 15, 2026
c198059
fix(ErdosProblems/1020): apply review fixes — readability
ryantuck Mar 15, 2026
39d58e9
fix(ErdosProblems/1019): apply review fixes — citations
ryantuck Mar 15, 2026
df25e6c
fix(ErdosProblems/1022): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
bb6e5ff
fix(ErdosProblems/1024): apply review fixes — citations
ryantuck Mar 15, 2026
c1fc10a
fix(ErdosProblems/1023): apply review fixes — citations, variants
ryantuck Mar 15, 2026
9f2601a
fix(ErdosProblems/1021): apply review fixes — citations, variants
ryantuck Mar 15, 2026
fba00c1
fix(ErdosProblems/1025): apply review fixes — citations
ryantuck Mar 15, 2026
cf25129
fix(ErdosProblems/1026): apply review fixes — citations
ryantuck Mar 15, 2026
7d805d7
fix(ErdosProblems/1027): apply review fixes — citations
ryantuck Mar 15, 2026
b993eaf
fix(ErdosProblems/1028): apply review fixes — citations
ryantuck Mar 15, 2026
96f08d9
fix(ErdosProblems/1029): apply review fixes — code reuse
ryantuck Mar 15, 2026
1cf07a2
fix(ErdosProblems/1031): apply review fixes — citations
ryantuck Mar 15, 2026
bc065b1
fix(ErdosProblems/1030): apply review fixes — citations, variants
ryantuck Mar 15, 2026
bb3de03
fix(ErdosProblems/1032): apply review fixes — code reuse, citations, …
ryantuck Mar 15, 2026
c1d7f2a
fix(ErdosProblems/1034): apply review fixes — citations
ryantuck Mar 15, 2026
c4540f4
fix(ErdosProblems/1033): apply review fixes — citations
ryantuck Mar 15, 2026
6c308e9
fix(ErdosProblems/1035): apply review fixes — citations, readability
ryantuck Mar 15, 2026
ef01971
fix(ErdosProblems/1036): apply review fixes — citations
ryantuck Mar 15, 2026
7796213
fix(ErdosProblems/1037): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
991d0fa
fix(ErdosProblems/1039): apply review fixes — citations
ryantuck Mar 15, 2026
ec86038
fix(ErdosProblems/1042): apply review fixes — variants
ryantuck Mar 15, 2026
585affc
fix(ErdosProblems/1040): apply review fixes — citations, variants
ryantuck Mar 15, 2026
c1aa6fb
fix(ErdosProblems/1045): apply review fixes — citations
ryantuck Mar 15, 2026
07814e0
fix(ErdosProblems/1044): apply review fixes — readability, variants
ryantuck Mar 15, 2026
c79e036
fix(ErdosProblems/1048): apply review fixes — readability
ryantuck Mar 15, 2026
44138b5
fix(ErdosProblems/1047): apply review fixes — citations
ryantuck Mar 15, 2026
3d0d273
fix(ErdosProblems/1046): apply review fixes — readability, variants
ryantuck Mar 15, 2026
b336d0a
fix(ErdosProblems/1050): apply review fixes — citations, readability,…
ryantuck Mar 15, 2026
18b62fb
fix(ErdosProblems/1053): apply review fixes — code reuse, citations, …
ryantuck Mar 15, 2026
af8e3ca
fix(ErdosProblems/1057): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
389481d
fix(ErdosProblems/1069): apply review fixes — citations
ryantuck Mar 15, 2026
35aa1f4
fix(ErdosProblems/1066): apply review fixes — citations
ryantuck Mar 15, 2026
e0b1db1
fix(ErdosProblems/1058): apply review fixes — code reuse, readability
ryantuck Mar 15, 2026
23458e3
fix(ErdosProblems/1076): apply review fixes — citations
ryantuck Mar 15, 2026
5152a83
fix(ErdosProblems/1070): apply review fixes — citations, readability
ryantuck Mar 15, 2026
31770cc
fix(ErdosProblems/1075): apply review fixes — citations, variants, re…
ryantuck Mar 15, 2026
7d7fcd9
fix(ErdosProblems/1081): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
9de7d21
fix(ErdosProblems/1079): apply review fixes — code reuse, citations, …
ryantuck Mar 15, 2026
16b5455
fix(ErdosProblems/1083): apply review fixes — citations, readability
ryantuck Mar 15, 2026
e24d650
fix(ErdosProblems/1082): apply review fixes — citations
ryantuck Mar 15, 2026
d98dabd
fix(ErdosProblems/1087): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
5f4d77c
fix(ErdosProblems/1088): apply review fixes — citations, variants
ryantuck Mar 15, 2026
fca0fca
fix(ErdosProblems/1089): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
a366038
fix(ErdosProblems/1090): apply review fixes — citations
ryantuck Mar 15, 2026
eb15a4f
fix(ErdosProblems/1086): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
60bafcf
fix(ErdosProblems/1096): apply review fixes — citations
ryantuck Mar 15, 2026
56008d9
fix(ErdosProblems/1098): apply review fixes — readability
ryantuck Mar 15, 2026
f73dff7
fix(ErdosProblems/1099): apply review fixes — variants
ryantuck Mar 15, 2026
566a8d3
fix(ErdosProblems/1100): apply review fixes — citations, readability
ryantuck Mar 15, 2026
25fc2c6
fix(ErdosProblems/1103): apply review fixes — citations
ryantuck Mar 15, 2026
10a48a5
fix(ErdosProblems/1109): apply review fixes — citations, variants
ryantuck Mar 15, 2026
1ec7a2e
fix(ErdosProblems/1110): apply review fixes — code reuse, citations, …
ryantuck Mar 15, 2026
76d28af
fix(ErdosProblems/1113): apply review fixes — citations, variants
ryantuck Mar 15, 2026
b176ae9
fix(ErdosProblems/1111): apply review fixes — citations
ryantuck Mar 15, 2026
d5e66f5
fix(ErdosProblems/1114): apply review fixes — citations
ryantuck Mar 15, 2026
540d5b3
fix(ErdosProblems/1116): apply review fixes — citations
ryantuck Mar 15, 2026
9fb4175
fix(ErdosProblems/1115): apply review fixes — citations
ryantuck Mar 15, 2026
cd116fc
fix(ErdosProblems/1117): apply review fixes — citations, variants
ryantuck Mar 15, 2026
da44ead
fix(ErdosProblems/1112): apply review fixes — citations, correctness,…
ryantuck Mar 15, 2026
cfe977d
fix(ErdosProblems/1118): apply review fixes — citations
ryantuck Mar 15, 2026
28b3ca2
fix(ErdosProblems/1120): apply review fixes — citations
ryantuck Mar 15, 2026
9bda701
fix(ErdosProblems/1119): apply review fixes — citations
ryantuck Mar 15, 2026
036fa21
fix(ErdosProblems/1121): apply review fixes — variants
ryantuck Mar 15, 2026
5683c72
fix(ErdosProblems/1123): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
38ee430
fix(ErdosProblems/1125): apply review fixes — citations
ryantuck Mar 15, 2026
252a4c2
fix(ErdosProblems/1124): apply review fixes — code reuse, citations, …
ryantuck Mar 15, 2026
f5775f5
fix(ErdosProblems/1122): apply review fixes — code reuse, citations
ryantuck Mar 15, 2026
31788c3
fix(ErdosProblems/1126): apply review fixes — citations
ryantuck Mar 15, 2026
9b786f3
fix(ErdosProblems/1127): apply review fixes — citations
ryantuck Mar 15, 2026
9656cd2
fix(ErdosProblems/1130): apply review fixes — citations
ryantuck Mar 15, 2026
4e9d344
fix(ErdosProblems/1133): apply review fixes — citations
ryantuck Mar 15, 2026
662a559
fix(ErdosProblems/1131): apply review fixes — citations, readability
ryantuck Mar 15, 2026
dc2d3e1
fix(ErdosProblems/1136): apply review fixes — citations, readability,…
ryantuck Mar 15, 2026
227f7c0
fix(ErdosProblems/1134): apply review fixes — code reuse, citations, …
ryantuck Mar 15, 2026
3e8847c
fix(ErdosProblems/1138): apply review fixes — code reuse
ryantuck Mar 15, 2026
5ada95b
fix(ErdosProblems/1140): apply review fixes — citations
ryantuck Mar 15, 2026
17aec08
fix(ErdosProblems/1142): apply review fixes — citations, readability
ryantuck Mar 15, 2026
7fb7b38
fix(ErdosProblems/1144): apply review fixes — citations, readability
ryantuck Mar 15, 2026
6d1af7e
fix(ErdosProblems/1143): apply review fixes — citations, variants, re…
ryantuck Mar 15, 2026
ffea4f7
fix(ErdosProblems/1146): apply review fixes — code reuse, citations, …
ryantuck Mar 15, 2026
300f1bf
fix(ErdosProblems/1147): apply review fixes — code reuse, citations, …
ryantuck Mar 15, 2026
d23258b
fix(ErdosProblems/1153): apply review fixes — citations
ryantuck Mar 15, 2026
8a4c569
fix(ErdosProblems/1154): apply review fixes — citations
ryantuck Mar 15, 2026
9fd7613
fix(ErdosProblems/1151): apply review fixes — code reuse, citations, …
ryantuck Mar 15, 2026
e2a56ca
fix(ErdosProblems/1155): apply review fixes — code reuse, citations, …
ryantuck Mar 15, 2026
ad13cd8
fix(ErdosProblems/1156): apply review fixes — citations
ryantuck Mar 15, 2026
39fe515
fix(ErdosProblems/1157): apply review fixes — citations
ryantuck Mar 15, 2026
673002d
fix(ErdosProblems/1158): apply review fixes — citations
ryantuck Mar 15, 2026
0bf6cd9
fix(ErdosProblems/1159): apply review fixes — citations, variants
ryantuck Mar 15, 2026
cf27ae5
fix(ErdosProblems/1160): apply review fixes — citations, variants
ryantuck Mar 15, 2026
1fcfd3c
fix(ErdosProblems/1162): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
cd686bb
fix(ErdosProblems/1161): apply review fixes — citations, variants
ryantuck Mar 15, 2026
3936d8e
fix(ErdosProblems/1163): apply review fixes — citations
ryantuck Mar 15, 2026
75fb7a0
fix(ErdosProblems/1164): apply review fixes — citations, variants
ryantuck Mar 15, 2026
60f041e
fix(ErdosProblems/1166): apply review fixes — citations
ryantuck Mar 15, 2026
24d2f84
fix(ErdosProblems/1167): apply review fixes — citations, docstring
ryantuck Mar 15, 2026
629c306
fix(ErdosProblems/1170): apply review fixes — citations
ryantuck Mar 15, 2026
c1d1c8e
fix(ErdosProblems/1169): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
5ead053
fix(ErdosProblems/1171): apply review fixes — citations, docstring
ryantuck Mar 15, 2026
45c6269
fix(ErdosProblems/1172): apply review fixes — citations, code reuse
ryantuck Mar 15, 2026
eb2ed77
fix(ErdosProblems/1175): apply review fixes — citations, code reuse
ryantuck Mar 15, 2026
5e0a8b0
fix(ErdosProblems/1177): apply review fixes — citations, readability
ryantuck Mar 15, 2026
680c004
fix(ErdosProblems/1174): apply review fixes — code reuse
ryantuck Mar 15, 2026
a1804f1
fix(ErdosProblems/1173): apply review fixes — citations
ryantuck Mar 15, 2026
f471d17
fix(ErdosProblems/1179): apply review fixes — citations, correctness
ryantuck Mar 15, 2026
d1059bf
fix(ErdosProblems/1178): apply review fixes — citations, readability
ryantuck Mar 15, 2026
f0161f3
refactor(ErdosProblems): remove cross-file imports between ErdosProblems
ryantuck Mar 15, 2026
a41cc97
fix(ErdosProblems/8): complete [Er96b] citation with title and journal
ryantuck Mar 15, 2026
d91236c
fix(ErdosProblems/5): add full bibliographic citations
ryantuck Mar 15, 2026
bf85ef4
fix(ErdosProblems/7): fix citation tags and bibliographic details
ryantuck Mar 15, 2026
0354657
fix(ErdosProblems/2): apply review fixes — citations
ryantuck Mar 15, 2026
f27bce3
fix(ErdosProblems/16): correct [Ch23] citation author and title
ryantuck Mar 15, 2026
d3ebc3a
fix(ErdosProblems/19): complete [KKKMO21] citation with volume and pages
ryantuck Mar 15, 2026
03c7a77
fix(ErdosProblems/15): correct [Er98] and [Ta23] citation details
ryantuck Mar 15, 2026
50c7bee
fix(ErdosProblems/18): expand citations with full bibliographic details
ryantuck Mar 15, 2026
75574a7
fix(ErdosProblems/21): correct citation details from LaTeX source
ryantuck Mar 15, 2026
cb066d8
fix(ErdosProblems/22): complete [BoEr76] and [FLZ15] citations with p…
ryantuck Mar 15, 2026
5cb75ae
fix(ErdosProblems/27): normalize citation formatting to match project…
ryantuck Mar 15, 2026
c2f63eb
fix(ErdosProblems/24): correct [Er92b] volume and [Er97f] citation de…
ryantuck Mar 15, 2026
53ccbc3
fix(ErdosProblems/34): normalize citation formatting to match project…
ryantuck Mar 15, 2026
36f8d41
fix(ErdosProblems/29): correct citation details from LaTeX source
ryantuck Mar 15, 2026
90d6199
fix(ErdosProblems/35): complete [Er36c] citation with full bibliograp…
ryantuck Mar 15, 2026
c475c0a
fix(ErdosProblems/31): complete [Er65b] citation with journal and pages
ryantuck Mar 15, 2026
69865d3
fix(ErdosProblems/37): normalize citation formatting to match project…
ryantuck Mar 15, 2026
d4c6072
fix(ErdosProblems/45): correct and complete citation formatting
ryantuck Mar 15, 2026
e5e97da
fix(ErdosProblems/43): normalize citation volume formatting to match …
ryantuck Mar 15, 2026
6fdd14a
fix(ErdosProblems/46): add missing citations and fix citation formatting
ryantuck Mar 15, 2026
1649cb1
fix(ErdosProblems/47): normalize citation formatting to match project…
ryantuck Mar 15, 2026
ec15607
fix(ErdosProblems/49): correct and complete citation formatting
ryantuck Mar 15, 2026
7e5d407
fix(ErdosProblems/50): correct and complete [Er95] citation formatting
ryantuck Mar 15, 2026
ca19e9b
fix(ErdosProblems/52): normalize citation formatting to match project…
ryantuck Mar 15, 2026
4aa0e0b
fix(ErdosProblems/53): normalize citation formatting to match project…
ryantuck Mar 15, 2026
a8ceb1e
fix(ErdosProblems/58): normalize citation formatting to match project…
ryantuck Mar 15, 2026
066b356
fix(ErdosProblems/57): normalize citation formatting to match project…
ryantuck Mar 15, 2026
6197c00
fix(ErdosProblems/55): add missing [BuEr85] citation and normalize fo…
ryantuck Mar 15, 2026
7da58cc
fix(ErdosProblems/54): correct and complete citation formatting
ryantuck Mar 15, 2026
19fd6f2
fix(ErdosProblems/59): normalize citation formatting to match project…
ryantuck Mar 15, 2026
92617c1
fix(ErdosProblems/60): correct [HeMaYa21] citation title and add journal
ryantuck Mar 15, 2026
97cb1cb
fix(ErdosProblems/63): normalize citation formatting to match project…
ryantuck Mar 15, 2026
d3d242d
fix(ErdosProblems/62): normalize citation formatting to match project…
ryantuck Mar 15, 2026
9292e3f
fix(ErdosProblems/70): normalize citation formatting to match project…
ryantuck Mar 15, 2026
1effa1c
fix(ErdosProblems/65): normalize citation formatting to match project…
ryantuck Mar 15, 2026
30f229c
fix(ErdosProblems/71): normalize citation formatting to match project…
ryantuck Mar 15, 2026
c29a4b8
fix(ErdosProblems/73): normalize citation formatting to match project…
ryantuck Mar 15, 2026
16215c6
fix(ErdosProblems/72): normalize citation formatting to match project…
ryantuck Mar 15, 2026
2b68237
fix(ErdosProblems/75): normalize citation formatting to match project…
ryantuck Mar 15, 2026
d9160e6
fix(ErdosProblems/76): normalize citation formatting to match project…
ryantuck Mar 15, 2026
b666c61
fix(ErdosProblems/77): normalize citation formatting to match project…
ryantuck Mar 15, 2026
a63a4cb
fix(ErdosProblems/78): normalize citation formatting to match project…
ryantuck Mar 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
120 changes: 120 additions & 0 deletions FIX_REVIEW_ISSUES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# Fix Review Issues

You are a PhD-level mathematician and Lean 4 expert. Your task is to fix all issues identified in a review for Erdős Problem **NUM**.

## Inputs

- **Review:** `ai-review/NUM.md`
- **Lean file:** `FormalConjectures/ErdosProblems/NUM.lean`
- **Library:** `FormalConjecturesForMathlib/` (shared definitions to reuse)
- **Website:** `https://www.erdosproblems.com/NUM` (detailed problem info — variants, context, related problems)
- **LaTeX source:** `https://www.erdosproblems.com/latex/NUM` (authoritative source for citations — most complete bibliographic data)

## Instructions

Read the review at `ai-review/NUM.md` in full. Then implement **all** fixes described below, working through each section in order. After completing all sections, run the verification checklist.

---

### Section 1: Code Reuse

If the review identifies local definitions that duplicate library code:

1. Find the library equivalent mentioned in the review (search Mathlib and `FormalConjecturesForMathlib/` only — do **not** look at other Erdős problem files).
2. Read both the local definition and the library version. Confirm they are semantically equivalent or that the library version is strictly better.
3. Delete the local definition(s).
4. Add the necessary `import` statement(s) and `open` declarations.
5. Rewrite the theorem statement(s) to use the library definitions.
6. Ensure the file still compiles (`sorry` proofs are fine — the goal is correct *statements*, not proofs).

If the review says "No issues" or the section has no actionable recommendations, skip this section.

**Important constraints:**
- Only import definitions that already exist in Mathlib or `FormalConjecturesForMathlib/`. Do **not** look at other Erdős problem files for code to reuse, and do **not** create new definitions in the library.
- Preserve the existing `ErdosNUM` namespace. Every problem file uses a `namespace ErdosNUM` / `end ErdosNUM` block — do not remove or rename it, even if the local definitions it originally scoped are deleted.

---

### Section 2: Citations

If the review identifies citation issues:

1. Fetch `https://www.erdosproblems.com/latex/NUM` to get the LaTeX source with exact citations. This is the **most complete source** for bibliographic data (titles, journals, volumes, pages). You may also fetch `https://www.erdosproblems.com/NUM` for additional context, but the LaTeX endpoint has the most complete citation details. Do not search the web or use any other sources.
2. When extracting citations from the LaTeX source, convert LaTeX-encoded names to plain text (e.g., `Erd\H{o}s` → `Erdős`, `Szemer\'edi` → `Szemerédi`, `Tur\'an` → `Turán`).
3. For each citation issue flagged in the review:
- **Missing reference:** Add it to the module docstring in the standard format: `[TAG] Last, F., Last, F., _Title_. Journal **vol** (year), pages.`
- **Incomplete reference:** Expand it with title, journal, volume, and page numbers from the LaTeX source.
- **Tag mismatch:** Standardize the tag to match other files that cite the same paper. Search the codebase for the same author/year to find the canonical tag.
4. If the review mentions missing OEIS sequences or other cross-references from the website, add them to the docstring.

If the review says "No issues" or the section has no actionable recommendations, skip this section.

---

### Section 3: Variants

If the review identifies missing variants that should be formalized:

1. For each variant the review recommends adding:
- Write a new theorem statement with an appropriate name (e.g., `erdos_NUM_upper`, `erdos_NUM_variant`).
- Include a docstring explaining what the variant captures and its relationship to the main problem.
- Use `sorry` for the proof.
- Reuse existing definitions (library or local) — do not introduce new definitions unless necessary.
2. Only add variants that the review **explicitly recommends** formalizing. Do not invent new variants.

If the review says "No issues", the section has no actionable recommendations, or variants are described as "optional", skip this section.

---

### Section 4: Readability

If the review identifies readability improvements:

1. Apply each specific recommendation (e.g., renaming variables, using standard Lean/Mathlib idioms like `Odd k` instead of `k % 2 = 1`, replacing `p.1`/`p.2` with named projections).
2. Do **not** make readability changes that conflict with Section 1 fixes (e.g., don't improve a local definition that you already deleted and replaced with a library version).
3. Improve docstrings only if the review specifically requests it.

If the review says "No issues" or the section has no actionable recommendations, skip this section.

---

### Section 5: Formalizability

This section is informational. **No code changes needed** unless the review explicitly identifies an encoding issue that should be fixed (e.g., "the formalization encodes X but should encode Y"). In that case, fix the encoding in the theorem statement.

---

### Section 6: Correctness

If the review identifies correctness issues:

1. **This is the highest priority section.** Correctness fixes take precedence over all other changes.
2. For each issue flagged:
- Read the review's explanation of why the current formalization is incorrect.
- Identify the correct mathematical formulation (the review will typically describe it).
- Rewrite the affected definition(s) and/or theorem statement(s).
- If the fix involves switching to a library definition (overlapping with Section 1), ensure the library version is mathematically correct per the review's analysis.
3. If the review says "Correct and complete" or equivalent, no changes needed.

---

## Verification Checklist

After implementing all fixes, verify each item:

1. **Compiles:** Run `lake build FormalConjectures/ErdosProblems/NUM.lean` and confirm it compiles (with `sorry` proofs — warnings are OK, errors are not).
2. **Code reuse:** Grep the file for any local definitions the review said to remove. Confirm they are gone.
3. **Citations:** Re-read the module docstring. Confirm all references from the website are present with full bibliographic details.
4. **Variants:** If variants were added, confirm each has a docstring and compiles.
5. **Correctness:** If correctness issues were flagged, re-read the rewritten theorem statement and confirm it matches the review's recommended fix.
6. **No regressions:** Ensure no other files that import this one are broken. Search for `import FormalConjectures.ErdosProblems.NUM` across the codebase.

If compilation fails, diagnose and fix the error. Common issues:
- Missing imports (add `import` statements)
- Missing `open` declarations (add `open` for namespaces used)
- Type mismatches from switching definitions (adjust the theorem statement to match library types)
- Name clashes (use fully qualified names or adjust `open`/`namespace`)

## Output

When done, report a summary of changes made per section (1-6) and the result of each verification checklist item.
68 changes: 68 additions & 0 deletions FormalConjectures/ErdosProblems/1000.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/-
Copyright 2026 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjectures.Util.ProblemImports

/-!
# Erdős Problem 1000

*Reference:* [erdosproblems.com/1000](https://www.erdosproblems.com/1000)

Let $A = \{n_1 < n_2 < \cdots\}$ be an infinite sequence of integers, and let $\varphi_A(k)$
count the number of $1 \leq m \leq n_k$ such that the fraction $m/n_k$ does not have
denominator $n_j$ for $j < k$ when written in lowest form; equivalently,
$n_k / \gcd(m, n_k) \neq n_j$ for all $1 \leq j < k$.

Is there a sequence $A$ such that
$$\lim_{N \to \infty} \frac{1}{N} \sum_{k \leq N} \frac{\varphi_A(k)}{n_k} = 0?$$

Erdős believed no such sequence exists. This was solved by Haight [Ha] who
proved that such a sequence does exist (contrary to Erdős' expectations).

[Er64b] Erdős, P., _Some problems in number theory_. 1964.

[Ha] Haight, J. A., _A linear programming problem_. 1979.
-/

open Finset Filter

namespace Erdos1000

/-- For a strictly increasing sequence $a : \mathbb{N} \to \mathbb{N}$ of positive integers,
$\varphi_A(k)$ counts the number of $1 \leq m \leq a(k)$ such that
$a(k) / \gcd(m, a(k)) \neq a(j)$ for all $j < k$. -/
noncomputable def phiA (a : ℕ → ℕ) (k : ℕ) : ℕ :=
((Finset.Icc 1 (a k)).filter (fun m =>
∀ j < k, (a k) / Nat.gcd m (a k) ≠ a j)).card

/--
Erdős Problem 1000 [Er64b]:

There exists a strictly increasing sequence $A = \{n_1 < n_2 < \cdots\}$ of positive
integers such that the Cesàro mean of $\varphi_A(k)/n_k$ tends to $0$:
$$\lim_{N \to \infty} \frac{1}{N} \sum_{k \leq N} \frac{\varphi_A(k)}{n_k} = 0.$$

Proved by Haight [Ha].
-/
@[category research solved, AMS 11]
theorem erdos_1000 : answer(True) ↔
∃ a : ℕ → ℕ, StrictMono a ∧ (∀ i, 0 < a i) ∧
Filter.Tendsto
(fun N : ℕ => (∑ k ∈ Finset.range N, (phiA a k : ℝ) / (a k : ℝ)) / (N : ℝ))
Filter.atTop (nhds 0) := by
sorry

end Erdos1000
97 changes: 97 additions & 0 deletions FormalConjectures/ErdosProblems/1001.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/-
Copyright 2026 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjectures.Util.ProblemImports

/-!
# Erdős Problem 1001

*Reference:* [erdosproblems.com/1001](https://www.erdosproblems.com/1001)

Let $S(N, A, c)$ be the Lebesgue measure of the set of $\alpha \in (0,1)$ such that
$|\alpha - x/y| < A/y^2$
for some $N \leq y \leq cN$ and $\gcd(x,y) = 1$. Does
$\lim_{N \to \infty} S(N, A, c) = f(A, c)$
exist? What is its explicit form?

A problem of Erdős, Szüsz, and Turán [EST58], who proved the formula
$f(A, c) = 12A \log c / \pi^2$
when $0 < A < c/(1 + c^2)$.

The existence of the limit was proved by Kesten and Sós [KeSo66].
Alternative, more explicit proofs were given by Boca [Bo08] and
Xiong–Zaharescu [XiZa06].

[Er64b] Erdős, P., _Problems and results on diophantine approximations_.
Compositio Math. (1964), 52–65.

[EST58] Erdős, P., Szüsz, P., and Turán, P., _Remarks on the theory of
diophantine approximation_. Colloq. Math. (1958), 119–126.

[KeSo66] Kesten, H. and Sós, V. T., _On two problems of Erdős, Szüsz and
Turán concerning diophantine approximations_. Acta Arith. (1966/67), 183–192.

[Bo08] Boca, F. P., _A problem of Erdős, Szüsz and Turán concerning
Diophantine approximations_. Int. J. Number Theory (2008), 691–708.

[XiZa06] Xiong, M. and Zaharescu, A., _A problem of Erdős-Szüsz-Turán on
Diophantine approximation_. Acta Arith. (2006), 163–177.
-/

open MeasureTheory Set Filter

namespace Erdos1001

/-- The set of $\alpha \in (0,1)$ approximable by a coprime fraction $x/y$
with $N \leq y \leq cN$ to within $A/y^2$. -/
noncomputable def approxSet (N : ℕ) (A c : ℝ) : Set ℝ :=
{α : ℝ | α ∈ Ioo 0 1 ∧
∃ (x : ℤ) (y : ℕ), N ≤ y ∧ (y : ℝ) ≤ c * N ∧
Nat.Coprime (Int.natAbs x) y ∧
|α - (x : ℝ) / (y : ℝ)| < A / ((y : ℝ) ^ 2)}

/-- $S(N, A, c)$ is the Lebesgue measure of the approximation set. -/
noncomputable def sMeasure (N : ℕ) (A c : ℝ) : ℝ :=
(volume (approxSet N A c)).toReal

/--
Erdős Problem 1001 [Er64b]:

For all $A > 0$ and $c > 1$, the limit $\lim_{N \to \infty} S(N, A, c)$ exists.

Proved by Kesten and Sós [KeSo66].
-/
@[category research solved, AMS 11 28]
theorem erdos_1001 : answer(True) ↔
∀ (A c : ℝ), 0 < A → 1 < c →
∃ L : ℝ, Tendsto (fun N : ℕ => sMeasure N A c) atTop (nhds L) := by
sorry

/--
Erdős Problem 1001 — EST58 explicit formula [EST58]:

When $0 < A < c/(1 + c^2)$, the limit $f(A, c) = 12A \log c / \pi^2$.

Proved by Erdős, Szüsz, and Turán.
-/
@[category research solved, AMS 11 28]
theorem erdos_1001_explicit_formula :
∀ (A c : ℝ), 0 < A → 1 < c → A < c / (1 + c ^ 2) →
Tendsto (fun N : ℕ => sMeasure N A c) atTop
(nhds (12 * A * Real.log c / Real.pi ^ 2)) := by
sorry

end Erdos1001
70 changes: 70 additions & 0 deletions FormalConjectures/ErdosProblems/1002.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/-
Copyright 2026 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjectures.Util.ProblemImports

/-!
# Erdős Problem 1002

*Reference:* [erdosproblems.com/1002](https://www.erdosproblems.com/1002)

For any $0 < \alpha < 1$, let
$$f(\alpha, n) = \frac{1}{\log n} \sum_{1 \le k \le n} \left(\frac{1}{2} - \{\alpha k\}\right)$$
where $\{\cdot\}$ denotes the fractional part.

Does $f(\alpha, n)$ have an asymptotic distribution function? In other words, is there
a non-decreasing function $g$ such that $g(-\infty) = 0$, $g(\infty) = 1$, and
$$\lim_{n \to \infty} |\{\alpha \in (0,1) : f(\alpha,n) \le c\}| = g(c)$$
where $|\cdot|$ denotes Lebesgue measure?

Kesten [Ke60] proved the analogous result with an additional shift $\beta$:
if $f(\alpha, \beta, n) = \frac{1}{\log n} \sum_{k=1}^n \left(\frac{1}{2} - \{\beta + \alpha k\}\right)$,
then $f(\alpha, \beta, n)$ has asymptotic distribution function
$g(c) = \frac{1}{\pi} \int_{-\infty}^{\rho c} \frac{1}{1+t^2} \, dt$
where $\rho > 0$ is an explicit constant.
-/

open Finset Filter MeasureTheory

namespace Erdos1002

/-- The function $f(\alpha, n) = \frac{1}{\log n} \sum_{k=1}^{n} \left(\frac{1}{2} - \{\alpha k\}\right)$,
where $\{\cdot\}$ denotes the fractional part. -/
noncomputable def erdosF (α : ℝ) (n : ℕ) : ℝ :=
(∑ k ∈ Finset.Icc 1 n, ((1 : ℝ) / 2 - Int.fract (α * ↑k))) / Real.log ↑n

/--
Erdős Problem 1002 [Er64b]:

Does the function $f(\alpha, n) = \frac{1}{\log n} \sum_{k=1}^n \left(\frac{1}{2} - \{\alpha k\}\right)$
have an asymptotic distribution function? That is, is there a non-decreasing function
$g : \mathbb{R} \to \mathbb{R}$ with $g(-\infty) = 0$ and $g(\infty) = 1$ such that for every
$c \in \mathbb{R}$,
$$\lim_{n \to \infty} \mu(\{\alpha \in (0,1) : f(\alpha,n) \le c\}) = g(c)$$
where $\mu$ is Lebesgue measure.
-/
@[category research open, AMS 11 28]
theorem erdos_1002 : answer(sorry) ↔
∃ g : ℝ → ℝ, Monotone g ∧
Filter.Tendsto g Filter.atBot (nhds 0) ∧
Filter.Tendsto g Filter.atTop (nhds 1) ∧
∀ c : ℝ, Filter.Tendsto
(fun n : ℕ =>
(volume (Set.Ioo (0 : ℝ) 1 ∩ {α : ℝ | erdosF α n ≤ c})).toReal)
Filter.atTop (nhds (g c)) := by
sorry

end Erdos1002
Loading