Details

Time bar (total: 10.3s)

sample495.0ms

Algorithm
intervals
Results
166.0ms57×body2560valid
43.0ms75×body1280valid
19.0ms72×body640valid
4.0ms26×body320valid
1.0ms12×body160valid
1.0ms14×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.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: 31.3b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.2b
(- x (tan x))
1.2b
(- x (sin x))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
25×times-frac
18×prod-diff
14×distribute-lft-out-- difference-of-squares
add-log-exp
fma-neg
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 110
Calls
3 calls:
9.0ms
(/ (- x (sin x)) (- x (tan x)))
4.0ms
(- x (tan x))
7.0ms
(- x (sin x))

series178.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(/ (- x (sin x)) (- x (tan x)))
58.0ms
(- x (tan x))
41.0ms
(- x (sin x))

simplify57.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04721059
11737854
25001854

prune212.0ms

Filtered
119 candidates to 79 candidates (66.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1163119
Fresh000
Picked011
Done000
Total1164120

Merged error: 0.0b

Counts
120 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- x (tan x)))
0.1b
(* (- x (sin x)) (/ 1 (- x (tan x))))
1.2b
(- x (tan x))
1.2b
(- x (sin x))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
59×*-un-lft-identity
38×add-cube-cbrt
32×times-frac
21×associate-*r*
18×prod-diff
17×add-exp-log
11×add-cbrt-cube
10×distribute-lft-out-- difference-of-squares
add-log-exp
pow1
flip3-- fma-neg flip--
associate-*l* associate-/r*
expm1-log1p-u div-exp prod-exp associate-/r/ log1p-expm1-u
associate-/l* unswap-sqr
cbrt-undiv frac-times sub-neg rec-exp diff-log 1-exp associate-*l/ cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 151
Calls
4 calls:
5.0ms
(/ 1 (- x (tan x)))
14.0ms
(* (- x (sin x)) (/ 1 (- x (tan x))))
4.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series214.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ 1 (- x (tan x)))
77.0ms
(* (- x (sin x)) (/ 1 (- x (tan x))))
50.0ms
(- x (tan x))
35.0ms
(- x (sin x))

simplify74.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05731256
12566990
25001948

prune247.0ms

Filtered
163 candidates to 99 candidates (60.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1630163
Fresh022
Picked011
Done011
Total1634167

Merged error: 0.0b

Counts
167 → 4

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 27/2800 (pow x 4) 1/2)
16.1b
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
1.0ms
(fma 27/2800 (pow x 4) 1/2)
1.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

series129.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(fma 27/2800 (pow x 4) 1/2)
46.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

simplify143.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117

prune66.0ms

Filtered
26 candidates to 20 candidates (76.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New25126
Fresh011
Picked011
Done022
Total25530

Merged error: 0.0b

Counts
30 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

15.4b
(cbrt (fma 27/2800 (pow x 4) 1/2))
15.4b
(cbrt (fma 27/2800 (pow x 4) 1/2))
15.4b
(cbrt (fma 27/2800 (pow x 4) 1/2))
16.1b
(fma 9/40 (pow x 2) (- (* (* (cbrt (fma 27/2800 (pow x 4) 1/2)) (cbrt (fma 27/2800 (pow x 4) 1/2))) (cbrt (fma 27/2800 (pow x 4) 1/2)))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt (fma 27/2800 (pow x 4) 1/2))
1.0ms
(cbrt (fma 27/2800 (pow x 4) 1/2))
1.0ms
(cbrt (fma 27/2800 (pow x 4) 1/2))
1.0ms
(fma 9/40 (pow x 2) (- (* (* (cbrt (fma 27/2800 (pow x 4) 1/2)) (cbrt (fma 27/2800 (pow x 4) 1/2))) (cbrt (fma 27/2800 (pow x 4) 1/2)))))

series1.7s

Counts
4 → 12
Calls
4 calls:
546.0ms
(cbrt (fma 27/2800 (pow x 4) 1/2))
554.0ms
(cbrt (fma 27/2800 (pow x 4) 1/2))
536.0ms
(cbrt (fma 27/2800 (pow x 4) 1/2))
48.0ms
(fma 9/40 (pow x 2) (- (* (* (cbrt (fma 27/2800 (pow x 4) 1/2)) (cbrt (fma 27/2800 (pow x 4) 1/2))) (cbrt (fma 27/2800 (pow x 4) 1/2)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0163620
1464567
22007528
35001483

prune212.0ms

Filtered
61 candidates to 55 candidates (90.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New60161
Fresh011
Picked101
Done033
Total61566

Merged error: 0.0b

Counts
66 → 5

regimes67.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 31.7b

bsearch58.0ms

Steps
ItersRangePoint
6
0.011261476250181132
0.06406876111163662
0.028659494739821132
9
-3.7752751361666412
-2.6386627092684764e-08
-0.02756508271726965

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02510
12510

end0.0ms

sample6.2s

Algorithm
intervals
Results
3.8s1609×body2560valid
1.6s2707×body1280valid
471.0ms1922×body640valid
153.0ms912×body320valid
65.0ms490×body160valid
25.0ms360×body80valid