XiaoHLim commited on
Commit
7569bff
·
verified ·
1 Parent(s): f5fae90

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. proc.py +3 -1
  2. putnam.csv +2 -1
proc.py CHANGED
@@ -10,5 +10,7 @@ for i, row in df.iterrows():
10
  df.drop(i)
11
  continue
12
  split = stmt.split('\n')
13
- stmt = "\n".join([i for i in split if not i.startswith("abbrev")])
 
 
14
  df.to_csv('putnam.csv', index=False)
 
10
  df.drop(i)
11
  continue
12
  split = stmt.split('\n')
13
+ stmt = "\n".join([i.replace("sorry", "") for i in split if not i.startswith("abbrev")])
14
+ print(stmt)
15
+ print("*"*50)
16
  df.to_csv('putnam.csv', index=False)
putnam.csv CHANGED
@@ -4261,7 +4261,8 @@ putnam_2017_b4,"abbrev putnam_2017_b4_solution : ℝ := sorry
4261
  -- (log 2) ^ 2
4262
  theorem putnam_2017_b4
4263
  : (∑' k : ℕ, 3 * log (4 * k + 2) / (4 * k + 2) - log (4 * k + 3) / (4 * k + 3) - log (4 * k + 4) / (4 * k + 4) - log (4 * k + 5) / (4 * k + 5) = putnam_2017_b4_solution) :=
4264
- sorry","Evaluate the sum \begin{gather*} \sum_{k=0}^\infty \left( 3 \cdot \frac{\ln(4k+2)}{4k+2} - \frac{\ln(4k+3)}{4k+3} - \frac{\ln(4k+4)}{4k+4} - \frac{\ln(4k+5)}{4k+5}
 
4265
  Require Import Reals Coquelicot.Coquelicot.
4266
  Definition putnam_2017_b4_solution := (ln 2 / ln 10) ^ 2.
4267
  Theorem putnam_2017_b4
 
4261
  -- (log 2) ^ 2
4262
  theorem putnam_2017_b4
4263
  : (∑' k : ℕ, 3 * log (4 * k + 2) / (4 * k + 2) - log (4 * k + 3) / (4 * k + 3) - log (4 * k + 4) / (4 * k + 4) - log (4 * k + 5) / (4 * k + 5) = putnam_2017_b4_solution) :=
4264
+ sorry","Evaluate the sum \begin{gather*} \sum_{k=0}^\infty \left( 3 \cdot \frac{\ln(4k+2)}{4k+2} - \frac{\ln(4k+3)}{4k+3} - \frac{\ln(4k+4)}{4k+4} - \frac{\ln(4k+5)}{4k+5}
4265
+ ight) \ = 3 \cdot \frac{\ln 2}{2} - \frac{\ln 3}{3} - \frac{\ln 4}{4} - \frac{\ln 5}{5} + 3 \cdot \frac{\ln 6}{6} - \frac{\ln 7}{7} \ - \frac{\ln 8}{8} - \frac{\ln 9}{9} + 3 \cdot \frac{\ln 10}{10} - \cdots . \end{gather*} (As usual, $\ln x$ denotes the natural logarithm of $x$.)",Prove that the sum equals $(\ln 2)^2$.,['algebra'],"Section putnam_2017_b4.
4266
  Require Import Reals Coquelicot.Coquelicot.
4267
  Definition putnam_2017_b4_solution := (ln 2 / ln 10) ^ 2.
4268
  Theorem putnam_2017_b4