Herbie run

Date:Tuesday, August 6th, 2024
Commit:2.2 on release
Hostname:nightly with Racket 8.11.1
Seed:2024219
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: 13.6min)

sample3.4min (25.3%)

Memory
852.9MiB live, 246 154.1MiB allocated
Samples
1.0min121 391×1valid
36.5s280 563×0valid
32.4s14 248×5exit
17.3s24 123×2valid
8.1s3 218×3valid
6.2s35 075×0exit
3.8s10 785×1exit
3.1s11 116×1invalid
2.9s20 651×0invalid
514.0ms33×4exit
282.0ms738×2invalid
208.0ms20×3exit
78.0ms17×4valid
67.0ms11×2exit
Precisions
Click to see histograms. Total time spent on operations: 2.5min
ival-pow: 27.2s (18.3% of total)
ival-mult: 18.1s (12.2% of total)
ival-cos: 17.4s (11.7% of total)
ival-sin: 16.3s (11% of total)
ival-div: 11.9s (8% of total)
adjust: 11.5s (7.7% of total)
ival-pow2: 8.4s (5.7% of total)
ival-sub: 7.4s (5% of total)
ival-add: 6.1s (4.1% of total)
ival-exp: 5.4s (3.6% of total)
ival-log: 4.3s (2.9% of total)
ival-sqrt: 3.8s (2.5% of total)
ival-neg: 2.0s (1.3% of total)
const: 1.8s (1.2% of total)
ival-<: 1.5s (1% of total)
ival-pi: 792.0ms (0.5% of total)
ival-atan2: 767.0ms (0.5% of total)
ival-hypot: 708.0ms (0.5% of total)
ival-tan: 680.0ms (0.5% of total)
ival-acos: 441.0ms (0.3% of total)
exact: 401.0ms (0.3% of total)
ival-cbrt: 359.0ms (0.2% of total)
ival-atan: 329.0ms (0.2% of total)
ival-and: 312.0ms (0.2% of total)
ival-true: 307.0ms (0.2% of total)
ival-log1p: 205.0ms (0.1% of total)
ival-assert: 198.0ms (0.1% of total)
ival-fabs: 156.0ms (0.1% of total)
ival-asin: 150.0ms (0.1% of total)
ival-<=: 150.0ms (0.1% of total)
ival-==: 1.0ms (0% of total)
ival-or: 0.0ms (0% of total)
Bogosity

simplify2.6min (18.9%)

Memory
-550.6MiB live, 193 867.9MiB allocated
Algorithm
458×egg-herbie
Rules
3 564 130×lower-fma.f32
3 563 110×lower-fma.f64
1 753 866×lower-*.f32
1 749 594×lower-*.f64
942 940×lower-+.f32
Stop Event
610×iter limit
317×node limit
141×saturated
Counts
83 748 → 83 070

rewrite1.3min (9.5%)

Memory
515.1MiB live, 105 155.7MiB allocated
Algorithm
203×batch-egg-rewrite
Rules
903 662×lower-fma.f32
902 670×lower-fma.f64
874 932×lower-*.f32
870 806×lower-*.f64
689 758×lower-/.f32
Stop Event
416×iter limit
200×node limit
unsound
saturated
Counts
3 401 → 156 326

soundness1.2min (8.7%)

Memory
105.0MiB live, 53 748.9MiB allocated
Rules
2 302 080×lower-fma.f32
2 301 406×lower-fma.f64
1 531 192×lower-*.f32
1 528 358×lower-*.f64
769 690×lower-+.f32
Stop Event
435×iter limit
291×node limit
45×fuel
done
saturated
Compiler

Compiled 58 782 to 27 570 computations (53.1% saved)

localize58.9s (7.2%)

Memory
312.7MiB live, 77 767.8MiB allocated
Samples
18.0s14 498×1valid
7.6s28 426×0valid
7.2s3 914×2valid
4.1s664×5exit
1.5s3 090×0invalid
736.0ms418×3valid
583.0ms117×4exit
317.0ms561×1exit
250.0ms181×1invalid
47.0ms3exit
31.0ms2exit
16.0ms73×0exit
15.0ms14×2invalid
7.0ms3invalid
Compiler

Compiled 91 548 to 7 937 computations (91.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.1s
ival-mult: 7.3s (22.9% of total)
ival-cos: 4.9s (15.3% of total)
ival-sin: 4.3s (13.5% of total)
ival-div: 3.1s (9.5% of total)
adjust: 2.7s (8.3% of total)
ival-add: 2.2s (6.8% of total)
const: 1.2s (3.8% of total)
ival-sqrt: 948.0ms (3% of total)
ival-pow2: 877.0ms (2.7% of total)
ival-sub: 860.0ms (2.7% of total)
ival-cbrt: 753.0ms (2.3% of total)
ival-atan2: 658.0ms (2% of total)
ival-log: 345.0ms (1.1% of total)
ival-exp: 332.0ms (1% of total)
ival-pow: 287.0ms (0.9% of total)
ival-neg: 269.0ms (0.8% of total)
ival-acos: 145.0ms (0.5% of total)
ival-tan: 135.0ms (0.4% of total)
ival-atan: 125.0ms (0.4% of total)
ival-fabs: 111.0ms (0.3% of total)
ival-pi: 103.0ms (0.3% of total)
ival-hypot: 99.0ms (0.3% of total)
ival-log1p: 97.0ms (0.3% of total)
ival-asin: 97.0ms (0.3% of total)
exact: 84.0ms (0.3% of total)
ival-true: 46.0ms (0.1% of total)
ival-assert: 22.0ms (0.1% of total)
ival-expm1: 4.0ms (0% of total)
ival-cosh: 3.0ms (0% of total)
ival-tanh: 2.0ms (0% of total)
ival-sinh: 2.0ms (0% of total)

eval56.3s (6.9%)

Memory
1 315.0MiB live, 83 139.0MiB allocated
Compiler

Compiled 12 910 116 to 795 223 computations (93.8% saved)

prune55.2s (6.8%)

Memory
-1 990.7MiB live, 89 002.5MiB allocated
Counts
302 246 → 8 231
Compiler

Compiled 630 708 to 283 480 computations (55.1% saved)

regimes49.4s (6.1%)

Memory
-7.6MiB live, 69 662.0MiB allocated
Counts
26 842 → 1 117
Calls

155 calls:

3.5s
phi1
3.2s
phi2
2.9s
lambda1
2.9s
b
2.8s
lambda2
Compiler

Compiled 31 624 to 17 499 computations (44.7% saved)

explain21.3s (2.6%)

Memory
-128.4MiB live, 30 185.4MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity18076
+.f64#fcancellation171735
sin.f64#fsensitivity15522
sqrt.f64#foflow-rescue14030
-.f64#fcancellation9528
log.f64#fsensitivity6011
-.f64#fnan-rescue4930
/.f64#fo/n4570
/.f64#fu/u3440
/.f64#fo/o2680
*.f64#fn*o2630
/.f64#fu/n1800
exp.f64#fsensitivity16726
sqrt.f64#fuflow-rescue1590
/.f64#fn/o1210
*.f64#fn*u1110
cbrt.f64#foflow-rescue930
/.f64#fn/u400
*.f64#fu*o350
cbrt.f64#fuflow-rescue340
*.f64#fo*u340
acos.f64(acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2)))))sensitivity226
pow.f64#fsensitivity80
pow.f64(pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 t)))) c_p)uflow-rescue60
(pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 t)))) c_p)underflow9
(/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 t))))underflow6
log.f64#foflow-rescue40
log.f64(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))uflow-rescue20
(+.f64 (exp.f64 a) (exp.f64 b))underflow2
(exp.f64 a)underflow128
(exp.f64 b)underflow2
Confusion
Predicted +Predicted -
+571778
-14066111
Precision
0.8026112593008564
Recall
0.9865401207937877
Confusion?
Predicted +Predicted MaybePredicted -
+57174632
-1406276084
Precision?
0.8008615897720957
Recall?
0.9944779982743744
Freqs
test
numberfreq
06189
14746
21648
3354
4224
584
635
717
811
94
Total Confusion?
Predicted +Predicted MaybePredicted -
+4210
-207
Precision?
0.9555555555555556
Recall?
1.0
Samples
4.0s7 888×1valid
2.3s16 372×0valid
2.2s2 038×2valid
559.0ms326×3valid
Compiler

Compiled 21 748 to 3 336 computations (84.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.3s
ival-sin: 1.7s (22.9% of total)
ival-cos: 1.3s (17.5% of total)
ival-mult: 1.0s (14.2% of total)
ival-div: 556.0ms (7.6% of total)
adjust: 449.0ms (6.1% of total)
ival-pow2: 405.0ms (5.5% of total)
ival-add: 347.0ms (4.8% of total)
ival-sub: 314.0ms (4.3% of total)
ival-log: 278.0ms (3.8% of total)
ival-exp: 216.0ms (3% of total)
ival-sqrt: 183.0ms (2.5% of total)
ival-atan: 166.0ms (2.3% of total)
ival-neg: 64.0ms (0.9% of total)
ival-tan: 62.0ms (0.8% of total)
ival-pi: 52.0ms (0.7% of total)
ival-atan2: 42.0ms (0.6% of total)
ival-hypot: 41.0ms (0.6% of total)
ival-true: 31.0ms (0.4% of total)
ival-acos: 21.0ms (0.3% of total)
ival-pow: 21.0ms (0.3% of total)
exact: 18.0ms (0.2% of total)
ival-cbrt: 17.0ms (0.2% of total)
ival-assert: 11.0ms (0.2% of total)
ival-fabs: 11.0ms (0.2% of total)
ival-asin: 8.0ms (0.1% of total)
ival-log1p: 5.0ms (0.1% of total)

preprocess18.4s (2.2%)

Memory
124.2MiB live, 20 971.5MiB allocated
Algorithm
52×egg-herbie
Rules
238 304×lower-fma.f64
238 304×lower-fma.f32
81 478×lower-*.f32
81 146×lower-*.f64
46 832×unsub-neg
Stop Event
104×iter limit
61×saturated
43×node limit
Compiler

Compiled 68 618 to 19 058 computations (72.2% saved)

series17.5s (2.1%)

Memory
-18.9MiB live, 22 045.0MiB allocated
Counts
3 401 → 83 748
Calls

16788 calls:

TimeVariablePointExpression
314.0ms
a
@-inf
(/ a (* (- (sqrt (+ (* c (* a -3)) (* b b))) b) 1/3))
305.0ms
x
@0
(log (* x 2))
260.0ms
t
@inf
(/ (* (pow (/ 1 (+ 1 (exp (neg s)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg s))))) c_n)) (* (pow (/ 1 (+ 1 (exp (neg t)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg t))))) c_n)))
181.0ms
b
@0
(/ (/ (* -2 (+ (* a (/ (* a (* c c)) (* b b))) (* a c))) b) (* 2 a))
161.0ms
s
@inf
(/ (* (pow (/ 1 (+ 1 (exp (neg s)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg s))))) c_n)) (* (pow (/ 1 (+ 1 (exp (neg t)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg t))))) c_n)))

analyze16.4s (2%)

Memory
379.6MiB live, 21 048.4MiB allocated
Algorithm
53×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%79.4%20.6%0%0%0%0
17.2%13.7%65.7%20.6%0%0%0%1
25%19.6%58.5%20.6%0%1.3%0%2
35.2%26.6%48.9%20.6%0%3.8%0%3
42.3%31.7%43.1%20.6%0%4.5%0%4
47.9%35.6%38.7%20.6%0%5.1%0%5
51%37.6%36.1%20.6%0%5.7%0%6
54.4%39.7%33.2%20.6%0%6.5%0%7
56.2%40.7%31.8%20.6%0%6.8%0%8
59%42.5%29.5%20.6%0%7.4%0%9
60.3%43.2%28.4%20.6%0%7.7%0%10
62.1%44.3%27%20.6%0%8.1%0%11
63.6%45.1%25.8%20.6%0%8.5%0%12
Compiler

Compiled 1 826 to 990 computations (45.8% saved)

bsearch13.7s (1.7%)

Memory
121.4MiB live, 19 377.3MiB allocated
Algorithm
350×binary-search
204×left-value
Stop Event
336×narrow-enough
14×predicate-same
Samples
6.5s8 461×1valid
2.6s13 625×0valid
1.4s1 410×2valid
431.0ms120×3valid
58.0ms131×1exit
41.0ms451×0invalid
1.0ms5exit
0.0ms0exit
Compiler

Compiled 130 992 to 87 700 computations (33% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.9s
ival-sin: 2.5s (25.5% of total)
ival-cos: 2.3s (23.1% of total)
ival-mult: 1.4s (13.7% of total)
ival-div: 605.0ms (6.1% of total)
ival-pow2: 600.0ms (6.1% of total)
adjust: 596.0ms (6% of total)
ival-add: 510.0ms (5.2% of total)
ival-sub: 443.0ms (4.5% of total)
ival-pi: 247.0ms (2.5% of total)
ival-sqrt: 192.0ms (1.9% of total)
ival-atan2: 131.0ms (1.3% of total)
ival-acos: 101.0ms (1% of total)
ival-tan: 61.0ms (0.6% of total)
ival-atan: 58.0ms (0.6% of total)
ival-exp: 44.0ms (0.4% of total)
ival-neg: 26.0ms (0.3% of total)
ival-hypot: 25.0ms (0.3% of total)
ival-true: 19.0ms (0.2% of total)
exact: 13.0ms (0.1% of total)
ival-asin: 12.0ms (0.1% of total)
ival-fabs: 11.0ms (0.1% of total)
ival-assert: 10.0ms (0.1% of total)
ival-log: 7.0ms (0.1% of total)
ival-pow: 4.0ms (0% of total)
ival-log1p: 2.0ms (0% of total)

end0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated

Profiling

Loading profile data...