Details

Time bar (total: 11.7s)

sample503.0ms

Algorithm
intervals
Results
159.0ms62×body2560valid
50.0ms78×body1280valid
18.0ms55×body640valid
6.0ms26×body320valid
2.0ms14×body160valid
2.0ms21×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.2b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite43.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:
28.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (sin x))
5.0ms
(- x (tan x))

series172.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(/ (- x (sin x)) (- x (tan x)))
35.0ms
(- x (sin x))
61.0ms
(- x (tan x))

simplify54.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04721059
11737854
25001854

prune238.0ms

Filtered
119 candidates to 79 candidates (66.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.6b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
0.7b
(- x (tan x))
0.7b
(- x (tan x))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
713×*-un-lft-identity
703×add-sqr-sqrt
678×times-frac
459×prod-diff
417×add-cube-cbrt
147×distribute-lft-out--
141×difference-of-squares
92×associate-/r/
49×flip3-- flip--
46×div-inv
27×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u
sub-neg distribute-rgt-out-- diff-log associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 588
Calls
4 calls:
7.0ms
(/ (sin x) (- x (tan x)))
68.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series351.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(/ (sin x) (- x (tan x)))
187.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
54.0ms
(- x (tan x))
49.0ms
(- x (tan x))

simplify205.0ms

Algorithm
egg-herbie
Counts
600 → 600
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0135922035
1388315840
2500115776

prune997.0ms

Filtered
600 candidates to 256 candidates (42.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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:
12.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (sin x))
3.0ms
(- x (tan x))

series162.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04721059
11737854
25001854

prune226.0ms

Filtered
119 candidates to 78 candidates (65.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.6b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
0.7b
(- x (tan x))
0.7b
(- x (tan x))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
713×*-un-lft-identity
703×add-sqr-sqrt
678×times-frac
459×prod-diff
417×add-cube-cbrt
147×distribute-lft-out--
141×difference-of-squares
92×associate-/r/
49×flip3-- flip--
46×div-inv
27×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u
sub-neg distribute-rgt-out-- diff-log associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 588
Calls
4 calls:
7.0ms
(/ (sin x) (- x (tan x)))
67.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series349.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (sin x) (- x (tan x)))
185.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
49.0ms
(- x (tan x))
58.0ms
(- x (tan x))

simplify211.0ms

Algorithm
egg-herbie
Counts
600 → 600
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
0135922035
1388315840
2500115776

prune1.2s

Filtered
600 candidates to 257 candidates (42.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes50.0ms

Accuracy

100% (0.0b remaining)

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

bsearch70.0ms

Steps
ItersRangePoint
7
0.0008659720100092236
0.04032056371688071
0.0266939623524641
9
-3875183.9477288676
-0.008763241487176904
-0.02600941637726964

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02720

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.6s1618×body2560valid
1.9s2771×body1280valid
634.0ms1894×body640valid
208.0ms888×body320valid
71.0ms461×body160valid
33.0ms368×body80valid