Herbie run

Date:Saturday, June 29th, 2024
Commit:903258ad on fix-regimes-can-split
Hostname:nightly with Racket 8.11.1
Seed:2024181
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: 9.6min)

simplify2.6min (27.4%)

Memory
1 097.3MiB live, 231 044.8MiB allocated
Algorithm
270×egg-herbie
Rules
213 734×fma-define
120 496×fmm-def
113 926×distribute-lft-in
113 232×*-commutative
109 040×times-frac
Stop Event
202×node limit
68×saturated
Counts
104 753 → 72 570

soundness1.7min (17.5%)

Memory
583.0MiB live, 111 664.7MiB allocated
Rules
100 248×fma-define
61 662×associate-*r*
61 618×*-commutative
58 892×times-frac
53 176×fmm-def
Stop Event
157×node limit
29×fuel
saturated
done
Compiler

Compiled 67 774 to 11 873 computations (82.5% saved)

sample1.3min (14%)

Memory
1 085.9MiB live, 106 213.2MiB allocated
Samples
58.6s247 625×0valid
2.4s10 739×0invalid
7.0ms55×1valid
Precisions
Click to see histograms. Total time spent on operations: 49.8s
ival-mult: 10.1s (20.3% of total)
ival-<=: 7.6s (15.2% of total)
...in/eval/compile.rkt:111:19: 7.3s (14.7% of total)
ival-div: 5.2s (10.4% of total)
ival-sub: 2.4s (4.7% of total)
ival-sqrt: 2.1s (4.3% of total)
ival-add: 2.0s (4.1% of total)
ival-log: 1.9s (3.9% of total)
ival-fabs: 1.7s (3.3% of total)
ival-sin: 1.5s (3% of total)
ival-cos: 1.2s (2.4% of total)
ival-and: 1.2s (2.3% of total)
ival-exp: 914.0ms (1.8% of total)
ival-floor: 741.0ms (1.5% of total)
ival-pi: 677.0ms (1.4% of total)
ival-neg: 662.0ms (1.3% of total)
ival-fmax: 372.0ms (0.7% of total)
ival-tan: 366.0ms (0.7% of total)
...in/eval/compile.rkt:110:19: 313.0ms (0.6% of total)
ival-<: 297.0ms (0.6% of total)
ival-log2: 224.0ms (0.5% of total)
ival-if: 221.0ms (0.4% of total)
ival-==: 173.0ms (0.3% of total)
ival->: 160.0ms (0.3% of total)
ival-asin: 135.0ms (0.3% of total)
ival-atan: 118.0ms (0.2% of total)
ival-sinh: 101.0ms (0.2% of total)
ival-assert: 93.0ms (0.2% of total)
ival->=: 46.0ms (0.1% of total)
adjust: 1.0ms (0% of total)
Bogosity

prune43.4s (7.6%)

Memory
-268.9MiB live, 70 762.1MiB allocated
Counts
142 236 → 3 979
Compiler

Compiled 394 112 to 136 314 computations (65.4% saved)

rewrite32.5s (5.7%)

Memory
189.8MiB live, 36 594.2MiB allocated
Algorithm
120×batch-egg-rewrite
Rules
62 783×log1p-expm1-u
48 654×expm1-log1p-u
37 481×pow1
36 453×add-exp-log
36 370×log-prod
Stop Event
120×node limit
Counts
1 992 → 45 641

localize30.1s (5.2%)

Memory
-52.0MiB live, 47 384.4MiB allocated
Samples
11.8s26 463×0valid
1.3s270×5exit
1.0s1 615×0invalid
887.0ms1 093×1valid
392.0ms1 273×0exit
11.0ms4valid
3.0ms5valid
2.0ms3valid
Compiler

Compiled 103 340 to 5 570 computations (94.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.5s
ival-mult: 3.6s (31.4% of total)
ival-div: 1.4s (12.2% of total)
ival-add: 783.0ms (6.8% of total)
ival-sqrt: 518.0ms (4.5% of total)
ival-pow2: 476.0ms (4.1% of total)
ival-exp: 441.0ms (3.8% of total)
ival-hypot: 430.0ms (3.7% of total)
ival-log: 426.0ms (3.7% of total)
...in/eval/compile.rkt:111:19: 398.0ms (3.4% of total)
ival-sin: 381.0ms (3.3% of total)
ival-pow: 346.0ms (3% of total)
ival-log1p: 295.0ms (2.6% of total)
ival-sub: 236.0ms (2% of total)
ival-cbrt: 200.0ms (1.7% of total)
ival-fmax: 167.0ms (1.4% of total)
ival-expm1: 156.0ms (1.4% of total)
ival-neg: 154.0ms (1.3% of total)
ival-e: 142.0ms (1.2% of total)
ival-cos: 140.0ms (1.2% of total)
ival-log2: 135.0ms (1.2% of total)
ival-if: 125.0ms (1.1% of total)
adjust: 119.0ms (1% of total)
ival-floor: 96.0ms (0.8% of total)
ival-tan: 55.0ms (0.5% of total)
ival-pi: 49.0ms (0.4% of total)
ival-asin: 40.0ms (0.3% of total)
...in/eval/compile.rkt:110:19: 38.0ms (0.3% of total)
ival-fabs: 28.0ms (0.2% of total)
ival-true: 28.0ms (0.2% of total)
ival->: 26.0ms (0.2% of total)
ival->=: 21.0ms (0.2% of total)
ival-atan: 21.0ms (0.2% of total)
ival-assert: 13.0ms (0.1% of total)
ival-sinh: 12.0ms (0.1% of total)
ival-acos: 8.0ms (0.1% of total)
ival-<: 6.0ms (0.1% of total)

series30.1s (5.2%)

Memory
526.6MiB live, 48 843.1MiB allocated
Counts
1 992 → 59 112
Calls

14601 calls:

TimeVariablePointExpression
717.0ms
h
@inf
(log (+ 1 (log2 (sqrt (fmax (pow (sqrt (+ (* (* (floor w) dX.u) (* (floor w) dX.u)) (* (* (floor d) dX.w) (* (floor d) dX.w)))) 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))))))
315.0ms
w
@-inf
(log (+ 1 (log2 (sqrt (fmax (pow (sqrt (+ (* (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))))) (* (* (floor d) dX.w) (* (floor d) dX.w)))) 2) (+ (pow (* (floor d) dY.w) 2) (/ (- (pow (* (floor w) dY.u) 4) (pow (* (floor h) dY.v) 4)) (- (pow (* (floor w) dY.u) 2) (pow (* (floor h) dY.v) 2)))))))))
271.0ms
s
@0
(* (neg s) (* (log (+ 1 (* u -4))) (log (E))))
266.0ms
cosTheta_i
@inf
(* (/ 1/2 v) (exp (- (+ 6931/10000 (/ (* cosTheta_O cosTheta_i) v)) (/ 1 v))))
233.0ms
h
@inf
(log (fmax (pow (sqrt (+ (* (* (floor w) dX.u) (* (floor w) dX.u)) (* (* (floor h) dX.v) (* (floor h) dX.v)))) 2) (pow (sqrt (+ (* (* (floor h) dY.v) (* (floor h) dY.v)) (* (* (floor w) dY.u) (* (floor w) dY.u)))) 2)))

regimes30.1s (5.2%)

Memory
-24.3MiB live, 48 053.4MiB allocated
Counts
9 693 → 402
Calls

145 calls:

914.0ms
dY.u
741.0ms
(floor.f32 w)
663.0ms
dY.v
643.0ms
dX.v
618.0ms
dX.u
Compiler

Compiled 15 671 to 10 755 computations (31.4% saved)

eval28.4s (5%)

Memory
444.3MiB live, 46 350.9MiB allocated
Compiler

Compiled 12 124 832 to 598 925 computations (95.1% saved)

analyze21.6s (3.8%)

Memory
-380.5MiB live, 30 490.3MiB allocated
Algorithm
30×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%2.6%97.4%0%0%0%0
0%0%2.6%97.4%0%0%0%1
7.8%0.2%2.4%97.4%0%0%0%2
8.5%0.2%2.4%97.4%0%0%0%3
12.8%0.3%2.3%97.4%0%0%0%4
47%1.2%1.4%97.4%0%0%0%5
51.8%1.3%1.2%97.4%0%0.1%0%6
69.5%1.8%0.8%97.4%0%0.1%0%7
71.6%1.8%0.7%97.4%0%0.1%0%8
81.1%2.1%0.5%97.4%0%0.1%0%9
82.6%2.1%0.4%97.4%0%0.1%0%10
88.3%2.2%0.3%97.4%0%0.1%0%11
89.1%2.2%0.3%97.4%0%0.1%0%12
Compiler

Compiled 2 586 to 1 076 computations (58.4% saved)

preprocess10.7s (1.9%)

Memory
-347.8MiB live, 11 034.0MiB allocated
Algorithm
30×egg-herbie
Rules
30 620×fma-define
21 784×fmm-def
14 698×distribute-lft-neg-in
14 266×unsub-neg
11 858×distribute-rgt-neg-in
Stop Event
19×node limit
11×saturated
Compiler

Compiled 56 298 to 17 224 computations (69.4% saved)

explain9.3s (1.6%)

Memory
18.9MiB live, 14 473.7MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
log.f32#fsensitivity1006101
-.f32#fcancellation37840
sqrt.f32#foflow-rescue3320
cos.f32#fsensitivity20810
tan.f32(tan.f32 (+.f32 (*.f32 (*.f32 #s(literal 2 binary32) (PI.f32)) u1) (*.f32 #s(literal 1/2 binary32) (PI.f32))))cancellation20110
/.f32#fo/n1160
exp.f32#fsensitivity3917
/.f32#fu/n250
/.f32#fo/o200
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)underflow316
(-.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))))underflow158
(*.f32 eta eta)underflow18
/.f32(/.f32 (neg.f32 (log.f32 (-.f32 #s(literal 1 binary32) u0))) (+.f32 (/.f32 cos2phi (*.f32 alphax alphax)) (/.f32 sin2phi (*.f32 alphay alphay))))n/o70
(/.f32 sin2phi (*.f32 alphay alphay))overflow12
(+.f32 (/.f32 cos2phi (*.f32 alphax alphax)) (/.f32 sin2phi (*.f32 alphay alphay)))overflow12
sin.f32(sin.f32 (*.f32 (*.f32 x (PI.f32)) tau))cancellation11
Confusion
Predicted +Predicted -
+162259
-3955604
Precision
0.8041646008924145
Recall
0.9649018441403926
Confusion?
Predicted +Predicted MaybePredicted -
+16223920
-3951275477
Precision?
0.760879523591388
Recall?
0.9881023200475907
Freqs
test
numberfreq
05663
11703
2294
320
Total Confusion?
Predicted +Predicted MaybePredicted -
+2102
-322
Precision?
0.8076923076923077
Recall?
0.9130434782608695
Samples
2.6s15 270×0valid
31.0ms90×1valid
Compiler

Compiled 18 280 to 2 256 computations (87.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.9s
ival-mult: 603.0ms (32.3% of total)
ival-div: 372.0ms (20% of total)
ival-log: 151.0ms (8.1% of total)
ival-add: 100.0ms (5.4% of total)
ival-pi: 83.0ms (4.5% of total)
ival-sub: 74.0ms (4% of total)
ival-sin: 74.0ms (4% of total)
ival-sqrt: 64.0ms (3.4% of total)
ival-fabs: 54.0ms (2.9% of total)
ival-exp: 42.0ms (2.3% of total)
ival-floor: 39.0ms (2.1% of total)
ival-cos: 37.0ms (2% of total)
ival-neg: 30.0ms (1.6% of total)
...in/eval/compile.rkt:111:19: 23.0ms (1.2% of total)
ival-tan: 19.0ms (1% of total)
ival-fmax: 16.0ms (0.9% of total)
ival-log2: 14.0ms (0.8% of total)
ival-true: 14.0ms (0.8% of total)
ival-if: 13.0ms (0.7% of total)
...in/eval/compile.rkt:110:19: 8.0ms (0.4% of total)
ival-assert: 7.0ms (0.4% of total)
ival-atan: 7.0ms (0.4% of total)
ival-asin: 5.0ms (0.3% of total)
ival-sinh: 5.0ms (0.3% of total)
ival->=: 4.0ms (0.2% of total)
ival->: 3.0ms (0.2% of total)
adjust: 2.0ms (0.1% of total)
ival-<: 1.0ms (0.1% of total)

bsearch46.0ms (0%)

Memory
27.7MiB live, 105.6MiB allocated
Algorithm
47×binary-search
30×left-value
Stop Event
47×narrow-enough
Compiler

Compiled 4 049 to 1 921 computations (52.6% saved)

end0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated

Profiling

Loading profile data...