What is "mathematics in programming?"
Some well-known facts in mathematics are difficult to prove using a computer.
For example, the Leibniz series
1 - 1/3 + 1/5 - 1/7 + ...
is exactly equal to π/4, but calculating this series directly is impossible because it requires infinite computation.
However, from the theorems of analysis, this equality can be shown. Thus, if all these theorems are formulated in terms of logic symbols, the proof is reduced to a finite algorithm.
Some might say that a "proof assistant" or "theorem prover" would make this possible.
However, the language of proof assistants is too complicated to describe proofs of non-fundamental theorems, so proof assistants are used only to check proofs that have already been solved.
This is far from doing mathematics.
My question is where do mathematical ideas come from and whether programming can help yield them?
How to do Math in programming
2024/03/21(木) 09:41:43.97ID:85WuJ+Bw
2024/03/21(木) 10:47:44.36ID:8aAFTiSh
fuck your asshole
2024/03/21(木) 11:56:07.97ID:etpddAIY
Theorem Proving in Lean 4 日本語訳
https://aconite-ac.github.io/theorem_proving_in_lean4_ja/title_page.html
定理証明なら、今はCoqよりこっちなんかな
https://aconite-ac.github.io/theorem_proving_in_lean4_ja/title_page.html
定理証明なら、今はCoqよりこっちなんかな
2024/03/21(木) 12:07:26.54ID:etpddAIY
依存型を使った定理証明入門
https://zenn.dev/blackenedgold/books/introduction-to-idris/viewer/theorem-prooving
定理証明の流れは
命題を型に変換する
型がnon-emptyであることを示す
なので、実行時に型チェックすれば動的型付け言語でも証明はできるわけか
ただ、全称型とか存在型とかをどうやって表すのかがわからない
https://zenn.dev/blackenedgold/books/introduction-to-idris/viewer/theorem-prooving
定理証明の流れは
命題を型に変換する
型がnon-emptyであることを示す
なので、実行時に型チェックすれば動的型付け言語でも証明はできるわけか
ただ、全称型とか存在型とかをどうやって表すのかがわからない
2024/03/21(木) 23:49:19.66ID:qInfXZgz
より直感的なシンタックスと、命題のインタフェースを簡単に変換できる機能がほしいな
2024/03/23(土) 09:58:52.52ID:vizf8omG
命題 → 型
偽 → ∅
not A → Hom(A, ∅)
真→ not ∅
AかつB → 直積A×B
AまたはB → 直和A⊕B
AならばB
= not A または B
= (not A)⊕B
= Hom(A, ∅)⊕B
~ Hom(A, B) ※ 真偽が一致する
偽 → ∅
not A → Hom(A, ∅)
真→ not ∅
AかつB → 直積A×B
AまたはB → 直和A⊕B
AならばB
= not A または B
= (not A)⊕B
= Hom(A, ∅)⊕B
~ Hom(A, B) ※ 真偽が一致する
2024/03/24(日) 22:31:53.90ID:XQMIeHSx
プログラムはバイト列にコンパイルされるから、すべてのプログラムは高々可算個になるのだが、なぜ非可算集合をふくむ論理を扱えるんだ?
レスを投稿する
ニュース
- 【サッカー】Jリーグ観客動員が歴代最多を更新 初の「1300万人超え」達成…平均入場者数も史上最高に [尺アジ★]
- サナエノミクスについて力説 積極的な財政出動で「所得増える 消費マインド上がる 税収増える」片山さつき財務大臣 ★3 [少考さん★]
- 【芸能】粗品、日本テレビに苦言 客のレベルが「かなり低い。あいつら分かってない」「拍手したいだけやねん」 [冬月記者★]
- 鈴木農相「おこめ券はお米しか買えないわけではない。例えば卵、味噌、しょうゆ、こうした購入に利用可能」 ★4 [Hitzeschleier★]
- 山里亮太、フィリピンに子ども食堂を建設 「偽善者」「日本の子どもを助けるべき」の声があっても活動を続ける理由 [Anonymous★]
- 中国軍機のレーダー照射1週間 駆け引き続く 中国、米のレッドライン模索 日本、米以外の同志国とも連携探る 米は対立から距離置く★2 [ぐれ★]
- 【DAZN/ABEMA】ブンデスリーガ・DFBポカール★7
- 【U-NEXT】プレミアリーグ総合 ★45
- 【U-NEXT】プレミアリーグ総合 ★44
- こいせん 全レス転載禁止
- とらせん IP付き
- 【D専】
- ラーメン屋行ったら令和の時代に現金払いを要求された😡
- 【朗報】イーロン・マスク「AIとロボットで誰も働かなくて良くなる。全員ニートで金銭も税金もないパラダイスみてぇな国を作りてえ」 [347751896]
- 安倍晋三の学歴詐称は許されたのに、伊藤市長は許されなかった理由って何? [603416639]
- 冷え性すぎて寝れない😭助けて!
- ( ・᷄ὢ・᷅ )今はフリーです
- 【悲報】米山隆一と室井佑月、ガチで離婚しそうwwwwwwwwwwwwwwwwwwww [802034645]
