Details

Time bar (total: 10.2s)

sample450.0ms

Algorithm
intervals
Results
129.0ms64×body2560valid
47.0ms91×body1280valid
13.0ms50×body640valid
5.0ms26×body320valid
2.0ms15×body160valid
1.0ms10×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: 33.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite41.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:
23.0ms
(/ (- x (sin x)) (- x (tan x)))
4.0ms
(- x (tan x))
8.0ms
(- x (sin x))

series174.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04721059
11737854
25001854

prune250.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.1b

Counts
120 → 4

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(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)))

series131.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117

prune79.0ms

Filtered
26 candidates to 20 candidates (76.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh022
Picked101
Done011
Total25530

Merged error: 0.1b

Counts
30 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma 27/2800 (pow x 4) 1/2)
0.8b
(exp (log (fma 27/2800 (pow x 4) 1/2)))
16.1b
(fma 9/40 (pow x 2) (- (exp (log (fma 27/2800 (pow x 4) 1/2)))))
20.7b
(log (fma 27/2800 (pow x 4) 1/2))

rewrite6.0ms

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

series598.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(fma 27/2800 (pow x 4) 1/2)
80.0ms
(exp (log (fma 27/2800 (pow x 4) 1/2)))
44.0ms
(fma 9/40 (pow x 2) (- (exp (log (fma 27/2800 (pow x 4) 1/2)))))
392.0ms
(log (fma 27/2800 (pow x 4) 1/2))

simplify64.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0161336
1455292
21785288
35001282

prune197.0ms

Filtered
63 candidates to 47 candidates (74.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New62163
Fresh123
Picked011
Done011
Total63568

Merged error: 0.1b

Counts
68 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite7.0ms

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

series1.2s

Counts
4 → 12
Calls
4 calls:
49.0ms
(fma 9/40 (pow x 2) (- (exp (log (fma 27/2800 (pow x 4) 1/2)))))
397.0ms
(log (fma 27/2800 (pow x 4) 1/2))
391.0ms
(log (fma 27/2800 (pow x 4) 1/2))
387.0ms
(log (fma 27/2800 (pow x 4) 1/2))

simplify58.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0133425
1380359
21534358
35002358

prune312.0ms

Filtered
64 candidates to 53 candidates (82.8%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh022
Picked011
Done022
Total64569

Merged error: 0.1b

Counts
69 → 5

regimes82.0ms

Accuracy

100% (0.0b remaining)

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

bsearch65.0ms

Steps
ItersRangePoint
6
0.018000635171863108
0.09117784756913819
0.027293184248221757
10
-1421.6155834850151
-1.485944467815708e-07
-0.026678702825547893

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
12712

end0.0ms

sample6.2s

Algorithm
intervals
Results
3.9s1643×body2560valid
1.5s2762×body1280valid
457.0ms1826×body640valid
156.0ms912×body320valid
55.0ms483×body160valid
26.0ms374×body80valid