Skip to content

Commit

Permalink
clarify docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adomani committed May 19, 2024
1 parent e69b013 commit c0edb13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/mathlib_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ getCountDecls () {
sed 's=^--\(count_decls\)=\1=' scripts/count_decls.lean | lake env lean --stdin
}

# extracts
# `tallyCountDecls file` extracts from `file`
# Theorems xx
# Predicates yy
# ...
Expand Down Expand Up @@ -80,7 +80,7 @@ newDeclsTots="$(getCountDecls)"

# the tally of the output of `count_decls`
newDecls="$(echo "${newDeclsTots}" | tallyCountDecls -)"
# Definitions 73590...
# Theorems 73590...
git checkout -q "${oldCommit}"
# 'detached HEAD' state

Expand All @@ -98,7 +98,7 @@ oldDeclsTots="$(getCountDecls)"

# the tally of the output of `count_decls`
oldDecls="$(echo "${oldDeclsTots}" | tallyCountDecls -)"
# Definitions 73152...
# Theorems 73152...

# produce the `+X -Y` report for the declarations in each category
plusMinus="$(for typ in $(echo "$newDeclsTots" | grep "[^,]$" | tr '\n' ' ');
Expand Down

0 comments on commit c0edb13

Please sign in to comment.