Herbie run

Date:Thursday, July 25th, 2024
Commit:3dbe455a on bsearch-speedup
Hostname:nightly with Racket 8.11.1
Seed:2024207
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.7min)

sample3.5min (25.3%)

Memory
1 210.8MiB live, 237 664.5MiB allocated
Samples
1.0min122 120×1valid
35.9s279 884×0valid
31.7s14 418×5exit
17.2s22 959×2valid
8.1s4 208×3valid
6.1s35 084×0exit
4.2s10 854×1exit
3.1s20 830×0invalid
2.7s11 362×1invalid
534.0ms34×4exit
354.0ms823×2invalid
279.0ms24×3exit
265.0ms141×4valid
25.0ms11×2exit
Precisions
Click to see histograms. Total time spent on operations: 2.5min
ival-pow: 26.0s (17.5% of total)
ival-mult: 18.4s (12.4% of total)
ival-cos: 18.2s (12.2% of total)
ival-sin: 15.6s (10.5% of total)
ival-div: 12.5s (8.4% of total)
ival-pow2: 9.6s (6.5% of total)
adjust: 9.3s (6.3% of total)
ival-add: 6.9s (4.6% of total)
ival-sub: 6.4s (4.3% of total)
ival-exp: 5.6s (3.8% of total)
ival-log: 4.5s (3% of total)
ival-sqrt: 3.7s (2.5% of total)
ival-neg: 2.6s (1.7% of total)
ival-<: 1.6s (1.1% of total)
const: 1.6s (1.1% of total)
ival-hypot: 967.0ms (0.7% of total)
ival-pi: 902.0ms (0.6% of total)
ival-atan2: 843.0ms (0.6% of total)
ival-tan: 573.0ms (0.4% of total)
exact: 493.0ms (0.3% of total)
ival-acos: 372.0ms (0.3% of total)
ival-atan: 361.0ms (0.2% of total)
ival-and: 326.0ms (0.2% of total)
ival-true: 293.0ms (0.2% of total)
ival-cbrt: 277.0ms (0.2% of total)
ival-assert: 213.0ms (0.1% of total)
ival-asin: 137.0ms (0.1% of total)
ival-log1p: 130.0ms (0.1% of total)
ival-<=: 130.0ms (0.1% of total)
ival-fabs: 115.0ms (0.1% of total)
ival-==: 1.0ms (0% of total)
ival-or: 0.0ms (0% of total)
Bogosity

simplify2.5min (18.3%)

Memory
-119.1MiB live, 186 637.5MiB allocated
Algorithm
458×egg-herbie
Rules
3 470 430×lower-fma.f32
3 469 352×lower-fma.f64
1 733 962×lower-*.f32
1 729 664×lower-*.f64
925 618×lower-+.f32
Stop Event
607×iter limit
318×node limit
143×saturated
Counts
82 788 → 82 133

rewrite1.3min (9.4%)

Memory
-108.5MiB live, 101 924.3MiB allocated
Algorithm
203×batch-egg-rewrite
Rules
895 242×lower-fma.f32
894 184×lower-fma.f64
878 438×lower-*.f32
874 268×lower-*.f64
675 276×lower-/.f32
Stop Event
412×iter limit
201×node limit
saturated
Counts
3 370 → 150 675

soundness1.2min (8.7%)

Memory
584.9MiB live, 53 289.9MiB allocated
Rules
2 248 446×lower-fma.f32
2 247 750×lower-fma.f64
1 486 716×lower-*.f32
1 483 528×lower-*.f64
760 296×lower-+.f32
Stop Event
422×iter limit
283×node limit
46×fuel
done
saturated
Compiler

Compiled 50 366 to 25 057 computations (50.3% saved)

localize1.1min (7.8%)

Memory
714.9MiB live, 85 579.0MiB allocated
Samples
15.9s12 947×1valid
10.9s4 907×2valid
8.0s28 835×0valid
4.8s788×5exit
2.9s844×3valid
1.5s2 995×0invalid
1.1s440×1invalid
695.0ms81×4exit
384.0ms75×4valid
105.0ms3exit
24.0ms14×2invalid
22.0ms27×1exit
15.0ms2exit
4.0ms3invalid
Compiler

Compiled 91 199 to 8 054 computations (91.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 36.8s
ival-mult: 8.6s (23.3% of total)
ival-cos: 6.4s (17.4% of total)
ival-sin: 6.1s (16.6% of total)
ival-div: 3.1s (8.4% of total)
adjust: 3.0s (8.1% of total)
ival-add: 2.1s (5.8% of total)
ival-pow2: 1.2s (3.1% of total)
const: 1.0s (2.8% of total)
ival-sqrt: 897.0ms (2.4% of total)
ival-sub: 818.0ms (2.2% of total)
ival-atan2: 541.0ms (1.5% of total)
ival-log: 437.0ms (1.2% of total)
ival-exp: 401.0ms (1.1% of total)
ival-pow: 387.0ms (1.1% of total)
ival-neg: 382.0ms (1% of total)
ival-cbrt: 191.0ms (0.5% of total)
ival-log1p: 185.0ms (0.5% of total)
ival-tan: 179.0ms (0.5% of total)
ival-acos: 175.0ms (0.5% of total)
ival-atan: 167.0ms (0.5% of total)
exact: 112.0ms (0.3% of total)
ival-pi: 111.0ms (0.3% of total)
ival-hypot: 98.0ms (0.3% of total)
ival-fabs: 88.0ms (0.2% of total)
ival-asin: 53.0ms (0.1% of total)
ival-true: 46.0ms (0.1% of total)
ival-assert: 23.0ms (0.1% of total)
ival-cosh: 3.0ms (0% of total)
ival-tanh: 2.0ms (0% of total)
ival-sinh: 2.0ms (0% of total)
ival-copysign: 2.0ms (0% of total)

eval56.3s (6.9%)

Memory
1 055.5MiB live, 82 320.3MiB allocated
Compiler

Compiled 12 880 620 to 800 167 computations (93.8% saved)

prune56.2s (6.9%)

Memory
-1 985.3MiB live, 91 167.7MiB allocated
Counts
296 215 → 8 227
Compiler

Compiled 669 864 to 294 390 computations (56.1% saved)

regimes51.9s (6.3%)

Memory
-169.8MiB live, 72 174.8MiB allocated
Counts
27 336 → 1 013
Calls

155 calls:

3.6s
phi1
3.4s
phi2
2.9s
lambda1
2.6s
lambda2
2.5s
a
Compiler

Compiled 27 780 to 16 602 computations (40.2% saved)

explain22.0s (2.7%)

Memory
-23.6MiB live, 28 465.4MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity18003
+.f64#fcancellation169235
sin.f64#fsensitivity15353
sqrt.f64#foflow-rescue14220
-.f64#fcancellation94913
log.f64#fsensitivity6170
-.f64#fnan-rescue5110
/.f64#fo/n4270
/.f64#fu/u3380
/.f64#fo/o2900
*.f64#fn*o2230
/.f64#fu/n1860
sqrt.f64#fuflow-rescue1730
exp.f64#fsensitivity16531
*.f64#fn*u1120
/.f64#fn/o1030
cbrt.f64#foflow-rescue890
/.f64#fn/u410
*.f64#fu*o340
cbrt.f64#fuflow-rescue300
*.f64#fo*u300
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)))))sensitivity181
pow.f64#fsensitivity92
pow.f64#fuflow-rescue90
log.f64#foflow-rescue50
Confusion
Predicted +Predicted -
+571970
-13816142
Precision
0.8054929577464789
Recall
0.9879081015719468
Confusion?
Predicted +Predicted MaybePredicted -
+57194525
-1381316111
Precision?
0.8032329988851727
Recall?
0.9956814648471238
Freqs
test
numberfreq
06212
14753
21620
3357
4214
592
633
722
85
94
Total Confusion?
Predicted +Predicted MaybePredicted -
+4200
-208
Precision?
0.9545454545454546
Recall?
1.0
Samples
4.4s8 024×1valid
2.3s16 278×0valid
2.0s1 914×2valid
617.0ms396×3valid
15.0ms12×4valid
Compiler

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

Precisions
Click to see histograms. Total time spent on operations: 7.6s
ival-sin: 1.5s (19.1% of total)
ival-mult: 1.1s (15% of total)
ival-cos: 1.1s (14.9% of total)
ival-pow2: 698.0ms (9.2% of total)
ival-div: 670.0ms (8.8% of total)
adjust: 460.0ms (6% of total)
ival-sub: 433.0ms (5.7% of total)
ival-add: 300.0ms (3.9% of total)
ival-exp: 274.0ms (3.6% of total)
ival-log: 251.0ms (3.3% of total)
ival-sqrt: 196.0ms (2.6% of total)
ival-neg: 128.0ms (1.7% of total)
ival-tan: 102.0ms (1.3% of total)
ival-hypot: 76.0ms (1% of total)
ival-atan2: 75.0ms (1% of total)
ival-pi: 37.0ms (0.5% of total)
ival-cbrt: 28.0ms (0.4% of total)
ival-atan: 27.0ms (0.4% of total)
ival-acos: 26.0ms (0.3% of total)
ival-true: 25.0ms (0.3% of total)
exact: 24.0ms (0.3% of total)
ival-pow: 20.0ms (0.3% of total)
ival-assert: 12.0ms (0.2% of total)
ival-fabs: 10.0ms (0.1% of total)
ival-asin: 9.0ms (0.1% of total)
ival-log1p: 5.0ms (0.1% of total)

preprocess19.2s (2.3%)

Memory
45.8MiB live, 21 401.8MiB 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 61 550 to 19 846 computations (67.8% saved)

series17.7s (2.2%)

Memory
-422.2MiB live, 22 468.2MiB allocated
Counts
3 370 → 82 788
Calls

16332 calls:

TimeVariablePointExpression
302.0ms
b
@inf
(* (* 1/4 (* x-scale (sqrt 8))) (sqrt (* 2 (+ (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* b b)) (* (pow (+ 1 (* (* -1/64800 (* angle angle)) (* (PI) (PI)))) 2) (* a a))))))
263.0ms
angle
@inf
(/ (+ (* -2 (* (+ (* (* a a) (/ (pow (cos (* 1/180 (* angle (PI)))) 2) (* y-scale y-scale))) (/ (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* b b)) (* y-scale y-scale))) (+ (* (pow (cos (* 1/180 (* angle (PI)))) 2) (* b b)) (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* a a))))) (/ (* 4 (* (pow (cos (* 1/180 (* angle (PI)))) 2) (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* (* (+ b a) (- b a)) (* (+ b a) (- b a)))))) (* y-scale y-scale))) (+ (* (* a a) (/ (pow (cos (* 1/180 (* angle (PI)))) 2) (* y-scale y-scale))) (/ (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* b b)) (* y-scale y-scale))))
244.0ms
lambda2
@inf
(* (sin lambda1) (sin lambda2))
169.0ms
g
@inf
(/ (- (pow (* (- 1/4 (* (/ (sqrt 3) 2) (/ (sqrt 3) 2))) (cos (* (acos (/ g (neg h))) 1/3))) 3) (pow (* 2 (* (* (/ (sqrt 3) 2) 1/2) (sin (* (acos (/ g (neg h))) 1/3)))) 3)) (+ (pow (* (- 1/4 (* (/ (sqrt 3) 2) (/ (sqrt 3) 2))) (cos (* (acos (/ g (neg h))) 1/3))) 2) (* (* 2 (* (* (/ (sqrt 3) 2) 1/2) (sin (* (acos (/ g (neg h))) 1/3)))) (+ (* 2 (* (* (/ (sqrt 3) 2) 1/2) (sin (* (acos (/ g (neg h))) 1/3)))) (* (- 1/4 (* (/ (sqrt 3) 2) (/ (sqrt 3) 2))) (cos (* (acos (/ g (neg h))) 1/3)))))))
152.0ms
lambda1
@inf
(* R (sqrt (+ (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2)))) (* (- phi1 phi2) (- phi1 phi2)))))

analyze16.4s (2%)

Memory
99.1MiB live, 21 806.5MiB 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)

bsearch10.5s (1.3%)

Memory
-5.8MiB live, 15 173.8MiB allocated
Algorithm
319×binary-search
140×left-value
Stop Event
311×narrow-enough
predicate-same
Samples
4.4s6 790×1valid
2.5s14 051×0valid
702.0ms850×2valid
146.0ms85×3valid
52.0ms100×1exit
50.0ms603×0invalid
4.0ms92×0exit
Compiler

Compiled 112 508 to 76 255 computations (32.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.8s
ival-cos: 1.8s (26.3% of total)
ival-sin: 1.6s (23.8% of total)
ival-mult: 909.0ms (13.3% of total)
ival-div: 507.0ms (7.4% of total)
ival-pow2: 479.0ms (7% of total)
adjust: 368.0ms (5.4% of total)
ival-sub: 318.0ms (4.7% of total)
ival-add: 200.0ms (2.9% of total)
ival-sqrt: 124.0ms (1.8% of total)
ival-acos: 90.0ms (1.3% of total)
ival-atan2: 88.0ms (1.3% of total)
ival-exp: 60.0ms (0.9% of total)
ival-hypot: 59.0ms (0.9% of total)
ival-atan: 47.0ms (0.7% of total)
ival-neg: 36.0ms (0.5% of total)
ival-pi: 30.0ms (0.4% of total)
ival-tan: 18.0ms (0.3% of total)
ival-true: 17.0ms (0.2% of total)
exact: 15.0ms (0.2% of total)
ival-asin: 14.0ms (0.2% of total)
ival-assert: 9.0ms (0.1% of total)
ival-fabs: 6.0ms (0.1% of total)
ival-log: 5.0ms (0.1% of total)
ival-log1p: 4.0ms (0.1% of total)

end0.0ms (0%)

Memory
0.9MiB live, 0.8MiB allocated

Profiling

Loading profile data...