Herbie run

Date:Thursday, August 22nd, 2024
Commit:0a751149 on faster-egg
Hostname:nightly with Racket 8.11.1
Seed:2024235
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: 17.8min)

prune6.7min (37.5%)

Memory
-528.6MiB live, 1 006 186.2MiB allocated
Counts
293 722 → 7 773
Compiler

Compiled 660 560 to 282 788 computations (57.2% saved)

sample3.3min (18.8%)

Memory
236.8MiB live, 266 790.1MiB allocated
Samples
57.8s121 915×1valid
36.3s279 997×0valid
30.3s14 261×5exit
16.8s24 198×2valid
7.4s3 173×3valid
6.0s34 857×0exit
4.2s10 888×1exit
3.1s20 670×0invalid
2.1s11 168×1invalid
855.0ms36×4exit
317.0ms804×2invalid
276.0ms14×2exit
236.0ms29×4valid
120.0ms13×3exit
Precisions
Click to see histograms. Total time spent on operations: 2.4min
ival-pow: 25.7s (17.8% of total)
ival-mult: 17.4s (12.1% of total)
ival-cos: 16.9s (11.7% of total)
ival-sin: 16.2s (11.2% of total)
ival-div: 12.5s (8.7% of total)
adjust: 9.4s (6.6% of total)
ival-pow2: 8.3s (5.8% of total)
ival-add: 6.9s (4.8% of total)
ival-sub: 6.7s (4.6% of total)
ival-exp: 5.4s (3.8% of total)
ival-sqrt: 4.0s (2.8% of total)
ival-log: 3.7s (2.6% of total)
ival-neg: 2.2s (1.5% of total)
const: 1.5s (1% of total)
ival-<: 1.4s (1% of total)
ival-atan2: 1.1s (0.7% of total)
ival-tan: 905.0ms (0.6% of total)
ival-hypot: 590.0ms (0.4% of total)
ival-pi: 586.0ms (0.4% of total)
exact: 413.0ms (0.3% of total)
ival-acos: 360.0ms (0.2% of total)
ival-and: 320.0ms (0.2% of total)
ival-atan: 307.0ms (0.2% of total)
ival-true: 306.0ms (0.2% of total)
ival-cbrt: 293.0ms (0.2% of total)
ival-assert: 214.0ms (0.1% of total)
ival-<=: 191.0ms (0.1% of total)
ival-asin: 180.0ms (0.1% of total)
ival-fabs: 138.0ms (0.1% of total)
ival-log1p: 121.0ms (0.1% of total)
ival-==: 1.0ms (0% of total)
ival-or: 0.0ms (0% of total)
Bogosity

simplify1.5min (8.4%)

Memory
1 123.5MiB live, 112 199.3MiB allocated
Algorithm
453×egg-herbie
Rules
3 840 084×lower-fma.f32
3 839 070×lower-fma.f64
1 780 332×lower-*.f32
1 775 918×lower-*.f64
993 806×lower-+.f32
Stop Event
603×iter limit
326×node limit
127×saturated
Counts
98 772 → 98 136

localize1.3min (7.1%)

Memory
67.5MiB live, 117 838.7MiB allocated
Samples
24.7s17 024×1valid
10.0s4 967×2valid
8.0s26 119×0valid
8.0s704×5exit
1.7s1 715×0invalid
1.3s404×3valid
1.1s98×4exit
306.0ms154×1invalid
304.0ms189×1exit
116.0ms68×2invalid
47.0ms3exit
13.0ms2exit
5.0ms3invalid
4.0ms0exit
3.0ms4valid
Compiler

Compiled 127 118 to 9 645 computations (92.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 45.0s
ival-mult: 9.5s (21.2% of total)
ival-cos: 7.0s (15.6% of total)
ival-sin: 6.6s (14.7% of total)
ival-div: 4.6s (10.3% of total)
adjust: 4.0s (9% of total)
ival-add: 2.9s (6.4% of total)
ival-sub: 1.6s (3.6% of total)
ival-pow2: 1.5s (3.3% of total)
const: 1.2s (2.8% of total)
ival-pow: 975.0ms (2.2% of total)
ival-sqrt: 888.0ms (2% of total)
ival-exp: 859.0ms (1.9% of total)
ival-log: 816.0ms (1.8% of total)
ival-hypot: 448.0ms (1% of total)
ival-neg: 348.0ms (0.8% of total)
ival-atan2: 312.0ms (0.7% of total)
ival-log1p: 268.0ms (0.6% of total)
ival-tan: 166.0ms (0.4% of total)
ival-acos: 164.0ms (0.4% of total)
ival-cbrt: 159.0ms (0.4% of total)
ival-atan: 131.0ms (0.3% of total)
ival-pi: 102.0ms (0.2% of total)
exact: 100.0ms (0.2% of total)
ival-fabs: 71.0ms (0.2% of total)
ival-true: 46.0ms (0.1% of total)
ival-cosh: 25.0ms (0.1% of total)
ival-assert: 24.0ms (0.1% of total)
ival-asin: 21.0ms (0% of total)
ival-expm1: 6.0ms (0% of total)
ival-copysign: 4.0ms (0% of total)
ival-tanh: 1.0ms (0% of total)
ival-sinh: 1.0ms (0% of total)

eval1.1min (6.1%)

Memory
523.4MiB live, 106 350.8MiB allocated
Compiler

Compiled 16 413 221 to 754 099 computations (95.4% saved)

soundness1.0min (5.9%)

Memory
-195.9MiB live, 49 365.1MiB allocated
Rules
2 244 738×lower-fma.f32
2 244 128×lower-fma.f64
1 458 592×lower-*.f32
1 455 790×lower-*.f64
756 208×lower-+.f32
Stop Event
409×iter limit
275×node limit
42×fuel
done
Compiler

Compiled 52 082 to 23 014 computations (55.8% saved)

rewrite48.8s (4.6%)

Memory
-223.4MiB live, 65 230.0MiB allocated
Rules
884 248×lower-*.f32
879 940×lower-*.f64
878 408×lower-fma.f32
877 414×lower-fma.f64
685 928×lower-/.f32
Stop Event
407×iter limit
200×node limit
saturated
Counts
3 708 → 136 935

regimes42.6s (4%)

Memory
117.4MiB live, 69 840.9MiB allocated
Counts
22 899 → 882
Calls

154 calls:

3.0s
phi1
2.9s
phi2
2.3s
lambda2
2.3s
lambda1
2.1s
b
Compiler

Compiled 24 675 to 14 896 computations (39.6% saved)

series24.0s (2.2%)

Memory
100.4MiB live, 38 561.1MiB allocated
Counts
3 708 → 98 772
Calls

12915 calls:

TimeVariablePointExpression
232.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)))
143.0ms
c_p
@-inf
(/ (pow (/ 1 (+ (exp (neg s)) 1)) c_p) (pow (/ 1 (+ (exp (neg t)) 1)) c_p))
123.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)))
121.0ms
x
@0
(* (+ (* (* x x) 1/6) 1) x)
105.0ms
a
@inf
(log (+ (exp a) (exp b)))

explain21.1s (2%)

Memory
-98.7MiB live, 32 106.5MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity18264
+.f64#fcancellation172231
sin.f64#fsensitivity15681
sqrt.f64#foflow-rescue13960
-.f64#fcancellation9347
log.f64#fsensitivity6111
-.f64#fnan-rescue5340
/.f64#fo/n4610
/.f64#fu/u3300
/.f64#fo/o3120
*.f64#fn*o2830
/.f64#fu/n1800
sqrt.f64#fuflow-rescue1710
exp.f64#fsensitivity14823
/.f64#fn/o1220
cbrt.f64#foflow-rescue810
*.f64#fn*u810
cbrt.f64#fuflow-rescue500
/.f64#fn/u360
*.f64#fo*u320
*.f64#fu*o240
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)))))sensitivity204
pow.f64#fuflow-rescue90
pow.f64#fsensitivity74
log.f64#foflow-rescue50
Confusion
Predicted +Predicted -
+574366
-13306173
Precision
0.8119609783684434
Recall
0.9886383198485109
Confusion?
Predicted +Predicted MaybePredicted -
+57433828
-1330326141
Precision?
0.8093238135237295
Recall?
0.9951798932690652
Freqs
test
numberfreq
06239
14658
21632
3391
4234
593
629
724
84
97
101
Total Confusion?
Predicted +Predicted MaybePredicted -
+4110
-307
Precision?
0.9333333333333333
Recall?
1.0
Samples
4.0s8 064×1valid
2.1s16 226×0valid
1.8s2 034×2valid
558.0ms296×3valid
9.0ms4valid
Compiler

Compiled 20 079 to 2 554 computations (87.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.8s
ival-sin: 1.6s (22.9% of total)
ival-cos: 1.2s (17.3% of total)
ival-mult: 1.0s (15.3% of total)
ival-div: 526.0ms (7.7% of total)
adjust: 395.0ms (5.8% of total)
ival-pow2: 367.0ms (5.4% of total)
ival-add: 341.0ms (5% of total)
ival-sub: 294.0ms (4.3% of total)
ival-exp: 214.0ms (3.2% of total)
ival-log: 203.0ms (3% of total)
ival-sqrt: 176.0ms (2.6% of total)
ival-neg: 87.0ms (1.3% of total)
ival-atan2: 79.0ms (1.2% of total)
ival-pow: 54.0ms (0.8% of total)
ival-tan: 50.0ms (0.7% of total)
ival-hypot: 39.0ms (0.6% of total)
ival-pi: 38.0ms (0.6% of total)
ival-atan: 30.0ms (0.4% of total)
ival-true: 25.0ms (0.4% of total)
ival-acos: 23.0ms (0.3% of total)
ival-fabs: 20.0ms (0.3% of total)
exact: 19.0ms (0.3% of total)
ival-cbrt: 17.0ms (0.3% of total)
ival-assert: 12.0ms (0.2% of total)
ival-asin: 8.0ms (0.1% of total)
ival-log1p: 6.0ms (0.1% of total)

analyze15.8s (1.5%)

Memory
265.9MiB live, 24 900.9MiB 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)

preprocess14.2s (1.3%)

Memory
385.8MiB live, 17 857.6MiB 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 63 447 to 21 042 computations (66.8% saved)

bsearch8.6s (0.8%)

Memory
-123.2MiB live, 13 581.6MiB allocated
Algorithm
252×binary-search
123×left-value
Stop Event
244×narrow-enough
predicate-same
Samples
4.5s6 175×1valid
2.0s11 334×0valid
272.0ms441×2valid
65.0ms34×3valid
26.0ms287×0invalid
12.0ms3exit
8.0ms20×1exit
2.0ms43×0exit
Compiler

Compiled 95 723 to 60 006 computations (37.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.8s
ival-cos: 1.7s (30.1% of total)
ival-sin: 1.7s (29.3% of total)
ival-mult: 735.0ms (12.7% of total)
adjust: 326.0ms (5.6% of total)
ival-div: 257.0ms (4.4% of total)
ival-sub: 216.0ms (3.7% of total)
ival-pow2: 214.0ms (3.7% of total)
ival-atan2: 113.0ms (2% of total)
ival-add: 111.0ms (1.9% of total)
ival-sqrt: 82.0ms (1.4% of total)
ival-acos: 64.0ms (1.1% of total)
ival-tan: 56.0ms (1% of total)
ival-exp: 31.0ms (0.5% of total)
ival-atan: 29.0ms (0.5% of total)
ival-hypot: 19.0ms (0.3% of total)
ival-neg: 17.0ms (0.3% of total)
ival-pi: 15.0ms (0.3% of total)
ival-true: 15.0ms (0.3% of total)
ival-asin: 11.0ms (0.2% of total)
ival-fabs: 10.0ms (0.2% of total)
ival-assert: 8.0ms (0.1% of total)
exact: 8.0ms (0.1% of total)
ival-log: 5.0ms (0.1% of total)
ival-log1p: 1.0ms (0% of total)

start1.0ms (0%)

Memory
3.1MiB live, 3.0MiB allocated

end0.0ms (0%)

Memory
1.2MiB live, 1.1MiB allocated

Profiling

Loading profile data...