Try doing some basic maths questions in the Lean Theorem Prover. Functions, real numbers, equivalence relations and groups. Click on README.md and then on "Open in CoCalc with one click".
# Now modify this output so that Lean can parse it. Changes `./foo.lean` to `.foo` and `foodir` to `.foodir.all`. Also adds indentation, a comment and `import`. Write this to `all.lean`
15
done
16
17
nolint=0
18
whilegetopts't'opt;do
19
case$optin
20
t)nolint=1;;
21
*)echo'Error in command line parsing'>&2
22
exit1
23
esac
24
done
25
26
cd$DIR/../src/
27
if["$nolint"-eq1];then
28
cp../scripts/nolints.txt./nolints.lean
29
cat<<EOT > lint_mathlib.lean
30
import .nolints
31
EOT
32
else
33
cat <<EOT > lint_mathlib.lean
34
import all
35
EOT
36
fi
37
38
cat <<EOT >> lint_mathlib.lean
39
40
open nat -- need to do something before running a command
41
42
#lint_mathlib- only unused_arguments dup_namespace doc_blame ge_or_gt def_lemma instance_priority