Details

Time bar (total: 4.8s)

sample29.0ms

Algorithm
intervals
Results
8.0ms60×body640valid
5.0ms122×body80valid
4.0ms40×body320valid
4.0ms21×body1280valid
1.0ms13×body160valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0187
1317
2437
3577
4737
5927
61267
71587
82077
92097
102097

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.1b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
1.7b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite142.0ms

Algorithm
rewrite-expression-head
Rules
706×*-un-lft-identity
688×times-frac
505×add-sqr-sqrt
481×add-cube-cbrt
468×prod-diff
236×associate-+l+
95×distribute-lft-out
64×div-inv
56×associate-/r/
29×flip3-+ flip-+
18×fma-neg
13×distribute-lft-out--
10×fma-def add-log-exp
difference-of-squares
add-exp-log add-cbrt-cube
associate-/r*
pow1 expm1-log1p-u frac-add log1p-expm1-u associate-/l*
sub-neg flip3-- diff-log sum-log frac-sub flip--
cbrt-undiv +-commutative associate-+l- frac-2neg div-exp clear-num
Counts
3 → 579
Calls
3 calls:
5.0ms
(/ 1.0 (+ x 1.0))
28.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
57.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series282.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(/ 1.0 (+ x 1.0))
45.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
213.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify154.0ms

Algorithm
egg-herbie
Counts
588 → 588
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0105810745
132838083
250017467

prune1.1s

Filtered
588 candidates to 358 candidates (60.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New5853588
Fresh000
Picked101
Done000
Total5863589

Merged error: 0.1b

Counts
589 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
0.0b
(* (+ x 1.0) x)
1.2b
(+ (/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x)) (/ 1.0 (- x 1.0)))
16.4b
(/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt
11×add-exp-log add-cbrt-cube
10×add-cube-cbrt
fma-def
add-log-exp
pow1 times-frac associate-*l/
expm1-log1p-u flip3-+ associate-*l* associate-/r/ flip-+ log1p-expm1-u
associate-*r* associate-/l*
cbrt-undiv flip3-- div-sub div-exp prod-exp flip-- cbrt-unprod div-inv associate-/l/ distribute-lft-out
+-commutative associate-+l- sub-neg frac-2neg fma-neg diff-log prod-diff pow-prod-down frac-add clear-num associate-/r* sum-log *-commutative unswap-sqr
Counts
4 → 92
Calls
4 calls:
4.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
6.0ms
(* (+ x 1.0) x)
21.0ms
(+ (/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x)) (/ 1.0 (- x 1.0)))
9.0ms
(/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x))

series437.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
45.0ms
(* (+ x 1.0) x)
288.0ms
(+ (/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x)) (/ 1.0 (- x 1.0)))
67.0ms
(/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x))

simplify62.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0494782
12202694
25001686

prune189.0ms

Filtered
104 candidates to 86 candidates (82.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1031104
Fresh112
Picked101
Done000
Total1052107

Merged error: 0.1b

Counts
107 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
0.0b
(/ 1 (pow x 5))
0.1b
(/ 1 (pow x 7))
0.1b
(/ 2.0 (pow x 3))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
61×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×unpow-prod-down
27×add-exp-log
26×associate-/r*
15×div-exp
12×cube-prod sqr-pow
10×add-cbrt-cube
associate-/l*
pow-to-exp pow-exp
rec-exp 1-exp
pow1 expm1-log1p-u cube-mult unpow3 log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg clear-num div-inv
pow-flip inv-pow
fma-udef
Counts
4 → 187
Calls
4 calls:
1.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
5.0ms
(/ 1 (pow x 5))
5.0ms
(/ 1 (pow x 7))
5.0ms
(/ 2.0 (pow x 3))

series265.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
42.0ms
(/ 1 (pow x 5))
59.0ms
(/ 1 (pow x 7))
36.0ms
(/ 2.0 (pow x 3))

simplify54.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0450904
12278777
25001777

prune335.0ms

Filtered
199 candidates to 96 candidates (48.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1963199
Fresh011
Picked011
Done000
Total1965201

Merged error: 0.0b

Counts
201 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (pow x 5))
0.1b
(/ 1 (pow x 7))
0.1b
(/ (/ 2.0 (* x x)) x)
0.2b
(/ 2.0 (* x x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×add-exp-log
24×unpow-prod-down
22×add-cbrt-cube
19×div-exp
18×associate-/r*
16×associate-/l*
cbrt-undiv
div-inv sqr-pow
pow-to-exp rec-exp 1-exp pow-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
pow-flip prod-exp cbrt-unprod inv-pow
associate-/l/
Counts
4 → 183
Calls
4 calls:
5.0ms
(/ 1 (pow x 5))
5.0ms
(/ 1 (pow x 7))
10.0ms
(/ (/ 2.0 (* x x)) x)
5.0ms
(/ 2.0 (* x x))

series169.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ 1 (pow x 5))
53.0ms
(/ 1 (pow x 7))
43.0ms
(/ (/ 2.0 (* x x)) x)
24.0ms
(/ 2.0 (* x x))

simplify57.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0511914
12528828
25001768

prune346.0ms

Filtered
195 candidates to 106 candidates (54.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1950195
Fresh033
Picked011
Done011
Total1955200

Merged error: 0.0b

Counts
200 → 5

regimes39.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 31.8b

bsearch144.0ms

Steps
ItersRangePoint
10
14.716166499582775
2.5158614700293387e+20
111.33784045281939
11
-2193661101726697.2
-1.4639597033977343e-08
-107.94411106005032

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04834
14834

end0.0ms

sample753.0ms

Algorithm
intervals
Results
266.0ms1887×body640valid
152.0ms4126×body80valid
98.0ms939×body320valid
97.0ms551×body1280valid
36.0ms499×body160valid