Herbie run

Date:Thursday, May 23rd, 2024
Commit:6b737c7e on explanations-trifurcate
Hostname:nightly with Racket 8.11.1
Seed:2024144
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 7.4min)

sample1.6min (21.7%)

Results
40.0s221328×0valid
12.9s28900×1valid
10.4s64939×0invalid
5.9s13978×1invalid
3.3s6769×2valid
3.3s6294×3valid
636.0ms897×4valid
424.0ms969×2invalid
37.0ms248×0unsamplable
4.0ms5exit
3.0ms5valid
Precisions
Click to see histograms. Total time spent on operations: 57.4s
ival-mult: 14.5s (25.3% of total)
ival-div: 8.5s (14.8% of total)
ival-pow: 6.7s (11.6% of total)
ival-tan: 4.5s (7.8% of total)
ival-sub: 4.2s (7.3% of total)
ival-sqrt: 3.3s (5.7% of total)
ival-add: 3.0s (5.2% of total)
ival-sin: 2.9s (5% of total)
ival-exp: 2.4s (4.2% of total)
backward-pass: 2.0s (3.5% of total)
ival-cos: 960.0ms (1.7% of total)
...c/correct-round.rkt:121:19: 769.0ms (1.3% of total)
const: 681.0ms (1.2% of total)
ival-neg: 636.0ms (1.1% of total)
ival-pi: 628.0ms (1.1% of total)
ival-acos: 562.0ms (1% of total)
ival-log: 347.0ms (0.6% of total)
ival-asin: 281.0ms (0.5% of total)
ival-hypot: 280.0ms (0.5% of total)
ival-<: 133.0ms (0.2% of total)
ival-fabs: 114.0ms (0.2% of total)
ival-atan: 91.0ms (0.2% of total)
ival-and: 11.0ms (0% of total)
Bogosity

simplify1.4min (18.3%)

Algorithm
286×egg-herbie
Rules
111922×fma-define
66317×fma-neg
62595×times-frac
58666×associate-*r*
55267×distribute-lft-in
Stop Event
76×saturated
210×node limit
Counts
94154 → 78213

soundness1.0min (13.7%)

Rules
51780×fma-define
44454×log1p-expm1-u
37401×times-frac
34920×associate-*r*
33627×expm1-log1p-u
Stop Event
saturated
170×node limit
29×fuel
unsound
done
Compiler

Compiled 40327 to 12592 computations (68.8% saved)

localize36.8s (8.3%)

Results
10.3s21392×0valid
5.0s4398×1valid
3.2s782×5exit
2.9s4205×0invalid
2.3s608×3valid
1.5s860×2valid
1.2s115×4valid
52.0ms152×0unsamplable
Compiler

Compiled 36649 to 4245 computations (88.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.9s
ival-mult: 3.6s (22.7% of total)
ival-div: 2.2s (14.1% of total)
ival-pow: 1.9s (12.2% of total)
ival-tan: 1.0s (6.4% of total)
backward-pass: 1.0s (6.3% of total)
ival-sqrt: 960.0ms (6.1% of total)
ival-add: 693.0ms (4.4% of total)
ival-sin: 678.0ms (4.3% of total)
ival-fma: 573.0ms (3.6% of total)
ival-sub: 567.0ms (3.6% of total)
ival-cos: 492.0ms (3.1% of total)
ival-exp: 442.0ms (2.8% of total)
ival-log: 282.0ms (1.8% of total)
ival-expm1: 227.0ms (1.4% of total)
ival-hypot: 206.0ms (1.3% of total)
ival-cbrt: 162.0ms (1% of total)
...c/correct-round.rkt:121:19: 157.0ms (1% of total)
ival-acos: 155.0ms (1% of total)
const: 121.0ms (0.8% of total)
ival-asin: 109.0ms (0.7% of total)
ival-log1p: 86.0ms (0.5% of total)
ival-neg: 76.0ms (0.5% of total)
ival-pi: 45.0ms (0.3% of total)
ival-atan: 34.0ms (0.2% of total)
ival-fabs: 19.0ms (0.1% of total)

rewrite33.8s (7.6%)

Algorithm
127×batch-egg-rewrite
Rules
71162×log1p-expm1-u
54581×expm1-log1p-u
32999×pow1
32568×add-exp-log
32138×add-log-exp
Stop Event
126×node limit
unsound
Counts
1891 → 49649

prune29.1s (6.6%)

Counts
112073 → 3166
Compiler

Compiled 144830 to 81044 computations (44% saved)

eval23.6s (5.3%)

Compiler

Compiled 3440046 to 462743 computations (86.5% saved)

series16.7s (3.8%)

Counts
1891 → 44505
Calls

12171 calls:

TimeVariablePointExpression
392.0ms
U
@-inf
(log U)
309.0ms
x
@0
(* (+ 1 x) (/ -1 B))
188.0ms
v
@0
(log (acos (/ (+ 1 (* (pow v 2) -5)) (+ (* v v) -1))))
170.0ms
K
@inf
(log (+ 1 (cos (* K 1/2))))
157.0ms
D
@0
(+ (* (/ c0 (* w h)) (/ (* d d) (* D D))) (sqrt (- (* (* (/ c0 (* w h)) (/ (* d d) (* D D))) (* (/ c0 (* w h)) (/ (* d d) (* D D)))) (* M M))))

regimes16.4s (3.7%)

Counts
9636 → 668
Calls

156 calls:

1.5s
l
858.0ms
t
734.0ms
k
474.0ms
F
459.0ms
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))
Compiler

Compiled 8130 to 6032 computations (25.8% saved)

bsearch13.9s (3.1%)

Algorithm
281×binary-search
66×left-value
Stop Event
predicate-same
273×narrow-enough
Results
7.5s30936×0valid
1.6s7902×0invalid
360.0ms677×2valid
297.0ms1144×1valid
93.0ms167×3valid
84.0ms83×2invalid
79.0ms52×4valid
38.0ms173×1invalid
Compiler

Compiled 77960 to 56535 computations (27.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.6s
ival-mult: 2.4s (31.1% of total)
ival-div: 1.4s (18.3% of total)
ival-pow: 1.4s (18.2% of total)
ival-add: 479.0ms (6.3% of total)
ival-tan: 430.0ms (5.7% of total)
ival-sub: 351.0ms (4.6% of total)
ival-sin: 314.0ms (4.1% of total)
ival-neg: 254.0ms (3.3% of total)
ival-exp: 221.0ms (2.9% of total)
ival-sqrt: 123.0ms (1.6% of total)
backward-pass: 85.0ms (1.1% of total)
ival-cos: 83.0ms (1.1% of total)
const: 72.0ms (0.9% of total)
...c/correct-round.rkt:121:19: 19.0ms (0.3% of total)
ival-hypot: 13.0ms (0.2% of total)
ival-atan: 8.0ms (0.1% of total)
ival-pi: 5.0ms (0.1% of total)
ival-asin: 4.0ms (0.1% of total)
ival-fabs: 1.0ms (0% of total)

analyze13.3s (3%)

Algorithm
32×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%98.2%1.8%0%0%0%0
22.2%21.8%76.4%1.8%0%0%0%1
22.6%21.8%74.8%1.8%0%1.6%0%2
28.6%26.5%66.3%1.8%0%5.5%0%3
32.6%29.6%61.2%1.8%0%7%0.4%4
35.8%32.3%58%1.8%0%7.4%0.6%5
40.1%36.1%54%1.8%0%7.4%0.7%6
45.5%40.6%48.7%1.8%0%8.1%0.8%7
47.9%42.1%45.8%1.8%0%9.5%0.8%8
51%44.7%42.9%1.8%0%9.8%0.9%9
52.1%45.5%41.8%1.8%0%10%0.9%10
53.9%46.8%39.9%1.8%0%10.6%1%11
55.7%47.9%38.2%1.8%0%11.1%1%12
Compiler

Compiled 861 to 546 computations (36.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.5s
ival-mult: 2.5s (33.7% of total)
ival-pow: 1.4s (19.1% of total)
ival-div: 956.0ms (12.8% of total)
ival-add: 877.0ms (11.8% of total)
ival-sub: 341.0ms (4.6% of total)
ival-sqrt: 274.0ms (3.7% of total)
ival-sin: 254.0ms (3.4% of total)
...c/correct-round.rkt:121:19: 205.0ms (2.7% of total)
ival-tan: 191.0ms (2.6% of total)
ival-neg: 85.0ms (1.1% of total)
const: 81.0ms (1.1% of total)
ival-acos: 52.0ms (0.7% of total)
ival-exp: 50.0ms (0.7% of total)
ival-<: 30.0ms (0.4% of total)
ival-asin: 26.0ms (0.3% of total)
ival-pi: 25.0ms (0.3% of total)
ival-fabs: 19.0ms (0.3% of total)
ival-cos: 17.0ms (0.2% of total)
backward-pass: 17.0ms (0.2% of total)
ival-log: 13.0ms (0.2% of total)
ival-and: 4.0ms (0.1% of total)
ival-atan: 2.0ms (0% of total)
ival-hypot: 0.0ms (0% of total)

explain12.0s (2.7%)

Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue4900
-.f64#fcancellation4400
cos.f64#fsensitivity4060
+.f64#fnan-rescue2640
acos.f64(acos.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 5 binary64) (*.f64 v v))) (-.f64 (*.f64 v v) #s(literal 1 binary64))))sensitivity2542
*.f64#fn*o2470
sqrt.f64#fuflow-rescue1660
pow.f64#foflow-rescue1470
asin.f64(asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (/.f64 Om Omc) #s(literal 2 binary64))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 (/.f64 t l) #s(literal 2 binary64)))))))sensitivity1290
*.f64#fu*o1210
tan.f64(tan.f64 (*.f64 (PI.f64) l))sensitivity1210
-.f64#fnan-rescue1190
*.f64#fn*u760
pow.f64(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) (PI.f64)) n) (/.f64 (-.f64 #s(literal 1 binary64) k) #s(literal 2 binary64)))sensitivity7527
/.f64#fo/o710
*.f64#fo*u700
/.f64#fo/n660
+.f64#fcancellation660
cos.f64(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64)) M))oflow-rescue540
(/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64))overflow54
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64)) M)overflow54
(*.f64 K (+.f64 m n))overflow54
pow.f64#fuflow-rescue480
/.f64#fn/u430
/.f64#fu/u420
/.f64#fn/o400
/.f64#fu/n180
log.f64(log.f64 (/.f64 (+.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)))) (-.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f))))))sensitivity60
exp.f64(exp.f64 (/.f64 (+.f64 (+.f64 (+.f64 Ev Vef) EAccept) (neg.f64 mu)) KbT))sensitivity20
Confusion
Predicted +Predicted -
+197042
-11465034
Precision
0.6322207958921694
Recall
0.9791252485089463
Confusion?
Predicted +Predicted MaybePredicted -
+1970240
-1146275007
Precision?
0.6270270270270271
Recall?
0.9801192842942346
Freqs
test
numberfreq
05076
12721
2333
354
48
Total Confusion?
Predicted +Predicted MaybePredicted -
+2600
-105
Precision?
0.9629629629629629
Recall?
1.0
Results
3.5s13132×0valid
1.4s2260×1valid
434.0ms494×2valid
316.0ms418×3valid
74.0ms62×4valid
19.0ms18×5exit
Compiler

Compiled 8566 to 2100 computations (75.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.2s
ival-mult: 644.0ms (20.2% of total)
ival-div: 538.0ms (16.9% of total)
ival-tan: 390.0ms (12.2% of total)
ival-pow: 327.0ms (10.2% of total)
ival-sub: 270.0ms (8.5% of total)
ival-pi: 186.0ms (5.8% of total)
backward-pass: 158.0ms (5% of total)
ival-add: 135.0ms (4.2% of total)
ival-sqrt: 107.0ms (3.4% of total)
ival-sin: 107.0ms (3.4% of total)
ival-exp: 91.0ms (2.9% of total)
ival-cos: 61.0ms (1.9% of total)
const: 40.0ms (1.3% of total)
ival-neg: 39.0ms (1.2% of total)
ival-acos: 31.0ms (1% of total)
ival-hypot: 18.0ms (0.6% of total)
ival-log: 14.0ms (0.4% of total)
...c/correct-round.rkt:121:19: 12.0ms (0.4% of total)
ival-asin: 9.0ms (0.3% of total)
ival-atan: 7.0ms (0.2% of total)
ival-fabs: 5.0ms (0.2% of total)

preprocess9.7s (2.2%)

Algorithm
32×egg-herbie
Rules
20025×fma-define
13409×fma-neg
8518×times-frac
7943×unsub-neg
7239×distribute-lft-in
Stop Event
saturated
23×node limit
Compiler

Compiled 46594 to 20104 computations (56.9% saved)

end0.0ms (0%)

Profiling

Loading profile data...