SlideShare a Scribd company logo
1 of 14
NICTA Copyright 2014 
Productivity for 
Proof 
Engineering 
M. Staples, R. Jeffery, 
J. Andronick, T. Murray, G. Klein, 
R. Kolanski
In the beginning - 
• Empirical software engineering – 
• Formal methods/verification – 
• Operating systems – 
• seL4 and L4.verified projects at UNSW/NICTA 
• Goal – “An implementation correctness proof for 
seL4 with the kernel running on a mainstream 
embedded processor within 10% of the 
performance of L4.” Klein 2009. 
NICTA Copyright 2014 
2
History 
• seL4 concluded successfully by end 2007 
• 10,000 lines of C code 
• 2.2 person years of effort 
• L4.verified > 20 person years 
• For cost effective proof engineering a key 
consideration is proof productivity. 
NICTA Copyright 2014 
3
NICTA Copyright 2014 4
This study - Specs 
• Retrospective 9 projects from L4.verified. 
• All used Isabelle theorem prover. 
• Three formal specifications of seL4 – 
– Exec – models an executable representation of 
seL4’s design 
– Abstract – complete functional specification 
– CapDL – capabilities (access rights) between 
components 
NICTA Copyright 2014 
5
This study - Proofs 
• Six proofs – Three refinement proofs – 
– Code-to-exec, 
– Exec-to-abstract, 
– Abstract-to-CapDL. 
• Two security proofs – 
– Info.flow and 
– Integrity 
• CapDL policy proof. 
NICTA Copyright 2014 
6
Measures 
• Effort – in person weeks 
• Output – Lines of proof 
• Other variables – maximum team size, schedule 
pressure, overall difficulty, years experience with 
Isabelle, formal methods or theorem proving, the 
domain (operating systems). 
NICTA Copyright 2014 
7
The data 
NICTA Copyright 2014 
8 
Final Size 
(Kilo Lines of 
proof) 
Total Effort 
(Person weeks) 
Sched. Pressure Overall Diffic. Max Team 
(Headcount) 
CapDL Spec 2.14 27.5 AV LO 5 
CapDL-policy proof 0.85 11.3 LO AV 1 
Abstract-to-CapDL 
Refinement 
20.4 66 AV AV 5 
Integrity 7.05 28.5 V. HI HI 4 
Info.Flow 27.1 75.9 V.HI V.HI 8 
Exec-to-Abstract 
Refinement 
96.6 368 HI V.HI 6 
Code-to-Exec 
Refinement 
53.34 138 V.HI HI 6 
Exec Spec Haskell 6.01 92 AV HI 1 
Abstract Spec 4.9 15.3 AV AV 3
Effort – Size Plot for projects 
NICTA Copyright 2014 
9 
!
Project relationships 
• Total Project Effort = 9.98 + 3.35*Final Size 
R2 = 0.914, p<0.001 
• Possible outliers – large abstract refinement and 
executable spec. 
• Weak evidence that schedule pressure is 
associated with decreased effort, and overall 
difficulty and maximum team size with increased 
effort. But small sample size and not significant 
at 0.05. Experience not significant. 
NICTA Copyright 2014 
10
Effort – Size plot for individuals 
NICTA Copyright 2014 
11 
!
Individual relationships 
• 24 Individual contributions to five projects 
• R2 = 0.93, p<0.001 
NICTA Copyright 2014 
12
Threats 
• construct validity 
– Limitations of lines of proof as a size measure (?) 
– Subjective measures carefully defined 
• external validity 
– seL4 only therefore limited, but aids internal validity 
– Generalization not known 
• Internal validity 
– Wherever possible measures were carefully defined 
and reviewed by multiple persons 
– Factors not measured? 
NICTA Copyright 2014 
13
Conclusions 
• Proof engineering can bring the benefits of 
formal verification to more software engineering 
projects, but understanding cost effectiveness is 
an issue. 
• We find proof size and effort are strongly related 
for projects and individuals in L4verified 
• Significant opportunity for the empirical 
community to help understand rework, tools and 
techniques, proof patterns, reuse and so on in 
proof engineering. 
NICTA Copyright 2014 
14

More Related Content

What's hot

What's hot (20)

Engineering Continuous Delivery Architectures
Engineering Continuous Delivery ArchitecturesEngineering Continuous Delivery Architectures
Engineering Continuous Delivery Architectures
 
Peter Kupec Resume 2020
Peter Kupec Resume 2020Peter Kupec Resume 2020
Peter Kupec Resume 2020
 
Engineering Operations
Engineering OperationsEngineering Operations
Engineering Operations
 
Gap Assessment for DevOps
Gap Assessment   for DevOpsGap Assessment   for DevOps
Gap Assessment for DevOps
 
Are your DevOps and Security teams friends or foes?
Are your DevOps and Security teams friends or foes?Are your DevOps and Security teams friends or foes?
Are your DevOps and Security teams friends or foes?
 
A recap of the PCTEL webinar hosted by NEDAS on December 7, 2017
A recap of the PCTEL webinar hosted by NEDAS on December 7, 2017A recap of the PCTEL webinar hosted by NEDAS on December 7, 2017
A recap of the PCTEL webinar hosted by NEDAS on December 7, 2017
 
Kishor_cv
Kishor_cvKishor_cv
Kishor_cv
 
Abhi
AbhiAbhi
Abhi
 
Mobile trends v3.0
Mobile trends v3.0Mobile trends v3.0
Mobile trends v3.0
 
Gareth conduit intellegens
Gareth conduit   intellegensGareth conduit   intellegens
Gareth conduit intellegens
 
Test Driven Infrastructure with Serverspec and KitchenCI
Test Driven Infrastructure with Serverspec and KitchenCITest Driven Infrastructure with Serverspec and KitchenCI
Test Driven Infrastructure with Serverspec and KitchenCI
 
Dev opscon 2019_kickstart_via_project
Dev opscon 2019_kickstart_via_projectDev opscon 2019_kickstart_via_project
Dev opscon 2019_kickstart_via_project
 
Aeckerle Resume
Aeckerle ResumeAeckerle Resume
Aeckerle Resume
 
Databasedemo3
Databasedemo3Databasedemo3
Databasedemo3
 
Case study on operating an Offshore Delivery Center (ODC)
Case study on operating an Offshore Delivery Center (ODC)Case study on operating an Offshore Delivery Center (ODC)
Case study on operating an Offshore Delivery Center (ODC)
 
The Challenges of Integrating Algorithmic Solutions into Clinical Workflows
The Challenges of Integrating Algorithmic Solutions into Clinical WorkflowsThe Challenges of Integrating Algorithmic Solutions into Clinical Workflows
The Challenges of Integrating Algorithmic Solutions into Clinical Workflows
 
Achieving CI Excellence with Quality Engineering
Achieving CI Excellence with Quality EngineeringAchieving CI Excellence with Quality Engineering
Achieving CI Excellence with Quality Engineering
 
Zero Emissions Construction Site
Zero Emissions Construction SiteZero Emissions Construction Site
Zero Emissions Construction Site
 
DevOps X
DevOps XDevOps X
DevOps X
 
Know your R usage workflow to handle reproducibility challenges
Know your R usage workflow to handle reproducibility challengesKnow your R usage workflow to handle reproducibility challenges
Know your R usage workflow to handle reproducibility challenges
 

Viewers also liked

Cyber security innovation_imho v4
Cyber security innovation_imho v4Cyber security innovation_imho v4
Cyber security innovation_imho v4
W Fred Seigneur
 

Viewers also liked (8)

Cyber security innovation_imho v4
Cyber security innovation_imho v4Cyber security innovation_imho v4
Cyber security innovation_imho v4
 
Riscv 20160507-patterson
Riscv 20160507-pattersonRiscv 20160507-patterson
Riscv 20160507-patterson
 
Introduction to RISC-V
Introduction to RISC-VIntroduction to RISC-V
Introduction to RISC-V
 
seL4 intro
seL4 introseL4 intro
seL4 intro
 
From L3 to seL4: What have we learnt in 20 years of L4 microkernels
From L3 to seL4: What have we learnt in 20 years of L4 microkernelsFrom L3 to seL4: What have we learnt in 20 years of L4 microkernels
From L3 to seL4: What have we learnt in 20 years of L4 microkernels
 
RISC-V Introduction
RISC-V IntroductionRISC-V Introduction
RISC-V Introduction
 
seL4 on RISC-V/lowRISC - ORCONF'15
seL4 on RISC-V/lowRISC - ORCONF'15seL4 on RISC-V/lowRISC - ORCONF'15
seL4 on RISC-V/lowRISC - ORCONF'15
 
Microkernel design
Microkernel designMicrokernel design
Microkernel design
 

Similar to 167 - Productivity for proof engineering

Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Lionel Briand
 
Ph.D Annual report II
Ph.D Annual report IIPh.D Annual report II
Ph.D Annual report II
Matteo Avalle
 
FlorenceAI: Reinventing Data Science at Humana
FlorenceAI: Reinventing Data Science at HumanaFlorenceAI: Reinventing Data Science at Humana
FlorenceAI: Reinventing Data Science at Humana
Databricks
 
EuroSPI O'Donnell Richardson Agile Methods in a Very Small Company Presentation
EuroSPI O'Donnell Richardson Agile Methods in a Very Small Company PresentationEuroSPI O'Donnell Richardson Agile Methods in a Very Small Company Presentation
EuroSPI O'Donnell Richardson Agile Methods in a Very Small Company Presentation
Michael O'Donnell
 

Similar to 167 - Productivity for proof engineering (20)

Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
 
How to test a Mainframe Application
How to test a Mainframe ApplicationHow to test a Mainframe Application
How to test a Mainframe Application
 
VASU_VALLABHUNI_INFOSYS
VASU_VALLABHUNI_INFOSYSVASU_VALLABHUNI_INFOSYS
VASU_VALLABHUNI_INFOSYS
 
AMD at ITC 2014
AMD at  ITC 2014AMD at  ITC 2014
AMD at ITC 2014
 
Scalable and Cost-Effective Model-Based Software Verification and Testing
Scalable and Cost-Effective Model-Based Software Verification and TestingScalable and Cost-Effective Model-Based Software Verification and Testing
Scalable and Cost-Effective Model-Based Software Verification and Testing
 
2014 Asdenca - Capability-driven development of a soa platform, a case study
2014 Asdenca - Capability-driven development of a soa platform, a case study2014 Asdenca - Capability-driven development of a soa platform, a case study
2014 Asdenca - Capability-driven development of a soa platform, a case study
 
Test-Driven Development in the Corporate Workplace
Test-Driven Development in the Corporate WorkplaceTest-Driven Development in the Corporate Workplace
Test-Driven Development in the Corporate Workplace
 
Why is TDD so hard for Data Engineering and Analytics Projects?
Why is TDD so hard for Data Engineering and Analytics Projects?Why is TDD so hard for Data Engineering and Analytics Projects?
Why is TDD so hard for Data Engineering and Analytics Projects?
 
tem7
tem7tem7
tem7
 
Ph.D Annual report II
Ph.D Annual report IIPh.D Annual report II
Ph.D Annual report II
 
FlorenceAI: Reinventing Data Science at Humana
FlorenceAI: Reinventing Data Science at HumanaFlorenceAI: Reinventing Data Science at Humana
FlorenceAI: Reinventing Data Science at Humana
 
Pedro e. grave de peralta resume 2016
Pedro e. grave de peralta resume 2016Pedro e. grave de peralta resume 2016
Pedro e. grave de peralta resume 2016
 
Pedro E. Grave de Peralta Resume 2016
Pedro E. Grave de Peralta Resume 2016Pedro E. Grave de Peralta Resume 2016
Pedro E. Grave de Peralta Resume 2016
 
Why is Test Driven Development for Analytics or Data Projects so Hard?
Why is Test Driven Development for Analytics or Data Projects so Hard?Why is Test Driven Development for Analytics or Data Projects so Hard?
Why is Test Driven Development for Analytics or Data Projects so Hard?
 
Oracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons LearnedOracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons Learned
 
Madhu_Resume
Madhu_ResumeMadhu_Resume
Madhu_Resume
 
Uk Research Infrastructure Workshop E-infrastructure Juan Bicarregui
Uk Research Infrastructure Workshop E-infrastructure Juan BicarreguiUk Research Infrastructure Workshop E-infrastructure Juan Bicarregui
Uk Research Infrastructure Workshop E-infrastructure Juan Bicarregui
 
EuroSPI O'Donnell Richardson Agile Methods in a Very Small Company Presentation
EuroSPI O'Donnell Richardson Agile Methods in a Very Small Company PresentationEuroSPI O'Donnell Richardson Agile Methods in a Very Small Company Presentation
EuroSPI O'Donnell Richardson Agile Methods in a Very Small Company Presentation
 
Replication and Benchmarking in Software Analytics
Replication and Benchmarking in Software AnalyticsReplication and Benchmarking in Software Analytics
Replication and Benchmarking in Software Analytics
 
Case Study on Advanced light weight torpedo (Software IV&V).pptx
Case Study on Advanced light weight torpedo (Software IV&V).pptxCase Study on Advanced light weight torpedo (Software IV&V).pptx
Case Study on Advanced light weight torpedo (Software IV&V).pptx
 

More from ESEM 2014

42- Using Templates to Elicit Implied Security Requirements from Functional R...
42- Using Templates to Elicit Implied Security Requirements from Functional R...42- Using Templates to Elicit Implied Security Requirements from Functional R...
42- Using Templates to Elicit Implied Security Requirements from Functional R...
ESEM 2014
 
166 - ISBSG variables most frequently used for software effort estimation: A ...
166 - ISBSG variables most frequently used for software effort estimation: A ...166 - ISBSG variables most frequently used for software effort estimation: A ...
166 - ISBSG variables most frequently used for software effort estimation: A ...
ESEM 2014
 
112 - The Role of Mentoring and Project Characteristics for Onboarding in Ope...
112 - The Role of Mentoring and Project Characteristics for Onboarding in Ope...112 - The Role of Mentoring and Project Characteristics for Onboarding in Ope...
112 - The Role of Mentoring and Project Characteristics for Onboarding in Ope...
ESEM 2014
 
201 - Using Qualitative Metasummary to Synthesize Empirical Findings in Liter...
201 - Using Qualitative Metasummary to Synthesize Empirical Findings in Liter...201 - Using Qualitative Metasummary to Synthesize Empirical Findings in Liter...
201 - Using Qualitative Metasummary to Synthesize Empirical Findings in Liter...
ESEM 2014
 
130 - Motivated software engineers are engaged and focused, while satisfied o...
130 - Motivated software engineers are engaged and focused, while satisfied o...130 - Motivated software engineers are engaged and focused, while satisfied o...
130 - Motivated software engineers are engaged and focused, while satisfied o...
ESEM 2014
 
124 - Impact of Developer Reputation on Code Review Outcomes in OSS Projects:...
124 - Impact of Developer Reputation on Code Review Outcomes in OSS Projects:...124 - Impact of Developer Reputation on Code Review Outcomes in OSS Projects:...
124 - Impact of Developer Reputation on Code Review Outcomes in OSS Projects:...
ESEM 2014
 
52 - The Impact of Test Ownership and Team Structure on the Reliability and E...
52 - The Impact of Test Ownership and Team Structure on the Reliability and E...52 - The Impact of Test Ownership and Team Structure on the Reliability and E...
52 - The Impact of Test Ownership and Team Structure on the Reliability and E...
ESEM 2014
 

More from ESEM 2014 (20)

Keynote 2 - The 20% of software engineering practices that contribute to 80% ...
Keynote 2 - The 20% of software engineering practices that contribute to 80% ...Keynote 2 - The 20% of software engineering practices that contribute to 80% ...
Keynote 2 - The 20% of software engineering practices that contribute to 80% ...
 
Keynote 1 - Engineering Software Analytics Studies
Keynote 1 - Engineering Software Analytics StudiesKeynote 1 - Engineering Software Analytics Studies
Keynote 1 - Engineering Software Analytics Studies
 
33 - On Knowledge Transfer Skill in Pair Programming
33 - On Knowledge Transfer Skill in Pair Programming33 - On Knowledge Transfer Skill in Pair Programming
33 - On Knowledge Transfer Skill in Pair Programming
 
222 - Design Pattern Decay: The Case for Class Grime
222 - Design Pattern Decay: The Case for Class Grime222 - Design Pattern Decay: The Case for Class Grime
222 - Design Pattern Decay: The Case for Class Grime
 
210 - Software Population Pyramids: The Current and the Future of OSS Develop...
210 - Software Population Pyramids: The Current and the Future of OSS Develop...210 - Software Population Pyramids: The Current and the Future of OSS Develop...
210 - Software Population Pyramids: The Current and the Future of OSS Develop...
 
169 - Bridging the Gap: SE Technology Transfer into Practice - Study Design a...
169 - Bridging the Gap: SE Technology Transfer into Practice - Study Design a...169 - Bridging the Gap: SE Technology Transfer into Practice - Study Design a...
169 - Bridging the Gap: SE Technology Transfer into Practice - Study Design a...
 
196 - Evaluation in Practice: Artifact-based Requirements Engineering and Sc...
196  - Evaluation in Practice: Artifact-based Requirements Engineering and Sc...196  - Evaluation in Practice: Artifact-based Requirements Engineering and Sc...
196 - Evaluation in Practice: Artifact-based Requirements Engineering and Sc...
 
42- Using Templates to Elicit Implied Security Requirements from Functional R...
42- Using Templates to Elicit Implied Security Requirements from Functional R...42- Using Templates to Elicit Implied Security Requirements from Functional R...
42- Using Templates to Elicit Implied Security Requirements from Functional R...
 
166 - ISBSG variables most frequently used for software effort estimation: A ...
166 - ISBSG variables most frequently used for software effort estimation: A ...166 - ISBSG variables most frequently used for software effort estimation: A ...
166 - ISBSG variables most frequently used for software effort estimation: A ...
 
112 - The Role of Mentoring and Project Characteristics for Onboarding in Ope...
112 - The Role of Mentoring and Project Characteristics for Onboarding in Ope...112 - The Role of Mentoring and Project Characteristics for Onboarding in Ope...
112 - The Role of Mentoring and Project Characteristics for Onboarding in Ope...
 
224 - Factors Impacting Rapid Releases: An Industrial Case Study
224 - Factors Impacting Rapid Releases: An Industrial Case Study224 - Factors Impacting Rapid Releases: An Industrial Case Study
224 - Factors Impacting Rapid Releases: An Industrial Case Study
 
215 Towards a Framework to Support Large Scale Sampling in Software Engineeri...
215 Towards a Framework to Support Large Scale Sampling in Software Engineeri...215 Towards a Framework to Support Large Scale Sampling in Software Engineeri...
215 Towards a Framework to Support Large Scale Sampling in Software Engineeri...
 
214 - Sampling Improvement in Software Engineering Surveys
214 - Sampling Improvement in Software Engineering Surveys214 - Sampling Improvement in Software Engineering Surveys
214 - Sampling Improvement in Software Engineering Surveys
 
201 - Using Qualitative Metasummary to Synthesize Empirical Findings in Liter...
201 - Using Qualitative Metasummary to Synthesize Empirical Findings in Liter...201 - Using Qualitative Metasummary to Synthesize Empirical Findings in Liter...
201 - Using Qualitative Metasummary to Synthesize Empirical Findings in Liter...
 
130 - Motivated software engineers are engaged and focused, while satisfied o...
130 - Motivated software engineers are engaged and focused, while satisfied o...130 - Motivated software engineers are engaged and focused, while satisfied o...
130 - Motivated software engineers are engaged and focused, while satisfied o...
 
178 - A replicated study on duplicate detection: Using Apache Lucene to searc...
178 - A replicated study on duplicate detection: Using Apache Lucene to searc...178 - A replicated study on duplicate detection: Using Apache Lucene to searc...
178 - A replicated study on duplicate detection: Using Apache Lucene to searc...
 
124 - Impact of Developer Reputation on Code Review Outcomes in OSS Projects:...
124 - Impact of Developer Reputation on Code Review Outcomes in OSS Projects:...124 - Impact of Developer Reputation on Code Review Outcomes in OSS Projects:...
124 - Impact of Developer Reputation on Code Review Outcomes in OSS Projects:...
 
18 - Impact of Process Conformance on the Effects of Test-driven Development
18 - Impact of Process Conformance on the Effects of Test-driven Development18 - Impact of Process Conformance on the Effects of Test-driven Development
18 - Impact of Process Conformance on the Effects of Test-driven Development
 
65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...
65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...
65 - An Empirical Simulation-based Study of Real-Time Speech Translation for ...
 
52 - The Impact of Test Ownership and Team Structure on the Reliability and E...
52 - The Impact of Test Ownership and Team Structure on the Reliability and E...52 - The Impact of Test Ownership and Team Structure on the Reliability and E...
52 - The Impact of Test Ownership and Team Structure on the Reliability and E...
 

Recently uploaded

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Recently uploaded (20)

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 

167 - Productivity for proof engineering

  • 1. NICTA Copyright 2014 Productivity for Proof Engineering M. Staples, R. Jeffery, J. Andronick, T. Murray, G. Klein, R. Kolanski
  • 2. In the beginning - • Empirical software engineering – • Formal methods/verification – • Operating systems – • seL4 and L4.verified projects at UNSW/NICTA • Goal – “An implementation correctness proof for seL4 with the kernel running on a mainstream embedded processor within 10% of the performance of L4.” Klein 2009. NICTA Copyright 2014 2
  • 3. History • seL4 concluded successfully by end 2007 • 10,000 lines of C code • 2.2 person years of effort • L4.verified > 20 person years • For cost effective proof engineering a key consideration is proof productivity. NICTA Copyright 2014 3
  • 5. This study - Specs • Retrospective 9 projects from L4.verified. • All used Isabelle theorem prover. • Three formal specifications of seL4 – – Exec – models an executable representation of seL4’s design – Abstract – complete functional specification – CapDL – capabilities (access rights) between components NICTA Copyright 2014 5
  • 6. This study - Proofs • Six proofs – Three refinement proofs – – Code-to-exec, – Exec-to-abstract, – Abstract-to-CapDL. • Two security proofs – – Info.flow and – Integrity • CapDL policy proof. NICTA Copyright 2014 6
  • 7. Measures • Effort – in person weeks • Output – Lines of proof • Other variables – maximum team size, schedule pressure, overall difficulty, years experience with Isabelle, formal methods or theorem proving, the domain (operating systems). NICTA Copyright 2014 7
  • 8. The data NICTA Copyright 2014 8 Final Size (Kilo Lines of proof) Total Effort (Person weeks) Sched. Pressure Overall Diffic. Max Team (Headcount) CapDL Spec 2.14 27.5 AV LO 5 CapDL-policy proof 0.85 11.3 LO AV 1 Abstract-to-CapDL Refinement 20.4 66 AV AV 5 Integrity 7.05 28.5 V. HI HI 4 Info.Flow 27.1 75.9 V.HI V.HI 8 Exec-to-Abstract Refinement 96.6 368 HI V.HI 6 Code-to-Exec Refinement 53.34 138 V.HI HI 6 Exec Spec Haskell 6.01 92 AV HI 1 Abstract Spec 4.9 15.3 AV AV 3
  • 9. Effort – Size Plot for projects NICTA Copyright 2014 9 !
  • 10. Project relationships • Total Project Effort = 9.98 + 3.35*Final Size R2 = 0.914, p<0.001 • Possible outliers – large abstract refinement and executable spec. • Weak evidence that schedule pressure is associated with decreased effort, and overall difficulty and maximum team size with increased effort. But small sample size and not significant at 0.05. Experience not significant. NICTA Copyright 2014 10
  • 11. Effort – Size plot for individuals NICTA Copyright 2014 11 !
  • 12. Individual relationships • 24 Individual contributions to five projects • R2 = 0.93, p<0.001 NICTA Copyright 2014 12
  • 13. Threats • construct validity – Limitations of lines of proof as a size measure (?) – Subjective measures carefully defined • external validity – seL4 only therefore limited, but aids internal validity – Generalization not known • Internal validity – Wherever possible measures were carefully defined and reviewed by multiple persons – Factors not measured? NICTA Copyright 2014 13
  • 14. Conclusions • Proof engineering can bring the benefits of formal verification to more software engineering projects, but understanding cost effectiveness is an issue. • We find proof size and effort are strongly related for projects and individuals in L4verified • Significant opportunity for the empirical community to help understand rework, tools and techniques, proof patterns, reuse and so on in proof engineering. NICTA Copyright 2014 14