{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/deep-learning-for-symbolic-mathematics-1","title":"Deep Learning for Symbolic Mathematics","arxiv_id":"1912.01412","date":"2019-12-02","proceeding":"ICLR 2020 1","authors":["Guillaume Lample","François Charton"],"abstract":"Neural networks have a reputation for being better at solving statistical or approximate problems than at performing calculations or working with symbolic data. In this paper, we show that they can be surprisingly good at more elaborated tasks in mathematics, such as symbolic integration and solving differential equations. We propose a syntax for representing mathematical problems, and methods for generating large datasets that can be used to train sequence-to-sequence models. We achieve results that outperform commercial Computer Algebra Systems such as Matlab or Mathematica.","url_abs":"https://arxiv.org/abs/1912.01412v1","url_pdf":"https://arxiv.org/pdf/1912.01412v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"deep-learning-for-symbolic-mathematics-1","repo_url":"https://github.com/anupamme/SymbolicMathematics","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"deep-learning-for-symbolic-mathematics-1","repo_url":"https://github.com/cloneofsimo/poly2SOP","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"deep-learning-for-symbolic-mathematics-1","repo_url":"https://github.com/elia-mercatanti/deep-learning-symbolic-mathematics","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"deep-learning-for-symbolic-mathematics-1","repo_url":"https://github.com/facebookresearch/SymbolicMathematics","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"deep-learning-for-symbolic-mathematics-1","repo_url":"https://github.com/janeyoung2018/symbolic-math","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"deep-learning-for-symbolic-mathematics-1","repo_url":"https://github.com/mekty2012/CS470_SymbolicIntegration","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"deep-learning-for-symbolic-mathematics-1","repo_url":"https://github.com/wellecks/symbolic_generalization","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"deep-learning","task_name":"Deep Learning"}],"methods":[],"datasets_introduced":[{"slug":"deep-learning-for-symbolic-mathematics","name":"Deep Learning for Symbolic Mathematics","full_name":""}],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=1912.01412","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1912.01412"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/janeyoung2018/symbolic-math","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cloneofsimo/poly2SOP","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/facebookresearch/SymbolicMathematics","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/elia-mercatanti/deep-learning-symbolic-mathematics","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/anupamme/SymbolicMathematics","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mekty2012/CS470_SymbolicIntegration","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wellecks/symbolic_generalization","reach":null}],"summary":{"ran_honours":2,"ran_draft_wrong":2,"ran_fixture":2,"unverified":1},"by_repo_kind":{"listed":{"samples":7,"ran":6,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":4,"samples":[{"code_sha256_prefix":"a0a09427f288ee10","entry":"find_depth","repo":"wellecks/symbolic_generalization","repo_kind":"listed","path":"admath/genetic.py","file_url":"https://github.com/wellecks/symbolic_generalization/blob/HEAD/admath/genetic.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a0a09427f288ee10"}},{"code_sha256_prefix":"78414d64675071a8","entry":"full_init","repo":"mekty2012/CS470_SymbolicIntegration","repo_kind":"listed","path":"symbolic.py","file_url":"https://github.com/mekty2012/CS470_SymbolicIntegration/blob/HEAD/symbolic.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"78414d64675071a8"}},{"code_sha256_prefix":"e99410d1caf0d6dd","entry":"generate_binary_tree","repo":"mekty2012/CS470_SymbolicIntegration","repo_kind":"listed","path":"symbolic.py","file_url":"https://github.com/mekty2012/CS470_SymbolicIntegration/blob/HEAD/symbolic.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e99410d1caf0d6dd"}},{"code_sha256_prefix":"1cb1e2bdb55e2602","entry":"generate_unary_tree","repo":"mekty2012/CS470_SymbolicIntegration","repo_kind":"listed","path":"symbolic.py","file_url":"https://github.com/mekty2012/CS470_SymbolicIntegration/blob/HEAD/symbolic.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1cb1e2bdb55e2602"}},{"code_sha256_prefix":"9ffb15b0504ba3fa","entry":"random_path","repo":"wellecks/symbolic_generalization","repo_kind":"listed","path":"admath/genetic.py","file_url":"https://github.com/wellecks/symbolic_generalization/blob/HEAD/admath/genetic.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9ffb15b0504ba3fa"}},{"code_sha256_prefix":"1cadec5d54379233","entry":"random_tuples","repo":"wellecks/symbolic_generalization","repo_kind":"listed","path":"admath/compositionality.py","file_url":"https://github.com/wellecks/symbolic_generalization/blob/HEAD/admath/compositionality.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1cadec5d54379233"}},{"code_sha256_prefix":"53b9820e25a79eef","entry":"part","repo":"wellecks/symbolic_generalization","repo_kind":"listed","path":"admath/genetic.py","file_url":"https://github.com/wellecks/symbolic_generalization/blob/HEAD/admath/genetic.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"53b9820e25a79eef"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}