A mathematical model of your heart · Version 0.1

Your heart wants to speak. Mathematics can listen.

A resting ECG captures the heart at quiet. A treadmill test records how it responds to effort. This deterministic framework brings those objective measurements together into one auditable portrait of rest, exercise and recovery—without issuing a diagnosis or inventing missing data.

Research use only · No diagnosis or clinical decision output · Raw documents automatically expire within 24 hours

INPUT / 02 DOCUMENTS PROTOCOL READY
ECG
Resting 12-lead ECGElectrical baseline
01
TMT
Treadmill-test reportExercise and recovery response
02
CALIBRATERECONSTRUCTCOMPARE

AI reads the instrument. Mathematics governs the result.

01

Extract

Direct page vision recovers printed facts, grids and trace coordinates with source-level provenance.

02

Reject

Fixed quality rules exclude ambiguous calibration, incompatible leads and artifact-limited segments.

03

Reconstruct

Versioned equations produce workload, heart-rate, pressure, recovery and lead-wise electrical measurements.

Every number retains its path back to the page.

The vision layer proposes measurements. Hard rules decide whether they may enter the model. Accepted values carry document, page, lead, stage and confidence provenance.

  1. 01
    Document classificationIdentify resting ECG, TMT summary, stage table and waveform panels.
    layout map
  2. 02
    Calibration recoveryRead paper speed, voltage scale, grid spacing and lead labels.
    mm → ms / mV
  3. 03
    Signal and table extractionTrace waveforms; parse stage, speed, grade, heart rate and blood pressure.
    source tagged
  4. 04
    Compatibility checksReject missing calibration, uncertain leads, clipping, overlap or motion-dominated intervals.
    fail closed
  5. 05
    Fixed computationRun declared equations with units, rounding rules and version identifiers.
    reproducible
  6. 06
    Research outputReturn measurements, quality flags and non-identifiable quantities—not a diagnosis.
    auditable

Declared equations, not opaque scores.

Illustrative formulas below describe the intended computation layer. Their use depends on the protocol, units and measurement quality encoded in each source report.

01 / External workloadVO₂ = v[0.17 + 0.79G] + 3.5

v in m/min, G as treadmill grade; MET = VO₂ / 3.5

02 / Heart-rate recoveryHRR₁ = HRpeak − HR1min

Reported at one and two minutes when recovery samples are measurable.

03 / Pressure responseRPP = HR × SBP

With MAP = DBP + (SBP − DBP) / 3 for each recorded stage.

04 / Lead-wise ST levelST₆₀,l = Vₗ(J + 60 ms) − baselineₗ

Measured only after grid calibration, lead confirmation and artifact checks.

Baseline rule

The TMT's own pre-exercise trace is the preferred comparator for exercise ST measurements. A separate resting ECG supports morphology, interval and artifact review, but direct voltage subtraction is withheld when resting and exercise lead placements differ.

A transparent inversion of an exercise-capacity reference equation.

When age, sex, body weight and a measurable peak treadmill workload are present, the model may express achieved capacity as an age-equivalent for cardiorespiratory fitness. It is labelled peak-achieved exercise-capacity-equivalent age; it is not an estimate of coronary anatomy, future disease or remaining lifespan.

  • Report achieved VO₂ and percent of predicted first
  • Show the reference equation and every input
  • Suppress the result when required variables are absent
FRIEND / 2017REFERENCE INVERSION

Predicted exercise capacity

VO₂pred = 79.9 − 0.39A − 13.7S − 0.127Wlb

Age-equivalent at achieved capacity

Aeq = [79.9 − 13.7S − 0.127Wlb − VO₂ach] / 0.39S = 0 male, 1 female. A reference comparison is meaningful only for populations compatible with the source model.

What the model can reconstruct.

heart-rate trajectorytreadmill workloadblood-pressure responseheart-rate recoverylead-wise ST measurementsresting intervalsquality flags

What two scanned reports cannot establish.

  • Ejection fraction or stroke volume
  • Coronary anatomy, stenosis or flow
  • Valve function
  • Directly measured oxygen consumption
  • Presence or absence of cardiac disease

Built from published components.

The protocol combines established work on ECG image digitisation, exercise testing, functional capacity, recovery and algorithm evaluation. Each source supports a component—not automatic validation of the integrated system.

Additional boundary evidence

Lead-placement effects: Papouchado et al., Mason–Likar modification. Cardiovascular model identifiability: Pironet et al., Medical Engineering & Physics.

Scientifically aligned. Not yet clinically validated.

The next phase is prospective evaluation against raw digital ECG and treadmill-system exports, with annotation by independent readers and held-out manufacturers and sites.

Literature specificationComplete
Deterministic equation registryIn design
Scan-to-waveform benchmarkPlanned
External multi-site validationPlanned
Clinical decision useNot authorised
Waveform errorInterval agreementST-level agreementPrinted-field transcription accuracyFailure-rate reportingAAMI EC57-aligned reporting
“If the page cannot support the number, the model must not produce the number.”

This public page documents the intended protocol. It does not accept patient reports, provide medical advice, replace a clinician or certify that an individual is free of disease.

Return to protocol