Details

Time bar (total: 12.4s)

sample440.0ms

Algorithm
intervals
Results
86.0ms43×body2560valid
55.0ms86×body1280valid
25.0ms69×body640valid
5.0ms23×body320valid
3.0ms20×body160valid
1.0ms15×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.6b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
2.0b
(- x (sin x))
2.3b
(- x (tan 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:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
4.0ms
(- x (sin x))
6.0ms
(- x (tan x))

series179.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04721059
11737854
25001854

prune250.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt x)
1.0b
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
2.0b
(- x (sin x))
29.0b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
15×times-frac
prod-diff
add-exp-log add-cbrt-cube add-log-exp
associate-/l* distribute-lft-out-- difference-of-squares
pow1 expm1-log1p-u log1p-expm1-u
cbrt-prod fma-neg associate-/r*
flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg pow1/3 diff-log div-sub div-exp clear-num fma-udef div-inv
Counts
4 → 91
Calls
4 calls:
1.0ms
(cbrt x)
10.0ms
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
4.0ms
(- x (sin x))
0.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

series1.1s

Counts
4 → 12
Calls
4 calls:
186.0ms
(cbrt x)
525.0ms
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
37.0ms
(- x (sin x))
339.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03421106
11187942
25001897

prune268.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt x)
1.0b
(/ (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x))) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
29.0b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))
29.1b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod associate-/r* associate-/l*
fma-udef
cbrt-undiv frac-2neg pow1/3 div-exp clear-num div-inv
Counts
4 → 62
Calls
4 calls:
0.0ms
(cbrt x)
2.0ms
(/ (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x))) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
0.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))
0.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x)))

series1.6s

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt x)
729.0ms
(/ (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x))) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
339.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))
326.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x)))

simplify76.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0177970
1484863
22298803
35001754

prune229.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

29.0b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))
29.0b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))
29.1b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x)))
29.1b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x)))

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
4 → 40
Calls
4 calls:
0.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))
0.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))
0.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x)))
0.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x)))

series1.4s

Counts
4 → 12
Calls
4 calls:
345.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))
345.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))
333.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x)))
335.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (sin x)))

simplify50.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 4 (45.0ms)

IterNodesCost
060438
1147366
2437346
31662346
45002342

prune221.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes28.0ms

Accuracy

100% (0.0b remaining)

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

bsearch96.0ms

Steps
ItersRangePoint
10
4.555257425893614e-05
47183757994.54101
0.039353738525385366
9
-13600.963204601821
-0.00047371797307045637
-0.04481741385735046

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02920
12920

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.3s1547×body2560valid
1.9s2813×body1280valid
661.0ms1930×body640valid
200.0ms923×body320valid
79.0ms458×body160valid
29.0ms329×body80valid