Herbie run

Date:Thursday, June 13th, 2024
Commit:63d27371 on web-cleanup
Hostname:nightly with Racket 8.11.1
Seed:2024165
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: 1.6hr)

sample22.3min (23.2%)

Samples
8.4min3 840 064×0valid
3.2min58 547×5exit
3.2min483 300×1valid
1.3min129 533×2valid
1.3min377 366×0invalid
30.1s19 626×3valid
9.2s2 253×4valid
7.9s26 595×1invalid
2.1s2 822×2invalid
143.0ms13×5valid
14.0ms26×3invalid
Precisions
Click to see histograms. Total time spent on operations: 13.6min
ival-pow: 2.5min (18.6% of total)
ival-mult: 2.4min (17.3% of total)
ival-sin: 1.3min (9.3% of total)
ival-div: 1.1min (8.3% of total)
ival-add: 57.2s (7% of total)
ival-sub: 55.2s (6.7% of total)
ival-cos: 37.6s (4.6% of total)
...in/eval/compile.rkt:71:19: 35.3s (4.3% of total)
adjust: 34.0s (4.2% of total)
ival-exp: 30.7s (3.8% of total)
ival-log: 27.5s (3.4% of total)
ival-sqrt: 22.4s (2.7% of total)
ival-tan: 19.5s (2.4% of total)
ival-<=: 14.3s (1.7% of total)
ival-neg: 7.8s (1% of total)
ival-fabs: 4.0s (0.5% of total)
ival-<: 3.8s (0.5% of total)
ival-and: 3.3s (0.4% of total)
ival-true: 3.3s (0.4% of total)
...in/eval/compile.rkt:70:19: 2.9s (0.4% of total)
ival-assert: 2.7s (0.3% of total)
ival-acos: 2.7s (0.3% of total)
ival-pi: 2.4s (0.3% of total)
ival-atan2: 2.1s (0.3% of total)
ival-asin: 1.8s (0.2% of total)
ival->: 1.5s (0.2% of total)
ival-atan: 1.3s (0.2% of total)
ival-floor: 1.1s (0.1% of total)
ival-fmod: 1.0s (0.1% of total)
ival-sinh: 726.0ms (0.1% of total)
ival-log2: 558.0ms (0.1% of total)
ival-cosh: 556.0ms (0.1% of total)
ival-cbrt: 513.0ms (0.1% of total)
ival-==: 510.0ms (0.1% of total)
ival-hypot: 422.0ms (0.1% of total)
ival-fmin: 409.0ms (0% of total)
ival-if: 336.0ms (0% of total)
ival-fmax: 311.0ms (0% of total)
ival-acosh: 279.0ms (0% of total)
ival->=: 268.0ms (0% of total)
ival-asinh: 250.0ms (0% of total)
ival-fma: 241.0ms (0% of total)
ival-tanh: 174.0ms (0% of total)
ival-atanh: 139.0ms (0% of total)
ival-or: 46.0ms (0% of total)
Bogosity

simplify19.0min (19.8%)

Algorithm
4 360×egg-herbie
Rules
1 669 971×fma-define
1 272 933×fmm-def
889 389×distribute-lft-in
848 175×times-frac
818 299×associate-*r*
Stop Event
2 882×node limit
1 446×saturated
32×unsound
Counts
1 145 198 → 989 402

soundness12.2min (12.7%)

Rules
659 778×fma-define
490 122×log1p-expm1-u
489 571×fmm-def
413 647×associate-*r*
392 117×times-frac
Stop Event
1 958×node limit
359×fuel
183×done
156×saturated
24×unsound
Compiler

Compiled 465 123 to 134 424 computations (71.1% saved)

rewrite8.2min (8.6%)

Algorithm
1 887×batch-egg-rewrite
Rules
1 217 382×log1p-expm1-u
910 523×expm1-log1p-u
424 314×pow1
402 138×add-exp-log
385 554×add-log-exp
Stop Event
1 872×node limit
13×unsound
saturated
Counts
21 808 → 659 951

localize7.0min (7.3%)

Samples
2.3min392 703×0valid
57.1s46 119×1valid
51.3s9 540×5exit
25.6s14 350×2valid
15.4s28 511×0invalid
6.4s2 072×3valid
1.7s874×1invalid
745.0ms133×4valid
122.0ms28×2invalid
13.0ms5valid
5.0ms3invalid
Compiler

Compiled 456 998 to 51 156 computations (88.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0min
ival-mult: 37.9s (20.7% of total)
ival-div: 20.9s (11.4% of total)
ival-pow: 18.5s (10.1% of total)
adjust: 15.3s (8.4% of total)
ival-add: 12.9s (7.1% of total)
ival-sin: 10.6s (5.8% of total)
ival-cos: 8.9s (4.8% of total)
ival-log: 8.2s (4.5% of total)
ival-sub: 8.2s (4.5% of total)
ival-tan: 7.7s (4.2% of total)
...in/eval/compile.rkt:71:19: 6.3s (3.5% of total)
ival-sqrt: 4.8s (2.6% of total)
ival-fma: 4.7s (2.6% of total)
ival-exp: 3.1s (1.7% of total)
ival-hypot: 2.4s (1.3% of total)
ival-log1p: 1.9s (1% of total)
ival-neg: 1.8s (1% of total)
ival-expm1: 1.7s (0.9% of total)
ival-cbrt: 1.5s (0.8% of total)
ival-atan2: 598.0ms (0.3% of total)
...in/eval/compile.rkt:70:19: 566.0ms (0.3% of total)
ival-atan: 560.0ms (0.3% of total)
ival-fmod: 532.0ms (0.3% of total)
ival-true: 476.0ms (0.3% of total)
ival-acos: 403.0ms (0.2% of total)
ival-asin: 402.0ms (0.2% of total)
ival-pi: 343.0ms (0.2% of total)
ival-if: 343.0ms (0.2% of total)
ival-assert: 315.0ms (0.2% of total)
ival-fabs: 225.0ms (0.1% of total)
ival-fmax: 171.0ms (0.1% of total)
ival-e: 131.0ms (0.1% of total)
ival-copysign: 126.0ms (0.1% of total)
ival-log2: 98.0ms (0.1% of total)
ival-floor: 93.0ms (0.1% of total)
ival-sinh: 68.0ms (0% of total)
ival-cosh: 63.0ms (0% of total)
ival->=: 39.0ms (0% of total)
ival->: 21.0ms (0% of total)
ival-tanh: 10.0ms (0% of total)
ival-<: 10.0ms (0% of total)

prune6.4min (6.7%)

Counts
1 456 375 → 40 131
Compiler

Compiled 1 945 045 to 989 458 computations (49.1% saved)

eval5.2min (5.4%)

Compiler

Compiled 50 469 743 to 5 561 256 computations (89% saved)

regimes3.9min (4.1%)

Counts
108 616 → 9 151
Calls

1 224 calls:

19.0s
x
14.4s
y
11.0s
z
9.2s
t
8.9s
a
Compiler

Compiled 99 144 to 72 396 computations (27% saved)

series3.1min (3.2%)

Counts
21 808 → 485 247
Calls

118155 calls:

TimeVariablePointExpression
958.0ms
x-scale
@inf
(log (* (* 1/4 a) (* x-scale 4)))
715.0ms
h
@-inf
(pow (fmax (pow (sqrt (+ (* (* (floor d) dX.w) (* (floor d) dX.w)) (* (sqrt (+ (* (* (floor w) dX.u) (* (floor w) dX.u)) (* (* (floor h) dX.v) (* (floor h) dX.v)))) (sqrt (+ (* (* (floor w) dX.u) (* (floor w) dX.u)) (* (* (floor h) dX.v) (* (floor h) dX.v))))))) 2) (pow (sqrt (+ (* (* (floor d) dY.w) (* (floor d) dY.w)) (* (sqrt (+ (* (* (floor w) dY.u) (* (floor w) dY.u)) (* (* (floor h) dY.v) (* (floor h) dY.v)))) (sqrt (+ (* (* (floor w) dY.u) (* (floor w) dY.u)) (* (* (floor h) dY.v) (* (floor h) dY.v))))))) 2)) 1/4)
595.0ms
x
@-inf
(* x (* 2 (log (sqrt x))))
529.0ms
y
@0
(* x (pow (sqrt (- (log (neg x)) (log (neg y)))) 2))
510.0ms
z
@0
(/ (log (+ 1 (* y (- (exp z) 1)))) (* t x))

preprocess2.4min (2.6%)

Algorithm
542×egg-herbie
Rules
252 186×fma-define
252 101×fmm-def
106 305×unsub-neg
100 734×sub-neg
94 641×distribute-lft-in
Stop Event
294×saturated
248×node limit
Compiler

Compiled 380 838 to 145 636 computations (61.8% saved)

bsearch2.4min (2.5%)

Algorithm
4 111×binary-search
610×left-value
Stop Event
4 012×narrow-enough
93×predicate-same
predicate-failed
Samples
1.3min463 493×0valid
15.1s30 005×1valid
3.2s24 144×0invalid
3.0s1 176×3valid
2.2s4 308×2valid
106.0ms239×1invalid
44.0ms26×4valid
12.0ms41×2invalid
1.0ms5exit
Compiler

Compiled 953 971 to 695 320 computations (27.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.2min
ival-mult: 22.8s (32.5% of total)
ival-div: 8.5s (12.2% of total)
ival-sub: 8.2s (11.7% of total)
ival-add: 7.1s (10.1% of total)
ival-sin: 4.3s (6.2% of total)
ival-cos: 3.9s (5.6% of total)
ival-pow: 2.9s (4.2% of total)
ival-log: 2.7s (3.8% of total)
...in/eval/compile.rkt:71:19: 2.6s (3.6% of total)
ival-sqrt: 1.8s (2.6% of total)
adjust: 1.2s (1.7% of total)
ival-exp: 1.1s (1.6% of total)
ival-tan: 679.0ms (1% of total)
ival-true: 441.0ms (0.6% of total)
ival-neg: 373.0ms (0.5% of total)
ival-assert: 295.0ms (0.4% of total)
ival-atan2: 285.0ms (0.4% of total)
ival-fabs: 247.0ms (0.4% of total)
...in/eval/compile.rkt:70:19: 201.0ms (0.3% of total)
ival-atan: 115.0ms (0.2% of total)
ival-acos: 97.0ms (0.1% of total)
ival-pi: 53.0ms (0.1% of total)
ival->=: 21.0ms (0% of total)
ival-copysign: 16.0ms (0% of total)
ival-hypot: 15.0ms (0% of total)
ival-fmod: 15.0ms (0% of total)
ival-asin: 11.0ms (0% of total)
ival-cbrt: 9.0ms (0% of total)
ival-if: 9.0ms (0% of total)
ival-tanh: 7.0ms (0% of total)
ival-sinh: 6.0ms (0% of total)
ival-cosh: 1.0ms (0% of total)

explain2.4min (2.5%)

Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation890447
sqrt.f64#foflow-rescue53010
log.f64#fsensitivity34902
cos.f64#fsensitivity33483
+.f64#fcancellation3114118
sin.f64#fsensitivity20544
/.f64#fo/o19020
/.f64#fo/n18990
-.f64#fnan-rescue14350
log.f32#fsensitivity113875
/.f64#fu/u10100
*.f64#fn*o10090
/.f64#fn/o9760
sqrt.f64#fuflow-rescue8860
+.f64#fnan-rescue8560
/.f64#fu/n7920
sqrt.f32#foflow-rescue5690
acos.f64#fsensitivity5272
*.f64#fn*u4520
tan.f64#fsensitivity4212
pow.f64#fsensitivity39549
-.f32#fcancellation39533
/.f64#fn/u3230
exp.f64#fsensitivity21828
cos.f64#foflow-rescue2170
-.f64(-.f64 (*.f64 #s(literal 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 binary64) t) #s(literal 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 binary64))oflow-left2160
*.f64#fu*o1950
cos.f32#fsensitivity19419
tan.f32(tan.f32 (+.f32 (*.f32 (*.f32 #s(literal 2 binary32) (PI.f32)) u1) (*.f32 #s(literal 1/2 binary32) (PI.f32))))cancellation18916
pow.f64#foflow-rescue1530
*.f64#fo*u1490
/.f32#fo/n1300
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)))))))sensitivity1130
log.f64#foflow-rescue1020
cbrt.f64#foflow-rescue840
pow.f64#fuflow-rescue680
log.f64#fuflow-rescue630
exp.f32#fsensitivity3714
cbrt.f64#fuflow-rescue350
sin.f64#foflow-rescue310
tan.f64(tan.f64 (/.f64 x (*.f64 y #s(literal 2 binary64))))oflow-rescue280
(/.f64 x (*.f64 y #s(literal 2 binary64)))overflow28
/.f32#fu/n230
sqrt.f32(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 #s(literal 1 binary32) (*.f32 sinTheta_O sinTheta_O))))))uflow-rescue180
(*.f32 sinTheta_O sinTheta_O)underflow276
(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 #s(literal 1 binary32) (*.f32 sinTheta_O sinTheta_O)))))underflow18
(/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 #s(literal 1 binary32) (*.f32 sinTheta_O sinTheta_O))))underflow138
(*.f32 eta eta)underflow18
/.f32#fo/o140
log.f32#foflow-rescue70
/.f32#fn/o60
*.f32(*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle)))n*u40
*.f32(*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle)))u*o10
(*.f32 u normAngle)underflow5
(sin.f32 (*.f32 u normAngle))underflow5
(/.f32 #s(literal 1 binary32) (sin.f32 normAngle))overflow1
sin.f32(sin.f32 (*.f32 (*.f32 uy #s(literal 2 binary32)) (PI.f32)))cancellation10
*.f32(*.f32 (sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle)))n*o10
Confusion
Predicted +Predicted -
+306051177
-5901101069
Precision
0.8383553388484085
Recall
0.9629664590019508
Confusion?
Predicted +Predicted MaybePredicted -
+30605252925
-5901393100676
Precision?
0.8305832952006675
Recall?
0.9708954754263419
Freqs
test
numberfreq
0102246
130584
24756
3600
4333
5145
666
715
84
93
Total Confusion?
Predicted +Predicted MaybePredicted -
+33825
-102185
Precision?
0.9659090909090909
Recall?
0.9855072463768116
Samples
34.6s230 824×0valid
14.6s34 548×1valid
7.5s10 498×2valid
2.3s1 390×3valid
642.0ms98×5exit
527.0ms146×4valid
Compiler

Compiled 106 238 to 25 504 computations (76% saved)

Precisions
Click to see histograms. Total time spent on operations: 33.9s
ival-mult: 8.1s (23.9% of total)
ival-div: 3.9s (11.5% of total)
ival-sin: 2.9s (8.6% of total)
ival-add: 2.9s (8.5% of total)
ival-sub: 2.5s (7.5% of total)
ival-cos: 2.2s (6.6% of total)
adjust: 2.1s (6.2% of total)
ival-log: 1.9s (5.7% of total)
ival-pow: 1.5s (4.4% of total)
ival-exp: 1.2s (3.5% of total)
ival-tan: 1.1s (3.2% of total)
ival-sqrt: 906.0ms (2.7% of total)
...in/eval/compile.rkt:71:19: 553.0ms (1.6% of total)
ival-neg: 379.0ms (1.1% of total)
ival-pi: 352.0ms (1% of total)
ival-true: 269.0ms (0.8% of total)
ival-assert: 170.0ms (0.5% of total)
ival-atan2: 136.0ms (0.4% of total)
...in/eval/compile.rkt:70:19: 132.0ms (0.4% of total)
ival-floor: 111.0ms (0.3% of total)
ival-asin: 100.0ms (0.3% of total)
ival-acos: 82.0ms (0.2% of total)
ival-atan: 66.0ms (0.2% of total)
ival-fabs: 58.0ms (0.2% of total)
ival-cbrt: 42.0ms (0.1% of total)
ival-fmod: 42.0ms (0.1% of total)
ival-sinh: 30.0ms (0.1% of total)
ival-if: 29.0ms (0.1% of total)
ival-cosh: 19.0ms (0.1% of total)
ival-hypot: 18.0ms (0.1% of total)
ival-fmax: 18.0ms (0.1% of total)
ival-log2: 16.0ms (0% of total)
ival-copysign: 13.0ms (0% of total)
ival-fma: 13.0ms (0% of total)
ival-tanh: 8.0ms (0% of total)
ival-log1p: 8.0ms (0% of total)
ival->=: 7.0ms (0% of total)
ival->: 3.0ms (0% of total)
ival-<: 1.0ms (0% of total)

analyze1.6min (1.6%)

Algorithm
545×search
random
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%84.4%15.6%0%0%0%0
38.9%32.9%51.6%15.6%0%0%0%1
44.8%37.5%46.2%15.6%0%0.8%0%2
54%44.1%37.5%15.6%0%2.8%0%3
60.9%49.1%31.6%15.6%0%3.8%0%4
67.1%53.8%26.4%15.6%0%4.2%0%5
71%56.7%23.1%15.6%0%4.6%0%6
75%59.4%19.8%15.6%0%5.2%0.1%7
77%60.7%18.1%15.6%0%5.5%0.1%8
79.6%62.5%16%15.6%0%5.8%0.1%9
81.1%63.5%14.8%15.6%0%6.1%0.1%10
83.4%65.1%13%15.6%0%6.3%0.1%11
84.5%65.8%12.1%15.6%0%6.5%0.1%12
Compiler

Compiled 12 512 to 7 913 computations (36.8% saved)

end3.0ms (0%)

Profiling

Loading profile data...