Using ACL2 To Teach Students About Software Testing

被引:0
|
作者
Gamboa, Ruben [1 ]
Thoney, Alicia [1 ]
机构
[1] Univ Wyoming, Laramie, WY 82071 USA
关键词
D O I
10.4204/EPTCS.359.4
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We report on our experience using ACL2 in the classroom to teach students about software testing. The course COSC 2300 at the University of Wyoming is a mostly traditional Discrete Mathematics course, but with a clear focus on computer science applications. For instance, the section on logic and proofs is motivated by the desire to write proofs about computer software. We emphasize that the importance of software correctness falls along a spectrum with casual programs on one end and mission-critical ones on the other. Corresponding to this spectrum is a variety of tools, ranging from unit tests, randomized testing of properties, and even formal proofs. In this paper, we describe one of the major activities, in which students use the ACL2 Sedan's counter-example generation facility to investigate properties of various existing checksum algorithms used in error detection. Students are challenged to state the relevant properties correctly, so that the counter-example generation tool is used effectively in all cases, and ACL2 can find formal proofs automatically in some of those.
引用
收藏
页码:19 / 32
页数:14
相关论文
共 50 条
  • [31] Verifying Timed, Asynchronous Circuits using ACL2
    Peng, Yan
    Greenstreet, Mark R.
    [J]. 2019 25TH IEEE INTERNATIONAL SYMPOSIUM ON ASYNCHRONOUS CIRCUITS AND SYSTEMS (ASYNC 2019), 2019, : 96 - 104
  • [32] Formal Verification of ECCs for Memories Using ACL2
    Mahum Naseer
    Waqar Ahmad
    Osman Hasan
    [J]. Journal of Electronic Testing, 2020, 36 : 643 - 663
  • [33] Using Free Software as Computational Wind Tunnels to Teach Students About Airfoils
    Roney, Jason Andrew
    [J]. ASEE Annual Conference and Exposition, Conference Proceedings, 2023,
  • [34] A Formalization of Powerlist Algebra in ACL2
    Gamboa, Ruben A.
    [J]. JOURNAL OF AUTOMATED REASONING, 2009, 43 (02) : 139 - 172
  • [35] A Formalization of Powerlist Algebra in ACL2
    Ruben A. Gamboa
    [J]. Journal of Automated Reasoning, 2009, 43 : 139 - 172
  • [36] Formal reasoning about efficient data structures:: A case study in ACL2
    Ruiz-Reina, JL
    Alonso-Jiménez, JA
    Hidalgo, MJ
    Martín-Mateos, FJ
    [J]. LOGIC BASED PROGRAM SYNTHESIS AND TRNSFORMATION, 2003, 3018 : 75 - 91
  • [37] Classical LU Decomposition in ACL2
    Kwan, Carl
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2023, (393):
  • [38] Convex Functions in ACL2(r)
    Kwan, Carl
    Greenstreet, Mark R.
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2018, (280): : 128 - 142
  • [39] Theory Extension in ACL2(r)
    R. Gamboa
    J. Cowles
    [J]. Journal of Automated Reasoning, 2007, 38 : 273 - 301
  • [40] Verified AIG Algorithms in ACL2
    Davis, Jared
    Swords, Sol
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (114): : 95 - 110